|
|
var at=Object.assign,Y3=(ut,ne,O)=>new Promise((Oe,_e)=>{var Ve=ce=>{try{H(O.next(ce))}catch(we){_e(we)}},Be=ce=>{try{H(O.throw(ce))}catch(we){_e(we)}},H=ce=>ce.done?Oe(ce.value):Promise.resolve(ce.value).then(Ve,Be);H((O=O.apply(ut,ne)).next())});(window.webpackJsonp=window.webpackJsonp||[]).push([[238,3,4,6,9,11],{"+GGh":function(ut,ne){ut.exports="data:image/png;base64,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"},"+oxA":function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___1SA8P",flex_space_between:"flex_space_between___3iSxN",flex_box_vertical_center:"flex_box_vertical_center___2JAtS",flex_box_center_end:"flex_box_center_end___2w-PB",flex_box_column:"flex_box_column___2s4Ak",head:"head___3iBvF",node:"node____ISDx"}},"+ua5":function(ut,ne,O){},"/cxE":function(ut,ne,O){"use strict";O.d(ne,"f",function(){return Ve}),O.d(ne,"g",function(){return Be}),O.d(ne,"h",function(){return H}),O.d(ne,"e",function(){return we}),O.d(ne,"b",function(){return F}),O.d(ne,"c",function(){return f}),O.d(ne,"d",function(){return G}),O.d(ne,"a",function(){return Y});class Oe{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(j){setTimeout(()=>{throw j.stack?new Error(j.message+`
|
|
|
|
|
|
`+j.stack):j},0)}}emit(j){this.listeners.forEach(A=>{A(j)})}onUnexpectedError(j){this.unexpectedErrorHandler(j),this.emit(j)}onUnexpectedExternalError(j){this.unexpectedErrorHandler(j)}}const _e=new Oe;function Ve(j){we(j)||_e.onUnexpectedError(j);return}function Be(j){we(j)||_e.onUnexpectedExternalError(j);return}function H(j){if(j instanceof Error){let{name:A,message:w}=j;const T=j.stacktrace||j.stack;return{$isError:!0,name:A,message:w,stack:T}}return j}const ce="Canceled";function we(j){return j instanceof Error&&j.name===ce&&j.message===ce}function F(){const j=new Error(ce);return j.name=j.message,j}function f(j){return j?new Error(`Illegal argument: ${j}`):new Error("Illegal argument")}function G(j){return j?new Error(`Illegal state: ${j}`):new Error("Illegal state")}class Y extends Error{constructor(j){super("NotSupported");j&&(this.message=j)}}},"24hK":function(ut,ne,O){"use strict";O.d(ne,"a",function(){return _e});class Oe{constructor(Ve){this.element=Ve,this.next=Oe.Undefined,this.prev=Oe.Undefined}}Oe.Undefined=new Oe(void 0);class _e{constructor(){this._first=Oe.Undefined,this._last=Oe.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===Oe.Undefined}clear(){let Ve=this._first;for(;Ve!==Oe.Undefined;){const Be=Ve.next;Ve.prev=Oe.Undefined,Ve.next=Oe.Undefined,Ve=Be}this._first=Oe.Undefined,this._last=Oe.Undefined,this._size=0}unshift(Ve){return this._insert(Ve,!1)}push(Ve){return this._insert(Ve,!0)}_insert(Ve,Be){const H=new Oe(Ve);if(this._first===Oe.Undefined)this._first=H,this._last=H;else if(Be){const we=this._last;this._last=H,H.prev=we,we.next=H}else{const we=this._first;this._first=H,H.next=we,we.prev=H}this._size+=1;let ce=!1;return()=>{ce||(ce=!0,this._remove(H))}}shift(){if(this._first===Oe.Undefined)return;{const Ve=this._first.element;return this._remove(this._first),Ve}}pop(){if(this._last===Oe.Undefined)return;{const Ve=this._last.element;return this._remove(this._last),Ve}}_remove(Ve){if(Ve.prev!==Oe.Undefined&&Ve.next!==Oe.Undefined){const Be=Ve.prev;Be.next=Ve.next,Ve.next.prev=Be}else Ve.prev===Oe.Undefined&&Ve.next===Oe.Undefined?(this._first=Oe.Undefined,this._last=Oe.Undefined):Ve.next===Oe.Undefined?(this._last=this._last.prev,this._last.next=Oe.Undefined):Ve.prev===Oe.Undefined&&(this._first=this._first.next,this._first.prev=Oe.Undefined);this._size-=1}*[Symbol.iterator](){let Ve=this._first;for(;Ve!==Oe.Undefined;)yield Ve.element,Ve=Ve.next}}},"3/fG":function(ut,ne,O){"use strict";O.d(ne,"a",function(){return _e});function Oe(Ve,Be){let H;return Be.length===0?H=Ve:H=Ve.replace(/\{(\d+)\}/g,function(ce,we){const F=we[0];return typeof Be[F]!="undefined"?Be[F]:ce}),H}function _e(Ve,Be,...H){return Oe(Be,H)}},"4Lfy":function(ut,ne){ut.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAA19JREFUaEPtmltIFFEYx/+zs17WVVtZRUMhykLoKSjBBytKUCRCyKDIILpQUFHkiqT1YFJo5S1BQ4JKSPOlhwwLLH0oC0sK0iBEVqxcWW+r6bb3mRMzJm24Ojs6244187acb77z/33/bw+Hc4YihND4hx5KAZK5m4pDMjcI/6dDpsxN5wnDngZIspQOadKznuuv3M6WMqegQ3MwTKWUk87n0u7NA6Wi2nTnSnOkyi8INJyR3C+1M95AdEwsmMnxppj8q0ekgPIDaINHiol85eAc4oC4h5001+ryy/JXOpdsgCiKIsz4cInOcOPaSqBkAzQHQVj3qOmCvvBm3XKhZAbEN5+HHfl6TFdU3bwcKBkC8UwuxjySG1NU+UwslDyBuObzuGzEbMrWXap5LQYqqEARWfuhjk9cVC9xOWbU4+ad2uLqPn+hggoUsnkrNNvSl9RKnPaJ8LGRtLDLtUP+QAUViKhDoM3cB3VswpJaWbvVFGqZSI0orh4TggoqEL9Qq2iEpmwBHbcWqrCwRfUyE2NDcRWNG2UPNC+QeFiwLFlS77pXX9SrBkhIKDee1DGoAC0o1HBG4Dan/rjiHaM45KtiikNi+0hEvNJySsuJaBcpQpWWU1pOij4SkSOgLRd54CS/9ScMw0ty9fVguqEMcDkRfaIQmrRdICwLEAJHdydm7lcjPG03oo/OnVSpIiLB2qz8+FTFRbgHPgmiBRRIX9oA66O7cH58C0obhRhDGdzGz5htqkNc1UNM15Xyv1U6PfQl9bA+aYa94zEvmouPv/MU5kPbBSH+2tbHG4ibVJORg/DUHZgqN/wBxI1F5Z0BFRqGmXtV8gayd3fC3d8LOjYB0ccLMNvSAHtnKw9kbX0Az7dBqJPWY82pIljKDXD1vpM3EFd1xjIO4rTD8b4Ljq52XjAHxHy3gNhtIDYr7G9ewPnh9+HNqmg5717ngCzXC8CMmnz+RxSgX2UJ6Cqn3XMQjp6XYMZGFrgQmXsMP9paQBw236sYrUb04bOYaayRzyonSolEwQF1SCKNotIoQL43p4G7khRlDyhjUocxRegdwZPTQF4aC4nzHqdo2pDYPnBL6B1BIC5BoK71hcTNjVNGilbV+wPDRysfL/lX1qBFKQ4FrfR+Tqw45Gehghb2EzV0UlPSsDHCAAAAAElFTkSuQmCC"},"5VLF":function(ut,ne,O){"use strict";var Oe,_e;function Ve(Be,H,ce){var we=function(F,f){return Be.js_beautify(F,f)};return we.js=Be.js_beautify,we.css=H.css_beautify,we.html=ce.html_beautify,we.js_beautify=Be.js_beautify,we.css_beautify=H.css_beautify,we.html_beautify=ce.html_beautify,we}!(Oe=[O("6UM0"),O("TXwP"),O("psGv")],_e=function(Be,H,ce){return Ve(Be,H,ce)}.apply(ne,Oe),_e!==void 0&&(ut.exports=_e))},"5Y4S":function(ut,ne,O){"use strict";O.d(ne,"a",function(){return Ve});var Oe=O("MNsG");const _e=Oe.b.performance&&typeof Oe.b.performance.now=="function";class Ve{constructor(Be){this._highResolution=_e&&Be,this._startTime=this._now(),this._stopTime=-1}static create(Be=!0){return new Ve(Be)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?Oe.b.performance.now():Date.now()}}},"6+eU":function(ut,ne,O){"use strict";O.d(ne,"a",function(){return Ce});var Oe=O("wx14"),_e=O("rePB"),Ve=O("VTBJ"),Be=O("1OyB"),H=O("vuIU"),ce=O("Ji7U"),we=O("LK+K"),F=O("q1tI"),f=O.n(F),G=O("TSYQ"),Y=O.n(G),j=function(Re){var Fe,Te="".concat(Re.rootPrefixCls,"-item"),be=Y()(Te,"".concat(Te,"-").concat(Re.page),(Fe={},Object(_e.a)(Fe,"".concat(Te,"-active"),Re.active),Object(_e.a)(Fe,Re.className,!!Re.className),Object(_e.a)(Fe,"".concat(Te,"-disabled"),!Re.page),Fe)),de=function(){Re.onClick(Re.page)},J=function(K){Re.onKeyPress(K,Re.onClick,Re.page)};return f.a.createElement("li",{title:Re.showTitle?Re.page:null,className:be,onClick:de,onKeyPress:J,tabIndex:"0"},Re.itemRender(Re.page,"page",f.a.createElement("a",{rel:"nofollow"},Re.page)))},A=j,w={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},T=function($){Object(ce.a)(Fe,$);var Re=Object(we.a)(Fe);function Fe(){var Te;Object(Be.a)(this,Fe);for(var be=arguments.length,de=new Array(be),J=0;J<be;J++)de[J]=arguments[J];return Te=Re.call.apply(Re,[this].concat(de)),Te.state={goInputText:""},Te.buildOptionText=function(k){return"".concat(k," ").concat(Te.props.locale.items_per_page)},Te.changeSize=function(k){Te.props.changeSize(Number(k))},Te.handleChange=function(k){Te.setState({goInputText:k.target.value})},Te.handleBlur=function(k){var K=Te.props,pe=K.goButton,M=K.quickGo,E=K.rootPrefixCls,x=Te.state.goInputText;if(pe||x==="")return;if(k.relatedTarget&&(k.relatedTarget.className.indexOf("".concat(E,"-prev"))>=0||k.relatedTarget.className.indexOf("".concat(E,"-next"))>=0))return;Te.setState({goInputText:""}),M(Te.getValidValue())},Te.go=function(k){var K=Te.state.goInputText;if(K==="")return;(k.keyCode===w.ENTER||k.type==="click")&&(Te.setState({goInputText:""}),Te.props.quickGo(Te.getValidValue()))},Te}return Object(H.a)(Fe,[{key:"getValidValue",value:function(){var be=this.state,de=be.goInputText,J=be.current;return!de||isNaN(de)?J:Number(de)}},{key:"getPageSizeOptions",value:function(){var be=this.props,de=be.pageSize,J=be.pageSizeOptions;return J.some(function(k){return k.toString()===de.toString()})?J:J.concat([de.toString()]).sort(function(k,K){var pe=isNaN(Number(k))?0:Number(k),M=isNaN(Number(K))?0:Number(K);return pe-M})}},{key:"render",value:function(){var be=this,de=this.props,J=de.pageSize,k=de.locale,K=de.rootPrefixCls,pe=de.changeSize,M=de.quickGo,E=de.goButton,x=de.selectComponentClass,D=de.buildOptionText,b=de.selectPrefixCls,N=de.disabled,z=this.state.goInputText,ue="".concat(K,"-options"),Ee=x,ze=null,me=null,je=null;if(!pe&&!M)return null;var Ke=this.getPageSizeOptions();if(pe&&Ee){var qe=Ke.map(function(Pe,ht){return f.a.createElement(Ee.Option,{key:ht,value:Pe.toString()},(D||be.buildOptionText)(Pe))});ze=f.a.createElement(Ee,{disabled:N,prefixCls:b,showSearch:!1,className:"".concat(ue,"-size-changer"),optionLabelProp:"children",dropdownMatchSelectWidth:!1,value:(J||Ke[0]).toString(),onChange:this.changeSize,getPopupContainer:function(ht){return ht.parentNode}},qe)}return M&&(E&&(je=typeof E=="boolean"?f.a.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:N,className:"".concat(ue,"-quick-jumper-button")},k.jump_to_confirm):f.a.createElement("span",{onClick:this.go,onKeyUp:this.go},E)),me=f.a.createElement("div",{className:"".concat(ue,"-quick-jumper")},k.jump_to,f.a.createElement("input",{disabled:N,type:"text",value:z,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur}),k.page,je)),f.a.createElement("li",{className:"".concat(ue)},ze,me)}}]),Fe}(f.a.Component);T.defaultProps={pageSizeOptions:["10","20","50","100"]};var L=T,W=O("N2Kk");function ee(){}function P($){return typeof $=="number"&&isFinite($)&&Math.floor($)===$}function I($,Re,Fe){return Fe}function se($,Re,Fe){var Te=typeof $=="undefined"?Re.pageSize:$;return Math.floor((Fe.total-1)/Te)+1}var fe=function($){Object(ce.a)(Fe,$);var Re=Object(we.a)(Fe);function Fe(Te){var be;Object(Be.a)(this,Fe),be=Re.call(this,Te),be.getJumpPrevPage=function(){return Math.max(1,be.state.current-(be.props.showLessItems?3:5))},be.getJumpNextPage=function(){return Math.min(se(void 0,be.state,be.props),be.state.current+(be.props.showLessItems?3:5))},be.getItemIcon=function(pe,M){var E=be.props.prefixCls,x=pe||f.a.createElement("button",{type:"button","aria-label":M,className:"".concat(E,"-item-link")});return typeof pe=="function"&&(x=f.a.createElement(pe,Object(Ve.a)({},be.props))),x},be.savePaginationNode=function(pe){be.paginationNode=pe},be.isValid=function(pe){return P(pe)&&pe!==be.state.current},be.shouldDisplayQuickJumper=function(){var pe=be.props,M=pe.showQuickJumper,E=pe.pageSize,x=pe.total;return x<=E?!1:M},be.handleKeyDown=function(pe){(pe.keyCode===w.ARROW_UP||pe.keyCode===w.ARROW_DOWN)&&pe.preventDefault()},be.handleKeyUp=function(pe){var M=be.getValidValue(pe),E=be.state.currentInputValue;M!==E&&be.setState({currentInputValue:M}),pe.keyCode===w.ENTER?be.handleChange(M):pe.keyCode===w.ARROW_UP?be.handleChange(M-1):pe.keyCode===w.ARROW_DOWN&&be.handleChange(M+1)},be.changePageSize=function(pe){var M=be.state.current,E=se(pe,be.state,be.props);M=M>E?E:M,E===0&&(M=be.state.current),typeof pe=="number"&&("pageSize"in be.props||be.setState({pageSize:pe}),"current"in be.props||be.setState({current:M,currentInputValue:M})),be.props.onShowSizeChange(M,pe),"onChange"in be.props&&be.props.onChange&&be.props.onChange(M,pe)},be.handleChange=function(pe){var M=be.props.disabled,E=pe;if(be.isValid(E)&&!M){var x=se(void 0,be.state,be.props);E>x?E=x:E<1&&(E=1),"current"in be.props||be.setState({current:E,currentInputValue:E});var D=be.state.pageSize;return be.props.onChange(E,D),E}return be.state.current},be.prev=function(){be.hasPrev()&&be.handleChange(be.state.current-1)},be.next=function(){be.hasNext()&&be.handleChange(be.state.current+1)},be.jumpPrev=function(){be.handleChange(be.getJumpPrevPage())},be.jumpNext=function(){be.handleChange(be.getJumpNextPage())},be.hasPrev=function(){return be.state.current>1},be.hasNext=function(){return be.state.current<se(void 0,be.state,be.props)},be.runIfEnter=function(pe,M){if(pe.key==="Enter"||pe.charCode===13){for(var E=arguments.length,x=new Array(E>2?E-2:0),D=2;D<E;D++)x[D-2]=arguments[D];M.apply(void 0,x)}},be.runIfEnterPrev=function(pe){be.runIfEnter(pe,be.prev)},be.runIfEnterNext=function(pe){be.runIfEnter(pe,be.next)},be.runIfEnterJumpPrev=function(pe){be.runIfEnter(pe,be.jumpPrev)},be.runIfEnterJumpNext=function(pe){be.runIfEnter(pe,be.jumpNext)},be.handleGoTO=function(pe){(pe.keyCode===w.ENTER||pe.type==="click")&&be.handleChange(be.state.currentInputValue)};var de=Te.onChange!==ee,J="current"in Te;J&&!de&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var k=Te.defaultCurrent;"current"in Te&&(k=Te.current);var K=Te.defaultPageSize;return"pageSize"in Te&&(K=Te.pageSize),k=Math.min(k,se(K,void 0,Te)),be.state={current:k,currentInputValue:k,pageSize:K},be}return Object(H.a)(Fe,[{key:"componentDidUpdate",value:function(be,de){var J=this.props.prefixCls;if(de.current!==this.state.current&&this.paginationNode){var k=this.paginationNode.querySelector(".".concat(J,"-item-").concat(de.current));k&&document.activeElement===k&&k.blur()}}},{key:"getValidValue",value:function(be){var de=be.target.value,J=se(void 0,this.state,this.props),k=this.state.currentInputValue,K;return de===""?K=de:isNaN(Number(de))?K=k:de>=J?K=J:K=Number(de),K}},{key:"getShowSizeChanger",value:function(){var be=this.props,de=be.showSizeChanger,J=be.total,k=be.totalBoundaryShowSizeChanger;return typeof de!="undefined"?de:J>k}},{key:"renderPrev",value:function(be){var de=this.props,J=de.prevIcon,k=de.itemRender,K=k(be,"prev",this.getItemIcon(J,"prev page")),pe=!this.hasPrev();return Object(F.isValidElement)(K)?Object(F.cloneElement)(K,{disabled:pe}):K}},{key:"renderNext",value:function(be){var de=this.props,J=de.nextIcon,k=de.itemRender,K=k(be,"next",this.getItemIcon(J,"next page")),pe=!this.hasNext();return Object(F.isValidElement)(K)?Object(F.cloneElement)(K,{disabled:pe}):K}},{key:"render",value:function(){var be=this,de=this.props,J=de.prefixCls,k=de.className,K=de.style,pe=de.disabled,M=de.hideOnSinglePage,E=de.total,x=de.locale,D=de.showQuickJumper,b=de.showLessItems,N=de.showTitle,z=de.showTotal,ue=de.simple,Ee=de.itemRender,ze=de.showPrevNextJumpers,me=de.jumpPrevIcon,je=de.jumpNextIcon,Ke=de.selectComponentClass,qe=de.selectPrefixCls,Pe=de.pageSizeOptions,ht=this.state,V=ht.current,ie=ht.pageSize,Z=ht.currentInputValue;if(M===!0&&E<=ie)return null;var Le=se(void 0,this.state,this.props),$e=[],rt=null,Et=null,Ct=null,q=null,oe=null,ke=D&&D.goButton,We=b?1:2,bt=V-1>0?V-1:0,Jt=V+1<Le?V+1:Le,sn=Object.keys(this.props).reduce(function(Tr,er){return(er.substr(0,5)==="data-"||er.substr(0,5)==="aria-"||er==="role")&&(Tr[er]=be.props[er]),Tr},{});if(ue)return ke&&(typeof ke=="boolean"?oe=f.a.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},x.jump_to_confirm):oe=f.a.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},ke),oe=f.a.createElement("li",{title:N?"".concat(x.jump_to).concat(V,"/").concat(Le):null,className:"".concat(J,"-simple-pager")},oe)),f.a.createElement("ul",Object(Oe.a)({className:Y()(J,"".concat(J,"-simple"),Object(_e.a)({},"".concat(J,"-disabled"),pe),k),style:K,ref:this.savePaginationNode},sn),f.a.createElement("li",{title:N?x.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:Y()("".concat(J,"-prev"),Object(_e.a)({},"".concat(J,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},this.renderPrev(bt)),f.a.createElement("li",{title:N?"".concat(V,"/").concat(Le):null,className:"".concat(J,"-simple-pager")},f.a.createElement("input",{type:"text",value:Z,disabled:pe,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,size:"3"}),f.a.createElement("span",{className:"".concat(J,"-slash")},"/"),Le),f.a.createElement("li",{title:N?x.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:Y()("".concat(J,"-next"),Object(_e.a)({},"".concat(J,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Jt)),oe);if(Le<=3+We*2){var Ut={locale:x,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:N,itemRender:Ee};Le||$e.push(f.a.createElement(A,Object(Oe.a)({},Ut,{key:"noPager",page:Le,className:"".concat(J,"-disabled")})));for(var jt=1;jt<=Le;jt+=1){var lr=V===jt;$e.push(f.a.createElement(A,Object(Oe.a)({},Ut,{key:jt,page:jt,active:lr})))}}else{var Dn=b?x.prev_3:x.prev_5,fo=b?x.next_3:x.next_5;ze&&(rt=f.a.createElement("li",{title:N?Dn:null,key:"prev",onClick:this.jumpPrev,tabIndex:"0",onKeyPress:this.runIfEnterJumpPrev,className:Y()("".concat(J,"-jump-prev"),Object(_e.a)({},"".concat(J,"-jump-prev-custom-icon"),!!me))},Ee(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(me,"prev page"))),Et=f.a.createElement("li",{title:N?fo:null,key:"next",tabIndex:"0",onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:Y()("".concat(J,"-jump-next"),Object(_e.a)({},"".concat(J,"-jump-next-custom-icon"),!!je))},Ee(this.getJumpNextPage(),"jump-next",this.getItemIcon(je,"next page")))),q=f.a.createElement(A,{locale:x,last:!0,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Le,page:Le,active:!1,showTitle:N,itemRender:Ee}),Ct=f.a.createElement(A,{locale:x,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:N,itemRender:Ee});var wr=Math.max(1,V-We),$r=Math.min(V+We,Le);V-1<=We&&($r=1+We*2),Le-V<=We&&(wr=Le-We*2);for(var pn=wr;pn<=$r;pn+=1){var un=V===pn;$e.push(f.a.createElement(A,{locale:x,rootPrefixCls:J,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:pn,page:pn,active:un,showTitle:N,itemRender:Ee}))}V-1>=We*2&&V!==1+2&&($e[0]=Object(F.cloneElement)($e[0],{className:"".concat(J,"-item-after-jump-prev")}),$e.unshift(rt)),Le-V>=We*2&&V!==Le-2&&($e[$e.length-1]=Object(F.cloneElement)($e[$e.length-1],{className:"".concat(J,"-item-before-jump-next")}),$e.push(Et)),wr!==1&&$e.unshift(Ct),$r!==Le&&$e.push(q)}var Cn=null;z&&(Cn=f.a.createElement("li",{className:"".concat(J,"-total-text")},z(E,[E===0?0:(V-1)*ie+1,V*ie>E?E:V*ie])));var ln=!this.hasPrev()||!Le,gn=!this.hasNext()||!Le;return f.a.createElement("ul",Object(Oe.a)({className:Y()(J,k,Object(_e.a)({},"".concat(J,"-disabled"),pe)),style:K,unselectable:"unselectable",ref:this.savePaginationNode},sn),Cn,f.a.createElement("li",{title:N?x.prev_page:null,onClick:this.prev,tabIndex:ln?null:0,onKeyPress:this.runIfEnterPrev,className:Y()("".concat(J,"-prev"),Object(_e.a)({},"".concat(J,"-disabled"),ln)),"aria-disabled":ln},this.renderPrev(bt)),$e,f.a.createElement("li",{title:N?x.next_page:null,onClick:this.next,tabIndex:gn?null:0,onKeyPress:this.runIfEnterNext,className:Y()("".concat(J,"-next"),Object(_e.a)({},"".concat(J,"-disabled"),gn)),"aria-disabled":gn},this.renderNext(Jt)),f.a.createElement(L,{disabled:pe,locale:x,rootPrefixCls:J,selectComponentClass:Ke,selectPrefixCls:qe,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:V,pageSize:ie,pageSizeOptions:Pe,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:ke}))}}],[{key:"getDerivedStateFromProps",value:function(be,de){var J={};if("current"in be&&(J.current=be.current,be.current!==de.current&&(J.currentInputValue=J.current)),"pageSize"in be&&be.pageSize!==de.pageSize){var k=de.current,K=se(be.pageSize,de,be);k=k>K?K:k,"current"in be||(J.current=k,J.currentInputValue=k),J.pageSize=be.pageSize}return J}}]),Fe}(f.a.Component);fe.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:ee,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:ee,locale:W.a,style:{},itemRender:I,totalBoundaryShowSizeChanger:50};var Ce=fe},"6UM0":function(ut,ne,O){var Oe,_e;(function(){var Ve;(function(){"use strict";var H=[function(f,G,Y){var j=Y(1).Beautifier,A=Y(5).Options;function w(T,L){var W=new j(T,L);return W.beautify()}f.exports=w,f.exports.defaultOptions=function(){return new A}},function(f,G,Y){var j=Y(2).Output,A=Y(3).Token,w=Y(4),T=Y(5).Options,L=Y(7).Tokenizer,W=Y(7).line_starters,ee=Y(7).positionable_operators,P=Y(7).TOKEN;function I(b,N){return N.indexOf(b)!==-1}function se(b){return b.replace(/^\s+/g,"")}function fe(b){for(var N={},z=0;z<b.length;z++)N[b[z].replace(/-/g,"_")]=b[z];return N}function Ce(b,N){return b&&b.type===P.RESERVED&&b.text===N}function $(b,N){return b&&b.type===P.RESERVED&&I(b.text,N)}var Re=["case","return","do","if","throw","else","await","break","continue","async"],Fe=["before-newline","after-newline","preserve-newline"],Te=fe(Fe),be=[Te.before_newline,Te.preserve_newline],de={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function J(b,N){if(N.multiline_frame||N.mode===de.ForInitializer||N.mode===de.Conditional)return;b.remove_indent(N.start_line_index)}function k(b){b=b.replace(w.allLineBreaks,`
|
|
|
`);for(var N=[],z=b.indexOf(`
|
|
|
`);z!==-1;)N.push(b.substring(0,z)),b=b.substring(z+1),z=b.indexOf(`
|
|
|
`);return b.length&&N.push(b),N}function K(b){return b===de.ArrayLiteral}function pe(b){return I(b,[de.Expression,de.ForInitializer,de.Conditional])}function M(b,N){for(var z=0;z<b.length;z++){var ue=b[z].trim();if(ue.charAt(0)!==N)return!1}return!0}function E(b,N){for(var z=0,ue=b.length,Ee;z<ue;z++)if(Ee=b[z],Ee&&Ee.indexOf(N)!==0)return!1;return!0}function x(b,N){N=N||{},this._source_text=b||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new T(N)}x.prototype.create_flags=function(b,N){var z=0;b&&(z=b.indentation_level,!this._output.just_added_newline()&&b.line_indent_level>z&&(z=b.line_indent_level));var ue={mode:N,parent:b,last_token:b?b.last_token:new A(P.START_BLOCK,""),last_word:b?b.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:z,alignment:0,line_indent_level:b?b.line_indent_level:z,start_line_index:this._output.get_line_number(),ternary_depth:0};return ue},x.prototype._reset=function(b){var N=b.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new j(this._options,N),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(de.BlockStatement);var z=new L(b,this._options);return this._tokens=z.tokenize(),b},x.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var b,N=this._reset(this._source_text),z=this._options.eol;this._options.eol==="auto"&&(z=`
|
|
|
`,N&&w.lineBreak.test(N||"")&&(z=N.match(w.lineBreak)[0]));for(var ue=this._tokens.next();ue;)this.handle_token(ue),this._last_last_text=this._flags.last_token.text,this._flags.last_token=ue,ue=this._tokens.next();return b=this._output.get_code(z),b},x.prototype.handle_token=function(b,N){b.type===P.START_EXPR?this.handle_start_expr(b):b.type===P.END_EXPR?this.handle_end_expr(b):b.type===P.START_BLOCK?this.handle_start_block(b):b.type===P.END_BLOCK?this.handle_end_block(b):b.type===P.WORD?this.handle_word(b):b.type===P.RESERVED?this.handle_word(b):b.type===P.SEMICOLON?this.handle_semicolon(b):b.type===P.STRING?this.handle_string(b):b.type===P.EQUALS?this.handle_equals(b):b.type===P.OPERATOR?this.handle_operator(b):b.type===P.COMMA?this.handle_comma(b):b.type===P.BLOCK_COMMENT?this.handle_block_comment(b,N):b.type===P.COMMENT?this.handle_comment(b,N):b.type===P.DOT?this.handle_dot(b):b.type===P.EOF?this.handle_eof(b):b.type===P.UNKNOWN?this.handle_unknown(b,N):this.handle_unknown(b,N)},x.prototype.handle_whitespace_and_comments=function(b,N){var z=b.newlines,ue=this._options.keep_array_indentation&&K(this._flags.mode);if(b.comments_before)for(var Ee=b.comments_before.next();Ee;)this.handle_whitespace_and_comments(Ee,N),this.handle_token(Ee,N),Ee=b.comments_before.next();if(ue)for(var ze=0;ze<z;ze+=1)this.print_newline(ze>0,N);else if(this._options.max_preserve_newlines&&z>this._options.max_preserve_newlines&&(z=this._options.max_preserve_newlines),this._options.preserve_newlines&&z>1){this.print_newline(!1,N);for(var me=1;me<z;me+=1)this.print_newline(!0,N)}};var D=["async","break","continue","return","throw","yield"];x.prototype.allow_wrap_or_preserved_newline=function(b,N){if(N=N===void 0?!1:N,this._output.just_added_newline())return;var z=this._options.preserve_newlines&&b.newlines||N,ue=I(this._flags.last_token.text,ee)||I(b.text,ee);if(ue){var Ee=I(this._flags.last_token.text,ee)&&I(this._options.operator_position,be)||I(b.text,ee);z=z&&Ee}if(z)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if($(this._flags.last_token,D))return;this._output.set_wrap_point()}},x.prototype.print_newline=function(b,N){if(!N&&(this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==P.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")))for(var z=this._tokens.peek();this._flags.mode===de.Statement&&!(this._flags.if_block&&Ce(z,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(b)&&(this._flags.multiline_frame=!0)},x.prototype.print_token_line_indentation=function(b){this._output.just_added_newline()&&(this._options.keep_array_indentation&&b.newlines&&(b.text==="["||K(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(b.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},x.prototype.print_token=function(b){if(this._output.raw){this._output.add_raw_token(b);return}if(this._options.comma_first&&b.previous&&b.previous.type===P.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var N=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(N),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(b),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(b),this._output.non_breaking_space=!0,this._output.add_token(b.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},x.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},x.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},x.prototype.set_mode=function(b){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,b),this._flags=this.create_flags(this._previous_flags,b),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},x.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===de.Statement&&J(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},x.prototype.start_of_object_property=function(){return this._flags.parent.mode===de.ObjectLiteral&&this._flags.mode===de.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||$(this._flags.last_token,["get","set"]))},x.prototype.start_of_statement=function(b){var N=!1;return N=N||$(this._flags.last_token,["var","let","const"])&&b.type===P.WORD,N=N||Ce(this._flags.last_token,"do"),N=N||!(this._flags.parent.mode===de.ObjectLiteral&&this._flags.mode===de.Statement)&&$(this._flags.last_token,D)&&!b.newlines,N=N||Ce(this._flags.last_token,"else")&&!(Ce(b,"if")&&!b.comments_before),N=N||this._flags.last_token.type===P.END_EXPR&&(this._previous_flags.mode===de.ForInitializer||this._previous_flags.mode===de.Conditional),N=N||this._flags.last_token.type===P.WORD&&this._flags.mode===de.BlockStatement&&!this._flags.in_case&&!(b.text==="--"||b.text==="++")&&this._last_last_text!=="function"&&b.type!==P.WORD&&b.type!==P.RESERVED,N=N||this._flags.mode===de.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||$(this._flags.last_token,["get","set"])),N?(this.set_mode(de.Statement),this.indent(),this.handle_whitespace_and_comments(b,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(b,$(b,["do","for","if","while"])),!0):!1},x.prototype.handle_start_expr=function(b){this.start_of_statement(b)||this.handle_whitespace_and_comments(b);var N=de.Expression;if(b.text==="["){if(this._flags.last_token.type===P.WORD||this._flags.last_token.text===")"){$(this._flags.last_token,W)&&(this._output.space_before_token=!0),this.print_token(b),this.set_mode(N),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}N=de.ArrayLiteral,K(this._flags.mode)&&((this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline())),I(this._flags.last_token.type,[P.START_EXPR,P.END_EXPR,P.WORD,P.OPERATOR,P.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===P.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,N=de.ForInitializer):I(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,N=de.Conditional):I(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&b.whitespace_before===""?this._output.space_before_token=!1:(I(this._flags.last_token.text,W)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===P.EQUALS||this._flags.last_token.type===P.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(b);else if(this._flags.last_token.type===P.WORD){this._output.space_before_token=!1;var z=this._tokens.peek(-3);if(this._options.space_after_named_function&&z){var ue=this._tokens.peek(-4);$(z,["async","function"])||z.text==="*"&&$(ue,["async","function"])?this._output.space_before_token=!0:this._flags.mode===de.ObjectLiteral?(z.text==="{"||z.text===","||z.text==="*"&&(ue.text==="{"||ue.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(b);(this._flags.last_token.type===P.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(I(this._last_last_text,["function","yield"])||this._flags.mode===de.ObjectLiteral&&I(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===P.START_BLOCK?this.print_newline():(this._flags.last_token.type===P.END_EXPR||this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===P.COMMA)&&this.allow_wrap_or_preserved_newline(b,b.newlines),this.print_token(b),this.set_mode(N),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},x.prototype.handle_end_expr=function(b){for(;this._flags.mode===de.Statement;)this.restore_mode();this.handle_whitespace_and_comments(b),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(b,b.text==="]"&&K(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===P.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(b),this.restore_mode(),J(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===de.Conditional&&(this._previous_flags.mode=de.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},x.prototype.handle_start_block=function(b){this.handle_whitespace_and_comments(b);var N=this._tokens.peek(),z=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===P.END_EXPR?(this.set_mode(de.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(de.BlockStatement):z&&(I(z.text,[":",","])&&I(N.type,[P.STRING,P.WORD,P.RESERVED])||I(N.text,["get","set","..."])&&I(z.type,[P.WORD,P.RESERVED]))?I(this._last_last_text,["class","interface"])&&!I(z.text,[":",","])?this.set_mode(de.BlockStatement):this.set_mode(de.ObjectLiteral):this._flags.last_token.type===P.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(de.BlockStatement):I(this._flags.last_token.type,[P.EQUALS,P.START_EXPR,P.COMMA,P.OPERATOR])||$(this._flags.last_token,["return","throw","import","default"])?this.set_mode(de.ObjectLiteral):this.set_mode(de.BlockStatement),this._flags.last_token&&($(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0));var ue=!N.comments_before&&N.text==="}",Ee=ue&&this._flags.last_word==="function"&&this._flags.last_token.type===P.END_EXPR;if(this._options.brace_preserve_inline){var ze=0,me=null;this._flags.inline_frame=!0;do if(ze+=1,me=this._tokens.peek(ze-1),me.newlines){this._flags.inline_frame=!1;break}while(me.type!==P.EOF&&!(me.type===P.END_BLOCK&&me.opened===b))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&b.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==P.OPERATOR&&(Ee||this._flags.last_token.type===P.EQUALS||$(this._flags.last_token,Re)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(K(this._previous_flags.mode)&&(this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.COMMA)&&((this._flags.last_token.type===P.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(b),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==P.OPERATOR&&this._flags.last_token.type!==P.START_EXPR&&(this._flags.last_token.type===P.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(b),this.indent(),!ue&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},x.prototype.handle_end_block=function(b){for(this.handle_whitespace_and_comments(b);this._flags.mode===de.Statement;)this.restore_mode();var N=this._flags.last_token.type===P.START_BLOCK;this._flags.inline_frame&&!N?this._output.space_before_token=!0:this._options.brace_style==="expand"?N||this.print_newline():N||(K(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(b)},x.prototype.handle_word=function(b){if(b.type===P.RESERVED){if(I(b.text,["set","get"])&&this._flags.mode!==de.ObjectLiteral)b.type=P.WORD;else if(b.text==="import"&&I(this._tokens.peek().text,["(","."]))b.type=P.WORD;else if(I(b.text,["as","from"])&&!this._flags.import_block)b.type=P.WORD;else if(this._flags.mode===de.ObjectLiteral){var N=this._tokens.peek();N.text===":"&&(b.type=P.WORD)}}if(this.start_of_statement(b)?$(this._flags.last_token,["var","let","const"])&&b.type===P.WORD&&(this._flags.declaration_statement=!0):b.newlines&&!pe(this._flags.mode)&&(this._flags.last_token.type!==P.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==P.EQUALS&&(this._options.preserve_newlines||!$(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(b),this.print_newline()):this.handle_whitespace_and_comments(b),this._flags.do_block&&!this._flags.do_while)if(Ce(b,"while")){this._output.space_before_token=!0,this.print_token(b),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&Ce(b,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===de.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&$(b,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(b),this._flags.in_case=!0;return}if((this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.EQUALS||this._flags.last_token.type===P.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(b)),Ce(b,"function")){(I(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(I(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===P.OPERATOR))&&(!this._output.just_added_blankline()&&!b.comments_before&&(this.print_newline(),this.print_newline(!0))),this._flags.last_token.type===P.RESERVED||this._flags.last_token.type===P.WORD?$(this._flags.last_token,["get","set","new","export"])||$(this._flags.last_token,D)?this._output.space_before_token=!0:Ce(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===P.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(pe(this._flags.mode)||K(this._flags.mode))||this.print_newline(),this.print_token(b),this._flags.last_word=b.text;return}var z="NONE";if(this._flags.last_token.type===P.END_BLOCK?this._previous_flags.inline_frame?z="SPACE":$(b,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&b.newlines?z="NEWLINE":(z="SPACE",this._output.space_before_token=!0):z="NEWLINE":this._flags.last_token.type===P.SEMICOLON&&this._flags.mode===de.BlockStatement?z="NEWLINE":this._flags.last_token.type===P.SEMICOLON&&pe(this._flags.mode)?z="SPACE":this._flags.last_token.type===P.STRING?z="NEWLINE":this._flags.last_token.type===P.RESERVED||this._flags.last_token.type===P.WORD||this._flags.last_token.text==="*"&&(I(this._last_last_text,["function","yield"])||this._flags.mode===de.ObjectLiteral&&I(this._last_last_text,["{",","]))?z="SPACE":this._flags.last_token.type===P.START_BLOCK?this._flags.inline_frame?z="SPACE":z="NEWLINE":this._flags.last_token.type===P.END_EXPR&&(this._output.space_before_token=!0,z="NEWLINE"),$(b,W)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?z="SPACE":z="NEWLINE"),$(b,["else","catch","finally"]))if((!(this._flags.last_token.type===P.END_BLOCK&&this._previous_flags.mode===de.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&b.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var ue=this._output.current_line;ue.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else z==="NEWLINE"?$(this._flags.last_token,Re)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&$(b,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==P.END_EXPR?(this._flags.last_token.type!==P.START_EXPR||!$(b,["var","let","const"]))&&this._flags.last_token.text!==":"&&(Ce(b,"if")&&Ce(b.previous,"else")?this._output.space_before_token=!0:this.print_newline()):$(b,W)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&K(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():z==="SPACE"&&(this._output.space_before_token=!0);b.previous&&(b.previous.type===P.WORD||b.previous.type===P.RESERVED)&&(this._output.space_before_token=!0),this.print_token(b),this._flags.last_word=b.text,b.type===P.RESERVED&&(b.text==="do"?this._flags.do_block=!0:b.text==="if"?this._flags.if_block=!0:b.text==="import"?this._flags.import_block=!0:this._flags.import_block&&Ce(b,"from")&&(this._flags.import_block=!1))},x.prototype.handle_semicolon=function(b){this.start_of_statement(b)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(b);for(var N=this._tokens.peek();this._flags.mode===de.Statement&&!(this._flags.if_block&&Ce(N,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(b)},x.prototype.handle_string=function(b){b.text.startsWith("`")&&b.newlines===0&&b.whitespace_before===""&&(b.previous.text===")"||this._flags.last_token.type===P.WORD)||(this.start_of_statement(b)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(b),this._flags.last_token.type===P.RESERVED||this._flags.last_token.type===P.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR||this._flags.last_token.type===P.EQUALS||this._flags.last_token.type===P.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(b):b.text.startsWith("`")&&this._flags.last_token.type===P.END_EXPR&&(b.previous.text==="]"||b.previous.text===")")&&b.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(b)},x.prototype.handle_equals=function(b){this.start_of_statement(b)||this.handle_whitespace_and_comments(b),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(b),this._output.space_before_token=!0},x.prototype.handle_comma=function(b){this.handle_whitespace_and_comments(b,!0),this.print_token(b),this._output.space_before_token=!0,this._flags.declaration_statement?(pe(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(b)):this._flags.mode===de.ObjectLiteral||this._flags.mode===de.Statement&&this._flags.parent.mode===de.ObjectLiteral?(this._flags.mode===de.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(b)},x.prototype.handle_operator=function(b){var N=b.text==="*"&&($(this._flags.last_token,["function","yield"])||I(this._flags.last_token.type,[P.START_BLOCK,P.COMMA,P.END_BLOCK,P.SEMICOLON])),z=I(b.text,["-","+"])&&(I(this._flags.last_token.type,[P.START_BLOCK,P.START_EXPR,P.EQUALS,P.OPERATOR])||I(this._flags.last_token.text,W)||this._flags.last_token.text===",");if(!this.start_of_statement(b)){var ue=!N;this.handle_whitespace_and_comments(b,ue)}if(b.text==="*"&&this._flags.last_token.type===P.DOT){this.print_token(b);return}if(b.text==="::"){this.print_token(b);return}if(this._flags.last_token.type===P.OPERATOR&&I(this._options.operator_position,be)&&this.allow_wrap_or_preserved_newline(b),b.text===":"&&this._flags.in_case){this.print_token(b),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==P.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var Ee=!0,ze=!0,me=!1;if(b.text===":"?this._flags.ternary_depth===0?Ee=!1:(this._flags.ternary_depth-=1,me=!0):b.text==="?"&&(this._flags.ternary_depth+=1),!z&&!N&&this._options.preserve_newlines&&I(b.text,ee)){var je=b.text===":",Ke=je&&me,qe=je&&!me;switch(this._options.operator_position){case Te.before_newline:this._output.space_before_token=!qe,this.print_token(b),(!je||Ke)&&this.allow_wrap_or_preserved_newline(b),this._output.space_before_token=!0;return;case Te.after_newline:this._output.space_before_token=!0,!je||Ke?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(b):this._output.space_before_token=!1,this.print_token(b),this._output.space_before_token=!0;return;case Te.preserve_newline:qe||this.allow_wrap_or_preserved_newline(b),Ee=!(this._output.just_added_newline()||qe),this._output.space_before_token=Ee,this.print_token(b),this._output.space_before_token=!0;return}}if(N){this.allow_wrap_or_preserved_newline(b),Ee=!1;var Pe=this._tokens.peek();ze=Pe&&I(Pe.type,[P.WORD,P.RESERVED])}else if(b.text==="...")this.allow_wrap_or_preserved_newline(b),Ee=this._flags.last_token.type===P.START_BLOCK,ze=!1;else if(I(b.text,["--","++","!","~"])||z){if((this._flags.last_token.type===P.COMMA||this._flags.last_token.type===P.START_EXPR)&&this.allow_wrap_or_preserved_newline(b),Ee=!1,ze=!1,b.newlines&&(b.text==="--"||b.text==="++"||b.text==="~")){var ht=$(this._flags.last_token,Re)&&b.newlines;ht&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(ht,!0)}this._flags.last_token.text===";"&&pe(this._flags.mode)&&(Ee=!0),this._flags.last_token.type===P.RESERVED?Ee=!0:this._flags.last_token.type===P.END_EXPR?Ee=!(this._flags.last_token.text==="]"&&(b.text==="--"||b.text==="++")):this._flags.last_token.type===P.OPERATOR&&(Ee=I(b.text,["--","-","++","+"])&&I(this._flags.last_token.text,["--","-","++","+"]),I(b.text,["+","-"])&&I(this._flags.last_token.text,["--","++"])&&(ze=!0)),(this._flags.mode===de.BlockStatement&&!this._flags.inline_frame||this._flags.mode===de.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Ee,this.print_token(b),this._output.space_before_token=ze},x.prototype.handle_block_comment=function(b,N){if(this._output.raw){this._output.add_raw_token(b),b.directives&&b.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(b.directives){this.print_newline(!1,N),this.print_token(b),b.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!w.newline.test(b.text)&&!b.newlines){this._output.space_before_token=!0,this.print_token(b),this._output.space_before_token=!0;return}else this.print_block_commment(b,N)},x.prototype.print_block_commment=function(b,N){var z=k(b.text),ue,Ee=!1,ze=!1,me=b.whitespace_before,je=me.length;if(this.print_newline(!1,N),this.print_token_line_indentation(b),this._output.add_token(z[0]),this.print_newline(!1,N),z.length>1){for(z=z.slice(1),Ee=M(z,"*"),ze=E(z,me),Ee&&(this._flags.alignment=1),ue=0;ue<z.length;ue++)Ee?(this.print_token_line_indentation(b),this._output.add_token(se(z[ue]))):ze&&z[ue]?(this.print_token_line_indentation(b),this._output.add_token(z[ue].substring(je))):(this._output.current_line.set_indent(-1),this._output.add_token(z[ue])),this.print_newline(!1,N);this._flags.alignment=0}},x.prototype.handle_comment=function(b,N){b.newlines?this.print_newline(!1,N):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(b),this.print_newline(!1,N)},x.prototype.handle_dot=function(b){this.start_of_statement(b)||this.handle_whitespace_and_comments(b,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),$(this._flags.last_token,Re)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(b,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(b)},x.prototype.handle_unknown=function(b,N){this.print_token(b),b.text[b.text.length-1]===`
|
|
|
`&&this.print_newline(!1,N)},x.prototype.handle_eof=function(b){for(;this._flags.mode===de.Statement;)this.restore_mode();this.handle_whitespace_and_comments(b)},f.exports.Beautifier=x},function(f){function G(A){this.__parent=A,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}G.prototype.clone_empty=function(){var A=new G(this.__parent);return A.set_indent(this.__indent_count,this.__alignment_count),A},G.prototype.item=function(A){return A<0?this.__items[this.__items.length+A]:this.__items[A]},G.prototype.has_match=function(A){for(var w=this.__items.length-1;w>=0;w--)if(this.__items[w].match(A))return!0;return!1},G.prototype.set_indent=function(A,w){this.is_empty()&&(this.__indent_count=A||0,this.__alignment_count=w||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},G.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},G.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},G.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var A=this.__parent.current_line;return A.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),A.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),A.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,A.__items[0]===" "&&(A.__items.splice(0,1),A.__character_count-=1),!0}return!1},G.prototype.is_empty=function(){return this.__items.length===0},G.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},G.prototype.push=function(A){this.__items.push(A);var w=A.lastIndexOf(`
|
|
|
`);w!==-1?this.__character_count=A.length-w:this.__character_count+=A.length},G.prototype.pop=function(){var A=null;return this.is_empty()||(A=this.__items.pop(),this.__character_count-=A.length),A},G.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},G.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},G.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},G.prototype.toString=function(){var A="";return this.is_empty()?this.__parent.indent_empty_lines&&(A=this.__parent.get_indent_string(this.__indent_count)):(A=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),A+=this.__items.join("")),A};function Y(A,w){this.__cache=[""],this.__indent_size=A.indent_size,this.__indent_string=A.indent_char,A.indent_with_tabs||(this.__indent_string=new Array(A.indent_size+1).join(A.indent_char)),w=w||"",A.indent_level>0&&(w=new Array(A.indent_level+1).join(this.__indent_string)),this.__base_string=w,this.__base_string_length=w.length}Y.prototype.get_indent_size=function(A,w){var T=this.__base_string_length;return w=w||0,A<0&&(T=0),T+=A*this.__indent_size,T+=w,T},Y.prototype.get_indent_string=function(A,w){var T=this.__base_string;return w=w||0,A<0&&(A=0,T=""),w+=A*this.__indent_size,this.__ensure_cache(w),T+=this.__cache[w],T},Y.prototype.__ensure_cache=function(A){for(;A>=this.__cache.length;)this.__add_column()},Y.prototype.__add_column=function(){var A=this.__cache.length,w=0,T="";this.__indent_size&&A>=this.__indent_size&&(w=Math.floor(A/this.__indent_size),A-=w*this.__indent_size,T=new Array(w+1).join(this.__indent_string)),A&&(T+=new Array(A+1).join(" ")),this.__cache.push(T)};function j(A,w){this.__indent_cache=new Y(A,w),this.raw=!1,this._end_with_newline=A.end_with_newline,this.indent_size=A.indent_size,this.wrap_line_length=A.wrap_line_length,this.indent_empty_lines=A.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new G(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}j.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},j.prototype.get_line_number=function(){return this.__lines.length},j.prototype.get_indent_string=function(A,w){return this.__indent_cache.get_indent_string(A,w)},j.prototype.get_indent_size=function(A,w){return this.__indent_cache.get_indent_size(A,w)},j.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},j.prototype.add_new_line=function(A){return this.is_empty()||!A&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},j.prototype.get_code=function(A){this.trim(!0);var w=this.current_line.pop();w&&(w[w.length-1]===`
|
|
|
`&&(w=w.replace(/\n+$/g,"")),this.current_line.push(w)),this._end_with_newline&&this.__add_outputline();var T=this.__lines.join(`
|
|
|
`);return A!==`
|
|
|
`&&(T=T.replace(/[\n]/g,A)),T},j.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},j.prototype.set_indent=function(A,w){return A=A||0,w=w||0,this.next_line.set_indent(A,w),this.__lines.length>1?(this.current_line.set_indent(A,w),!0):(this.current_line.set_indent(),!1)},j.prototype.add_raw_token=function(A){for(var w=0;w<A.newlines;w++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(A.whitespace_before),this.current_line.push(A.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},j.prototype.add_token=function(A){this.__add_space_before_token(),this.current_line.push(A),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},j.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},j.prototype.remove_indent=function(A){for(var w=this.__lines.length;A<w;)this.__lines[A]._remove_indent(),A++;this.current_line._remove_wrap_indent()},j.prototype.trim=function(A){for(A=A===void 0?!1:A,this.current_line.trim();A&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},j.prototype.just_added_newline=function(){return this.current_line.is_empty()},j.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},j.prototype.ensure_empty_line_above=function(A,w){for(var T=this.__lines.length-2;T>=0;){var L=this.__lines[T];if(L.is_empty())break;if(L.item(0).indexOf(A)!==0&&L.item(-1)!==w){this.__lines.splice(T+1,0,new G(this)),this.previous_line=this.__lines[this.__lines.length-2];break}T--}},f.exports.Output=j},function(f){function G(Y,j,A,w){this.type=Y,this.text=j,this.comments_before=null,this.newlines=A||0,this.whitespace_before=w||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}f.exports.Token=G},function(f,G){var Y="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",j="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",A="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",w="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",T="(?:\\\\u[0-9a-fA-F]{4}|["+Y+A+"])",L="(?:\\\\u[0-9a-fA-F]{4}|["+j+A+w+"])*";G.identifier=new RegExp(T+L,"g"),G.identifierStart=new RegExp(T),G.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+j+A+w+"])+");var W=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;G.newline=/[\n\r\u2028\u2029]/,G.lineBreak=new RegExp(`\r
|
|
|
|`+G.newline.source),G.allLineBreaks=new RegExp(G.lineBreak.source,"g")},function(f,G,Y){var j=Y(6).Options,A=["before-newline","after-newline","preserve-newline"];function w(T){j.call(this,T,"js");var L=this.raw_options.brace_style||null;L==="expand-strict"?this.raw_options.brace_style="expand":L==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var W=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var ee=0;ee<W.length;ee++)W[ee]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=W[ee];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",A),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}w.prototype=new j,f.exports.Options=w},function(f){function G(A,w){this.raw_options=Y(A,w),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}G.prototype._get_array=function(A,w){var T=this.raw_options[A],L=w||[];return typeof T=="object"?T!==null&&typeof T.concat=="function"&&(L=T.concat()):typeof T=="string"&&(L=T.split(/[^a-zA-Z0-9_\/\-]+/)),L},G.prototype._get_boolean=function(A,w){var T=this.raw_options[A],L=T===void 0?!!w:!!T;return L},G.prototype._get_characters=function(A,w){var T=this.raw_options[A],L=w||"";return typeof T=="string"&&(L=T.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),L},G.prototype._get_number=function(A,w){var T=this.raw_options[A];w=parseInt(w,10),isNaN(w)&&(w=0);var L=parseInt(T,10);return isNaN(L)&&(L=w),L},G.prototype._get_selection=function(A,w,T){var L=this._get_selection_list(A,w,T);if(L.length!==1)throw new Error("Invalid Option Value: The option '"+A+`' can only be one of the following values:
|
|
|
`+w+`
|
|
|
You passed in: '`+this.raw_options[A]+"'");return L[0]},G.prototype._get_selection_list=function(A,w,T){if(!w||w.length===0)throw new Error("Selection list cannot be empty.");if(T=T||[w[0]],!this._is_valid_selection(T,w))throw new Error("Invalid Default Value!");var L=this._get_array(A,T);if(!this._is_valid_selection(L,w))throw new Error("Invalid Option Value: The option '"+A+`' can contain only the following values:
|
|
|
`+w+`
|
|
|
You passed in: '`+this.raw_options[A]+"'");return L},G.prototype._is_valid_selection=function(A,w){return A.length&&w.length&&!A.some(function(T){return w.indexOf(T)===-1})};function Y(A,w){var T={};A=j(A);var L;for(L in A)L!==w&&(T[L]=A[L]);if(w&&A[w])for(L in A[w])T[L]=A[w][L];return T}function j(A){var w={},T;for(T in A){var L=T.replace(/-/g,"_");w[L]=A[T]}return w}f.exports.Options=G,f.exports.normalizeOpts=j,f.exports.mergeOpts=Y},function(f,G,Y){var j=Y(8).InputScanner,A=Y(9).Tokenizer,w=Y(9).TOKEN,T=Y(13).Directives,L=Y(4),W=Y(12).Pattern,ee=Y(14).TemplatablePattern;function P(M,E){return E.indexOf(M)!==-1}var I={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:w.START,RAW:w.RAW,EOF:w.EOF},se=new T(/\/\*/,/\*\//),fe=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,Ce=/[0-9]/,$=/[^\d\.]/,Re=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),Fe=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";Fe=Fe.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),Fe="\\?\\.(?!\\d) "+Fe,Fe=Fe.replace(/ /g,"|");var Te=new RegExp(Fe),be="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),de=be.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),J=new RegExp("^(?:"+de.join("|")+")$"),k,K=function(M,E){A.call(this,M,E),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var x=new W(this._input),D=new ee(this._input).read_options(this._options);this.__patterns={template:D,identifier:D.starting_with(L.identifier).matching(L.identifierMatch),number:x.matching(fe),punct:x.matching(Te),comment:x.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:x.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:x.matching(/<!--/),html_comment_end:x.matching(/-->/),include:x.starting_with(/#include/).until_after(L.lineBreak),shebang:x.starting_with(/#!/).until_after(L.lineBreak),xml:x.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:D.until(/['\\\n\r\u2028\u2029]/),double_quote:D.until(/["\\\n\r\u2028\u2029]/),template_text:D.until(/[`\\$]/),template_expression:D.until(/[`}\\]/)}};K.prototype=new A,K.prototype._is_comment=function(M){return M.type===I.COMMENT||M.type===I.BLOCK_COMMENT||M.type===I.UNKNOWN},K.prototype._is_opening=function(M){return M.type===I.START_BLOCK||M.type===I.START_EXPR},K.prototype._is_closing=function(M,E){return(M.type===I.END_BLOCK||M.type===I.END_EXPR)&&E&&(M.text==="]"&&E.text==="["||M.text===")"&&E.text==="("||M.text==="}"&&E.text==="{")},K.prototype._reset=function(){k=!1},K.prototype._get_next_token=function(M,E){var x=null;this._readWhitespace();var D=this._input.peek();return D===null?this._create_token(I.EOF,""):(x=x||this._read_non_javascript(D),x=x||this._read_string(D),x=x||this._read_word(M),x=x||this._read_singles(D),x=x||this._read_comment(D),x=x||this._read_regexp(D,M),x=x||this._read_xml(D,M),x=x||this._read_punctuation(),x=x||this._create_token(I.UNKNOWN,this._input.next()),x)},K.prototype._read_word=function(M){var E;if(E=this.__patterns.identifier.read(),E!=="")return E=E.replace(L.allLineBreaks,`
|
|
|
`),!(M.type===I.DOT||M.type===I.RESERVED&&(M.text==="set"||M.text==="get"))&&J.test(E)?(E==="in"||E==="of")&&(M.type===I.WORD||M.type===I.STRING)?this._create_token(I.OPERATOR,E):this._create_token(I.RESERVED,E):this._create_token(I.WORD,E);if(E=this.__patterns.number.read(),E!=="")return this._create_token(I.WORD,E)},K.prototype._read_singles=function(M){var E=null;return M==="("||M==="["?E=this._create_token(I.START_EXPR,M):M===")"||M==="]"?E=this._create_token(I.END_EXPR,M):M==="{"?E=this._create_token(I.START_BLOCK,M):M==="}"?E=this._create_token(I.END_BLOCK,M):M===";"?E=this._create_token(I.SEMICOLON,M):M==="."&&$.test(this._input.peek(1))?E=this._create_token(I.DOT,M):M===","&&(E=this._create_token(I.COMMA,M)),E&&this._input.next(),E},K.prototype._read_punctuation=function(){var M=this.__patterns.punct.read();if(M!=="")return M==="="?this._create_token(I.EQUALS,M):M==="?."?this._create_token(I.DOT,M):this._create_token(I.OPERATOR,M)},K.prototype._read_non_javascript=function(M){var E="";if(M==="#"){if(this._is_first_token()&&(E=this.__patterns.shebang.read(),E))return this._create_token(I.UNKNOWN,E.trim()+`
|
|
|
`);if(E=this.__patterns.include.read(),E)return this._create_token(I.UNKNOWN,E.trim()+`
|
|
|
`);M=this._input.next();var x="#";if(this._input.hasNext()&&this._input.testChar(Ce)){do M=this._input.next(),x+=M;while(this._input.hasNext()&&M!=="#"&&M!=="=");return M==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(x+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(x+="{}",this._input.next(),this._input.next())),this._create_token(I.WORD,x)}this._input.back()}else if(M==="<"&&this._is_first_token()){if(E=this.__patterns.html_comment_start.read(),E){for(;this._input.hasNext()&&!this._input.testChar(L.newline);)E+=this._input.next();return k=!0,this._create_token(I.COMMENT,E)}}else if(k&&M==="-"&&(E=this.__patterns.html_comment_end.read(),E))return k=!1,this._create_token(I.COMMENT,E);return null},K.prototype._read_comment=function(M){var E=null;if(M==="/"){var x="";if(this._input.peek(1)==="*"){x=this.__patterns.block_comment.read();var D=se.get_directives(x);D&&D.ignore==="start"&&(x+=se.readIgnored(this._input)),x=x.replace(L.allLineBreaks,`
|
|
|
`),E=this._create_token(I.BLOCK_COMMENT,x),E.directives=D}else this._input.peek(1)==="/"&&(x=this.__patterns.comment.read(),E=this._create_token(I.COMMENT,x))}return E},K.prototype._read_string=function(M){if(M==="`"||M==="'"||M==='"'){var E=this._input.next();return this.has_char_escapes=!1,M==="`"?E+=this._read_string_recursive("`",!0,"${"):E+=this._read_string_recursive(M),this.has_char_escapes&&this._options.unescape_strings&&(E=pe(E)),this._input.peek()===M&&(E+=this._input.next()),E=E.replace(L.allLineBreaks,`
|
|
|
`),this._create_token(I.STRING,E)}return null},K.prototype._allow_regexp_or_xml=function(M){return M.type===I.RESERVED&&P(M.text,["return","case","throw","else","do","typeof","yield"])||M.type===I.END_EXPR&&M.text===")"&&M.opened.previous.type===I.RESERVED&&P(M.opened.previous.text,["if","while","for"])||P(M.type,[I.COMMENT,I.START_EXPR,I.START_BLOCK,I.START,I.END_BLOCK,I.OPERATOR,I.EQUALS,I.EOF,I.SEMICOLON,I.COMMA])},K.prototype._read_regexp=function(M,E){if(M==="/"&&this._allow_regexp_or_xml(E)){for(var x=this._input.next(),D=!1,b=!1;this._input.hasNext()&&(D||b||this._input.peek()!==M)&&!this._input.testChar(L.newline);)x+=this._input.peek(),D?D=!1:(D=this._input.peek()==="\\",this._input.peek()==="["?b=!0:this._input.peek()==="]"&&(b=!1)),this._input.next();return this._input.peek()===M&&(x+=this._input.next(),x+=this._input.read(L.identifier)),this._create_token(I.STRING,x)}return null},K.prototype._read_xml=function(M,E){if(this._options.e4x&&M==="<"&&this._allow_regexp_or_xml(E)){var x="",D=this.__patterns.xml.read_match();if(D){for(var b=D[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),N=b.indexOf("{")===0,z=0;D;){var ue=!!D[1],Ee=D[2],ze=!!D[D.length-1]||Ee.slice(0,8)==="![CDATA[";if(!ze&&(Ee===b||N&&Ee.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(ue?--z:++z),x+=D[0],z<=0)break;D=this.__patterns.xml.read_match()}return D||(x+=this._input.match(/[\s\S]*/g)[0]),x=x.replace(L.allLineBreaks,`
|
|
|
`),this._create_token(I.STRING,x)}}return null};function pe(M){for(var E="",x=0,D=new j(M),b=null;D.hasNext();)if(b=D.match(/([\s]|[^\\]|\\\\)+/g),b&&(E+=b[0]),D.peek()==="\\"){if(D.next(),D.peek()==="x")b=D.match(/x([0-9A-Fa-f]{2})/g);else if(D.peek()==="u")b=D.match(/u([0-9A-Fa-f]{4})/g);else{E+="\\",D.hasNext()&&(E+=D.next());continue}if(!b)return M;if(x=parseInt(b[1],16),x>126&&x<=255&&b[0].indexOf("x")===0)return M;if(x>=0&&x<32){E+="\\"+b[0];continue}else x===34||x===39||x===92?E+="\\"+String.fromCharCode(x):E+=String.fromCharCode(x)}return E}K.prototype._read_string_recursive=function(M,E,x){var D,b;M==="'"?b=this.__patterns.single_quote:M==='"'?b=this.__patterns.double_quote:M==="`"?b=this.__patterns.template_text:M==="}"&&(b=this.__patterns.template_expression);for(var N=b.read(),z="";this._input.hasNext();){if(z=this._input.next(),z===M||!E&&L.newline.test(z)){this._input.back();break}else z==="\\"&&this._input.hasNext()?(D=this._input.peek(),D==="x"||D==="u"?this.has_char_escapes=!0:D==="\r"&&this._input.peek(1)===`
|
|
|
`&&this._input.next(),z+=this._input.next()):x&&(x==="${"&&z==="$"&&this._input.peek()==="{"&&(z+=this._input.next()),x===z&&(M==="`"?z+=this._read_string_recursive("}",E,"`"):z+=this._read_string_recursive("`",E,"${"),this._input.hasNext()&&(z+=this._input.next())));z+=b.read(),N+=z}return N},f.exports.Tokenizer=K,f.exports.TOKEN=I,f.exports.positionable_operators=Re.slice(),f.exports.line_starters=be.slice()},function(f){var G=RegExp.prototype.hasOwnProperty("sticky");function Y(j){this.__input=j||"",this.__input_length=this.__input.length,this.__position=0}Y.prototype.restart=function(){this.__position=0},Y.prototype.back=function(){this.__position>0&&(this.__position-=1)},Y.prototype.hasNext=function(){return this.__position<this.__input_length},Y.prototype.next=function(){var j=null;return this.hasNext()&&(j=this.__input.charAt(this.__position),this.__position+=1),j},Y.prototype.peek=function(j){var A=null;return j=j||0,j+=this.__position,j>=0&&j<this.__input_length&&(A=this.__input.charAt(j)),A},Y.prototype.__match=function(j,A){j.lastIndex=A;var w=j.exec(this.__input);return w&&!(G&&j.sticky)&&(w.index!==A&&(w=null)),w},Y.prototype.test=function(j,A){return A=A||0,A+=this.__position,A>=0&&A<this.__input_length?!!this.__match(j,A):!1},Y.prototype.testChar=function(j,A){var w=this.peek(A);return j.lastIndex=0,w!==null&&j.test(w)},Y.prototype.match=function(j){var A=this.__match(j,this.__position);return A?this.__position+=A[0].length:A=null,A},Y.prototype.read=function(j,A,w){var T="",L;return j&&(L=this.match(j),L&&(T+=L[0])),A&&(L||!j)&&(T+=this.readUntil(A,w)),T},Y.prototype.readUntil=function(j,A){var w="",T=this.__position;j.lastIndex=this.__position;var L=j.exec(this.__input);return L?(T=L.index,A&&(T+=L[0].length)):T=this.__input_length,w=this.__input.substring(this.__position,T),this.__position=T,w},Y.prototype.readUntilAfter=function(j){return this.readUntil(j,!0)},Y.prototype.get_regexp=function(j,A){var w=null,T="g";return A&&G&&(T="y"),typeof j=="string"&&j!==""?w=new RegExp(j,T):j&&(w=new RegExp(j.source,T)),w},Y.prototype.get_literal_regexp=function(j){return RegExp(j.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},Y.prototype.peekUntilAfter=function(j){var A=this.__position,w=this.readUntilAfter(j);return this.__position=A,w},Y.prototype.lookBack=function(j){var A=this.__position-1;return A>=j.length&&this.__input.substring(A-j.length,A).toLowerCase()===j},f.exports.InputScanner=Y},function(f,G,Y){var j=Y(8).InputScanner,A=Y(3).Token,w=Y(10).TokenStream,T=Y(11).WhitespacePattern,L={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},W=function(ee,P){this._input=new j(ee),this._options=P||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new T(this._input)};W.prototype.tokenize=function(){this._input.restart(),this.__tokens=new w,this._reset();for(var ee,P=new A(L.START,""),I=null,se=[],fe=new w;P.type!==L.EOF;){for(ee=this._get_next_token(P,I);this._is_comment(ee);)fe.add(ee),ee=this._get_next_token(P,I);fe.isEmpty()||(ee.comments_before=fe,fe=new w),ee.parent=I,this._is_opening(ee)?(se.push(I),I=ee):I&&this._is_closing(ee,I)&&(ee.opened=I,I.closed=ee,I=se.pop(),ee.parent=I),ee.previous=P,P.next=ee,this.__tokens.add(ee),P=ee}return this.__tokens},W.prototype._is_first_token=function(){return this.__tokens.isEmpty()},W.prototype._reset=function(){},W.prototype._get_next_token=function(ee,P){this._readWhitespace();var I=this._input.read(/.+/g);return I?this._create_token(L.RAW,I):this._create_token(L.EOF,"")},W.prototype._is_comment=function(ee){return!1},W.prototype._is_opening=function(ee){return!1},W.prototype._is_closing=function(ee,P){return!1},W.prototype._create_token=function(ee,P){var I=new A(ee,P,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return I},W.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},f.exports.Tokenizer=W,f.exports.TOKEN=L},function(f){function G(Y){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=Y}G.prototype.restart=function(){this.__position=0},G.prototype.isEmpty=function(){return this.__tokens_length===0},G.prototype.hasNext=function(){return this.__position<this.__tokens_length},G.prototype.next=function(){var Y=null;return this.hasNext()&&(Y=this.__tokens[this.__position],this.__position+=1),Y},G.prototype.peek=function(Y){var j=null;return Y=Y||0,Y+=this.__position,Y>=0&&Y<this.__tokens_length&&(j=this.__tokens[Y]),j},G.prototype.add=function(Y){this.__parent_token&&(Y.parent=this.__parent_token),this.__tokens.push(Y),this.__tokens_length+=1},f.exports.TokenStream=G},function(f,G,Y){var j=Y(12).Pattern;function A(w,T){j.call(this,w,T),T?this._line_regexp=this._input.get_regexp(T._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}A.prototype=new j,A.prototype.__set_whitespace_patterns=function(w,T){w+="\\t ",T+="\\n\\r",this._match_pattern=this._input.get_regexp("["+w+T+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+T+"]")},A.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var w=this._input.read(this._match_pattern);if(w===" ")this.whitespace_before_token=" ";else if(w){var T=this.__split(this._newline_regexp,w);this.newline_count=T.length-1,this.whitespace_before_token=T[this.newline_count]}return w},A.prototype.matching=function(w,T){var L=this._create();return L.__set_whitespace_patterns(w,T),L._update(),L},A.prototype._create=function(){return new A(this._input,this)},A.prototype.__split=function(w,T){w.lastIndex=0;for(var L=0,W=[],ee=w.exec(T);ee;)W.push(T.substring(L,ee.index)),L=ee.index+ee[0].length,ee=w.exec(T);return L<T.length?W.push(T.substring(L,T.length)):W.push(""),W},f.exports.WhitespacePattern=A},function(f){function G(Y,j){this._input=Y,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,j&&(this._starting_pattern=this._input.get_regexp(j._starting_pattern,!0),this._match_pattern=this._input.get_regexp(j._match_pattern,!0),this._until_pattern=this._input.get_regexp(j._until_pattern),this._until_after=j._until_after)}G.prototype.read=function(){var Y=this._input.read(this._starting_pattern);return(!this._starting_pattern||Y)&&(Y+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),Y},G.prototype.read_match=function(){return this._input.match(this._match_pattern)},G.prototype.until_after=function(Y){var j=this._create();return j._until_after=!0,j._until_pattern=this._input.get_regexp(Y),j._update(),j},G.prototype.until=function(Y){var j=this._create();return j._until_after=!1,j._until_pattern=this._input.get_regexp(Y),j._update(),j},G.prototype.starting_with=function(Y){var j=this._create();return j._starting_pattern=this._input.get_regexp(Y,!0),j._update(),j},G.prototype.matching=function(Y){var j=this._create();return j._match_pattern=this._input.get_regexp(Y,!0),j._update(),j},G.prototype._create=function(){return new G(this._input,this)},G.prototype._update=function(){},f.exports.Pattern=G},function(f){function G(Y,j){Y=typeof Y=="string"?Y:Y.source,j=typeof j=="string"?j:j.source,this.__directives_block_pattern=new RegExp(Y+/ beautify( \w+[:]\w+)+ /.source+j,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(Y+/\sbeautify\signore:end\s/.source+j,"g")}G.prototype.get_directives=function(Y){if(!Y.match(this.__directives_block_pattern))return null;var j={};this.__directive_pattern.lastIndex=0;for(var A=this.__directive_pattern.exec(Y);A;)j[A[1]]=A[2],A=this.__directive_pattern.exec(Y);return j},G.prototype.readIgnored=function(Y){return Y.readUntilAfter(this.__directives_end_ignore_pattern)},f.exports.Directives=G},function(f,G,Y){var j=Y(12).Pattern,A={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function w(T,L){j.call(this,T,L),this.__template_pattern=null,this._disabled=Object.assign({},A),this._excluded=Object.assign({},A),L&&(this.__template_pattern=this._input.get_regexp(L.__template_pattern),this._excluded=Object.assign(this._excluded,L._excluded),this._disabled=Object.assign(this._disabled,L._disabled));var W=new j(T);this.__patterns={handlebars_comment:W.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:W.starting_with(/{{{/).until_after(/}}}/),handlebars:W.starting_with(/{{/).until_after(/}}/),php:W.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:W.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:W.starting_with(/{%/).until_after(/%}/),django_value:W.starting_with(/{{/).until_after(/}}/),django_comment:W.starting_with(/{#/).until_after(/#}/),smarty:W.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:W.starting_with(/{\*/).until_after(/\*}/),smarty_literal:W.starting_with(/{literal}/).until_after(/{\/literal}/)}}w.prototype=new j,w.prototype._create=function(){return new w(this._input,this)},w.prototype._update=function(){this.__set_templated_pattern()},w.prototype.disable=function(T){var L=this._create();return L._disabled[T]=!0,L._update(),L},w.prototype.read_options=function(T){var L=this._create();for(var W in A)L._disabled[W]=T.templating.indexOf(W)===-1;return L._update(),L},w.prototype.exclude=function(T){var L=this._create();return L._excluded[T]=!0,L._update(),L},w.prototype.read=function(){var T="";this._match_pattern?T=this._input.read(this._starting_pattern):T=this._input.read(this._starting_pattern,this.__template_pattern);for(var L=this._read_template();L;)this._match_pattern?L+=this._input.read(this._match_pattern):L+=this._input.readUntil(this.__template_pattern),T+=L,L=this._read_template();return this._until_after&&(T+=this._input.readUntilAfter(this._until_pattern)),T},w.prototype.__set_templated_pattern=function(){var T=[];this._disabled.php||T.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||T.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||T.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(T.push(this.__patterns.django._starting_pattern.source),T.push(this.__patterns.django_value._starting_pattern.source),T.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||T.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&T.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+T.join("|")+")")},w.prototype._read_template=function(){var T="",L=this._input.peek();if(L==="<"){var W=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&W==="?"&&(T=T||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&W==="%"&&(T=T||this.__patterns.erb.read())}else L==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(T=T||this.__patterns.handlebars_comment.read(),T=T||this.__patterns.handlebars_unescaped.read(),T=T||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(T=T||this.__patterns.django_value.read()),this._excluded.django||(T=T||this.__patterns.django_comment.read(),T=T||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(T=T||this.__patterns.smarty_comment.read(),T=T||this.__patterns.smarty_literal.read(),T=T||this.__patterns.smarty.read()));return T},f.exports.TemplatablePattern=w}],ce={};function we(f){var G=ce[f];if(G!==void 0)return G.exports;var Y=ce[f]={exports:{}};return H[f](Y,Y.exports,we),Y.exports}var F=we(0);Ve=F})();var Be=Ve;!(Oe=[],_e=function(){return{js_beautify:Be}}.apply(ne,Oe),_e!==void 0&&(ut.exports=_e))})()},"6nfa":function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___24EuS",flex_space_between:"flex_space_between___H0sq_",flex_box_vertical_center:"flex_box_vertical_center___lroQv",flex_box_center_end:"flex_box_center_end___2zqAg",flex_box_column:"flex_box_column___1sePp",row:"row___FQAuJ",title:"title___1l3-g",tagsWrap:"tagsWrap___18FE-",action:"action___asdVT",bar:"bar___M_nl0",name:"name___BKyJY",active:"active___1eybt",tagsBorderWrap:"tagsBorderWrap___1NzgL"}},"6rzw":function(ut,ne){ut.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABQBJREFUaEPtmmtoU2cYx//POc3pRVtte7K7G92YK1QHY/tQkbmi4hA/TOZyUp0oirWguNEJo8gu/bbJ3JVNhjJRmmKTbNBNd0FWkF2g0IGMUf0wGH5wF0napkubmEvfZ7xpUtqs5sT05LKZ8y3nvJfn9/yf93ne9yXEzCr+Rw+VgUpczbJCJS4Qbk+FAnv2rIiHw29CiCcB3GmRStfV6urN9WfOjFg0XmIYU4USMJOTlxhYbsXERBRjYBTMdxHRmKJpWxpcrmErxs4KyG8YZ5nZYdWEIJqsqq5+PBIKXWDgAflb0bStjS7XRSvmMFXIZxi/g9mqMIMEsHs8y8c7O++dHh+/wMyPgOiGYrO1N/b1nV8slDmQwxFf7CTz+ieB5Lupjg49HAh8zcBjBMRRUbFbP3vWvZj5igokDZ84cKAu6vefA/NaIhIgOqi73SdzhSo6UMLwnp5q38jIZwA2yZ+KonQ3ut3HcoEqDaAZKJvv8mUXmLclod5odLtfvVWo0gGSlp84ofgGB09CiN0JEEU5bne7X7gVqMIDASG711uXychRp/NdIcShRF1RFJe+YcNe7N8vsgErBhDU2tr7G06d+sMEqkcI8UoCimhAX7NmB7q6omZQRQEiVT2s9/e/b2ac3+nsYiHeSkJ9qzc1PYujR0OZ+hUFCECIqqq26L2932cBtRfMHzOzko0jigUkw0jWnE8J+JEBXyYwlpmPeRup6st6f/87paiQmTALfi8DLeQWn9V7uZy0melUVuj2VIhokpgT6ZaJFGKuZKIVYH4o5RAiGgfzULJNBYAaeXQn4EGZfuc6jgAG8E26M5noPjCvntc2H1mOiC7rHs+j8ixDQqg1uh6UxW58585N8WjUC+YlIPrB7vG0hTo775gGYrXNzVOyygc7O+sjgcARMB9kZi1ZMGO6x1MtjxEVsVjinXxCwWA7pqffKxiQzzB+BXPTzGqln211dc/Eg8HnWIhjKSC/YURSN7MEXCNF6a3S9Q9uTEy0cDQqT6uKvGOQQD6H46vU8eFmeSMvSSGl0DwguTFW1UOsab9wOHxxIaDZcAQu6S0t6/xXrvSwEIdLEkh6X1u6dH0sFNokhPgwE5AEkwc4rqwc5HB4OAXkdzp7wbxuVh3mJek3TXlVaHTXrpUqs0Y2W3DZ5s3XAgMDrfFYbICZ682ACPhcX7Vqh39k5G8AQoZcepiNOZ27p4X4pGBraLS9/W0W4h4AVWB+mIHm2cmTSWHuGkrLbOd1r3erzzAmCNAkkN/pdEGIp+aMUcPMywoGlL6G5nnYDEhVX7fV1vZGA4HfZteQYXwJ5qczbSTyGnK5AiWSSlNT6+jVq91CiCP/KSCfYfyZyOrMEQB/QVG+qLTbj0cmJlYjEpFp21aSWe5fYZIMuXnvvV51/Ny5lfFo9HkS4qX0wlrMOjTNgJ8Ae/o2Zs7WR17Ij82pPTYw1zNAC64RousE1KcgC1pYMy3afH/LS1LIt9EFz3JlIAs9YFXITQGotNCunIdSFOXFRrf7o4xhafbHC7/DMcTAEzlbYWFH0rT1el/fd4sD2r7dyfF4n4V25TQUEQ3rGzeuNbvjNr1olLP72tu7SYjXzOpETpZm04loSKup2bns9OmrZs2zApKDjHV03I1wuJXjcbvZoFZ9F0RRVVVHGvbt+wltbfLuwfTJGsh0pBJpUAYqESFuakZZobJCBfbAP/nAgWJ1139AAAAAAElFTkSuQmCC"},"746U":function(ut,ne,O){"use strict";O.d(ne,"f",function(){return Oe}),O.d(ne,"l",function(){return _e}),O.d(ne,"k",function(){return Ve}),O.d(ne,"j",function(){return Be}),O.d(ne,"g",function(){return H}),O.d(ne,"m",function(){return ce}),O.d(ne,"h",function(){return we}),O.d(ne,"n",function(){return F}),O.d(ne,"c",function(){return f}),O.d(ne,"a",function(){return G}),O.d(ne,"i",function(){return Y}),O.d(ne,"o",function(){return j}),O.d(ne,"e",function(){return T}),O.d(ne,"d",function(){return L}),O.d(ne,"p",function(){return W}),O.d(ne,"b",function(){return ee});function Oe(P){return Array.isArray(P)}function _e(P){return typeof P=="string"}function Ve(P){return typeof P=="object"&&P!==null&&!Array.isArray(P)&&!(P instanceof RegExp)&&!(P instanceof Date)}function Be(P){return typeof P=="number"&&!isNaN(P)}function H(P){return P===!0||P===!1}function ce(P){return typeof P=="undefined"}function we(P){return!F(P)}function F(P){return ce(P)||P===null}function f(P,I){if(!P)throw new Error(I?`Unexpected type, expected '${I}'`:"Unexpected type")}function G(P){if(F(P))throw new Error("Assertion Failed: argument is undefined or null");return P}function Y(P){return typeof P=="function"}function j(P,I){const se=Math.min(P.length,I.length);for(let fe=0;fe<se;fe++)A(P[fe],I[fe])}function A(P,I){if(_e(I)){if(typeof P!==I)throw new Error(`argument does not match constraint: typeof ${I}`)}else if(Y(I)){try{if(P instanceof I)return}catch(se){}if(!F(P)&&P.constructor===I)return;if(I.length===1&&I.call(void 0,P)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function w(P){let I=[],se=Object.getPrototypeOf(P);for(;Object.prototype!==se;)I=I.concat(Object.getOwnPropertyNames(se)),se=Object.getPrototypeOf(se);return I}function T(P){const I=[];for(const se of w(P))typeof P[se]=="function"&&I.push(se);return I}function L(P,I){const se=Ce=>function(){const $=Array.prototype.slice.call(arguments,0);return I(Ce,$)};let fe={};for(const Ce of P)fe[Ce]=se(Ce);return fe}function W(P){return P===null?void 0:P}function ee(P,I="Unreachable"){throw new Error(I)}},"8HAY":function(ut,ne,O){"use strict";O.d(ne,"a",function(){return H}),O.d(ne,"b",function(){return ce}),O.d(ne,"d",function(){return we}),O.d(ne,"e",function(){return F}),O.d(ne,"c",function(){return f});var Oe=O("MI8n"),_e=O("pmY6"),Ve=O("3/fG"),Be=function(G,Y,j,A){function w(T){return T instanceof j?T:new j(function(L){L(T)})}return new(j||(j=Promise))(function(T,L){function W(I){try{P(A.next(I))}catch(se){L(se)}}function ee(I){try{P(A.throw(I))}catch(se){L(se)}}function P(I){I.done?T(I.value):w(I.value).then(W,ee)}P((A=A.apply(G,Y||[])).next())})};class H extends _e.a{constructor(G,Y="",j="",A=!0,w){super();this._onDidChange=this._register(new Oe.b),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=G,this._label=Y,this._cssClass=j,this._enabled=A,this._actionCallback=w}get id(){return this._id}get label(){return this._label}set label(G){this._setLabel(G)}_setLabel(G){this._label!==G&&(this._label=G,this._onDidChange.fire({label:G}))}get tooltip(){return this._tooltip||""}set tooltip(G){this._setTooltip(G)}_setTooltip(G){this._tooltip!==G&&(this._tooltip=G,this._onDidChange.fire({tooltip:G}))}get class(){return this._cssClass}set class(G){this._setClass(G)}_setClass(G){this._cssClass!==G&&(this._cssClass=G,this._onDidChange.fire({class:G}))}get enabled(){return this._enabled}set enabled(G){this._setEnabled(G)}_setEnabled(G){this._enabled!==G&&(this._enabled=G,this._onDidChange.fire({enabled:G}))}get checked(){return this._checked}set checked(G){this._setChecked(G)}_setChecked(G){this._checked!==G&&(this._checked=G,this._onDidChange.fire({checked:G}))}run(G,Y){return Be(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(G))})}}class ce extends _e.a{constructor(){super(...arguments);this._onBeforeRun=this._register(new Oe.b),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new Oe.b),this.onDidRun=this._onDidRun.event}run(G,Y){return Be(this,void 0,void 0,function*(){if(!G.enabled)return;this._onBeforeRun.fire({action:G});let j;try{yield this.runAction(G,Y)}catch(A){j=A}this._onDidRun.fire({action:G,error:j})})}runAction(G,Y){return Be(this,void 0,void 0,function*(){yield G.run(Y)})}}class we extends H{constructor(G){super(we.ID,G,G?"separator text":"separator");this.checked=!1,this.enabled=!1}}we.ID="vs.actions.separator";class F{constructor(G,Y,j,A){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=G,this.label=Y,this.class=A,this._actions=j}get actions(){return this._actions}dispose(){}run(){return Be(this,void 0,void 0,function*(){})}}class f extends H{constructor(){super(f.ID,Ve.a("submenu.empty","(empty)"),void 0,!1)}}f.ID="vs.actions.empty"},"8WcF":function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___2fahw",flex_space_between:"flex_space_between___1h4HM",flex_box_vertical_center:"flex_box_vertical_center___2kxeE",flex_box_center_end:"flex_box_center_end___OjPB4",flex_box_column:"flex_box_column___3zY1h",orderWrap:"orderWrap___VQuq1",orderIconWrap:"orderIconWrap___18q7W",orderAsc:"orderAsc___3WBGg",orderDesc:"orderDesc____ipxK",active:"active___3EMfI",cursorPointer:"cursorPointer___3og_L",orderTextWrap:"orderTextWrap___XQlmv"}},"8mKB":function(ut,ne,O){"use strict";var Oe=O("rePB"),_e=O("1OyB"),Ve=O("vuIU"),Be=O("Ji7U"),H=O("md7G"),ce=O("foSv"),we=O("q1tI"),F=O.n(we),f=O("m+aA"),G=O("TSYQ"),Y=O.n(G),j=O("4IlW");function A(Te){var be=Te.pageXOffset,de="scrollLeft";if(typeof be!="number"){var J=Te.document;be=J.documentElement[de],typeof be!="number"&&(be=J.body[de])}return be}function w(Te){var be,de,J=Te.ownerDocument,k=J.body,K=J&&J.documentElement,pe=Te.getBoundingClientRect();return be=pe.left,de=pe.top,be-=K.clientLeft||k.clientLeft||0,de-=K.clientTop||k.clientTop||0,{left:be,top:de}}function T(Te){var be=w(Te),de=Te.ownerDocument,J=de.defaultView||de.parentWindow;return be.left+=A(J),be.left}function L(Te){var be=W();return function(){var J=Object(ce.a)(Te),k;if(be){var K=Object(ce.a)(this).constructor;k=Reflect.construct(J,arguments,K)}else k=J.apply(this,arguments);return Object(H.a)(this,k)}}function W(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Te){return!1}}var ee=function(Te){Object(Be.a)(de,Te);var be=L(de);function de(){var J;return Object(_e.a)(this,de),J=be.apply(this,arguments),J.onHover=function(k){var K=J.props,pe=K.onHover,M=K.index;pe(k,M)},J.onClick=function(k){var K=J.props,pe=K.onClick,M=K.index;pe(k,M)},J.onKeyDown=function(k){var K=J.props,pe=K.onClick,M=K.index;k.keyCode===13&&pe(k,M)},J}return Object(Ve.a)(de,[{key:"getClassName",value:function(){var k=this.props,K=k.prefixCls,pe=k.index,M=k.value,E=k.allowHalf,x=k.focused,D=pe+1,b=K;return M===0&&pe===0&&x?b+=" ".concat(K,"-focused"):E&&M+.5>=D&&M<D?(b+=" ".concat(K,"-half ").concat(K,"-active"),x&&(b+=" ".concat(K,"-focused"))):(b+=D<=M?" ".concat(K,"-full"):" ".concat(K,"-zero"),D===M&&x&&(b+=" ".concat(K,"-focused"))),b}},{key:"render",value:function(){var k=this.onHover,K=this.onClick,pe=this.onKeyDown,M=this.props,E=M.disabled,x=M.prefixCls,D=M.character,b=M.characterRender,N=M.index,z=M.count,ue=M.value,Ee=typeof D=="function"?D(this.props):D,ze=F.a.createElement("li",{className:this.getClassName()},F.a.createElement("div",{onClick:E?null:K,onKeyDown:E?null:pe,onMouseMove:E?null:k,role:"radio","aria-checked":ue>N?"true":"false","aria-posinset":N+1,"aria-setsize":z,tabIndex:E?-1:0},F.a.createElement("div",{className:"".concat(x,"-first")},Ee),F.a.createElement("div",{className:"".concat(x,"-second")},Ee)));return b&&(ze=b(ze,this.props)),ze}}]),de}(F.a.Component);function P(Te,be){var de=Object.keys(Te);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(Te);be&&(J=J.filter(function(k){return Object.getOwnPropertyDescriptor(Te,k).enumerable})),de.push.apply(de,J)}return de}function I(Te){for(var be=1;be<arguments.length;be++){var de=arguments[be]!=null?arguments[be]:{};be%2?P(Object(de),!0).forEach(function(J){Object(Oe.a)(Te,J,de[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Te,Object.getOwnPropertyDescriptors(de)):P(Object(de)).forEach(function(J){Object.defineProperty(Te,J,Object.getOwnPropertyDescriptor(de,J))})}return Te}function se(Te){var be=fe();return function(){var J=Object(ce.a)(Te),k;if(be){var K=Object(ce.a)(this).constructor;k=Reflect.construct(J,arguments,K)}else k=J.apply(this,arguments);return Object(H.a)(this,k)}}function fe(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(Te){return!1}}function Ce(){}var $=function(Te){Object(Be.a)(de,Te);var be=se(de);function de(J){var k;Object(_e.a)(this,de),k=be.call(this,J),k.onHover=function(pe,M){var E=k.props.onHoverChange,x=k.getStarValue(M,pe.pageX),D=k.state.cleanedValue;x!==D&&k.setState({hoverValue:x,cleanedValue:null}),E(x)},k.onMouseLeave=function(){var pe=k.props.onHoverChange;k.setState({hoverValue:void 0,cleanedValue:null}),pe(void 0)},k.onClick=function(pe,M){var E=k.props.allowClear,x=k.state.value,D=k.getStarValue(M,pe.pageX),b=!1;E&&(b=D===x),k.onMouseLeave(),k.changeValue(b?0:D),k.setState({cleanedValue:b?D:null})},k.onFocus=function(){var pe=k.props.onFocus;k.setState({focused:!0}),pe&&pe()},k.onBlur=function(){var pe=k.props.onBlur;k.setState({focused:!1}),pe&&pe()},k.onKeyDown=function(pe){var M=pe.keyCode,E=k.props,x=E.count,D=E.allowHalf,b=E.onKeyDown,N=E.direction,z=N==="rtl",ue=k.state.value;M===j.a.RIGHT&&ue<x&&!z?(D?ue+=.5:ue+=1,k.changeValue(ue),pe.preventDefault()):M===j.a.LEFT&&ue>0&&!z||M===j.a.RIGHT&&ue>0&&z?(D?ue-=.5:ue-=1,k.changeValue(ue),pe.preventDefault()):M===j.a.LEFT&&ue<x&&z&&(D?ue+=.5:ue+=1,k.changeValue(ue),pe.preventDefault()),b&&b(pe)},k.saveRef=function(pe){return function(M){k.stars[pe]=M}},k.saveRate=function(pe){k.rate=pe};var K=J.value;return K===void 0&&(K=J.defaultValue),k.stars={},k.state={value:K,focused:!1,cleanedValue:null},k}return Object(Ve.a)(de,[{key:"componentDidMount",value:function(){var k=this.props,K=k.autoFocus,pe=k.disabled;K&&!pe&&this.focus()}},{key:"getStarDOM",value:function(k){return Object(f.a)(this.stars[k])}},{key:"getStarValue",value:function(k,K){var pe=this.props,M=pe.allowHalf,E=pe.direction,x=E==="rtl",D=k+1;if(M){var b=this.getStarDOM(k),N=T(b),z=b.clientWidth;(x&&K-N>z/2||!x&&K-N<z/2)&&(D-=.5)}return D}},{key:"focus",value:function(){var k=this.props.disabled;k||this.rate.focus()}},{key:"blur",value:function(){var k=this.props.disabled;k||this.rate.blur()}},{key:"changeValue",value:function(k){var K=this.props.onChange;"value"in this.props||this.setState({value:k}),K(k)}},{key:"render",value:function(){for(var k=this.props,K=k.count,pe=k.allowHalf,M=k.style,E=k.prefixCls,x=k.disabled,D=k.className,b=k.character,N=k.characterRender,z=k.tabIndex,ue=k.direction,Ee=this.state,ze=Ee.value,me=Ee.hoverValue,je=Ee.focused,Ke=[],qe=x?"".concat(E,"-disabled"):"",Pe=0;Pe<K;Pe+=1)Ke.push(F.a.createElement(ee,{ref:this.saveRef(Pe),index:Pe,count:K,disabled:x,prefixCls:"".concat(E,"-star"),allowHalf:pe,value:me===void 0?ze:me,onClick:this.onClick,onHover:this.onHover,key:Pe,character:b,characterRender:N,focused:je}));var ht=Y()(E,qe,D,Object(Oe.a)({},"".concat(E,"-rtl"),ue==="rtl"));return F.a.createElement("ul",{className:ht,style:M,onMouseLeave:x?null:this.onMouseLeave,tabIndex:x?-1:z,onFocus:x?null:this.onFocus,onBlur:x?null:this.onBlur,onKeyDown:x?null:this.onKeyDown,ref:this.saveRate,role:"radiogroup"},Ke)}}],[{key:"getDerivedStateFromProps",value:function(k,K){return"value"in k&&k.value!==void 0?I(I({},K),{},{value:k.value}):K}}]),de}(F.a.Component);$.defaultProps={defaultValue:0,count:5,allowHalf:!1,allowClear:!0,style:{},prefixCls:"rc-rate",onChange:Ce,character:"\u2605",onHoverChange:Ce,tabIndex:0,direction:"ltr"};var Re=$,Fe=ne.a=Re},"9JIy":function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___Hq8-r",flex_space_between:"flex_space_between___3Nl1U",flex_box_vertical_center:"flex_box_vertical_center___1hgum",flex_box_center_end:"flex_box_center_end___i5ldC",flex_box_column:"flex_box_column____1u-K",table:"table___2yPMl"}},BU3w:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return ce});var Oe=O("MNnm"),_e="rc-util-key";function Ve(we){if(we.attachTo)return we.attachTo;var F=document.querySelector("head");return F||document.body}function Be(we){var F,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Object(Oe.a)())return null;var G=document.createElement("style");if((F=f.csp)===null||F===void 0?void 0:F.nonce){var Y;G.nonce=(Y=f.csp)===null||Y===void 0?void 0:Y.nonce}G.innerHTML=we;var j=Ve(f),A=j.firstChild;return f.prepend&&j.prepend?j.prepend(G):f.prepend&&A?j.insertBefore(G,A):j.appendChild(G),G}var H=new Map;function ce(we,F){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},G=Ve(f);if(!H.has(G)){var Y=Be("",f),j=Y.parentNode;H.set(G,j),j.removeChild(Y)}var A=Array.from(H.get(G).children).find(function(ee){return ee.tagName==="STYLE"&&ee[_e]===F});if(A){var w,T;if(((w=f.csp)===null||w===void 0?void 0:w.nonce)&&A.nonce!==((T=f.csp)===null||T===void 0?void 0:T.nonce)){var L;A.nonce=(L=f.csp)===null||L===void 0?void 0:L.nonce}return A.innerHTML!==we&&(A.innerHTML=we),A}var W=Be(we,f);return W[_e]=F,W}},BdwD:function(ut,ne,O){"use strict";var Oe=O("+L6B"),_e=O("2/Rp"),Ve=O("0Owb"),Be=O("k1fw"),H=O("q1tI"),ce=O.n(H),we=O("FOrL"),F=O.n(we),f=function(Y){var j=Y.buttonProps,A=j===void 0?{}:j,w=Y.styles,T=w===void 0?{}:w,L=Y.imgStyles,W=L===void 0?{}:L,ee=Y.customText,P=Y.ButtonText,I=Y.ButtonClick,se=Y.Buttonclass,fe=Y.ButtonTwo;return ce.a.createElement("section",{className:"tc animated fadeIn",style:Object(Be.a)(Object(Be.a)({},{color:"#999",margin:"0 auto",padding:"100px 0"}),T)},ce.a.createElement("img",{src:F.a,style:Object(Be.a)(Object(Be.a)({},{width:"200px",height:"150px"}),W)}),ce.a.createElement("p",{className:"mt10 font14"},ee||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),P&&ce.a.createElement(_e.a,Object(Ve.a)({className:se,onClick:I},A),P),fe&&fe)};ne.a=f},Bq7L:function(ut,ne){ut.exports="data:image/png;base64,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"},"C/vA":function(ut,ne,O){"use strict";O.d(ne,"a",function(){return Oe});function Oe(_e){const Ve=this;let Be=!1,H;return function(){return Be||(Be=!0,H=_e.apply(Ve,arguments)),H}}},"Cg/j":function(ut,ne,O){"use strict";O.d(ne,"b",function(){return Oe}),O.d(ne,"a",function(){return _e}),O.d(ne,"c",function(){return Be}),O.d(ne,"d",function(){return H});var Oe;(function(ce){ce.serviceIds=new Map,ce.DI_TARGET="$di$target",ce.DI_DEPENDENCIES="$di$dependencies";function we(F){return F[ce.DI_DEPENDENCIES]||[]}ce.getServiceDependencies=we})(Oe||(Oe={}));const _e=Be("instantiationService");function Ve(ce,we,F,f){we[Oe.DI_TARGET]===we?we[Oe.DI_DEPENDENCIES].push({id:ce,index:F,optional:f}):(we[Oe.DI_DEPENDENCIES]=[{id:ce,index:F,optional:f}],we[Oe.DI_TARGET]=we)}function Be(ce){if(Oe.serviceIds.has(ce))return Oe.serviceIds.get(ce);const we=function(F,f,G){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");Ve(we,F,G,!1)};return we.toString=()=>ce,Oe.serviceIds.set(ce,we),we}function H(ce){return function(we,F,f){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");Ve(ce,we,f,!0)}}},D8AG:function(ut,ne){ut.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAA0hJREFUaEPtmctLVFEcxz+30dDRXDiSWaDLSAUN0jAhTPFNJhIuotVI+cAHZJLgZhYFToSizsbX/QtEbaOtQkJDDYygRYtoISgqbbTwgQ43DrdhMB/3OjN3ulP3LM895/f7fc73d55XUhTFxj9UJAvI5GpaCplcIP5jhZ48ucTWVheKcg9FuRwWpSRpFUl6jcPxHLd7XY9PfQq1tFxne3saRUnSYzTkbSTpO3Z7OQMDH7VsawO5XBdYXv4MXNEyZvD3FVJTM3G5fpzmRxvo0aNneL0vDA5Wn3mbrYvhYXdwQE7nO+CWPo+Gt3qPLN8OFugnEGN4qPoc7CLL8cECHejzFaZWshxlAR0aAafTUsjQ5DMs5WpqoKAAenuhsBDy8/0csgznz8PDh/66mRmYn4f2doiOVuu/foWREejoAIdDrdvfh+lpmJw8flwMAxoagqgo2NqC7m548AAyM9UgvF7o74erV6Giwh/Y+DisrUFDA5w7p9YvLcHEBHR2QlycH6q+PsxAQgVfWV+Hnh5oaoK0NLV2dxdevoTiYsjL87cdHYXYWHUAfOXtW1hcPKye0/kXgYTrb99gcFBNn6TfR77NTXC71dRLT1cDPDiAvj7IyICyMn/QY2OwsaGqJ0lQVxdmoOPdGV9r2BwSk9k3D4zACHvKWUBnlNF0Cq2swNSUuueUlkJKytmITAcklue5ORVCzDWxCVdVQUKCPjDTAYklfGHhcPAxMVBZCSUl/tPCSXgRAeQLPjERamshN/dktSIKyIfR2grZ2cdDRSRQWxtkZf0DQOJkLVIuJyfCU04cSu/ehaKiCFwUxGl8dlZVwGaDO3fUZTv+1DcOv2Kmm0NiY33zRr3oiWU6OVnf/uNrZTqgs4V/tLUFpI6J9lPwSa8+4iTgexsIVo0/+4tL4OPHYb7gVVdDeXnoocQjiZh74p3huGLYBS/Uqui1ZwH9OVLWy6ne3AmwXQhSbhW4GKD7UHfbQJZP/b+rvWzX1Y2hKNWhjiwge5I0yejo/dP6agM1Nl5jb++DCX567WK338Dj+RIckOjd3JzFzs4r4CaKYg9odAPtJEnbwAKxsU/xeD5pmdFWSMuCyb5bQCYT5Eg4lkKWQmEegV/wVtNEQlRZ7wAAAABJRU5ErkJggg=="},FOrL:function(ut,ne,O){ut.exports=O.p+"static/nodata.a6b3f948.png"},FWmy:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return Oe});function Oe(_e,Ve){if(!_e)throw new Error(Ve?`Assertion failed (${Ve})`:"Assertion Failed")}},GfqC:function(ut,ne,O){"use strict";var Oe=O("q1tI"),_e=O.n(Oe),Ve=O("TSYQ"),Be=O.n(Ve);function H(x,D){var b="cannot "+x.method+" "+x.action+" "+D.status+"'",N=new Error(b);return N.status=D.status,N.method=x.method,N.url=x.action,N}function ce(x){var D=x.responseText||x.response;if(!D)return D;try{return JSON.parse(D)}catch(b){return D}}function we(x){var D=new XMLHttpRequest;x.onProgress&&D.upload&&(D.upload.onprogress=function(ue){ue.total>0&&(ue.percent=ue.loaded/ue.total*100),x.onProgress(ue)});var b=new FormData;x.data&&Object.keys(x.data).forEach(function(z){var ue=x.data[z];if(Array.isArray(ue)){ue.forEach(function(Ee){b.append(z+"[]",Ee)});return}b.append(z,x.data[z])}),x.file instanceof Blob?b.append(x.filename,x.file,x.file.name):b.append(x.filename,x.file),D.onerror=function(ue){x.onError(ue)},D.onload=function(){return D.status<200||D.status>=300?x.onError(H(x,D),ce(D)):x.onSuccess(ce(D),D)},D.open(x.method,x.action,!0),x.withCredentials&&"withCredentials"in D&&(D.withCredentials=!0);var N=x.headers||{};return N["X-Requested-With"]!==null&&D.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(N).forEach(function(z){N[z]!==null&&D.setRequestHeader(z,N[z])}),D.send(b),{abort:function(){D.abort()}}}var F=+new Date,f=0;function G(){return"rc-upload-"+F+"-"+ ++f}function Y(x,D){return x.indexOf(D,x.length-D.length)!==-1}var j=function(x,D){if(x&&D){var b=Array.isArray(D)?D:D.split(","),N=x.name||"",z=x.type||"",ue=z.replace(/\/.*$/,"");return b.some(function(Ee){var ze=Ee.trim();return ze.charAt(0)==="."?Y(N.toLowerCase(),ze.toLowerCase()):/\/\*$/.test(ze)?ue===ze.replace(/\/.*$/,""):z===ze})}return!0};function A(x,D){var b=x.createReader(),N=[];function z(){b.readEntries(function(ue){var Ee=Array.prototype.slice.apply(ue);N=N.concat(Ee);var ze=!Ee.length;ze?D(N):z()})}z()}var w=function(D,b,N){var z=function ue(Ee,ze){ze=ze||"",Ee.isFile?Ee.file(function(me){N(me)&&(Ee.fullPath&&!me.webkitRelativePath&&(Object.defineProperties(me,{webkitRelativePath:{writable:!0}}),me.webkitRelativePath=Ee.fullPath.replace(/^\//,""),Object.defineProperties(me,{webkitRelativePath:{writable:!1}})),b([me]))}):Ee.isDirectory&&A(Ee,function(me){me.forEach(function(je){ue(je,""+ze+Ee.name+"/")})})};D.forEach(function(ue){z(ue.webkitGetAsEntry())})},T=w,L=Object.assign||function(x){for(var D=1;D<arguments.length;D++){var b=arguments[D];for(var N in b)Object.prototype.hasOwnProperty.call(b,N)&&(x[N]=b[N])}return x},W=function(){function x(D,b){var N=[],z=!0,ue=!1,Ee=void 0;try{for(var ze=D[Symbol.iterator](),me;!(z=(me=ze.next()).done)&&!(N.push(me.value),b&&N.length===b);z=!0);}catch(je){ue=!0,Ee=je}finally{try{!z&&ze.return&&ze.return()}finally{if(ue)throw Ee}}return N}return function(D,b){if(Array.isArray(D))return D;if(Symbol.iterator in Object(D))return x(D,b);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),ee=function(){function x(D,b){for(var N=0;N<b.length;N++){var z=b[N];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(D,z.key,z)}}return function(D,b,N){return b&&x(D.prototype,b),N&&x(D,N),D}}();function P(x,D,b){return D in x?Object.defineProperty(x,D,{value:b,enumerable:!0,configurable:!0,writable:!0}):x[D]=b,x}function I(x,D){var b={};for(var N in x){if(D.indexOf(N)>=0)continue;if(!Object.prototype.hasOwnProperty.call(x,N))continue;b[N]=x[N]}return b}function se(x,D){if(!(x instanceof D))throw new TypeError("Cannot call a class as a function")}function fe(x,D){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:x}function Ce(x,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);x.prototype=Object.create(D&&D.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(x,D):x.__proto__=D)}var $=function(D){return Object.keys(D).reduce(function(b,N){return(N.substr(0,5)==="data-"||N.substr(0,5)==="aria-"||N==="role")&&(b[N]=D[N]),b},{})},Re=function(x){Ce(D,x);function D(){var b,N,z,ue;se(this,D);for(var Ee=arguments.length,ze=Array(Ee),me=0;me<Ee;me++)ze[me]=arguments[me];return ue=(N=(z=fe(this,(b=D.__proto__||Object.getPrototypeOf(D)).call.apply(b,[this].concat(ze))),z),z.state={uid:G()},z.reqs={},z.onChange=function(je){var Ke=je.target.files;z.uploadFiles(Ke),z.reset()},z.onClick=function(je){var Ke=z.fileInput;if(!Ke)return;var qe=z.props,Pe=qe.children,ht=qe.onClick;Pe&&Pe.type==="button"&&(Ke.parentNode.focus(),Ke.parentNode.querySelector("button").blur()),Ke.click(),ht&&ht(je)},z.onKeyDown=function(je){je.key==="Enter"&&z.onClick()},z.onFileDrop=function(je){var Ke=z.props.multiple;if(je.preventDefault(),je.type==="dragover")return;if(z.props.directory)T(Array.prototype.slice.call(je.dataTransfer.items),z.uploadFiles,function(Pe){return j(Pe,z.props.accept)});else{var qe=Array.prototype.slice.call(je.dataTransfer.files).filter(function(Pe){return j(Pe,z.props.accept)});Ke===!1&&(qe=qe.slice(0,1)),z.uploadFiles(qe)}},z.uploadFiles=function(je){var Ke=Array.prototype.slice.call(je);Ke.map(function(qe){return qe.uid=G(),qe}).forEach(function(qe){z.upload(qe,Ke)})},z.saveFileInput=function(je){z.fileInput=je},N),fe(z,ue)}return ee(D,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"upload",value:function(N,z){var ue=this,Ee=this.props;if(!Ee.beforeUpload)return setTimeout(function(){return ue.post(N)},0);var ze=Ee.beforeUpload(N,z);ze&&ze.then?ze.then(function(me){var je=Object.prototype.toString.call(me);return je==="[object File]"||je==="[object Blob]"?ue.post(me):ue.post(N)}).catch(function(me){console.log(me)}):ze!==!1&&setTimeout(function(){return ue.post(N)},0);return}},{key:"post",value:function(N){var z=this;if(!this._isMounted)return;var ue=this.props,Ee=ue.onStart,ze=ue.onProgress,me=ue.transformFile,je=me===void 0?function(Ke){return Ke}:me;new Promise(function(Ke){var qe=ue.action;return typeof qe=="function"&&(qe=qe(N)),Ke(qe)}).then(function(Ke){var qe=N.uid,Pe=ue.customRequest||we,ht=Promise.resolve(je(N)).then(function(V){var ie=ue.data;return typeof ie=="function"&&(ie=ie(V)),Promise.all([V,ie])}).catch(function(V){console.error(V)});ht.then(function(V){var ie=W(V,2),Z=ie[0],Le=ie[1],$e={action:Ke,filename:ue.name,data:Le,file:Z,headers:ue.headers,withCredentials:ue.withCredentials,method:ue.method||"post",onProgress:ze?function(rt){ze(rt,N)}:null,onSuccess:function(Et,Ct){delete z.reqs[qe],ue.onSuccess(Et,N,Ct)},onError:function(Et,Ct){delete z.reqs[qe],ue.onError(Et,Ct,N)}};Ee(N),z.reqs[qe]=Pe($e)})})}},{key:"reset",value:function(){this.setState({uid:G()})}},{key:"abort",value:function(N){var z=this.reqs;if(N){var ue=N;N&&N.uid&&(ue=N.uid),z[ue]&&z[ue].abort&&z[ue].abort(),delete z[ue]}else Object.keys(z).forEach(function(Ee){z[Ee]&&z[Ee].abort&&z[Ee].abort(),delete z[Ee]})}},{key:"render",value:function(){var N,z=this.props,ue=z.component,Ee=z.prefixCls,ze=z.className,me=z.disabled,je=z.id,Ke=z.style,qe=z.multiple,Pe=z.accept,ht=z.children,V=z.directory,ie=z.openFileDialogOnClick,Z=z.onMouseEnter,Le=z.onMouseLeave,$e=I(z,["component","prefixCls","className","disabled","id","style","multiple","accept","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"]),rt=Be()((N={},P(N,Ee,!0),P(N,Ee+"-disabled",me),P(N,ze,ze),N)),Et=me?{}:{onClick:ie?this.onClick:function(){},onKeyDown:ie?this.onKeyDown:function(){},onMouseEnter:Z,onMouseLeave:Le,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return _e.a.createElement(ue,L({},Et,{className:rt,role:"button",style:Ke}),_e.a.createElement("input",L({},$($e),{id:je,type:"file",ref:this.saveFileInput,onClick:function(q){return q.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:Pe,directory:V?"directory":null,webkitdirectory:V?"webkitdirectory":null,multiple:qe,onChange:this.onChange})),ht)}}]),D}(Oe.Component),Fe=Re,Te=Object.assign||function(x){for(var D=1;D<arguments.length;D++){var b=arguments[D];for(var N in b)Object.prototype.hasOwnProperty.call(b,N)&&(x[N]=b[N])}return x},be=function(){function x(D,b){for(var N=0;N<b.length;N++){var z=b[N];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(D,z.key,z)}}return function(D,b,N){return b&&x(D.prototype,b),N&&x(D,N),D}}();function de(x,D){if(!(x instanceof D))throw new TypeError("Cannot call a class as a function")}function J(x,D){if(!x)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D&&(typeof D=="object"||typeof D=="function")?D:x}function k(x,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof D);x.prototype=Object.create(D&&D.prototype,{constructor:{value:x,enumerable:!1,writable:!0,configurable:!0}}),D&&(Object.setPrototypeOf?Object.setPrototypeOf(x,D):x.__proto__=D)}function K(){}var pe=function(x){k(D,x);function D(){var b,N,z,ue;de(this,D);for(var Ee=arguments.length,ze=Array(Ee),me=0;me<Ee;me++)ze[me]=arguments[me];return ue=(N=(z=J(this,(b=D.__proto__||Object.getPrototypeOf(D)).call.apply(b,[this].concat(ze))),z),z.saveUploader=function(je){z.uploader=je},N),J(z,ue)}return be(D,[{key:"abort",value:function(N){this.uploader.abort(N)}},{key:"render",value:function(){return _e.a.createElement(Fe,Te({},this.props,{ref:this.saveUploader}))}}]),D}(Oe.Component);pe.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:K,onError:K,onSuccess:K,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var M=pe,E=ne.a=M},Iovw:function(ut,ne){ut.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABDNJREFUaEPtmXtsU1Ucx7+37bq1rGu7Rxndypjr6CozhkV8hKAs6AwJ8ZEAMkMQHxlEosPgI4qvf1hEo4n/EFEhOkXDNhSJkYfRkQyZJgQxwKJbtznLykbtXLvbduvjHnOuNlD3uC3cS69w75+9v/s738/5fs/JvacMIUSNa+hiFCCZu6k4JHODcP05dBRg6ttcW+KENBCCG8R0aFuN5ecGu3GRmD0FHSpucz0f50iTmIMmerXXzYUnFDtdZ521UKz+gkCWlh4XAeaJNeClfShQtSkbX7nZjvttubVijCEIVNTSExNjoKl6JIDovb2/j+1/aJ5h5ZWOJRsgAKS5179rXYVx45VAyQkIcQLyca9/+2N248uXCyUrIAoxwRHyUR/77Aa74d3LgZIdEIVgoxzZ3Rt49Okq06fpQskSiEL4JuJcc3/ggWeqzN+kA5VRoP1LS7DYop9W7/lwLNbcN1b7wgJzZ6pQGQV6ymHCqzcXzai1j41G9vwxUfPKjbm/pgKVUSC9Cti3tBS3FOpm1Nrlj4RazgWdry8wDwpBZRSIistmgA12IxYV6mDQTv/xfMI7fqGxOt8qe6CEQBKNg8TJjHp965ya/w2QkFB637u6UgGaNFFSvpym4sqlNYpDU82Y4lC6OUqjXomcErk04iJGqRI5JXJi5CiNHpJGrqHShPryPBACeMJRdHrD+KDHjwh38QXTkqPG1psK+LM3WnfcG8b2sz4EYxdrSvUavFhdAKcxG3FC0D4UwltdPkS5yaSSAjUvnoP3ukd5kVadhoermzMLK9rdvBhjlgrf3mPDttM+HHCzUDPAE5UmPGgzYPn3blDuEr0GX9eWYuspLw4OBpGlYrDZacZgKIY9/YFJRFcNKDFy08IiDLBR7OwZxUvVBfzPTWd8ScLev70YBwdZfOlmsePW2Tg5Mo4PXf6UgnfVgZZYdFhfYcTjnUPYd1cJ3ukawQ/ecJLYh8vz4MjT4rVf/sSPy8tQ3+FBPxuVJ9CyYj1WlRmw8adhfL7Eip3dozg6HEoS+0iFEXTd0Ch23DuXh+8OROQJtOuOYnw3FMJn/QE0Vpl54c+d9CaJbb3Tyq89WvdmTRFGIhze+E8sp6OTPHJHPEGc+mscVl0W1pQboFUxWHvsPK8nR83g0DIbv17aBsb4Bd8w34R8rRrrj/9TY9aqcPhuG1oHxvDFvzWbnfk44QtPua4kBbqvNBcrywygG7AnFOO37QPn2KTJ1akZbHKYcVthDj3i5bfk3S4//0ziytWosMlh4g9JxuMcDnuC+KRv8g5H6yUFSin0IhcpQNfFu5ylxfUbAakQOT1pt2PA9F5YbXcIPSh4cjq71dXIEfK2UCOp76sYZsvwKrvgf0aCQFQohSIET2bCKeoMw2BHKjBUa0pAUs++mP0VIDFnU4peikNSzKqYPa85h/4GTP+NU24sRsEAAAAASUVORK5CYII="},JAbv:function(ut,ne){ut.exports="data:image/png;base64,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"},JYp7:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return Oe});var Oe;(function(_e){function Ve(I){return I&&typeof I=="object"&&typeof I[Symbol.iterator]=="function"}_e.is=Ve;const Be=Object.freeze([]);function H(){return Be}_e.empty=H;function*ce(I){yield I}_e.single=ce;function we(I){return I||Be}_e.from=we;function F(I){return!I||I[Symbol.iterator]().next().done===!0}_e.isEmpty=F;function f(I){return I[Symbol.iterator]().next().value}_e.first=f;function G(I,se){for(const fe of I)if(se(fe))return!0;return!1}_e.some=G;function Y(I,se){for(const fe of I)if(se(fe))return fe;return}_e.find=Y;function*j(I,se){for(const fe of I)se(fe)&&(yield fe)}_e.filter=j;function*A(I,se){let fe=0;for(const Ce of I)yield se(Ce,fe++)}_e.map=A;function*w(...I){for(const se of I)for(const fe of se)yield fe}_e.concat=w;function*T(I){for(const se of I)for(const fe of se)yield fe}_e.concatNested=T;function L(I,se,fe){let Ce=fe;for(const $ of I)Ce=se(Ce,$);return Ce}_e.reduce=L;function*W(I,se,fe=I.length){for(se<0&&(se+=I.length),fe<0?fe+=I.length:fe>I.length&&(fe=I.length);se<fe;se++)yield I[se]}_e.slice=W;function ee(I,se=Number.POSITIVE_INFINITY){const fe=[];if(se===0)return[fe,I];const Ce=I[Symbol.iterator]();for(let $=0;$<se;$++){const Re=Ce.next();if(Re.done)return[fe,_e.empty()];fe.push(Re.value)}return[fe,{[Symbol.iterator](){return Ce}}]}_e.consume=ee;function P(I,se,fe=(Ce,$)=>Ce===$){const Ce=I[Symbol.iterator](),$=se[Symbol.iterator]();for(;;){const Re=Ce.next(),Fe=$.next();if(Re.done!==Fe.done)return!1;if(Re.done)return!0;if(!fe(Re.value,Fe.value))return!1}}_e.equals=P})(Oe||(Oe={}))},KOXS:function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___4BHX-",flex_space_between:"flex_space_between___fH2oM",flex_box_vertical_center:"flex_box_vertical_center___TgSS9",flex_box_center_end:"flex_box_center_end___1vKaD",flex_box_column:"flex_box_column___1kCgI",input:"input___2mV-b",dropdown:"dropdown___1QKW2",menu:"menu___37CBn",text:"text___159fF",b1:"b1___2uGyF",b2:"b2___2DXw1"}},LdHM:function(ut,ne,O){"use strict";O.d(ne,"b",function(){return I}),O.d(ne,"a",function(){return fe});var Oe=O("1OyB"),_e=O("vuIU"),Ve=O("Ji7U"),Be=O("LK+K"),H=O("q1tI"),ce=O("rePB"),we=O("Ff2n"),F=O("ODXe"),f=O("4IlW"),G=O("bX4T"),Y=O("YrtM"),j=O("TSYQ"),A=O.n(j),w=O("+nKL"),T=O("8OUc"),L=function(N,z){var ue=N.prefixCls,Ee=N.id,ze=N.flattenOptions,me=N.childrenAsData,je=N.values,Ke=N.searchValue,qe=N.multiple,Pe=N.defaultActiveFirstOption,ht=N.height,V=N.itemHeight,ie=N.notFoundContent,Z=N.open,Le=N.menuItemSelectedIcon,$e=N.virtual,rt=N.onSelect,Et=N.onToggleOpen,Ct=N.onActiveValue,q=N.onScroll,oe=N.onMouseEnter,ke="".concat(ue,"-item"),We=Object(Y.a)(function(){return ze},[Z,ze],function(un,Cn){return Cn[0]&&un[1]!==Cn[1]}),bt=H.useRef(null),Jt=function(Cn){Cn.preventDefault()},sn=function(Cn){bt.current&&bt.current.scrollTo({index:Cn})},Ut=function(Cn){for(var ln=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,gn=We.length,Tr=0;Tr<gn;Tr+=1){var er=(Cn+Tr*ln+gn)%gn,Hr=We[er],Ar=Hr.group,Ti=Hr.data;if(!Ar&&!Ti.disabled)return er}return-1},jt=H.useState(function(){return Ut(0)}),lr=Object(F.a)(jt,2),Dn=lr[0],fo=lr[1],wr=function(Cn){fo(Cn);var ln=We[Cn];if(!ln){Ct(null,-1);return}Ct(ln.data.value,Cn)};H.useEffect(function(){wr(Pe!==!1?Ut(0):-1)},[We.length,Ke]),H.useEffect(function(){var un=setTimeout(function(){if(!qe&&Z&&je.size===1){var Cn=Array.from(je)[0],ln=We.findIndex(function(gn){var Tr=gn.data;return Tr.value===Cn});wr(ln),sn(ln)}});return function(){return clearTimeout(un)}},[Z]);var $r=function(Cn){Cn!==void 0&&rt(Cn,{selected:!je.has(Cn)}),qe||Et(!1)};if(H.useImperativeHandle(z,function(){return{onKeyDown:function(Cn){var ln=Cn.which;switch(ln){case f.a.UP:case f.a.DOWN:{var gn=0;if(ln===f.a.UP?gn=-1:ln===f.a.DOWN&&(gn=1),gn!==0){var Tr=Ut(Dn+gn,gn);sn(Tr),wr(Tr)}break}case f.a.ENTER:{var er=We[Dn];er&&!er.data.disabled?$r(er.data.value):$r(void 0),Z&&Cn.preventDefault();break}case f.a.ESC:Et(!1)}},onKeyUp:function(){},scrollTo:function(Cn){sn(Cn)}}}),We.length===0)return H.createElement("div",{role:"listbox",id:"".concat(Ee,"_list"),className:"".concat(ke,"-empty"),onMouseDown:Jt},ie);function pn(un){var Cn=We[un];if(!Cn)return null;var ln=Cn.data||{},gn=ln.value,Tr=ln.label,er=ln.children,Hr=Object(G.a)(ln,!0),Ar=me?er:Tr;return Cn?H.createElement("div",Object.assign({"aria-label":typeof Ar=="string"?Ar:null},Hr,{key:un,role:"option",id:"".concat(Ee,"_list_").concat(un),"aria-selected":je.has(gn)}),gn):null}return H.createElement(H.Fragment,null,H.createElement("div",{role:"listbox",id:"".concat(Ee,"_list"),style:{height:0,width:0,overflow:"hidden"}},pn(Dn-1),pn(Dn),pn(Dn+1)),H.createElement(w.a,{itemKey:"key",ref:bt,data:We,height:ht,itemHeight:V,fullHeight:!1,onMouseDown:Jt,onScroll:q,virtual:$e,onMouseEnter:oe},function(un,Cn){var ln,gn=un.group,Tr=un.groupOption,er=un.data,Hr=er.label,Ar=er.key;if(gn)return H.createElement("div",{className:A()(ke,"".concat(ke,"-group"))},Hr!==void 0?Hr:Ar);var Ti=er.disabled,ga=er.value,ma=er.title,No=er.children,qa=er.style,Io=er.className,Di=Object(we.a)(er,["disabled","value","title","children","style","className"]),Wr=je.has(ga),Po="".concat(ke,"-option"),Is=A()(ke,Po,Io,(ln={},Object(ce.a)(ln,"".concat(Po,"-grouped"),Tr),Object(ce.a)(ln,"".concat(Po,"-active"),Dn===Cn&&!Ti),Object(ce.a)(ln,"".concat(Po,"-disabled"),Ti),Object(ce.a)(ln,"".concat(Po,"-selected"),Wr),ln)),$a=me?No:Hr,or=!Le||typeof Le=="function"||Wr;return H.createElement("div",Object.assign({},Di,{"aria-selected":Wr,className:Is,title:ma,onMouseMove:function(){if(Dn===Cn||Ti)return;wr(Cn)},onClick:function(){Ti||$r(ga)},style:qa}),H.createElement("div",{className:"".concat(Po,"-content")},$a||ga),H.isValidElement(Le)||Wr,or&&H.createElement(T.a,{className:"".concat(ke,"-option-state"),customizeIcon:Le,customizeIconProps:{isSelected:Wr}},Wr?"\u2713":null))}))},W=H.forwardRef(L);W.displayName="OptionList";var ee=W,P=function(){return null};P.isSelectOption=!0;var I=P,se=function(){return null};se.isSelectOptGroup=!0;var fe=se,Ce=O("VTBJ"),$=O("Zm9Q");function Re(b){var N=b.key,z=b.props,ue=z.children,Ee=z.value,ze=Object(we.a)(z,["children","value"]);return Object(Ce.a)({key:N,value:Ee!==void 0?Ee:N,children:ue},ze)}function Fe(b){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Object($.a)(b).map(function(z,ue){if(!H.isValidElement(z)||!z.type)return null;var Ee=z.type.isSelectOptGroup,ze=z.key,me=z.props,je=me.children,Ke=Object(we.a)(me,["children"]);return N||!Ee?Re(z):Object(Ce.a)(Object(Ce.a)({key:"__RC_SELECT_GRP__".concat(ze===null?ue:ze,"__"),label:ze},Ke),{},{options:Fe(je)})}).filter(function(z){return z})}var Te=O("2Qr1"),be=O("qNPg"),de=O("U8pU"),J=O("Kwbf"),k=O("WKfj");function K(b){var N=b.mode,z=b.options,ue=b.children,Ee=b.backfill,ze=b.allowClear,me=b.placeholder,je=b.getInputElement,Ke=b.showSearch,qe=b.onSearch,Pe=b.defaultOpen,ht=b.autoFocus,V=b.labelInValue,ie=b.value,Z=b.inputValue,Le=b.optionLabelProp,$e=N==="multiple"||N==="tags",rt=Ke!==void 0?Ke:$e||N==="combobox",Et=z||Fe(ue);if(Object(J.a)(N!=="tags"||Et.every(function(ke){return!ke.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),N==="tags"||N==="combobox"){var Ct=Et.some(function(ke){return ke.options?ke.options.some(function(We){return typeof("value"in We?We.value:We.key)=="number"}):typeof("value"in ke?ke.value:ke.key)=="number"});Object(J.a)(!Ct,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(Object(J.a)(N!=="combobox"||!Le,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),Object(J.a)(N==="combobox"||!Ee,"`backfill` only works with `combobox` mode."),Object(J.a)(N==="combobox"||!je,"`getInputElement` only work with `combobox` mode."),Object(J.b)(N!=="combobox"||!je||!ze||!me,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),qe&&!rt&&N!=="combobox"&&N!=="tags"&&Object(J.a)(!1,"`onSearch` should work with `showSearch` instead of use alone."),Object(J.b)(!Pe||ht,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),ie!=null){var q=Object(k.d)(ie);Object(J.a)(!V||q.every(function(ke){return Object(de.a)(ke)==="object"&&("key"in ke||"value"in ke)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),Object(J.a)(!$e||Array.isArray(ie),"`value` should be array when `mode` is `multiple` or `tags`")}if(ue){var oe=null;Object($.a)(ue).some(function(ke){if(!H.isValidElement(ke)||!ke.type)return!1;var We=ke.type;if(We.isSelectOption)return!1;if(We.isSelectOptGroup){var bt=Object($.a)(ke.props.children).every(function(Jt){return!H.isValidElement(Jt)||!ke.type||Jt.type.isSelectOption?!0:(oe=Jt.type,!1)});return!bt}return oe=We,!0}),oe&&Object(J.a)(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(oe.displayName||oe.name||oe,"`.")),Object(J.a)(Z===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}var pe=K,M=Object(be.a)({prefixCls:"rc-select",components:{optionList:ee},convertChildrenToData:Fe,flattenOptions:Te.d,getLabeledValue:Te.e,filterOptions:Te.b,isValueDisabled:Te.g,findValueOption:Te.c,warningProps:pe,fillOptionsWithMissingValue:Te.a}),E=function(b){Object(Ve.a)(z,b);var N=Object(Be.a)(z);function z(){var ue;return Object(Oe.a)(this,z),ue=N.apply(this,arguments),ue.selectRef=H.createRef(),ue.focus=function(){ue.selectRef.current.focus()},ue.blur=function(){ue.selectRef.current.blur()},ue}return Object(_e.a)(z,[{key:"render",value:function(){return H.createElement(M,Object.assign({ref:this.selectRef},this.props))}}]),z}(H.Component);E.Option=I,E.OptGroup=fe;var x=E,D=ne.c=x},MEgm:function(ut,ne){ut.exports="data:image/png;base64,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"},MI8n:function(ut,ne,O){"use strict";O.d(ne,"c",function(){return H}),O.d(ne,"b",function(){return f}),O.d(ne,"e",function(){return G}),O.d(ne,"a",function(){return Y}),O.d(ne,"d",function(){return j}),O.d(ne,"f",function(){return A});var Oe=O("/cxE"),_e=O("pmY6"),Ve=O("24hK"),Be=O("5Y4S"),H;(function(w){w.None=()=>_e.a.None;function T(K){return(pe,M=null,E)=>{let x=!1,D;return D=K(b=>x?void 0:(D?D.dispose():x=!0,pe.call(M,b)),null,E),x&&D.dispose(),D}}w.once=T;function L(K,pe){return fe((M,E=null,x)=>K(D=>M.call(E,pe(D)),null,x))}w.map=L;function W(K,pe){return fe((M,E=null,x)=>K(D=>{pe(D),M.call(E,D)},null,x))}w.forEach=W;function ee(K,pe){return fe((M,E=null,x)=>K(D=>pe(D)&&M.call(E,D),null,x))}w.filter=ee;function P(K){return K}w.signal=P;function I(...K){return(pe,M=null,E)=>Object(_e.e)(...K.map(x=>x(D=>pe.call(M,D),null,E)))}w.any=I;function se(K,pe,M){let E=M;return L(K,x=>(E=pe(E,x),E))}w.reduce=se;function fe(K){let pe;const M=new f({onFirstListenerAdd(){pe=K(M.fire,M)},onLastListenerRemove(){pe.dispose()}});return M.event}function Ce(K,pe,M=100,E=!1,x){let D,b,N,z=0;const ue=new f({leakWarningThreshold:x,onFirstListenerAdd(){D=K(Ee=>{z++,b=pe(b,Ee),E&&!N&&(ue.fire(b),b=void 0),clearTimeout(N),N=setTimeout(()=>{const ze=b;b=void 0,N=void 0,(!E||z>1)&&ue.fire(ze),z=0},M)})},onLastListenerRemove(){D.dispose()}});return ue.event}w.debounce=Ce;function $(K,pe=(M,E)=>M===E){let M=!0,E;return ee(K,x=>{const D=M||!pe(x,E);return M=!1,E=x,D})}w.latch=$;function Re(K,pe){return[w.filter(K,pe),w.filter(K,M=>!pe(M))]}w.split=Re;function Fe(K,pe=!1,M=[]){let E=M.slice(),x=K(N=>{E?E.push(N):b.fire(N)});const D=()=>{E&&E.forEach(N=>b.fire(N)),E=null},b=new f({onFirstListenerAdd(){x||(x=K(N=>b.fire(N)))},onFirstListenerDidAdd(){E&&(pe?setTimeout(D):D())},onLastListenerRemove(){x&&x.dispose(),x=null}});return b.event}w.buffer=Fe;class Te{constructor(K){this.event=K}map(K){return new Te(L(this.event,K))}forEach(K){return new Te(W(this.event,K))}filter(K){return new Te(ee(this.event,K))}reduce(K,pe){return new Te(se(this.event,K,pe))}latch(){return new Te($(this.event))}debounce(K,pe=100,M=!1,E){return new Te(Ce(this.event,K,pe,M,E))}on(K,pe,M){return this.event(K,pe,M)}once(K,pe,M){return T(this.event)(K,pe,M)}}function be(K){return new Te(K)}w.chain=be;function de(K,pe,M=E=>E){const E=(...N)=>b.fire(M(...N)),x=()=>K.on(pe,E),D=()=>K.removeListener(pe,E),b=new f({onFirstListenerAdd:x,onLastListenerRemove:D});return b.event}w.fromNodeEventEmitter=de;function J(K,pe,M=E=>E){const E=(...N)=>b.fire(M(...N)),x=()=>K.addEventListener(pe,E),D=()=>K.removeEventListener(pe,E),b=new f({onFirstListenerAdd:x,onLastListenerRemove:D});return b.event}w.fromDOMEventEmitter=J;function k(K){return new Promise(pe=>T(K)(pe))}w.toPromise=k})(H||(H={}));class ce{constructor(w){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${w}_${ce._idPool++}`}start(w){this._stopWatch=new Be.a(!0),this._listenerCount=w}stop(){if(this._stopWatch){const w=this._stopWatch.elapsed();this._elapsedOverall+=w,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${w.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}ce._idPool=0;let we=-1;class F{constructor(w,T=Math.random().toString(18).slice(2,5)){this.customThreshold=w,this.name=T,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(w){let T=we;if(typeof this.customThreshold=="number"&&(T=this.customThreshold),T<=0||w<T)return;this._stacks||(this._stacks=new Map);const L=new Error().stack.split(`
|
|
|
`).slice(3).join(`
|
|
|
`),W=this._stacks.get(L)||0;if(this._stacks.set(L,W+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=T*.5;let ee,P=0;for(const[I,se]of this._stacks)(!ee||P<se)&&(ee=I,P=se);console.warn(`[${this.name}] potential listener LEAK detected, having ${w} listeners already. MOST frequent listener (${P}):`),console.warn(ee)}return()=>{const ee=this._stacks.get(L)||0;this._stacks.set(L,ee-1)}}}class f{constructor(w){var T;this._disposed=!1,this._options=w,this._leakageMon=we>0?new F(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=((T=this._options)===null||T===void 0?void 0:T._profName)?new ce(this._options._profName):void 0}get event(){return this._event||(this._event=(w,T,L)=>{var W;this._listeners||(this._listeners=new Ve.a);const ee=this._listeners.isEmpty();ee&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const P=this._listeners.push(T?[w,T]:w);ee&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,w,T);const I=(W=this._leakageMon)===null||W===void 0?void 0:W.check(this._listeners.size),se=Object(_e.i)(()=>{if(I&&I(),!this._disposed&&(P(),this._options&&this._options.onLastListenerRemove)){const fe=this._listeners&&!this._listeners.isEmpty();fe||this._options.onLastListenerRemove(this)}});return L instanceof _e.b?L.add(se):Array.isArray(L)&&L.push(se),se}),this._event}fire(w){var T,L;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new Ve.a);for(let W of this._listeners)this._deliveryQueue.push([W,w]);for((T=this._perfMon)===null||T===void 0||T.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[W,ee]=this._deliveryQueue.shift();try{typeof W=="function"?W.call(void 0,ee):W[0].call(W[1],ee)}catch(P){Object(Oe.f)(P)}}(L=this._perfMon)===null||L===void 0||L.stop()}}dispose(){var w,T,L,W,ee;this._disposed||(this._disposed=!0,(w=this._listeners)===null||w===void 0||w.clear(),(T=this._deliveryQueue)===null||T===void 0||T.clear(),(W=(L=this._options)===null||L===void 0?void 0:L.onLastListenerRemove)===null||W===void 0||W.call(L),(ee=this._leakageMon)===null||ee===void 0||ee.dispose())}}class G extends f{constructor(w){super(w);this._isPaused=0,this._eventQueue=new Ve.a,this._mergeFn=w==null?void 0:w.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const w=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(w))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(w){this._listeners&&(this._isPaused!==0?this._eventQueue.push(w):super.fire(w))}}class Y extends G{constructor(w){var T;super(w);this._delay=(T=w.delay)!==null&&T!==void 0?T:100}fire(w){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(w)}}class j{constructor(){this.buffers=[]}wrapEvent(w){return(T,L,W)=>w(ee=>{const P=this.buffers[this.buffers.length-1];P?P.push(()=>T.call(L,ee)):T.call(L,ee)},void 0,W)}bufferEvents(w){const T=[];this.buffers.push(T);const L=w();return this.buffers.pop(),T.forEach(W=>W()),L}}class A{constructor(){this.listening=!1,this.inputEvent=H.None,this.inputEventListener=_e.a.None,this.emitter=new f({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(w){this.inputEvent=w,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=w(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},MNsG:function(ut,ne,O){"use strict";(function(Oe,_e){O.d(ne,"b",function(){return L}),O.d(ne,"i",function(){return I}),O.d(ne,"f",function(){return se}),O.d(ne,"d",function(){return fe}),O.d(ne,"g",function(){return Ce}),O.d(ne,"h",function(){return $}),O.d(ne,"c",function(){return Re}),O.d(ne,"k",function(){return Fe}),O.d(ne,"j",function(){return Te}),O.d(ne,"a",function(){return be}),O.d(ne,"e",function(){return k});var Ve;const Be="en";let H=!1,ce=!1,we=!1,F=!1,f=!1,G=!1,Y=!1,j,A=Be,w,T;const L=typeof self=="object"?self:typeof Oe=="object"?Oe:{};let W;typeof L.vscode!="undefined"&&typeof L.vscode.process!="undefined"?W=L.vscode.process:typeof _e!="undefined"&&(W=_e);const ee=typeof((Ve=W==null?void 0:W.versions)===null||Ve===void 0?void 0:Ve.electron)=="string"&&W.type==="renderer";if(typeof navigator=="object"&&!ee)T=navigator.userAgent,H=T.indexOf("Windows")>=0,ce=T.indexOf("Macintosh")>=0,Y=(T.indexOf("Macintosh")>=0||T.indexOf("iPad")>=0||T.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,we=T.indexOf("Linux")>=0,G=!0,j=navigator.language,A=j;else if(typeof W=="object"){H=W.platform==="win32",ce=W.platform==="darwin",we=W.platform==="linux",F=we&&!!W.env.SNAP&&!!W.env.SNAP_REVISION,j=Be,A=Be;const K=W.env.VSCODE_NLS_CONFIG;if(K)try{const pe=JSON.parse(K),M=pe.availableLanguages["*"];j=pe.locale,A=M||Be,w=pe._translationsConfigFile}catch(pe){}f=!0}else console.error("Unable to resolve platform.");let P=0;ce?P=1:H?P=3:we&&(P=2);const I=H,se=ce,fe=we,Ce=f,$=G,Re=Y,Fe=T,Te=function(){if(L.setImmediate)return L.setImmediate.bind(L);if(typeof L.postMessage=="function"&&!L.importScripts){let M=[];L.addEventListener("message",x=>{if(x.data&&x.data.vscodeSetImmediateId)for(let D=0,b=M.length;D<b;D++){const N=M[D];if(N.id===x.data.vscodeSetImmediateId){M.splice(D,1),N.callback();return}}});let E=0;return x=>{const D=++E;M.push({id:D,callback:x}),L.postMessage({vscodeSetImmediateId:D},"*")}}if(typeof(W==null?void 0:W.nextTick)=="function")return W.nextTick.bind(W);const pe=Promise.resolve();return M=>pe.then(M)}(),be=ce||Y?2:H?1:3;let de=!0,J=!1;function k(){if(!J){J=!0;const K=new Uint8Array(2);K[0]=1,K[1]=2;const pe=new Uint16Array(K.buffer);de=pe[0]===(2<<8)+1}return de}}).call(this,O("IyRk"),O("Q2Ig"))},N0LK:function(ut,ne,O){"use strict";O.d(ne,"C",function(){return Oe}),O.d(ne,"v",function(){return Ve}),O.d(ne,"s",function(){return Be}),O.d(ne,"t",function(){return H}),O.d(ne,"U",function(){return ce}),O.d(ne,"J",function(){return we}),O.d(ne,"O",function(){return F}),O.d(ne,"p",function(){return f}),O.d(ne,"T",function(){return G}),O.d(ne,"q",function(){return Y}),O.d(ne,"N",function(){return j}),O.d(ne,"M",function(){return A}),O.d(ne,"Q",function(){return w}),O.d(ne,"u",function(){return T}),O.d(ne,"x",function(){return L}),O.d(ne,"I",function(){return W}),O.d(ne,"f",function(){return ee}),O.d(ne,"h",function(){return P}),O.d(ne,"g",function(){return I}),O.d(ne,"i",function(){return se}),O.d(ne,"G",function(){return fe}),O.d(ne,"H",function(){return Ce}),O.d(ne,"r",function(){return $}),O.d(ne,"R",function(){return Re}),O.d(ne,"d",function(){return Fe}),O.d(ne,"e",function(){return Te}),O.d(ne,"E",function(){return be}),O.d(ne,"F",function(){return de}),O.d(ne,"j",function(){return J}),O.d(ne,"z",function(){return k}),O.d(ne,"K",function(){return pe}),O.d(ne,"L",function(){return M}),O.d(ne,"m",function(){return x}),O.d(ne,"k",function(){return b}),O.d(ne,"A",function(){return z}),O.d(ne,"a",function(){return ue}),O.d(ne,"n",function(){return Ee}),O.d(ne,"l",function(){return ze}),O.d(ne,"D",function(){return me}),O.d(ne,"B",function(){return je}),O.d(ne,"b",function(){return Ke}),O.d(ne,"S",function(){return qe}),O.d(ne,"o",function(){return Pe}),O.d(ne,"P",function(){return ht}),O.d(ne,"w",function(){return V}),O.d(ne,"c",function(){return ie}),O.d(ne,"y",function(){return $e});function Oe(q){return!q||typeof q!="string"?!0:q.trim().length===0}const _e=/{(\d+)}/g;function Ve(q,...oe){return oe.length===0?q:q.replace(_e,function(ke,We){const bt=parseInt(We,10);return isNaN(bt)||bt<0||bt>=oe.length?ke:oe[bt]})}function Be(q){return q.replace(/[<>&]/g,function(oe){switch(oe){case"<":return"<";case">":return">";case"&":return"&";default:return oe}})}function H(q){return q.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function ce(q,oe=" "){const ke=we(q,oe);return F(ke,oe)}function we(q,oe){if(!q||!oe)return q;const ke=oe.length;if(ke===0||q.length===0)return q;let We=0;for(;q.indexOf(oe,We)===We;)We=We+ke;return q.substring(We)}function F(q,oe){if(!q||!oe)return q;const ke=oe.length,We=q.length;if(ke===0||We===0)return q;let bt=We,Jt=-1;for(;!(Jt=q.lastIndexOf(oe,bt-1),Jt===-1||Jt+ke!==bt);){if(Jt===0)return"";bt=Jt}return q.substring(0,bt)}function f(q){return q.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function G(q){return q.replace(/\*/g,"")}function Y(q,oe,ke={}){if(!q)throw new Error("Cannot create regex from empty string");oe||(q=H(q)),ke.wholeWord&&(/\B/.test(q.charAt(0))||(q="\\b"+q),/\B/.test(q.charAt(q.length-1))||(q=q+"\\b"));let We="";return ke.global&&(We+="g"),ke.matchCase||(We+="i"),ke.multiline&&(We+="m"),ke.unicode&&(We+="u"),new RegExp(q,We)}function j(q){if(q.source==="^"||q.source==="^$"||q.source==="$"||q.source==="^\\s*$")return!1;const oe=q.exec("");return!!(oe&&q.lastIndex===0)}function A(q){return(q.global?"g":"")+(q.ignoreCase?"i":"")+(q.multiline?"m":"")+(q.unicode?"u":"")}function w(q){return q.split(/\r\n|\r|\n/)}function T(q){for(let oe=0,ke=q.length;oe<ke;oe++){const We=q.charCodeAt(oe);if(We!==32&&We!==9)return oe}return-1}function L(q,oe=0,ke=q.length){for(let We=oe;We<ke;We++){const bt=q.charCodeAt(We);if(bt!==32&&bt!==9)return q.substring(oe,We)}return q.substring(oe,ke)}function W(q,oe=q.length-1){for(let ke=oe;ke>=0;ke--){const We=q.charCodeAt(ke);if(We!==32&&We!==9)return ke}return-1}function ee(q,oe){return q<oe?-1:q>oe?1:0}function P(q,oe,ke=0,We=q.length,bt=0,Jt=oe.length){for(;ke<We&&bt<Jt;ke++,bt++){let jt=q.charCodeAt(ke),lr=oe.charCodeAt(bt);if(jt<lr)return-1;if(jt>lr)return 1}const sn=We-ke,Ut=Jt-bt;return sn<Ut?-1:sn>Ut?1:0}function I(q,oe){return se(q,oe,0,q.length,0,oe.length)}function se(q,oe,ke=0,We=q.length,bt=0,Jt=oe.length){for(;ke<We&&bt<Jt;ke++,bt++){let jt=q.charCodeAt(ke),lr=oe.charCodeAt(bt);if(jt===lr)continue;if(jt>=128||lr>=128)return P(q.toLowerCase(),oe.toLowerCase(),ke,We,bt,Jt);fe(jt)&&(jt-=32),fe(lr)&&(lr-=32);const Dn=jt-lr;if(Dn===0)continue;return Dn}const sn=We-ke,Ut=Jt-bt;return sn<Ut?-1:sn>Ut?1:0}function fe(q){return q>=97&&q<=122}function Ce(q){return q>=65&&q<=90}function $(q,oe){return q.length===oe.length&&se(q,oe)===0}function Re(q,oe){const ke=oe.length;return oe.length>q.length?!1:se(q,oe,0,ke)===0}function Fe(q,oe){let ke,We=Math.min(q.length,oe.length);for(ke=0;ke<We;ke++)if(q.charCodeAt(ke)!==oe.charCodeAt(ke))return ke;return We}function Te(q,oe){let ke,We=Math.min(q.length,oe.length);const bt=q.length-1,Jt=oe.length-1;for(ke=0;ke<We;ke++)if(q.charCodeAt(bt-ke)!==oe.charCodeAt(Jt-ke))return ke;return We}function be(q){return 55296<=q&&q<=56319}function de(q){return 56320<=q&&q<=57343}function J(q,oe){return(q-55296<<10)+(oe-56320)+65536}function k(q,oe,ke){const We=q.charCodeAt(ke);if(be(We)&&ke+1<oe){const bt=q.charCodeAt(ke+1);if(de(bt))return J(We,bt)}return We}function K(q,oe){const ke=q.charCodeAt(oe-1);if(de(ke)&&oe>1){const We=q.charCodeAt(oe-2);if(be(We))return J(We,ke)}return ke}function pe(q,oe){const ke=Z.getInstance(),We=oe,bt=q.length,Jt=k(q,bt,oe);oe+=Jt>=65536?2:1;let sn=ke.getGraphemeBreakType(Jt);for(;oe<bt;){const Ut=k(q,bt,oe),jt=ke.getGraphemeBreakType(Ut);if(ie(sn,jt))break;oe+=Ut>=65536?2:1,sn=jt}return oe-We}function M(q,oe){const ke=Z.getInstance(),We=oe,bt=K(q,oe);oe-=bt>=65536?2:1;let Jt=ke.getGraphemeBreakType(bt);for(;oe>0;){const sn=K(q,oe),Ut=ke.getGraphemeBreakType(sn);if(ie(Ut,Jt))break;oe-=sn>=65536?2:1,Jt=Ut}return We-oe}const E=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function x(q){return E.test(q)}const D=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function b(q){return D.test(q)}const N=/^[\t\n\r\x20-\x7E]*$/;function z(q){return N.test(q)}const ue=/[\u2028\u2029]/;function Ee(q){return ue.test(q)}function ze(q){for(let oe=0,ke=q.length;oe<ke;oe++)if(me(q.charCodeAt(oe)))return!0;return!1}function me(q){return q=+q,q>=11904&&q<=55215||q>=63744&&q<=64255||q>=65281&&q<=65374}function je(q){return q>=127462&&q<=127487||q===8986||q===8987||q===9200||q===9203||q>=9728&&q<=10175||q===11088||q===11093||q>=127744&&q<=128591||q>=128640&&q<=128764||q>=128992&&q<=129003||q>=129280&&q<=129535||q>=129648&&q<=129750}const Ke=String.fromCharCode(65279);function qe(q){return!!(q&&q.length>0&&q.charCodeAt(0)===65279)}function Pe(q,oe=!1){return q?(oe&&(q=q.replace(/\\./g,"")),q.toLowerCase()!==q):!1}function ht(q){const oe=90-65+1;return q=q%(2*oe),q<oe?String.fromCharCode(97+q):String.fromCharCode(65+q-oe)}function V(q){const oe=Z.getInstance();return oe.getGraphemeBreakType(q)}function ie(q,oe){return q===0?oe!==5&&oe!==7:q===2&&oe===3?!1:q===4||q===2||q===3||(oe===4||oe===2||oe===3)?!0:q===8&&(oe===8||oe===9||oe===11||oe===12)||((q===11||q===9)&&(oe===9||oe===10)||((q===12||q===10)&&oe===10||(oe===5||oe===13||(oe===7||(q===1||q===13&&oe===14)))))?!1:!(q===6&&oe===6)}class Z{constructor(){this._data=Le()}static getInstance(){return Z._INSTANCE||(Z._INSTANCE=new Z),Z._INSTANCE}getGraphemeBreakType(q){if(q<32)return q===10?3:q===13?2:4;if(q<127)return 0;const oe=this._data,ke=oe.length/3;let We=1;for(;We<=ke;)if(q<oe[3*We])We=2*We;else if(q>oe[3*We+1])We=2*We+1;else return oe[3*We+2];return 0}}Z._INSTANCE=null;function Le(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function $e(q,oe){if(q===0)return 0;const ke=rt(q,oe);if(ke!==void 0)return ke;const We=K(oe,q);return q-=Et(We),q}function rt(q,oe){let ke=K(oe,q);for(q-=Et(ke);Ct(ke)||ke===65039||ke===8419;){if(q===0)return;ke=K(oe,q),q-=Et(ke)}if(!je(ke))return;if(q>=0){const We=K(oe,q);We===8205&&(q-=Et(We))}return q}function Et(q){return q>=65536?2:1}function Ct(q){return 127995<=q&&q<=127999}},NQs2:function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___3K14R",flex_space_between:"flex_space_between___1KE7t",flex_box_vertical_center:"flex_box_vertical_center___3Yslx",flex_box_center_end:"flex_box_center_end___2RmV-",flex_box_column:"flex_box_column___3k3IQ",banner:"banner___3caau",content:"content___fxe_p",btns:"btns___Vv-WB",img_noactive:"img_noactive___s1naU",img_active:"img_active___11s7p",input_warp:"input_warp___3Y7JU"}},Nf5h:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return f}),O.d(ne,"i",function(){return L}),O.d(ne,"l",function(){return I}),O.d(ne,"f",function(){return $}),O.d(ne,"j",function(){return be}),O.d(ne,"d",function(){return Ct}),O.d(ne,"b",function(){return bt}),O.d(ne,"h",function(){return jt}),O.d(ne,"g",function(){return wr}),O.d(ne,"k",function(){return Hr}),O.d(ne,"e",function(){return $a}),O.d(ne,"c",function(){return bn});var Oe=O("5NDa"),_e=O("5rEg"),Ve=O("tJVT"),Be=O("q1tI"),H=O.n(Be),ce=O("NQs2"),we=O.n(ce),F=function(He){var Yt=He.dataSource,Ht=Yt===void 0?[]:Yt,wn=He.bannerImg,Un=He.img,dn=He.imgWidth,cn=dn===void 0?346:dn,vn=He.title,Or=He.sunTitle,Rn=He.bannerExtraContent,vr=He.placeholder,mr=He.onChange,Mr=Object(Be.useState)(""),ei=Object(Ve.a)(Mr,2),Li=ei[0],ji=ei[1];return H.a.createElement("div",{className:we.a.banner,style:{backgroundImage:"url('".concat(wn,"')"),backgroundPosition:"center",backgroundSize:"cover"}},H.a.createElement("div",{className:we.a.content},H.a.createElement("aside",null,H.a.createElement("p",{style:{marginBottom:"".concat(Ht.length==0?"0":"")}},H.a.createElement("b",null,vn),H.a.createElement("span",null,Or)),Ht.length>0&&H.a.createElement("div",{className:we.a.btns},Ht.map(function(Mt,gr){return Mt.buttonShow&&H.a.createElement(H.a.Fragment,null,Mt.Button?Mt.Button:H.a.createElement("div",{key:gr,onClick:Mt.click},H.a.createElement("img",{src:Mt.img,className:we.a.img_noactive}),H.a.createElement("img",{src:Mt.img_active,className:we.a.img_active}),Mt.name))})),Rn),Ht.length>0&&H.a.createElement("div",{className:we.a.input_warp},H.a.createElement(_e.a,{value:Li,onChange:function(gr){ji(gr.target.value)},placeholder:vr,onPressEnter:function(){return mr(Li)},color:"#fff"}),H.a.createElement("i",{onClick:function(){return mr(Li)},className:"iconfont icon-sousuo9 font14 pl10 current"}))))},f=F,G=O("6nfa"),Y=O.n(G),j=O("TSYQ"),A=O.n(j),w=O("9kvl"),T=function(He){var Yt=He.dataSource,Ht=Yt===void 0?[]:Yt,wn=He.value,Un=He.onChange,dn=He.className,cn=He.title,vn=He.titleWidth,Or=vn===void 0?56:vn,Rn=He.style,vr=Rn===void 0?{}:Rn,mr=He.fontColor,Mr=mr===void 0?"#6A7283":mr,ei=He.isId,Li=ei===void 0?!1:ei,ji=Object(Be.useState)(0),Mt=Object(Ve.a)(ji,2),gr=Mt[0],Xr=Mt[1],Ko=Object(Be.useState)(!1),Fr=Object(Ve.a)(Ko,2),Dr=Fr[0],Eo=Fr[1],ci=Object(Be.useRef)(null),fi=Object(w.g)();return Object(Be.useEffect)(function(){if(Ht.length!==0){var Mi;(ci==null||((Mi=ci.current)===null||Mi===void 0)?void 0:Mi.clientHeight)>98?Xr(1):Xr(0)}Ht.length===0&&Xr(0)},[Ht]),H.a.createElement("div",{className:A()(Y.a.row,dn),style:vr},H.a.createElement("div",{style:{width:Or,marginTop:Dr?12:4},className:Y.a.title},cn),H.a.createElement("div",{className:Dr?"".concat(Y.a.tagsWrap," ").concat(Y.a.tagsBorderWrap):Y.a.tagsWrap},H.a.createElement("div",{className:Y.a.bar,style:gr>0?{height:gr===1?100:"auto",overflow:gr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},H.a.createElement("div",{className:Y.a.name,ref:ci},Ht==null?void 0:Ht.map(function(Mi){return H.a.createElement("span",{onClick:function(){return Un(Li?Mi.id:Mi.name)},key:Li?Mi.id:Mi.name,title:Mi.name,style:{color:Mr},className:wn===(Li?Mi.id:Mi.name)?Y.a.active:""},Mi.name)}))),!!gr&&H.a.createElement(Be.Fragment,null,gr===1?H.a.createElement("div",{onClick:function(){var va;Xr(2),(ci==null||((va=ci.current)===null||va===void 0)?void 0:va.clientHeight)>205?Eo(!0):Eo(!1)},className:Y.a.action},fi.formatMessage({id:"quantum.more"}),H.a.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):H.a.createElement("div",{onClick:function(){Xr(1),Eo(!1)},className:Y.a.action},fi.formatMessage({id:"quantum.back"}),H.a.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},L=T,W=O("cz0n"),ee=O.n(W),P=function(He){var Yt=He.dataSource,Ht=Yt===void 0?[]:Yt,wn=He.value,Un=He.onChange,dn=He.className;return H.a.createElement("div",{className:A()(ee.a.tabs,dn)},Ht.map(function(cn){return H.a.createElement("span",{onClick:function(){return Un(cn.id)},className:wn===cn.id?ee.a.active:"",key:cn.id},cn.name)}))},I=P,se=O("KOXS"),fe=O.n(se),Ce=function(He){var Yt,Ht=He.dataSource,wn=Ht===void 0?[]:Ht,Un=He.value,dn=He.onChange,cn=He.className,vn=He.style,Or=vn===void 0?{}:vn,Rn=He.placeholder,vr=Object(Be.useState)(""),mr=Object(Ve.a)(vr,2),Mr=mr[0],ei=mr[1],Li=Object(Be.useState)(""),ji=Object(Ve.a)(Li,2),Mt=ji[0],gr=ji[1];Object(Be.useEffect)(function(){var Fr;(Fr=JSON.stringify(Un))!==null&&Fr!==void 0&&Fr.includes("{")?(ei(Un.id),gr(Un.value)):gr(Un)},[Un]);var Xr=function(){dn(Mt||null,Mr||"")},Ko=function(Dr){if(Dr===Mr)return;ei(Dr),dn(Mt,Dr)};return H.a.createElement("div",{className:A()(fe.a.input,cn),style:Or},!!wn.length&&H.a.createElement("div",{className:fe.a.dropdown},H.a.createElement("div",{className:fe.a.text},(Yt=wn.find(function(Fr){return Fr.id===Mr}))===null||Yt===void 0?void 0:Yt.name,H.a.createElement("i",{className:"iconfont icon-zhankai4"}),H.a.createElement("b",{className:fe.a.b1}),H.a.createElement("b",{className:fe.a.b2})),H.a.createElement("div",{className:fe.a.menu},wn.map(function(Fr,Dr){return H.a.createElement("div",{key:Dr,onClick:function(){return Ko(Fr.id)}},Fr.name)}))),H.a.createElement(_e.a,{onPressEnter:Xr,value:Mt,onChange:function(Dr){return gr(Dr.target.value||"")},bordered:!1,placeholder:Rn}),H.a.createElement("i",{onClick:Xr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},$=Ce,Re=O("f9pc"),Fe=O.n(Re),Te=function(He){var Yt=He.value,Ht=He.onChange,wn=He.className,Un=He.total,dn=He.pageSize,cn=He.style,vn=cn===void 0?{}:cn,Or=Yt<2,Rn=Yt>=Math.ceil(Un/dn);return Un<=dn?H.a.createElement(H.a.Fragment,null):H.a.createElement("div",{className:A()(Fe.a.quickPager,wn),style:vn},H.a.createElement("div",{onClick:function(){Or||Ht(Yt-1,"prev")},className:Or?Fe.a.disabled:""},"\u4E0A\u4E00\u9875"),H.a.createElement("div",{onClick:function(){Rn||Ht(Yt+1,"next")},className:Rn?Fe.a.disabled:""},"\u4E0B\u4E00\u9875"))},be=Te,de=O("T2oS"),J=O("W9HT"),k=O("pC0b"),K=O("GzdX"),pe=O("5Dmo"),M=O("3S7+"),E=O("Oe0F"),x=O.n(E),D=O("m3rI"),b=O("1vsH"),N=O("JAbv"),z=O.n(N),ue=O("Bq7L"),Ee=O.n(ue),ze=O("MEgm"),me=O.n(ze),je=O("BdwD"),Ke=function(He){var Yt=He.className,Ht=He.dataSource,wn=Ht===void 0?[]:Ht,Un=He.col,dn=Un===void 0?4:Un,cn=He.right,vn=He.bottom,Or=vn===void 0?23:vn,Rn=He.precision,vr=Rn===void 0?0:Rn,mr=He.wrapWidth,Mr=mr===void 0?1200:mr,ei=He.trackEventItems,Li=He.loading,ji=Math.floor((Mr-(dn-1)*cn)/dn);return H.a.createElement(J.a,{spinning:Li},H.a.createElement("div",{className:A()(x.a.list,Yt)},!!wn.length&&wn.map(function(Mt,gr){var Xr=Mt.name,Ko=Mt.id,Fr=Mt.identifier,Dr=Mt.power,Eo=Mt.cover_image_id,ci=Mt.pic;return H.a.createElement("div",{className:x.a.wrap,key:Ko,style:{width:ji,marginRight:(1+gr)%dn===0?0:cn+vr,marginBottom:Or}},H.a.createElement("a",{target:"_blank",href:"/shixuns/".concat(Fr,"/challenges"),className:x.a.li,onClick:function(Mi){Mi.preventDefault(),ei&&Object(b.db)([ei]),Dr&&Object(b.S)("/shixuns/".concat(Fr,"/challenges"))}},H.a.createElement("div",{className:x.a.img},H.a.createElement("img",{className:x.a.cover,src:Eo?"".concat(D.a.API_SERVER,"/api/attachments/").concat(Eo):"".concat(D.a.IMG_SERVER,"/").concat(ci)}),Mt.is_jupyter&&H.a.createElement("img",{className:x.a.sign,src:z.a}),Mt.is_jupyter_lab&&H.a.createElement("img",{className:x.a.sign,src:Ee.a}),Mt.is_unity_3d&&H.a.createElement("img",{className:x.a.sign,src:me.a})),H.a.createElement("div",{className:x.a.name},H.a.createElement(M.a,{title:Xr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},H.a.createElement("span",{className:x.a.e},Xr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),H.a.createElement("div",{className:x.a.tags},H.a.createElement(M.a,{placement:"bottom",title:"\u5173\u5361\u6570"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr3"}),H.a.createElement("span",null,Mt.challenges_count))),!!Mt.myshixuns_count&&H.a.createElement(M.a,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),H.a.createElement("span",null,Mt.myshixuns_count))),H.a.createElement(M.a,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},H.a.createElement("span",null,H.a.createElement("span",null,Mt.level))),H.a.createElement("div",{className:x.a.rate},H.a.createElement(K.a,{allowHalf:!0,disabled:!0,defaultValue:Mt.score_info}),H.a.createElement("span",null,"\xA0",Mt.score_info?"".concat(Mt.score_info,"\u5206"):"5\u5206")))),!Dr&&H.a.createElement("div",{className:x.a.lockWrap},H.a.createElement("img",{src:"".concat(D.a.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),H.a.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!wn.length&&H.a.createElement(je.a,null)))},qe=Ke,Pe=O("ZJlW"),ht=O.n(Pe),V=O("z4EP"),ie=O.n(V),Z=O("+GGh"),Le=O.n(Z),$e=O("cFMs"),rt=O.n($e),Et=function(He){var Yt=He.className,Ht=He.dataSource,wn=Ht===void 0?[]:Ht,Un=He.col,dn=Un===void 0?4:Un,cn=He.right,vn=He.bottom,Or=vn===void 0?23:vn,Rn=He.precision,vr=Rn===void 0?0:Rn,mr=He.wrapWidth,Mr=mr===void 0?1200:mr,ei=He.trackEventItems,Li=He.loading,ji=Math.floor((Mr-(dn-1)*cn)/dn);return H.a.createElement(J.a,{spinning:Li},H.a.createElement("div",{className:A()(ht.a.list,Yt)},!!wn.length&&wn.map(function(Mt,gr){var Xr=Mt.name,Ko=Mt.id,Fr=Mt.identifier,Dr=Mt.featured,Eo=Mt.school_name,ci=Mt.image_url,fi=Mt.excellent;return H.a.createElement("div",{key:Ko,className:ht.a.wrap,style:{width:ji,marginRight:(1+gr)%dn===0?0:cn+vr,marginBottom:Or}},H.a.createElement("a",{target:"_blank",href:"/paths/".concat(Fr),className:ht.a.li,onClick:function(va){va.preventDefault(),ei&&Object(b.db)([ei]),Object(b.S)("/paths/".concat(Fr))}},H.a.createElement("div",{className:ht.a.img},H.a.createElement("img",{className:ht.a.cover,src:"".concat(D.a.IMG_SERVER,"/").concat(ci)}),Dr===1&&H.a.createElement("img",{className:ht.a.sign,src:ie.a}),Dr===2&&H.a.createElement("img",{className:ht.a.sign,src:""}),Dr===3&&H.a.createElement("img",{className:ht.a.sign,src:Le.a}),Dr===4&&H.a.createElement("img",{className:ht.a.sign,src:""}),Dr===5&&H.a.createElement("img",{className:ht.a.sign,src:rt.a})),H.a.createElement("div",{className:ht.a.name},H.a.createElement(M.a,{title:Xr},H.a.createElement("span",{className:ht.a.e},Xr))),H.a.createElement(M.a,{title:"\u53D1\u5E03\u5355\u4F4D\uFF1A".concat(Eo)},H.a.createElement("div",{className:ht.a.unit},H.a.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Eo)),H.a.createElement("div",{className:ht.a.tags},H.a.createElement(M.a,{placement:"bottom",title:"\u7AE0\u8282\u6570"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),H.a.createElement("span",null,Mt.stages_count))),H.a.createElement(M.a,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),H.a.createElement("span",null,Mt.members_count))),fi&&H.a.createElement("div",{className:ht.a.tag},"\u5F00\u653E\u8BFE\u7A0B"))))}),!wn.length&&H.a.createElement(je.a,null)))},Ct=Et,q=O("iL++"),oe=O.n(q),ke=O("xiVL"),We=function(He){var Yt=He.className,Ht=He.dataSource,wn=Ht===void 0?[]:Ht,Un=He.col,dn=Un===void 0?4:Un,cn=He.right,vn=He.bottom,Or=vn===void 0?23:vn,Rn=He.precision,vr=Rn===void 0?0:Rn,mr=He.wrapWidth,Mr=mr===void 0?1200:mr,ei=He.trackEventItems,Li=He.loading,ji=Math.floor((Mr-(dn-1)*cn)/dn);return H.a.createElement(J.a,{spinning:Li},H.a.createElement("div",{className:A()(oe.a.list,Yt)},!!wn.length&&wn.map(function(Mt,gr){var Xr=Mt.subject_identifier,Ko=Mt.id,Fr=Mt.identifier,Dr=Mt.power,Eo=Mt.is_public!=0&&Mt.is_public;return H.a.createElement("div",{className:oe.a.wrap,key:Ko,style:{width:ji,marginRight:(1+gr)%dn===0?0:cn+vr,marginBottom:Or}},H.a.createElement("a",{className:oe.a.li,onClick:function(fi){fi.preventDefault()}},H.a.createElement("div",{className:oe.a.top},H.a.createElement(M.a,{title:Mt.name},H.a.createElement("div",{className:oe.a.name},Mt.name)),H.a.createElement("img",{className:oe.a.img,src:D.a.IMG_SERVER+"/images/"+Mt.avatar_url}),H.a.createElement("div",{className:oe.a.text},Mt.creator),Xr&&H.a.createElement("div",{className:oe.a.btns},H.a.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),H.a.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Eo&&H.a.createElement("div",{className:oe.a.sign},"\u516C\u5F00")),H.a.createElement("div",{className:oe.a.bottom},Mt.visits>0&&H.a.createElement(M.a,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-liulanyan"}),H.a.createElement("span",null,Mt.visits))),Mt.course_members_count>0&&H.a.createElement(M.a,{title:"\u6210\u5458",placement:"bottom"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-chengyuan"}),Mt.course_members_count)),Mt.tasks_count>0&&H.a.createElement(M.a,{title:"\u4F5C\u4E1A",placement:"bottom"},H.a.createElement("span",null,H.a.createElement("i",{className:"iconfont icon-zuoye"}),Mt.tasks_count)),Mt.is_end?H.a.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):H.a.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),H.a.createElement("div",{className:oe.a.lockWrap},Mt.is_accessible?H.a.createElement(H.a.Fragment,null,Xr&&H.a.createElement("div",{onClick:function(){return Object(b.S)("/paths/".concat(Xr))}},"\u8FDB\u5165\u5B9E\u8DF5\u8BFE\u7A0B"),H.a.createElement("div",{onClick:function(fi){ei&&Object(b.db)([ei]),Object(b.S)(Mt.first_category_url)}},"\u8FDB\u5165\u6559\u5B66\u8BFE\u5802")):H.a.createElement(H.a.Fragment,null,H.a.createElement("img",{src:"".concat(D.a.IMG_SERVER,"/images/educoder/icon/lockclose.svg")}),H.a.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165"))))}),!wn.length&&H.a.createElement(je.a,null)))},bt=We,Jt=O("f0W+"),sn=O.n(Jt),Ut=function(He){var Yt=He.dataSource,Ht=Yt===void 0?[]:Yt,wn=He.value,Un=He.onChange,dn=He.className,cn=He.style,vn=cn===void 0?{}:cn,Or=He.tabBarExtraContent;return H.a.createElement("div",{className:A()(sn.a.tabs,dn),style:vn},H.a.createElement("div",{className:sn.a.tabsWrap},Ht.map(function(Rn,vr){return H.a.createElement("div",{onClick:function(){return Un(Rn.id)},className:wn===Rn.id?sn.a.active:"",key:vr},Rn.name)})),H.a.createElement("div",{className:sn.a.tabBar},Or))},jt=Ut,lr=O("9JIy"),Dn=O.n(lr),fo=function(He){var Yt=He.className,Ht=He.style,wn=Ht===void 0?{}:Ht,Un=He.children;return H.a.createElement("div",{className:A()(Dn.a.table,Yt),style:wn},Un)},wr=fo,$r=O("qVdP"),pn=O("jsC+"),un=O("lUTK"),Cn=O("BvKs"),ln=O("8WcF"),gn=O.n(ln),Tr=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}],er=function(He){var Yt,Ht=He.sortValue,wn=He.dropValue,Un=He.className,dn=He.onSort,cn=He.onDrop,vn=He.dataSource,Or=vn===void 0?Tr:vn;return H.a.createElement("div",{className:A()(gn.a.orderWrap,Un)},H.a.createElement(pn.a,{overlay:H.a.createElement(Cn.a,null,Or.map(function(Rn,vr){return H.a.createElement(Cn.a.Item,{key:vr,onClick:function(){return cn(Rn.id)}},Rn.name)}))},H.a.createElement("span",{className:gn.a.orderTextWrap},(Yt=Or.find(function(Rn){return wn===Rn.id}))===null||Yt===void 0?void 0:Yt.name)),H.a.createElement("span",{className:gn.a.orderIconWrap},H.a.createElement("span",{className:gn.a.orderAsc},H.a.createElement("i",{className:Ht==="asc"?"iconfont icon-sanjiaoxing-up font12 ".concat(gn.a.cursorPointer," ").concat(gn.a.active):"iconfont icon-sanjiaoxing-up font12 ".concat(gn.a.cursorPointer),onClick:function(){return dn(Ht==="asc"?"desc":"asc")}})),H.a.createElement("span",{className:gn.a.orderDesc},H.a.createElement("i",{className:Ht==="desc"?"iconfont icon-sanjiaoxing-down font12 ".concat(gn.a.cursorPointer," ").concat(gn.a.active):"iconfont icon-sanjiaoxing-down font12 ".concat(gn.a.cursorPointer),onClick:function(){return dn(Ht==="asc"?"desc":"asc")}}))))},Hr=er,Ar=O("+L6B"),Ti=O("2/Rp"),ga=O("0Owb"),ma=O("9og8"),No=O("PpiC"),qa=O("WmNS"),Io=O.n(qa),Di=O("siWv"),Wr=O.n(Di),Po=O("LvDl"),Is=function(He){var Yt=He.className,Ht=He.style,wn=He.children,Un=He.loading,dn=Un===void 0?!1:Un,cn=He.openLoading,vn=He.onClick,Or=vn===void 0?function(){}:vn,Rn=He.size,vr=Rn===void 0?"middle":Rn,mr=He.shape,Mr=mr===void 0?"round":mr,ei=He.type,Li=ei===void 0?"default":ei,ji=Object(No.a)(He,["className","style","children","loading","openLoading","onClick","size","shape","type"]),Mt=Object(Be.useState)(!1),gr=Object(Ve.a)(Mt,2),Xr=gr[0],Ko=gr[1];return H.a.createElement(Ti.a,Object(ga.a)({onClick:Object(Po.throttle)(function(){var Fr=Object(ma.a)(Io.a.mark(function Dr(Eo){return Io.a.wrap(function(fi){for(;;)switch(fi.prev=fi.next){case 0:return cn&&Ko(!0),fi.prev=1,fi.next=4,Or(Eo);case 4:fi.next=9;break;case 6:fi.prev=6,fi.t0=fi.catch(1),console.log("error",fi.t0);case 9:cn&&Ko(!1);case 10:case"end":return fi.stop()}},Dr,null,[[1,6]])}));return function(Dr){return Fr.apply(this,arguments)}}(),2e3,{leading:!0,trailing:!1}),className:A()(Wr.a.btn,Wr.a["".concat(vr,"-").concat(Mr)],Yt),style:Ht,size:vr,shape:Mr,type:Li,loading:Xr||dn},ji),wn)},$a=Is,or=O("+oxA"),Xt=O.n(or),jr=function(He){var Yt=He.className,Ht=He.style,wn=He.children,Un=wn===void 0?null:wn,dn=He.onClick,cn=He.title;return H.a.createElement("div",{className:A()(Xt.a.head,Yt),style:Ht},H.a.createElement("span",{className:"primary-hover",onClick:dn},H.a.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),H.a.createElement("b",{title:cn},cn),H.a.createElement("div",{className:Xt.a.node},Un))},Bn=jr,zr=O("fgAr"),Vr=O.n(zr),Sn=function(He){var Yt=He.confirmShow,Ht=Yt===void 0?!0:Yt,wn=He.confirmTitle,Un=He.confirmClick,dn=He.cancelShow,cn=dn===void 0?!0:dn,vn=He.cancelTitle,Or=He.cancelClick,Rn=He.className,vr=He.style,mr=He.confirmLoading,Mr=mr===void 0?!1:mr;return H.a.createElement("div",{className:A()(Vr.a.btns,Rn),style:vr},Ht&&H.a.createElement(Ti.a,{loading:Mr,onClick:Un,type:"primary",className:Vr.a.confirm},wn),cn&&H.a.createElement(Ti.a,{onClick:Or,className:Vr.a.cancel},vn))},bn=Sn},Oe0F:function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___1lU21",flex_space_between:"flex_space_between___3CfJd",flex_box_vertical_center:"flex_box_vertical_center___20q2h",flex_box_center_end:"flex_box_center_end___1jeZT",flex_box_column:"flex_box_column___2EyZF",list:"list___3Kz8E",wrap:"wrap___12_X7",lockWrap:"lockWrap___9zL4z",li:"li___2bcH1",cover:"cover___1j6mq",img:"img___3itdG",sign:"sign___1Bm21",name:"name___3H1zU",e:"e___1W7k4",tags:"tags___G1tID",rate:"rate___aZiJa"}},T8No:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return we}),O.d(ne,"e",function(){return F}),O.d(ne,"c",function(){return be}),O.d(ne,"b",function(){return de}),O.d(ne,"d",function(){return J}),O.d(ne,"f",function(){return pe});var Oe=O("MNsG"),_e=O("N0LK"),Ve=O("Cg/j");let Be=Oe.k||"";const H=new Map;H.set("false",!1),H.set("true",!0),H.set("isMac",Oe.f),H.set("isLinux",Oe.d),H.set("isWindows",Oe.i),H.set("isWeb",Oe.h),H.set("isMacNative",Oe.f&&!Oe.h),H.set("isEdge",Be.indexOf("Edg/")>=0),H.set("isFirefox",Be.indexOf("Firefox")>=0),H.set("isChrome",Be.indexOf("Chrome")>=0),H.set("isSafari",Be.indexOf("Safari")>=0);const ce=Object.prototype.hasOwnProperty;class we{static has(E){return j.create(E)}static equals(E,x){return A.create(E,x)}static regex(E,x){return Ce.create(E,x)}static not(E){return W.create(E)}static and(...E){return Fe.create(E,null)}static or(...E){return Te.create(E,null,!0)}static deserialize(E,x=!1){return E?this._deserializeOrExpression(E,x):void 0}static _deserializeOrExpression(E,x){let D=E.split("||");return Te.create(D.map(b=>this._deserializeAndExpression(b,x)),null,!0)}static _deserializeAndExpression(E,x){let D=E.split("&&");return Fe.create(D.map(b=>this._deserializeOne(b,x)),null)}static _deserializeOne(E,x){if(E=E.trim(),E.indexOf("!=")>=0){let D=E.split("!=");return L.create(D[0].trim(),this._deserializeValue(D[1],x))}if(E.indexOf("==")>=0){let D=E.split("==");return A.create(D[0].trim(),this._deserializeValue(D[1],x))}if(E.indexOf("=~")>=0){let D=E.split("=~");return Ce.create(D[0].trim(),this._deserializeRegexValue(D[1],x))}if(E.indexOf(" in ")>=0){let D=E.split(" in ");return w.create(D[0].trim(),D[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(E)){const D=E.split(">=");return I.create(D[0].trim(),D[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(E)){const D=E.split(">");return P.create(D[0].trim(),D[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(E)){const D=E.split("<=");return fe.create(D[0].trim(),D[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(E)){const D=E.split("<");return se.create(D[0].trim(),D[1].trim())}return/^\!\s*/.test(E)?W.create(E.substr(1).trim()):j.create(E)}static _deserializeValue(E,x){if(E=E.trim(),E==="true")return!0;if(E==="false")return!1;let D=/^'([^']*)'$/.exec(E);return D?D[1].trim():E}static _deserializeRegexValue(E,x){if(Object(_e.C)(E)){if(x)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let D=E.indexOf("/"),b=E.lastIndexOf("/");if(D===b||D<0){if(x)throw new Error(`bad regexp-value '${E}', missing /-enclosure`);return console.warn(`bad regexp-value '${E}', missing /-enclosure`),null}let N=E.slice(D+1,b),z=E[b+1]==="i"?"i":"";try{return new RegExp(N,z)}catch(ue){if(x)throw new Error(`bad regexp-value '${E}', parse error: ${ue}`);return console.warn(`bad regexp-value '${E}', parse error: ${ue}`),null}}}function F(E,x){const D=E?E.substituteConstants():void 0,b=x?x.substituteConstants():void 0;return!D&&!b?!0:!D||!b?!1:D.equals(b)}function f(E,x){return E.cmp(x)}class G{constructor(){this.type=0}cmp(E){return this.type-E.type}equals(E){return E.type===this.type}substituteConstants(){return this}evaluate(E){return!1}serialize(){return"false"}keys(){return[]}negate(){return Y.INSTANCE}}G.INSTANCE=new G;class Y{constructor(){this.type=1}cmp(E){return this.type-E.type}equals(E){return E.type===this.type}substituteConstants(){return this}evaluate(E){return!0}serialize(){return"true"}keys(){return[]}negate(){return G.INSTANCE}}Y.INSTANCE=new Y;class j{constructor(E,x){this.key=E,this.negated=x,this.type=2}static create(E,x=null){const D=H.get(E);return typeof D=="boolean"?D?Y.INSTANCE:G.INSTANCE:new j(E,x)}cmp(E){return E.type!==this.type?this.type-E.type:k(this.key,E.key)}equals(E){return E.type===this.type?this.key===E.key:!1}substituteConstants(){const E=H.get(this.key);return typeof E=="boolean"?E?Y.INSTANCE:G.INSTANCE:this}evaluate(E){return!!E.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=W.create(this.key,this)),this.negated}}class A{constructor(E,x,D){this.key=E,this.value=x,this.negated=D,this.type=4}static create(E,x,D=null){if(typeof x=="boolean")return x?j.create(E,D):W.create(E,D);const b=H.get(E);if(typeof b=="boolean"){const N=b?"true":"false";return x===N?Y.INSTANCE:G.INSTANCE}return new A(E,x,D)}cmp(E){return E.type!==this.type?this.type-E.type:K(this.key,this.value,E.key,E.value)}equals(E){return E.type===this.type?this.key===E.key&&this.value===E.value:!1}substituteConstants(){const E=H.get(this.key);if(typeof E=="boolean"){const x=E?"true":"false";return this.value===x?Y.INSTANCE:G.INSTANCE}return this}evaluate(E){return E.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=L.create(this.key,this.value,this)),this.negated}}class w{constructor(E,x){this.key=E,this.valueKey=x,this.type=10,this.negated=null}static create(E,x){return new w(E,x)}cmp(E){return E.type!==this.type?this.type-E.type:K(this.key,this.valueKey,E.key,E.valueKey)}equals(E){return E.type===this.type?this.key===E.key&&this.valueKey===E.valueKey:!1}substituteConstants(){return this}evaluate(E){const x=E.getValue(this.valueKey),D=E.getValue(this.key);return Array.isArray(x)?x.indexOf(D)>=0:typeof D=="string"&&typeof x=="object"&&x!==null?ce.call(x,D):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=T.create(this)),this.negated}}class T{constructor(E){this._actual=E,this.type=11}static create(E){return new T(E)}cmp(E){return E.type!==this.type?this.type-E.type:this._actual.cmp(E._actual)}equals(E){return E.type===this.type?this._actual.equals(E._actual):!1}substituteConstants(){return this}evaluate(E){return!this._actual.evaluate(E)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class L{constructor(E,x,D){this.key=E,this.value=x,this.negated=D,this.type=5}static create(E,x,D=null){if(typeof x=="boolean")return x?W.create(E,D):j.create(E,D);const b=H.get(E);if(typeof b=="boolean"){const N=b?"true":"false";return x===N?G.INSTANCE:Y.INSTANCE}return new L(E,x,D)}cmp(E){return E.type!==this.type?this.type-E.type:K(this.key,this.value,E.key,E.value)}equals(E){return E.type===this.type?this.key===E.key&&this.value===E.value:!1}substituteConstants(){const E=H.get(this.key);if(typeof E=="boolean"){const x=E?"true":"false";return this.value===x?G.INSTANCE:Y.INSTANCE}return this}evaluate(E){return E.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=A.create(this.key,this.value,this)),this.negated}}class W{constructor(E,x){this.key=E,this.negated=x,this.type=3}static create(E,x=null){const D=H.get(E);return typeof D=="boolean"?D?G.INSTANCE:Y.INSTANCE:new W(E,x)}cmp(E){return E.type!==this.type?this.type-E.type:k(this.key,E.key)}equals(E){return E.type===this.type?this.key===E.key:!1}substituteConstants(){const E=H.get(this.key);return typeof E=="boolean"?E?G.INSTANCE:Y.INSTANCE:this}evaluate(E){return!E.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=j.create(this.key,this)),this.negated}}function ee(E,x){if(typeof E=="string"){const D=parseFloat(E);isNaN(D)||(E=D)}return typeof E=="string"||typeof E=="number"?x(E):G.INSTANCE}class P{constructor(E,x,D){this.key=E,this.value=x,this.negated=D,this.type=12}static create(E,x,D=null){return ee(x,b=>new P(E,b,D))}cmp(E){return E.type!==this.type?this.type-E.type:K(this.key,this.value,E.key,E.value)}equals(E){return E.type===this.type?this.key===E.key&&this.value===E.value:!1}substituteConstants(){return this}evaluate(E){return typeof this.value=="string"?!1:parseFloat(E.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=fe.create(this.key,this.value,this)),this.negated}}class I{constructor(E,x,D){this.key=E,this.value=x,this.negated=D,this.type=13}static create(E,x,D=null){return ee(x,b=>new I(E,b,D))}cmp(E){return E.type!==this.type?this.type-E.type:K(this.key,this.value,E.key,E.value)}equals(E){return E.type===this.type?this.key===E.key&&this.value===E.value:!1}substituteConstants(){return this}evaluate(E){return typeof this.value=="string"?!1:parseFloat(E.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=se.create(this.key,this.value,this)),this.negated}}class se{constructor(E,x,D){this.key=E,this.value=x,this.negated=D,this.type=14}static create(E,x,D=null){return ee(x,b=>new se(E,b,D))}cmp(E){return E.type!==this.type?this.type-E.type:K(this.key,this.value,E.key,E.value)}equals(E){return E.type===this.type?this.key===E.key&&this.value===E.value:!1}substituteConstants(){return this}evaluate(E){return typeof this.value=="string"?!1:parseFloat(E.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this.value,this)),this.negated}}class fe{constructor(E,x,D){this.key=E,this.value=x,this.negated=D,this.type=15}static create(E,x,D=null){return ee(x,b=>new fe(E,b,D))}cmp(E){return E.type!==this.type?this.type-E.type:K(this.key,this.value,E.key,E.value)}equals(E){return E.type===this.type?this.key===E.key&&this.value===E.value:!1}substituteConstants(){return this}evaluate(E){return typeof this.value=="string"?!1:parseFloat(E.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this.key,this.value,this)),this.negated}}class Ce{constructor(E,x){this.key=E,this.regexp=x,this.type=7,this.negated=null}static create(E,x){return new Ce(E,x)}cmp(E){if(E.type!==this.type)return this.type-E.type;if(this.key<E.key)return-1;if(this.key>E.key)return 1;const x=this.regexp?this.regexp.source:"",D=E.regexp?E.regexp.source:"";return x<D?-1:x>D?1:0}equals(E){if(E.type===this.type){const x=this.regexp?this.regexp.source:"",D=E.regexp?E.regexp.source:"";return this.key===E.key&&x===D}return!1}substituteConstants(){return this}evaluate(E){let x=E.getValue(this.key);return this.regexp?this.regexp.test(x):!1}serialize(){const E=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${E}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=$.create(this)),this.negated}}class ${constructor(E){this._actual=E,this.type=8}static create(E){return new $(E)}cmp(E){return E.type!==this.type?this.type-E.type:this._actual.cmp(E._actual)}equals(E){return E.type===this.type?this._actual.equals(E._actual):!1}substituteConstants(){return this}evaluate(E){return!this._actual.evaluate(E)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function Re(E){let x=null;for(let D=0,b=E.length;D<b;D++){const N=E[D].substituteConstants();if(E[D]!==N&&x===null){x=[];for(let z=0;z<D;z++)x[z]=E[z]}x!==null&&(x[D]=N)}return x===null?E:x}class Fe{constructor(E,x){this.expr=E,this.negated=x,this.type=6}static create(E,x){return Fe._normalizeArr(E,x)}cmp(E){if(E.type!==this.type)return this.type-E.type;if(this.expr.length<E.expr.length)return-1;if(this.expr.length>E.expr.length)return 1;for(let x=0,D=this.expr.length;x<D;x++){const b=f(this.expr[x],E.expr[x]);if(b!==0)return b}return 0}equals(E){if(E.type===this.type){if(this.expr.length!==E.expr.length)return!1;for(let x=0,D=this.expr.length;x<D;x++)if(!this.expr[x].equals(E.expr[x]))return!1;return!0}return!1}substituteConstants(){const E=Re(this.expr);return E===this.expr?this:Fe.create(E,this.negated)}evaluate(E){for(let x=0,D=this.expr.length;x<D;x++)if(!this.expr[x].evaluate(E))return!1;return!0}static _normalizeArr(E,x){const D=[];let b=!1;for(const N of E){if(!N)continue;if(N.type===1){b=!0;continue}if(N.type===0)return G.INSTANCE;if(N.type===6){D.push(...N.expr);continue}D.push(N)}if(D.length===0&&b)return Y.INSTANCE;if(D.length===0)return;if(D.length===1)return D[0];D.sort(f);for(let N=1;N<D.length;N++)D[N-1].equals(D[N])&&(D.splice(N,1),N--);if(D.length===1)return D[0];for(;D.length>1;){const N=D[D.length-1];if(N.type!==9)break;D.pop();const z=D.pop(),ue=D.length===0,Ee=Te.create(N.expr.map(ze=>Fe.create([ze,z],null)),null,ue);Ee&&(D.push(Ee),D.sort(f))}return D.length===1?D[0]:new Fe(D,x)}serialize(){return this.expr.map(E=>E.serialize()).join(" && ")}keys(){const E=[];for(let x of this.expr)E.push(...x.keys());return E}negate(){if(!this.negated){const E=[];for(let x of this.expr)E.push(x.negate());this.negated=Te.create(E,this,!0)}return this.negated}}class Te{constructor(E,x){this.expr=E,this.negated=x,this.type=9}static create(E,x,D){return Te._normalizeArr(E,x,D)}cmp(E){if(E.type!==this.type)return this.type-E.type;if(this.expr.length<E.expr.length)return-1;if(this.expr.length>E.expr.length)return 1;for(let x=0,D=this.expr.length;x<D;x++){const b=f(this.expr[x],E.expr[x]);if(b!==0)return b}return 0}equals(E){if(E.type===this.type){if(this.expr.length!==E.expr.length)return!1;for(let x=0,D=this.expr.length;x<D;x++)if(!this.expr[x].equals(E.expr[x]))return!1;return!0}return!1}substituteConstants(){const E=Re(this.expr);return E===this.expr?this:Te.create(E,this.negated,!1)}evaluate(E){for(let x=0,D=this.expr.length;x<D;x++)if(this.expr[x].evaluate(E))return!0;return!1}static _normalizeArr(E,x,D){let b=[],N=!1;if(E){for(let z=0,ue=E.length;z<ue;z++){const Ee=E[z];if(!Ee)continue;if(Ee.type===0){N=!0;continue}if(Ee.type===1)return Y.INSTANCE;if(Ee.type===9){b=b.concat(Ee.expr);continue}b.push(Ee)}if(b.length===0&&N)return G.INSTANCE;b.sort(f)}if(b.length===0)return;if(b.length===1)return b[0];for(let z=1;z<b.length;z++)b[z-1].equals(b[z])&&(b.splice(z,1),z--);if(b.length===1)return b[0];if(D){for(let z=0;z<b.length;z++)for(let ue=z+1;ue<b.length;ue++)pe(b[z],b[ue])&&(b.splice(ue,1),ue--);if(b.length===1)return b[0]}return new Te(b,x)}serialize(){return this.expr.map(E=>E.serialize()).join(" || ")}keys(){const E=[];for(let x of this.expr)E.push(...x.keys());return E}negate(){if(!this.negated){let E=[];for(let x of this.expr)E.push(x.negate());for(;E.length>1;){const x=E.shift(),D=E.shift(),b=[];for(const z of M(x))for(const ue of M(D))b.push(Fe.create([z,ue],null));const N=E.length===0;E.unshift(Te.create(b,null,N))}this.negated=E[0]}return this.negated}}class be extends j{constructor(E,x,D){super(E,null);this._defaultValue=x,typeof D=="object"?be._info.push(Object.assign(Object.assign({},D),{key:E})):D!==!0&&be._info.push({key:E,description:D,type:x!=null?typeof x:void 0})}static all(){return be._info.values()}bindTo(E){return E.createKey(this.key,this._defaultValue)}getValue(E){return E.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(E){return A.create(this.key,E)}}be._info=[];const de=Object(Ve.c)("contextKeyService"),J="setContext";function k(E,x){return E<x?-1:E>x?1:0}function K(E,x,D,b){return E<D?-1:E>D?1:x<b?-1:x>b?1:0}function pe(E,x){if(x.type===6&&E.type!==9&&E.type!==6){for(const N of x.expr)if(E.equals(N))return!0}const D=E.negate(),b=M(D).concat(M(x));b.sort(f);for(let N=0;N<b.length;N++){const z=b[N],ue=z.negate();for(let Ee=N+1;Ee<b.length;Ee++){const ze=b[Ee];if(ue.equals(ze))return!0}}return!1}function M(E){return E.type===9?E.expr:[E]}},TXwP:function(ut,ne,O){var Oe,_e;(function(){var Ve;(function(){"use strict";var H=[,,function(f){function G(A){this.__parent=A,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}G.prototype.clone_empty=function(){var A=new G(this.__parent);return A.set_indent(this.__indent_count,this.__alignment_count),A},G.prototype.item=function(A){return A<0?this.__items[this.__items.length+A]:this.__items[A]},G.prototype.has_match=function(A){for(var w=this.__items.length-1;w>=0;w--)if(this.__items[w].match(A))return!0;return!1},G.prototype.set_indent=function(A,w){this.is_empty()&&(this.__indent_count=A||0,this.__alignment_count=w||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},G.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},G.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},G.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var A=this.__parent.current_line;return A.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),A.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),A.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,A.__items[0]===" "&&(A.__items.splice(0,1),A.__character_count-=1),!0}return!1},G.prototype.is_empty=function(){return this.__items.length===0},G.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},G.prototype.push=function(A){this.__items.push(A);var w=A.lastIndexOf(`
|
|
|
`);w!==-1?this.__character_count=A.length-w:this.__character_count+=A.length},G.prototype.pop=function(){var A=null;return this.is_empty()||(A=this.__items.pop(),this.__character_count-=A.length),A},G.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},G.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},G.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},G.prototype.toString=function(){var A="";return this.is_empty()?this.__parent.indent_empty_lines&&(A=this.__parent.get_indent_string(this.__indent_count)):(A=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),A+=this.__items.join("")),A};function Y(A,w){this.__cache=[""],this.__indent_size=A.indent_size,this.__indent_string=A.indent_char,A.indent_with_tabs||(this.__indent_string=new Array(A.indent_size+1).join(A.indent_char)),w=w||"",A.indent_level>0&&(w=new Array(A.indent_level+1).join(this.__indent_string)),this.__base_string=w,this.__base_string_length=w.length}Y.prototype.get_indent_size=function(A,w){var T=this.__base_string_length;return w=w||0,A<0&&(T=0),T+=A*this.__indent_size,T+=w,T},Y.prototype.get_indent_string=function(A,w){var T=this.__base_string;return w=w||0,A<0&&(A=0,T=""),w+=A*this.__indent_size,this.__ensure_cache(w),T+=this.__cache[w],T},Y.prototype.__ensure_cache=function(A){for(;A>=this.__cache.length;)this.__add_column()},Y.prototype.__add_column=function(){var A=this.__cache.length,w=0,T="";this.__indent_size&&A>=this.__indent_size&&(w=Math.floor(A/this.__indent_size),A-=w*this.__indent_size,T=new Array(w+1).join(this.__indent_string)),A&&(T+=new Array(A+1).join(" ")),this.__cache.push(T)};function j(A,w){this.__indent_cache=new Y(A,w),this.raw=!1,this._end_with_newline=A.end_with_newline,this.indent_size=A.indent_size,this.wrap_line_length=A.wrap_line_length,this.indent_empty_lines=A.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new G(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}j.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},j.prototype.get_line_number=function(){return this.__lines.length},j.prototype.get_indent_string=function(A,w){return this.__indent_cache.get_indent_string(A,w)},j.prototype.get_indent_size=function(A,w){return this.__indent_cache.get_indent_size(A,w)},j.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},j.prototype.add_new_line=function(A){return this.is_empty()||!A&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},j.prototype.get_code=function(A){this.trim(!0);var w=this.current_line.pop();w&&(w[w.length-1]===`
|
|
|
`&&(w=w.replace(/\n+$/g,"")),this.current_line.push(w)),this._end_with_newline&&this.__add_outputline();var T=this.__lines.join(`
|
|
|
`);return A!==`
|
|
|
`&&(T=T.replace(/[\n]/g,A)),T},j.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},j.prototype.set_indent=function(A,w){return A=A||0,w=w||0,this.next_line.set_indent(A,w),this.__lines.length>1?(this.current_line.set_indent(A,w),!0):(this.current_line.set_indent(),!1)},j.prototype.add_raw_token=function(A){for(var w=0;w<A.newlines;w++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(A.whitespace_before),this.current_line.push(A.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},j.prototype.add_token=function(A){this.__add_space_before_token(),this.current_line.push(A),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},j.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},j.prototype.remove_indent=function(A){for(var w=this.__lines.length;A<w;)this.__lines[A]._remove_indent(),A++;this.current_line._remove_wrap_indent()},j.prototype.trim=function(A){for(A=A===void 0?!1:A,this.current_line.trim();A&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},j.prototype.just_added_newline=function(){return this.current_line.is_empty()},j.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},j.prototype.ensure_empty_line_above=function(A,w){for(var T=this.__lines.length-2;T>=0;){var L=this.__lines[T];if(L.is_empty())break;if(L.item(0).indexOf(A)!==0&&L.item(-1)!==w){this.__lines.splice(T+1,0,new G(this)),this.previous_line=this.__lines[this.__lines.length-2];break}T--}},f.exports.Output=j},,,,function(f){function G(A,w){this.raw_options=Y(A,w),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}G.prototype._get_array=function(A,w){var T=this.raw_options[A],L=w||[];return typeof T=="object"?T!==null&&typeof T.concat=="function"&&(L=T.concat()):typeof T=="string"&&(L=T.split(/[^a-zA-Z0-9_\/\-]+/)),L},G.prototype._get_boolean=function(A,w){var T=this.raw_options[A],L=T===void 0?!!w:!!T;return L},G.prototype._get_characters=function(A,w){var T=this.raw_options[A],L=w||"";return typeof T=="string"&&(L=T.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),L},G.prototype._get_number=function(A,w){var T=this.raw_options[A];w=parseInt(w,10),isNaN(w)&&(w=0);var L=parseInt(T,10);return isNaN(L)&&(L=w),L},G.prototype._get_selection=function(A,w,T){var L=this._get_selection_list(A,w,T);if(L.length!==1)throw new Error("Invalid Option Value: The option '"+A+`' can only be one of the following values:
|
|
|
`+w+`
|
|
|
You passed in: '`+this.raw_options[A]+"'");return L[0]},G.prototype._get_selection_list=function(A,w,T){if(!w||w.length===0)throw new Error("Selection list cannot be empty.");if(T=T||[w[0]],!this._is_valid_selection(T,w))throw new Error("Invalid Default Value!");var L=this._get_array(A,T);if(!this._is_valid_selection(L,w))throw new Error("Invalid Option Value: The option '"+A+`' can contain only the following values:
|
|
|
`+w+`
|
|
|
You passed in: '`+this.raw_options[A]+"'");return L},G.prototype._is_valid_selection=function(A,w){return A.length&&w.length&&!A.some(function(T){return w.indexOf(T)===-1})};function Y(A,w){var T={};A=j(A);var L;for(L in A)L!==w&&(T[L]=A[L]);if(w&&A[w])for(L in A[w])T[L]=A[w][L];return T}function j(A){var w={},T;for(T in A){var L=T.replace(/-/g,"_");w[L]=A[T]}return w}f.exports.Options=G,f.exports.normalizeOpts=j,f.exports.mergeOpts=Y},,function(f){var G=RegExp.prototype.hasOwnProperty("sticky");function Y(j){this.__input=j||"",this.__input_length=this.__input.length,this.__position=0}Y.prototype.restart=function(){this.__position=0},Y.prototype.back=function(){this.__position>0&&(this.__position-=1)},Y.prototype.hasNext=function(){return this.__position<this.__input_length},Y.prototype.next=function(){var j=null;return this.hasNext()&&(j=this.__input.charAt(this.__position),this.__position+=1),j},Y.prototype.peek=function(j){var A=null;return j=j||0,j+=this.__position,j>=0&&j<this.__input_length&&(A=this.__input.charAt(j)),A},Y.prototype.__match=function(j,A){j.lastIndex=A;var w=j.exec(this.__input);return w&&!(G&&j.sticky)&&(w.index!==A&&(w=null)),w},Y.prototype.test=function(j,A){return A=A||0,A+=this.__position,A>=0&&A<this.__input_length?!!this.__match(j,A):!1},Y.prototype.testChar=function(j,A){var w=this.peek(A);return j.lastIndex=0,w!==null&&j.test(w)},Y.prototype.match=function(j){var A=this.__match(j,this.__position);return A?this.__position+=A[0].length:A=null,A},Y.prototype.read=function(j,A,w){var T="",L;return j&&(L=this.match(j),L&&(T+=L[0])),A&&(L||!j)&&(T+=this.readUntil(A,w)),T},Y.prototype.readUntil=function(j,A){var w="",T=this.__position;j.lastIndex=this.__position;var L=j.exec(this.__input);return L?(T=L.index,A&&(T+=L[0].length)):T=this.__input_length,w=this.__input.substring(this.__position,T),this.__position=T,w},Y.prototype.readUntilAfter=function(j){return this.readUntil(j,!0)},Y.prototype.get_regexp=function(j,A){var w=null,T="g";return A&&G&&(T="y"),typeof j=="string"&&j!==""?w=new RegExp(j,T):j&&(w=new RegExp(j.source,T)),w},Y.prototype.get_literal_regexp=function(j){return RegExp(j.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},Y.prototype.peekUntilAfter=function(j){var A=this.__position,w=this.readUntilAfter(j);return this.__position=A,w},Y.prototype.lookBack=function(j){var A=this.__position-1;return A>=j.length&&this.__input.substring(A-j.length,A).toLowerCase()===j},f.exports.InputScanner=Y},,,,,function(f){function G(Y,j){Y=typeof Y=="string"?Y:Y.source,j=typeof j=="string"?j:j.source,this.__directives_block_pattern=new RegExp(Y+/ beautify( \w+[:]\w+)+ /.source+j,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(Y+/\sbeautify\signore:end\s/.source+j,"g")}G.prototype.get_directives=function(Y){if(!Y.match(this.__directives_block_pattern))return null;var j={};this.__directive_pattern.lastIndex=0;for(var A=this.__directive_pattern.exec(Y);A;)j[A[1]]=A[2],A=this.__directive_pattern.exec(Y);return j},G.prototype.readIgnored=function(Y){return Y.readUntilAfter(this.__directives_end_ignore_pattern)},f.exports.Directives=G},,function(f,G,Y){var j=Y(16).Beautifier,A=Y(17).Options;function w(T,L){var W=new j(T,L);return W.beautify()}f.exports=w,f.exports.defaultOptions=function(){return new A}},function(f,G,Y){var j=Y(17).Options,A=Y(2).Output,w=Y(8).InputScanner,T=Y(13).Directives,L=new T(/\/\*/,/\*\//),W=/\r\n|[\r\n]/,ee=/\r\n|[\r\n]/g,P=/\s/,I=/(?:\s|\n)+/g,se=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,fe=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Ce($,Re){this._source_text=$||"",this._options=new j(Re),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}Ce.prototype.eatString=function($){var Re="";for(this._ch=this._input.next();this._ch;){if(Re+=this._ch,this._ch==="\\")Re+=this._input.next();else if($.indexOf(this._ch)!==-1||this._ch===`
|
|
|
`)break;this._ch=this._input.next()}return Re},Ce.prototype.eatWhitespace=function($){for(var Re=P.test(this._input.peek()),Fe=0;P.test(this._input.peek());)this._ch=this._input.next(),$&&this._ch===`
|
|
|
`&&((Fe===0||Fe<this._options.max_preserve_newlines)&&(Fe++,this._output.add_new_line(!0)));return Re},Ce.prototype.foundNestedPseudoClass=function(){for(var $=0,Re=1,Fe=this._input.peek(Re);Fe;){if(Fe==="{")return!0;if(Fe==="(")$+=1;else if(Fe===")"){if($===0)return!1;$-=1}else if(Fe===";"||Fe==="}")return!1;Re++,Fe=this._input.peek(Re)}return!1},Ce.prototype.print_string=function($){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token($)},Ce.prototype.preserveSingleSpace=function($){$&&(this._output.space_before_token=!0)},Ce.prototype.indent=function(){this._indentLevel++},Ce.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},Ce.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $=this._source_text,Re=this._options.eol;Re==="auto"&&(Re=`
|
|
|
`,$&&W.test($||"")&&(Re=$.match(W)[0])),$=$.replace(ee,`
|
|
|
`);var Fe=$.match(/^[\t ]*/)[0];this._output=new A(this._options,Fe),this._input=new w($),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var Te=0,be=!1,de=!1,J=!1,k=!1,K=!1,pe=!1,M=this._ch,E=!1,x,D,b;x=this._input.read(I),D=x!=="",b=M,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),M=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var N=this._input.read(se),z=L.get_directives(N);z&&z.ignore==="start"&&(N+=L.readIgnored(this._input)),this.print_string(N),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(fe)),this.eatWhitespace(!0);else if(this._ch==="@"||this._ch==="$")if(this.preserveSingleSpace(D),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var ue=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);ue.match(/[ :]$/)&&(ue=this.eatString(": ").replace(/\s$/,""),this.print_string(ue),this._output.space_before_token=!0),ue=ue.replace(/\s$/,""),ue==="extend"?k=!0:ue==="import"&&(K=!0),ue in this.NESTED_AT_RULE?(this._nestedLevel+=1,ue in this.CONDITIONAL_GROUP_RULE&&(J=!0)):!be&&Te===0&&ue.indexOf(":")!==-1&&(de=!0,this.indent())}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(D),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")de&&(de=!1,this.outdent()),J?(J=!1,be=this._indentLevel>=this._nestedLevel):be=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&be&&(this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",",")),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(b==="("?this._output.space_before_token=!1:b!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),b==="{"&&this._output.trim(!0),K=!1,k=!1,de&&(this.outdent(),de=!1),this.print_string(this._ch),be=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&(this._input.peek()!=="}"&&this._output.add_new_line(!0)),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var Ee=0;Ee<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Ee++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Ee])){E=!0;break}(be||J)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!k&&Te===0?(this.print_string(":"),de||(de=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var ze=b==='"'||b==="'";this.preserveSingleSpace(ze||D),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")E=!1,Te===0?(de&&(this.outdent(),de=!1),k=!1,K=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),Te++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),Te&&(Te--,this.outdent()));else{var me=!1;this._input.lookBack("with")&&(me=!0),this.preserveSingleSpace(D||me),this.print_string(this._ch),de&&b==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),pe=!0):(this.eatWhitespace(),Te++,this.indent())}else if(this._ch===")")Te&&(Te--,this.outdent()),pe&&this._input.peek()===";"&&this._options.selector_separator_newline&&(pe=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!de||pe)&&Te===0&&!K&&!k?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!de&&Te===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&P.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(D),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),P.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var je=b==='"'||b==="'";this.preserveSingleSpace(je||D),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
|
`&&E&&this._output.add_new_line()}var Ke=this._output.get_code(Re);return Ke},f.exports.Beautifier=Ce},function(f,G,Y){var j=Y(6).Options;function A(w){j.call(this,w,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var T=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||T;var L=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var W=0;W<L.length;W++)L[W]!=="expand"?this.brace_style="collapse":this.brace_style=L[W]}A.prototype=new j,f.exports.Options=A}],ce={};function we(f){var G=ce[f];if(G!==void 0)return G.exports;var Y=ce[f]={exports:{}};return H[f](Y,Y.exports,we),Y.exports}var F=we(15);Ve=F})();var Be=Ve;!(Oe=[],_e=function(){return{css_beautify:Be}}.apply(ne,Oe),_e!==void 0&&(ut.exports=_e))})()},UgWf:function(ut,ne,O){ut.exports={Onerow:"Onerow___3MI5p",ItemTitle:"ItemTitle___3Uh0g",MultiLine:"MultiLine___REGv7",DivDownPlay:"DivDownPlay___2P_bb",Bg:"Bg___1HJbz",Item:"Item___2SBUE",UseEdit:"UseEdit___3jrLu"}},VfCK:function(ut,ne,O){"use strict";O.r(ne);var Oe=O("T2oS"),_e=O("W9HT"),Ve=O("DjyN"),Be=O("NUBc"),H=O("14J3"),ce=O("BMrR"),we=O("jCWc"),F=O("kPKH"),f=O("oBTY"),G=O("+L6B"),Y=O("2/Rp"),j=O("miYZ"),A=O("tsqr"),w=O("k1fw"),T=O("2qtc"),L=O("kLXV"),W=O("9og8"),ee=O("y8nQ"),P=O("Vl3Y"),I=O("tJVT"),se=O("WmNS"),fe=O.n(se),Ce=O("q1tI"),$=O.n(Ce),Re=O("9kvl"),Fe=O("UgWf"),Te=O.n(Fe),be=O("m3rI"),de=O("xKgJ"),J=O("Nf5h"),k=O("ErOA"),K=O("0Owb"),pe=O("DZo9"),M=O("8z0m"),E=O("7Kak"),x=O("9yH6"),D=O("iQDF"),b=O("+eQT"),N=O("5NDa"),z=O("5rEg"),ue=O("PpiC"),Ee=O("phzI"),ze=function(Ct){var q,oe=Ct.handleFinish,ke=Ct.form,We=Ct.core_subject_tag,bt=Object(ue.a)(Ct,["handleFinish","form","core_subject_tag"]),Jt={beforeUpload:function(Ut){var jt=Ut.size/1024/1024;return jt==0?(A.b.error("".concat(Ut.name," \u65E0\u6CD5\u4E0A\u4F20\u3002").concat(jt==0?"\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A":"\u8D85\u8FC7\u56FE\u7247\u5927\u5C0F\u9650\u5236(2MB)")),Promise.reject()):Promise.resolve()},action:"".concat(be.a.API_SERVER,"/api/attachments.json")};return $.a.createElement(L.a,Object(K.a)({},bt,{destroyOnClose:!0,centered:!0,width:1200}),$.a.createElement(P.a,{form:ke,size:"large",initialValues:{details:"",platform_language:((q=localStorage)===null||q===void 0?void 0:q.getItem("umi_locale"))==="zh-CN"?1:2},colon:!1,labelCol:{span:3},onValuesChange:function(Ut){},onFinish:oe},$.a.createElement(P.a.Item,{name:"id",hidden:!0,label:"\u77E5\u8BC6\u70B9id"}),$.a.createElement(P.a.Item,{name:"knowledge_points",label:"\u77E5\u8BC6\u70B9",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9"}]},$.a.createElement(z.a,{placeholder:"\u8BF7\u8F93\u5165\u77E5\u8BC6\u70B9",maxLength:100})),$.a.createElement(P.a.Item,{name:"title",label:"\u6807\u9898",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6807\u9898"}]},$.a.createElement(z.a,{placeholder:"\u8BF7\u8F93\u5165\u6807\u9898",maxLength:100})),$.a.createElement(P.a.Item,{name:"publisher",label:"\u53D1\u5E03\u4EBA",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u53D1\u5E03\u4EBA"}]},$.a.createElement(z.a,{placeholder:"\u8BF7\u8F93\u5165\u53D1\u5E03\u4EBA",maxLength:100})),$.a.createElement(P.a.Item,{name:"publish_time",label:"\u53D1\u5E03\u65F6\u95F4",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4"}]},$.a.createElement(b.a,{placeholder:"\u8BF7\u9009\u62E9\u53D1\u5E03\u65F6\u95F4",style:{width:"100%"}})),$.a.createElement(P.a.Item,{name:"platform_language",label:"\u5E73\u53F0\u8BED\u8A00\u7248\u672C",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u5E73\u53F0\u8BED\u8A00"}]},$.a.createElement(x.a.Group,null,$.a.createElement(x.a,{value:1},"\u4E2D\u6587\u7248\u5E73\u53F0"),$.a.createElement(x.a,{value:2},"\u82F1\u6587\u7248\u5E73\u53F0"))),$.a.createElement(P.a.Item,{name:"attachment_id",label:"\u91CF\u5B50\u8BA1\u7B97\u6587\u4EF6",valuePropName:"fileList",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u91CF\u5B50\u8BA1\u7B97\u6587\u4EF6"}],normalize:function(Ut){return Ut!=null&&Ut.at(-1)?[Ut==null?void 0:Ut.at(-1)]:[]},getValueFromEvent:function(Ut){return Array.isArray(Ut)?Ut:Ut==null?void 0:Ut.fileList}},$.a.createElement(M.a,Jt,$.a.createElement(J.e,{style:{borderRadius:"2px"},icon:$.a.createElement("i",{className:"iconfont icon-shangchuanfujian"})},"\u4E0A\u4F20\u6587\u4EF6"))),$.a.createElement(P.a.Item,{name:"details",label:"\u7B80\u4ECB",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u7B80\u4ECB"}]},$.a.createElement(Ee.a,{style:{height:"300px"},defaultvalue:ke.getFieldValue("details")}))))},me=ze,je=O("5Dmo"),Ke=O("3S7+"),qe=O("gQZu"),Pe=O("wd/R"),ht=O.n(Pe),V=function(Ct){var q,oe=Ct.item,ke=Ct.className,We=Ct.style,bt=Ct.UseEdit,Jt=Object(ue.a)(Ct,["item","className","style","UseEdit"]),sn=Object(Ce.useState)(null),Ut=Object(I.a)(sn,2),jt=Ut[0],lr=Ut[1];return Object(Ce.useEffect)(function(){var Dn=document.createElement("div");Dn.innerHTML=oe==null?void 0:oe.details,lr(Dn.textContent)},[]),$.a.createElement(ce.a,{className:Te.a.Item},$.a.createElement(F.a,null,$.a.createElement(qe.a,{fileName:(oe==null||((q=oe.attachment)===null||q===void 0)?void 0:q.title)||"",width:100,height:100})),$.a.createElement(F.a,{className:"ml10",flex:1,style:{width:1050}},$.a.createElement(ce.a,{align:"middle",style:{flexWrap:"nowrap"}},$.a.createElement(Ke.a,{placement:"topLeft",title:oe==null?void 0:oe.title},$.a.createElement(F.a,{flex:1,className:Te.a.ItemTitle},oe==null?void 0:oe.title)),$.a.createElement(F.a,null,$.a.createElement(ce.a,{align:"middle",style:{flexWrap:"nowrap"}},(bt==null?void 0:bt.length)>0&&(bt==null?void 0:bt.map(function(Dn,fo){var wr=Dn.children,$r=Dn.style,pn=Dn.isShow,un=Dn.type,Cn=un===void 0?"link":un,ln=Dn.onClick,gn=Object(ue.a)(Dn,["children","style","isShow","type","onClick"]);return $.a.createElement(J.e,Object(K.a)({key:fo,type:Cn},gn,{style:Object(w.a)({padding:0,border:"none"},$r),onClick:function(er){er.preventDefault(),er.stopPropagation(),ln(er)}}),wr)}))))),$.a.createElement("div",{className:Te.a.Onerow},jt),$.a.createElement("div",{className:"mt10"},$.a.createElement("span",null,"\u53D1\u5E03\u4EBA\uFF1A",$.a.createElement("span",null,(oe==null?void 0:oe.publisher)||"--")),$.a.createElement("span",{className:"ml40"},"\u53D1\u5E03\u65F6\u95F4\uFF1A",$.a.createElement("span",null,ht()(oe==null?void 0:oe.publish_time).format("YYYY-MM-DD"))))))},ie=V,Z=O("p5ED"),Le=O("BdwD"),$e=function(Ct){var q,oe,ke,We=Ct.dispatch,bt=Ct.globalSetting,Jt=P.a.useForm(),sn=Object(I.a)(Jt,1),Ut=sn[0],jt=Object(Ce.useState)(""),lr=Object(I.a)(jt,2),Dn=lr[0],fo=lr[1],wr=Object(Ce.useState)({}),$r=Object(I.a)(wr,2),pn=$r[0],un=$r[1],Cn=Object(Ce.useState)({page:1,limit:12,keyword:"",knowledge_points:null}),ln=Object(I.a)(Cn,2),gn=ln[0],Tr=ln[1],er=Object(Ce.useState)(!1),Hr=Object(I.a)(er,2),Ar=Hr[0],Ti=Hr[1],ga=Object(Ce.useState)({content:"",type:""}),ma=Object(I.a)(ga,2),No=ma[0],qa=ma[1],Io=Object(Ce.useRef)(),Di=Object(Re.g)(),Wr=function(){var or=Object(W.a)(fe.a.mark(function Xt(){var jr,Bn=arguments;return fe.a.wrap(function(Vr){for(;;)switch(Vr.prev=Vr.next){case 0:jr=Bn.length>0&&Bn[0]!==void 0?Bn[0]:"",jr==""&&(Ut.resetFields(),Ut.setFieldsValue({})),fo(jr);case 3:case"end":return Vr.stop()}},Xt)}));return function(){return or.apply(this,arguments)}}(),Po=function(){var or=Object(W.a)(fe.a.mark(function Xt(){var jr,Bn,zr=arguments;return fe.a.wrap(function(Sn){for(;;)switch(Sn.prev=Sn.next){case 0:return jr=zr.length>0&&zr[0]!==void 0?zr[0]:gn,Ti(!0),Sn.next=4,Object(k.a)("/api/core_subject_computings.json",{method:"get",params:jr});case 4:Bn=Sn.sent,(Bn==null?void 0:Bn.status)==0&&un(Bn==null?void 0:Bn.data),Ti(!1);case 7:case"end":return Sn.stop()}},Xt)}));return function(){return or.apply(this,arguments)}}();Object(Ce.useEffect)(function(){Po()},[gn]);var Is=function(){var or=Object(W.a)(fe.a.mark(function Xt(jr){var Bn,zr;return fe.a.wrap(function(Sn){for(;;)switch(Sn.prev=Sn.next){case 0:return Sn.next=2,Object(k.a)("/api/attachments/".concat(jr,"/detail.json"),{method:"get"});case 2:if(Bn=Sn.sent,!((Bn==null?void 0:Bn.status)!==-1)){Sn.next=10;break}if(!(Bn.file_type==="txt")){Sn.next=9;break}return Sn.next=7,Object(k.a)(Bn.url,{method:"get",headers:{"Content-Type":"application/xml"}});case 7:zr=Sn.sent,Io.current=zr;case 9:qa({type:Bn.file_type,content:Bn.url+"&nocredentials=true"});case 10:return Sn.next=12,Wr("\u6587\u4EF6\u9884\u89C8");case 12:case"end":return Sn.stop()}},Xt)}));return function(jr){return or.apply(this,arguments)}}(),$a=function(){var Xt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},jr=[{children:"\u9884\u89C8",icon:$.a.createElement("i",{className:"iconfont icon-yulan1 font14 mr5"}),onClick:function(){Is(Xt==null?void 0:Xt.attachment_id)},isShow:Xt==null?void 0:Xt.attachment_id},{children:"\u67E5\u770B",className:"ml20",icon:$.a.createElement("i",{className:"iconfont icon-chakan11 mr5 font14"}),onClick:function(){var zr=L.a.confirm({className:"ConfirmModalOpenColseIconHideBtn",icon:null,title:"\u67E5\u770B\u7B80\u4ECB",maskClosable:!0,width:1200,centered:!0,content:$.a.createElement("div",{style:{height:700,overflow:"auto"},dangerouslySetInnerHTML:{__html:Xt==null?void 0:Xt.details}}),onCancel:function(){zr.destroy()}})},isShow:Xt==null?void 0:Xt.details},{children:"\u7F16\u8F91",className:"ml20",icon:$.a.createElement("i",{className:"iconfont icon-bianji-moren mr5 font14"}),onClick:function(){var zr,Vr,Sn;Ut.setFieldsValue(Object(w.a)(Object(w.a)({},Xt),{},{details:Xt==null?void 0:Xt.details,publish_time:ht()(Xt==null?void 0:Xt.publish_time),attachment_id:(Xt==null?void 0:Xt.attachment_id)&&[{uid:Xt==null||((zr=Xt.attachment)===null||zr===void 0)?void 0:zr.id,name:Xt==null||((Vr=Xt.attachment)===null||Vr===void 0)?void 0:Vr.title,status:"down",response:{id:Xt==null||((Sn=Xt.attachment)===null||Sn===void 0)?void 0:Sn.id}}]})),Wr("\u7F16\u8F91\u91CF\u5B50\u8BA1\u7B97")},isShow:Object(de.w)()},{children:"\u5220\u9664",className:"delete-hover ml20",icon:$.a.createElement("i",{className:"iconfont icon-shanchutimu mr5 font14"}),onClick:function(){var Bn=Object(W.a)(fe.a.mark(function Vr(){var Sn;return fe.a.wrap(function(tn){for(;;)switch(tn.prev=tn.next){case 0:Sn=L.a.confirm({title:"\u63D0\u793A",icon:null,centered:!0,content:"\u786E\u8BA4\u5220\u9664".concat(Xt==null?void 0:Xt.title,"\u5417\uFF1F"),okText:"\u786E\u5B9A\u5220\u9664",cancelText:"\u53D6\u6D88",onOk:function(){var He=Object(W.a)(fe.a.mark(function Ht(){var wn;return fe.a.wrap(function(dn){for(;;)switch(dn.prev=dn.next){case 0:return dn.next=2,Object(k.a)("/api/core_subject_computings/".concat(Xt==null?void 0:Xt.id,".json"),{method:"delete"});case 2:wn=dn.sent,wn.status==0&&(A.b.success("\u5220\u9664\u6210\u529F"),Po());case 4:case"end":return dn.stop()}},Ht)}));function Yt(){return He.apply(this,arguments)}return Yt}(),onCancel:function(){return Sn.destroy()}});case 1:case"end":return tn.stop()}},Vr)}));function zr(){return Bn.apply(this,arguments)}return zr}(),style:{color:"#8E94A0"},isShow:Object(de.w)()}].filter(function(Bn){return Bn==null?void 0:Bn.isShow});return jr};return $.a.createElement(_e.a,{spinning:Ar},$.a.createElement("section",null,$.a.createElement(J.a,{title:Di.formatMessage({id:"quantum.Quantum"}),sunTitle:"",dataSource:[{buttonShow:Object(de.w)(),Button:$.a.createElement(Y.a,{className:"".concat(Te.a.DivDownPlay),icon:$.a.createElement("i",{className:"iconfont icon-icon_xinyong_xianxing_jijin-249"}),onClick:function(){fo("\u65B0\u5EFA\u91CF\u5B50\u8BA1\u7B97")}},Di.formatMessage({id:"quantum.new"}))}],bannerImg:"".concat(be.a.IMG_SERVER,"/").concat(bt==null||((q=bt.setting)===null||q===void 0)?void 0:q.computing_banner_url),placeholder:Di.formatMessage({id:"quantum.search"}),onChange:function(Xt){Tr(Object(w.a)(Object(w.a)({},gn),{},{keyword:Xt.trim(),page:1}))}}),$.a.createElement(J.i,{title:Di.formatMessage({id:"quantum.Topics"}),isId:!0,value:gn==null?void 0:gn.knowledge_points,dataSource:[{name:Di.formatMessage({id:"quantum.All"}),id:null}].concat(Object(f.a)((pn==null||((oe=pn.tag)===null||oe===void 0)?void 0:oe.map(function(or){return{name:or,id:or}}))||[])),style:{width:1200,margin:"30px auto 10px"},onChange:function(Xt){Tr(Object(w.a)(Object(w.a)({},gn),{},{knowledge_points:Xt}))},fontColor:"#333333"}),$.a.createElement("div",{style:{width:1200,margin:"30px auto 0"}},(pn==null?void 0:pn.total)>0?$.a.createElement(ce.a,{gutter:[20,20]},pn==null||((ke=pn.list)===null||ke===void 0)?void 0:ke.map(function(or){return $.a.createElement(F.a,{key:or==null?void 0:or.id,style:{width:"100%"}},$.a.createElement(ie,{item:or,UseEdit:$a(or)}))})):$.a.createElement(Le.a,null),$.a.createElement(ce.a,{className:"mt20",align:"middle",justify:"space-between"},$.a.createElement(F.a,null,Di.formatMessage({id:"quantum.Total"}),"\xA0",$.a.createElement("span",{style:{color:"#165DFF"}},(pn==null?void 0:pn.total)||0),"\xA0",Di.formatMessage({id:"quantum.records"})),$.a.createElement(F.a,null,$.a.createElement(Be.a,{showSizeChanger:!1,showQuickJumper:!0,current:gn.page,pageSize:gn.limit,locale:{jump_to:Di.formatMessage({id:"quantum.jump_to"}),page:Di.formatMessage({id:"quantum.page"})},onChange:function(Xt,jr){return Tr(Object(w.a)(Object(w.a)({},gn),{},{page:Xt,limit:jr}))},total:(pn==null?void 0:pn.total)||0})))),$.a.createElement(me,{title:Dn,visible:["\u65B0\u5EFA\u91CF\u5B50\u8BA1\u7B97","\u7F16\u8F91\u91CF\u5B50\u8BA1\u7B97"].includes(Dn),form:Ut,core_subject_tag:(pn==null?void 0:pn.core_subject_tag)||[],onCancel:function(){Wr("")},confirmLoading:Ar,onOk:function(){return Ut.submit()},handleFinish:function(){var or=Object(W.a)(fe.a.mark(function Xt(jr){var Bn,zr,Vr,Sn,bn;return fe.a.wrap(function(He){for(;;)switch(He.prev=He.next){case 0:if(console.log(jr),jr.attachment_id=(Bn=jr.attachment_id)===null||Bn===void 0||((zr=Bn[0])===null||zr===void 0||((Vr=zr.response)===null||Vr===void 0))?void 0:Vr.id,Ti(!0),!(Dn=="\u65B0\u5EFA\u91CF\u5B50\u8BA1\u7B97")){He.next=7;break}return He.next=6,Object(k.a)("/api/core_subject_computings.json",{method:"post",body:Object(w.a)({},jr)});case 6:bn=He.sent;case 7:if(!(Dn=="\u7F16\u8F91\u91CF\u5B50\u8BA1\u7B97")){He.next=11;break}return He.next=10,Object(k.a)("/api/core_subject_computings/".concat(jr.id,".json"),{method:"PUT",body:Object(w.a)({},jr)});case 10:bn=He.sent;case 11:((Sn=bn)===null||Sn===void 0?void 0:Sn.status)==0&&(A.b.success(Dn=="\u65B0\u5EFA\u91CF\u5B50\u8BA1\u7B97"?"\u6DFB\u52A0\u6210\u529F":"\u4FEE\u6539\u6210\u529F"),Tr(Object(w.a)(Object(w.a)({},gn),{},{page:1,keyword:""})),Wr("")),Ti(!1);case 13:case"end":return He.stop()}},Xt)}));return function(Xt){return or.apply(this,arguments)}}()}),$.a.createElement(L.a,{title:Dn,visible:Dn=="\u6587\u4EF6\u9884\u89C8",destroyOnClose:!0,centered:!0,width:1200,footer:null,onCancel:function(){Wr()}},$.a.createElement("div",{style:{height:700,overflow:"hidden",position:"relative"}},$.a.createElement(Z.a,{data:No==null?void 0:No.content,type:No==null?void 0:No.type,disabledDownload:!Object(de.p)(),style:{position:"absolute",zIndex:1,alignItems:"flex-start"},monacoEditor:{value:Io.current,language:"txt",onChange:function(){},options:{readOnly:!0,fontSize:14,minimap:{enabled:!1}}},onClose:function(){return Wr()}})))))},rt=ne.default=Object(Re.a)(function(Et){var Ct=Et.user,q=Et.loading,oe=Et.globalSetting;return{user:Ct,loading:q.effects,globalSetting:oe}})($e)},Vg4E:function(ut,ne,O){},Vhoy:function(ut,ne,O){"use strict";O.d(ne,"d",function(){return Be}),O.d(ne,"e",function(){return H}),O.d(ne,"c",function(){return ce}),O.d(ne,"b",function(){return we}),O.d(ne,"a",function(){return F});var Oe=O("MI8n");class _e{constructor(){this._icons=new Map,this._onDidRegister=new Oe.b}add(f){const G=this._icons.get(f.id);G?f.description?G.description=f.description:console.error(`Duplicate registration of codicon ${f.id}`):(this._icons.set(f.id,f),this._onDidRegister.fire(f))}get(f){return this._icons.get(f)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const Ve=new _e,Be=Ve;function H(f,G){return new we(f,G)}function ce(f){return f?f.replace(/\$\((.*?)\)/g,(G,Y)=>` ${Y} `).trim():""}class we{constructor(f,G,Y){this.id=f,this.definition=G,this.description=Y,Ve.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var F;(function(f){f.iconNameSegment="[A-Za-z0-9]+",f.iconNameExpression="[A-Za-z0-9\\-]+",f.iconModifierExpression="~[A-Za-z]+";const G=new RegExp(`^(${f.iconNameExpression})(${f.iconModifierExpression})?$`);function Y(w){if(w instanceof we)return["codicon","codicon-"+w.id];const T=G.exec(w.id);if(!T)return Y(we.error);let[,L,W]=T;const ee=["codicon","codicon-"+L];return W&&ee.push("codicon-modifier-"+W.substr(1)),ee}f.asClassNameArray=Y;function j(w){return Y(w).join(" ")}f.asClassName=j;function A(w){return"."+Y(w).join(".")}f.asCSSSelector=A})(F||(F={})),function(f){f.add=new f("add",{fontCharacter:"\\ea60"}),f.plus=new f("plus",f.add.definition),f.gistNew=new f("gist-new",f.add.definition),f.repoCreate=new f("repo-create",f.add.definition),f.lightbulb=new f("lightbulb",{fontCharacter:"\\ea61"}),f.lightBulb=new f("light-bulb",{fontCharacter:"\\ea61"}),f.repo=new f("repo",{fontCharacter:"\\ea62"}),f.repoDelete=new f("repo-delete",{fontCharacter:"\\ea62"}),f.gistFork=new f("gist-fork",{fontCharacter:"\\ea63"}),f.repoForked=new f("repo-forked",{fontCharacter:"\\ea63"}),f.gitPullRequest=new f("git-pull-request",{fontCharacter:"\\ea64"}),f.gitPullRequestAbandoned=new f("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),f.recordKeys=new f("record-keys",{fontCharacter:"\\ea65"}),f.keyboard=new f("keyboard",{fontCharacter:"\\ea65"}),f.tag=new f("tag",{fontCharacter:"\\ea66"}),f.tagAdd=new f("tag-add",{fontCharacter:"\\ea66"}),f.tagRemove=new f("tag-remove",{fontCharacter:"\\ea66"}),f.person=new f("person",{fontCharacter:"\\ea67"}),f.personFollow=new f("person-follow",{fontCharacter:"\\ea67"}),f.personOutline=new f("person-outline",{fontCharacter:"\\ea67"}),f.personFilled=new f("person-filled",{fontCharacter:"\\ea67"}),f.gitBranch=new f("git-branch",{fontCharacter:"\\ea68"}),f.gitBranchCreate=new f("git-branch-create",{fontCharacter:"\\ea68"}),f.gitBranchDelete=new f("git-branch-delete",{fontCharacter:"\\ea68"}),f.sourceControl=new f("source-control",{fontCharacter:"\\ea68"}),f.mirror=new f("mirror",{fontCharacter:"\\ea69"}),f.mirrorPublic=new f("mirror-public",{fontCharacter:"\\ea69"}),f.star=new f("star",{fontCharacter:"\\ea6a"}),f.starAdd=new f("star-add",{fontCharacter:"\\ea6a"}),f.starDelete=new f("star-delete",{fontCharacter:"\\ea6a"}),f.starEmpty=new f("star-empty",{fontCharacter:"\\ea6a"}),f.comment=new f("comment",{fontCharacter:"\\ea6b"}),f.commentAdd=new f("comment-add",{fontCharacter:"\\ea6b"}),f.alert=new f("alert",{fontCharacter:"\\ea6c"}),f.warning=new f("warning",{fontCharacter:"\\ea6c"}),f.search=new f("search",{fontCharacter:"\\ea6d"}),f.searchSave=new f("search-save",{fontCharacter:"\\ea6d"}),f.logOut=new f("log-out",{fontCharacter:"\\ea6e"}),f.signOut=new f("sign-out",{fontCharacter:"\\ea6e"}),f.logIn=new f("log-in",{fontCharacter:"\\ea6f"}),f.signIn=new f("sign-in",{fontCharacter:"\\ea6f"}),f.eye=new f("eye",{fontCharacter:"\\ea70"}),f.eyeUnwatch=new f("eye-unwatch",{fontCharacter:"\\ea70"}),f.eyeWatch=new f("eye-watch",{fontCharacter:"\\ea70"}),f.circleFilled=new f("circle-filled",{fontCharacter:"\\ea71"}),f.primitiveDot=new f("primitive-dot",{fontCharacter:"\\ea71"}),f.closeDirty=new f("close-dirty",{fontCharacter:"\\ea71"}),f.debugBreakpoint=new f("debug-breakpoint",{fontCharacter:"\\ea71"}),f.debugBreakpointDisabled=new f("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),f.debugHint=new f("debug-hint",{fontCharacter:"\\ea71"}),f.primitiveSquare=new f("primitive-square",{fontCharacter:"\\ea72"}),f.edit=new f("edit",{fontCharacter:"\\ea73"}),f.pencil=new f("pencil",{fontCharacter:"\\ea73"}),f.info=new f("info",{fontCharacter:"\\ea74"}),f.issueOpened=new f("issue-opened",{fontCharacter:"\\ea74"}),f.gistPrivate=new f("gist-private",{fontCharacter:"\\ea75"}),f.gitForkPrivate=new f("git-fork-private",{fontCharacter:"\\ea75"}),f.lock=new f("lock",{fontCharacter:"\\ea75"}),f.mirrorPrivate=new f("mirror-private",{fontCharacter:"\\ea75"}),f.close=new f("close",{fontCharacter:"\\ea76"}),f.removeClose=new f("remove-close",{fontCharacter:"\\ea76"}),f.x=new f("x",{fontCharacter:"\\ea76"}),f.repoSync=new f("repo-sync",{fontCharacter:"\\ea77"}),f.sync=new f("sync",{fontCharacter:"\\ea77"}),f.clone=new f("clone",{fontCharacter:"\\ea78"}),f.desktopDownload=new f("desktop-download",{fontCharacter:"\\ea78"}),f.beaker=new f("beaker",{fontCharacter:"\\ea79"}),f.microscope=new f("microscope",{fontCharacter:"\\ea79"}),f.vm=new f("vm",{fontCharacter:"\\ea7a"}),f.deviceDesktop=new f("device-desktop",{fontCharacter:"\\ea7a"}),f.file=new f("file",{fontCharacter:"\\ea7b"}),f.fileText=new f("file-text",{fontCharacter:"\\ea7b"}),f.more=new f("more",{fontCharacter:"\\ea7c"}),f.ellipsis=new f("ellipsis",{fontCharacter:"\\ea7c"}),f.kebabHorizontal=new f("kebab-horizontal",{fontCharacter:"\\ea7c"}),f.mailReply=new f("mail-reply",{fontCharacter:"\\ea7d"}),f.reply=new f("reply",{fontCharacter:"\\ea7d"}),f.organization=new f("organization",{fontCharacter:"\\ea7e"}),f.organizationFilled=new f("organization-filled",{fontCharacter:"\\ea7e"}),f.organizationOutline=new f("organization-outline",{fontCharacter:"\\ea7e"}),f.newFile=new f("new-file",{fontCharacter:"\\ea7f"}),f.fileAdd=new f("file-add",{fontCharacter:"\\ea7f"}),f.newFolder=new f("new-folder",{fontCharacter:"\\ea80"}),f.fileDirectoryCreate=new f("file-directory-create",{fontCharacter:"\\ea80"}),f.trash=new f("trash",{fontCharacter:"\\ea81"}),f.trashcan=new f("trashcan",{fontCharacter:"\\ea81"}),f.history=new f("history",{fontCharacter:"\\ea82"}),f.clock=new f("clock",{fontCharacter:"\\ea82"}),f.folder=new f("folder",{fontCharacter:"\\ea83"}),f.fileDirectory=new f("file-directory",{fontCharacter:"\\ea83"}),f.symbolFolder=new f("symbol-folder",{fontCharacter:"\\ea83"}),f.logoGithub=new f("logo-github",{fontCharacter:"\\ea84"}),f.markGithub=new f("mark-github",{fontCharacter:"\\ea84"}),f.github=new f("github",{fontCharacter:"\\ea84"}),f.terminal=new f("terminal",{fontCharacter:"\\ea85"}),f.console=new f("console",{fontCharacter:"\\ea85"}),f.repl=new f("repl",{fontCharacter:"\\ea85"}),f.zap=new f("zap",{fontCharacter:"\\ea86"}),f.symbolEvent=new f("symbol-event",{fontCharacter:"\\ea86"}),f.error=new f("error",{fontCharacter:"\\ea87"}),f.stop=new f("stop",{fontCharacter:"\\ea87"}),f.variable=new f("variable",{fontCharacter:"\\ea88"}),f.symbolVariable=new f("symbol-variable",{fontCharacter:"\\ea88"}),f.array=new f("array",{fontCharacter:"\\ea8a"}),f.symbolArray=new f("symbol-array",{fontCharacter:"\\ea8a"}),f.symbolModule=new f("symbol-module",{fontCharacter:"\\ea8b"}),f.symbolPackage=new f("symbol-package",{fontCharacter:"\\ea8b"}),f.symbolNamespace=new f("symbol-namespace",{fontCharacter:"\\ea8b"}),f.symbolObject=new f("symbol-object",{fontCharacter:"\\ea8b"}),f.symbolMethod=new f("symbol-method",{fontCharacter:"\\ea8c"}),f.symbolFunction=new f("symbol-function",{fontCharacter:"\\ea8c"}),f.symbolConstructor=new f("symbol-constructor",{fontCharacter:"\\ea8c"}),f.symbolBoolean=new f("symbol-boolean",{fontCharacter:"\\ea8f"}),f.symbolNull=new f("symbol-null",{fontCharacter:"\\ea8f"}),f.symbolNumeric=new f("symbol-numeric",{fontCharacter:"\\ea90"}),f.symbolNumber=new f("symbol-number",{fontCharacter:"\\ea90"}),f.symbolStructure=new f("symbol-structure",{fontCharacter:"\\ea91"}),f.symbolStruct=new f("symbol-struct",{fontCharacter:"\\ea91"}),f.symbolParameter=new f("symbol-parameter",{fontCharacter:"\\ea92"}),f.symbolTypeParameter=new f("symbol-type-parameter",{fontCharacter:"\\ea92"}),f.symbolKey=new f("symbol-key",{fontCharacter:"\\ea93"}),f.symbolText=new f("symbol-text",{fontCharacter:"\\ea93"}),f.symbolReference=new f("symbol-reference",{fontCharacter:"\\ea94"}),f.goToFile=new f("go-to-file",{fontCharacter:"\\ea94"}),f.symbolEnum=new f("symbol-enum",{fontCharacter:"\\ea95"}),f.symbolValue=new f("symbol-value",{fontCharacter:"\\ea95"}),f.symbolRuler=new f("symbol-ruler",{fontCharacter:"\\ea96"}),f.symbolUnit=new f("symbol-unit",{fontCharacter:"\\ea96"}),f.activateBreakpoints=new f("activate-breakpoints",{fontCharacter:"\\ea97"}),f.archive=new f("archive",{fontCharacter:"\\ea98"}),f.arrowBoth=new f("arrow-both",{fontCharacter:"\\ea99"}),f.arrowDown=new f("arrow-down",{fontCharacter:"\\ea9a"}),f.arrowLeft=new f("arrow-left",{fontCharacter:"\\ea9b"}),f.arrowRight=new f("arrow-right",{fontCharacter:"\\ea9c"}),f.arrowSmallDown=new f("arrow-small-down",{fontCharacter:"\\ea9d"}),f.arrowSmallLeft=new f("arrow-small-left",{fontCharacter:"\\ea9e"}),f.arrowSmallRight=new f("arrow-small-right",{fontCharacter:"\\ea9f"}),f.arrowSmallUp=new f("arrow-small-up",{fontCharacter:"\\eaa0"}),f.arrowUp=new f("arrow-up",{fontCharacter:"\\eaa1"}),f.bell=new f("bell",{fontCharacter:"\\eaa2"}),f.bold=new f("bold",{fontCharacter:"\\eaa3"}),f.book=new f("book",{fontCharacter:"\\eaa4"}),f.bookmark=new f("bookmark",{fontCharacter:"\\eaa5"}),f.debugBreakpointConditionalUnverified=new f("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),f.debugBreakpointConditional=new f("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),f.debugBreakpointConditionalDisabled=new f("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),f.debugBreakpointDataUnverified=new f("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),f.debugBreakpointData=new f("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),f.debugBreakpointDataDisabled=new f("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),f.debugBreakpointLogUnverified=new f("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),f.debugBreakpointLog=new f("debug-breakpoint-log",{fontCharacter:"\\eaab"}),f.debugBreakpointLogDisabled=new f("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),f.briefcase=new f("briefcase",{fontCharacter:"\\eaac"}),f.broadcast=new f("broadcast",{fontCharacter:"\\eaad"}),f.browser=new f("browser",{fontCharacter:"\\eaae"}),f.bug=new f("bug",{fontCharacter:"\\eaaf"}),f.calendar=new f("calendar",{fontCharacter:"\\eab0"}),f.caseSensitive=new f("case-sensitive",{fontCharacter:"\\eab1"}),f.check=new f("check",{fontCharacter:"\\eab2"}),f.checklist=new f("checklist",{fontCharacter:"\\eab3"}),f.chevronDown=new f("chevron-down",{fontCharacter:"\\eab4"}),f.dropDownButton=new f("drop-down-button",f.chevronDown.definition),f.chevronLeft=new f("chevron-left",{fontCharacter:"\\eab5"}),f.chevronRight=new f("chevron-right",{fontCharacter:"\\eab6"}),f.chevronUp=new f("chevron-up",{fontCharacter:"\\eab7"}),f.chromeClose=new f("chrome-close",{fontCharacter:"\\eab8"}),f.chromeMaximize=new f("chrome-maximize",{fontCharacter:"\\eab9"}),f.chromeMinimize=new f("chrome-minimize",{fontCharacter:"\\eaba"}),f.chromeRestore=new f("chrome-restore",{fontCharacter:"\\eabb"}),f.circleOutline=new f("circle-outline",{fontCharacter:"\\eabc"}),f.debugBreakpointUnverified=new f("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),f.circleSlash=new f("circle-slash",{fontCharacter:"\\eabd"}),f.circuitBoard=new f("circuit-board",{fontCharacter:"\\eabe"}),f.clearAll=new f("clear-all",{fontCharacter:"\\eabf"}),f.clippy=new f("clippy",{fontCharacter:"\\eac0"}),f.closeAll=new f("close-all",{fontCharacter:"\\eac1"}),f.cloudDownload=new f("cloud-download",{fontCharacter:"\\eac2"}),f.cloudUpload=new f("cloud-upload",{fontCharacter:"\\eac3"}),f.code=new f("code",{fontCharacter:"\\eac4"}),f.collapseAll=new f("collapse-all",{fontCharacter:"\\eac5"}),f.colorMode=new f("color-mode",{fontCharacter:"\\eac6"}),f.commentDiscussion=new f("comment-discussion",{fontCharacter:"\\eac7"}),f.compareChanges=new f("compare-changes",{fontCharacter:"\\eafd"}),f.creditCard=new f("credit-card",{fontCharacter:"\\eac9"}),f.dash=new f("dash",{fontCharacter:"\\eacc"}),f.dashboard=new f("dashboard",{fontCharacter:"\\eacd"}),f.database=new f("database",{fontCharacter:"\\eace"}),f.debugContinue=new f("debug-continue",{fontCharacter:"\\eacf"}),f.debugDisconnect=new f("debug-disconnect",{fontCharacter:"\\ead0"}),f.debugPause=new f("debug-pause",{fontCharacter:"\\ead1"}),f.debugRestart=new f("debug-restart",{fontCharacter:"\\ead2"}),f.debugStart=new f("debug-start",{fontCharacter:"\\ead3"}),f.debugStepInto=new f("debug-step-into",{fontCharacter:"\\ead4"}),f.debugStepOut=new f("debug-step-out",{fontCharacter:"\\ead5"}),f.debugStepOver=new f("debug-step-over",{fontCharacter:"\\ead6"}),f.debugStop=new f("debug-stop",{fontCharacter:"\\ead7"}),f.debug=new f("debug",{fontCharacter:"\\ead8"}),f.deviceCameraVideo=new f("device-camera-video",{fontCharacter:"\\ead9"}),f.deviceCamera=new f("device-camera",{fontCharacter:"\\eada"}),f.deviceMobile=new f("device-mobile",{fontCharacter:"\\eadb"}),f.diffAdded=new f("diff-added",{fontCharacter:"\\eadc"}),f.diffIgnored=new f("diff-ignored",{fontCharacter:"\\eadd"}),f.diffModified=new f("diff-modified",{fontCharacter:"\\eade"}),f.diffRemoved=new f("diff-removed",{fontCharacter:"\\eadf"}),f.diffRenamed=new f("diff-renamed",{fontCharacter:"\\eae0"}),f.diff=new f("diff",{fontCharacter:"\\eae1"}),f.discard=new f("discard",{fontCharacter:"\\eae2"}),f.editorLayout=new f("editor-layout",{fontCharacter:"\\eae3"}),f.emptyWindow=new f("empty-window",{fontCharacter:"\\eae4"}),f.exclude=new f("exclude",{fontCharacter:"\\eae5"}),f.extensions=new f("extensions",{fontCharacter:"\\eae6"}),f.eyeClosed=new f("eye-closed",{fontCharacter:"\\eae7"}),f.fileBinary=new f("file-binary",{fontCharacter:"\\eae8"}),f.fileCode=new f("file-code",{fontCharacter:"\\eae9"}),f.fileMedia=new f("file-media",{fontCharacter:"\\eaea"}),f.filePdf=new f("file-pdf",{fontCharacter:"\\eaeb"}),f.fileSubmodule=new f("file-submodule",{fontCharacter:"\\eaec"}),f.fileSymlinkDirectory=new f("file-symlink-directory",{fontCharacter:"\\eaed"}),f.fileSymlinkFile=new f("file-symlink-file",{fontCharacter:"\\eaee"}),f.fileZip=new f("file-zip",{fontCharacter:"\\eaef"}),f.files=new f("files",{fontCharacter:"\\eaf0"}),f.filter=new f("filter",{fontCharacter:"\\eaf1"}),f.flame=new f("flame",{fontCharacter:"\\eaf2"}),f.foldDown=new f("fold-down",{fontCharacter:"\\eaf3"}),f.foldUp=new f("fold-up",{fontCharacter:"\\eaf4"}),f.fold=new f("fold",{fontCharacter:"\\eaf5"}),f.folderActive=new f("folder-active",{fontCharacter:"\\eaf6"}),f.folderOpened=new f("folder-opened",{fontCharacter:"\\eaf7"}),f.gear=new f("gear",{fontCharacter:"\\eaf8"}),f.gift=new f("gift",{fontCharacter:"\\eaf9"}),f.gistSecret=new f("gist-secret",{fontCharacter:"\\eafa"}),f.gist=new f("gist",{fontCharacter:"\\eafb"}),f.gitCommit=new f("git-commit",{fontCharacter:"\\eafc"}),f.gitCompare=new f("git-compare",{fontCharacter:"\\eafd"}),f.gitMerge=new f("git-merge",{fontCharacter:"\\eafe"}),f.githubAction=new f("github-action",{fontCharacter:"\\eaff"}),f.githubAlt=new f("github-alt",{fontCharacter:"\\eb00"}),f.globe=new f("globe",{fontCharacter:"\\eb01"}),f.grabber=new f("grabber",{fontCharacter:"\\eb02"}),f.graph=new f("graph",{fontCharacter:"\\eb03"}),f.gripper=new f("gripper",{fontCharacter:"\\eb04"}),f.heart=new f("heart",{fontCharacter:"\\eb05"}),f.home=new f("home",{fontCharacter:"\\eb06"}),f.horizontalRule=new f("horizontal-rule",{fontCharacter:"\\eb07"}),f.hubot=new f("hubot",{fontCharacter:"\\eb08"}),f.inbox=new f("inbox",{fontCharacter:"\\eb09"}),f.issueClosed=new f("issue-closed",{fontCharacter:"\\eba4"}),f.issueReopened=new f("issue-reopened",{fontCharacter:"\\eb0b"}),f.issues=new f("issues",{fontCharacter:"\\eb0c"}),f.italic=new f("italic",{fontCharacter:"\\eb0d"}),f.jersey=new f("jersey",{fontCharacter:"\\eb0e"}),f.json=new f("json",{fontCharacter:"\\eb0f"}),f.kebabVertical=new f("kebab-vertical",{fontCharacter:"\\eb10"}),f.key=new f("key",{fontCharacter:"\\eb11"}),f.law=new f("law",{fontCharacter:"\\eb12"}),f.lightbulbAutofix=new f("lightbulb-autofix",{fontCharacter:"\\eb13"}),f.linkExternal=new f("link-external",{fontCharacter:"\\eb14"}),f.link=new f("link",{fontCharacter:"\\eb15"}),f.listOrdered=new f("list-ordered",{fontCharacter:"\\eb16"}),f.listUnordered=new f("list-unordered",{fontCharacter:"\\eb17"}),f.liveShare=new f("live-share",{fontCharacter:"\\eb18"}),f.loading=new f("loading",{fontCharacter:"\\eb19"}),f.location=new f("location",{fontCharacter:"\\eb1a"}),f.mailRead=new f("mail-read",{fontCharacter:"\\eb1b"}),f.mail=new f("mail",{fontCharacter:"\\eb1c"}),f.markdown=new f("markdown",{fontCharacter:"\\eb1d"}),f.megaphone=new f("megaphone",{fontCharacter:"\\eb1e"}),f.mention=new f("mention",{fontCharacter:"\\eb1f"}),f.milestone=new f("milestone",{fontCharacter:"\\eb20"}),f.mortarBoard=new f("mortar-board",{fontCharacter:"\\eb21"}),f.move=new f("move",{fontCharacter:"\\eb22"}),f.multipleWindows=new f("multiple-windows",{fontCharacter:"\\eb23"}),f.mute=new f("mute",{fontCharacter:"\\eb24"}),f.noNewline=new f("no-newline",{fontCharacter:"\\eb25"}),f.note=new f("note",{fontCharacter:"\\eb26"}),f.octoface=new f("octoface",{fontCharacter:"\\eb27"}),f.openPreview=new f("open-preview",{fontCharacter:"\\eb28"}),f.package_=new f("package",{fontCharacter:"\\eb29"}),f.paintcan=new f("paintcan",{fontCharacter:"\\eb2a"}),f.pin=new f("pin",{fontCharacter:"\\eb2b"}),f.play=new f("play",{fontCharacter:"\\eb2c"}),f.run=new f("run",{fontCharacter:"\\eb2c"}),f.plug=new f("plug",{fontCharacter:"\\eb2d"}),f.preserveCase=new f("preserve-case",{fontCharacter:"\\eb2e"}),f.preview=new f("preview",{fontCharacter:"\\eb2f"}),f.project=new f("project",{fontCharacter:"\\eb30"}),f.pulse=new f("pulse",{fontCharacter:"\\eb31"}),f.question=new f("question",{fontCharacter:"\\eb32"}),f.quote=new f("quote",{fontCharacter:"\\eb33"}),f.radioTower=new f("radio-tower",{fontCharacter:"\\eb34"}),f.reactions=new f("reactions",{fontCharacter:"\\eb35"}),f.references=new f("references",{fontCharacter:"\\eb36"}),f.refresh=new f("refresh",{fontCharacter:"\\eb37"}),f.regex=new f("regex",{fontCharacter:"\\eb38"}),f.remoteExplorer=new f("remote-explorer",{fontCharacter:"\\eb39"}),f.remote=new f("remote",{fontCharacter:"\\eb3a"}),f.remove=new f("remove",{fontCharacter:"\\eb3b"}),f.replaceAll=new f("replace-all",{fontCharacter:"\\eb3c"}),f.replace=new f("replace",{fontCharacter:"\\eb3d"}),f.repoClone=new f("repo-clone",{fontCharacter:"\\eb3e"}),f.repoForcePush=new f("repo-force-push",{fontCharacter:"\\eb3f"}),f.repoPull=new f("repo-pull",{fontCharacter:"\\eb40"}),f.repoPush=new f("repo-push",{fontCharacter:"\\eb41"}),f.report=new f("report",{fontCharacter:"\\eb42"}),f.requestChanges=new f("request-changes",{fontCharacter:"\\eb43"}),f.rocket=new f("rocket",{fontCharacter:"\\eb44"}),f.rootFolderOpened=new f("root-folder-opened",{fontCharacter:"\\eb45"}),f.rootFolder=new f("root-folder",{fontCharacter:"\\eb46"}),f.rss=new f("rss",{fontCharacter:"\\eb47"}),f.ruby=new f("ruby",{fontCharacter:"\\eb48"}),f.saveAll=new f("save-all",{fontCharacter:"\\eb49"}),f.saveAs=new f("save-as",{fontCharacter:"\\eb4a"}),f.save=new f("save",{fontCharacter:"\\eb4b"}),f.screenFull=new f("screen-full",{fontCharacter:"\\eb4c"}),f.screenNormal=new f("screen-normal",{fontCharacter:"\\eb4d"}),f.searchStop=new f("search-stop",{fontCharacter:"\\eb4e"}),f.server=new f("server",{fontCharacter:"\\eb50"}),f.settingsGear=new f("settings-gear",{fontCharacter:"\\eb51"}),f.settings=new f("settings",{fontCharacter:"\\eb52"}),f.shield=new f("shield",{fontCharacter:"\\eb53"}),f.smiley=new f("smiley",{fontCharacter:"\\eb54"}),f.sortPrecedence=new f("sort-precedence",{fontCharacter:"\\eb55"}),f.splitHorizontal=new f("split-horizontal",{fontCharacter:"\\eb56"}),f.splitVertical=new f("split-vertical",{fontCharacter:"\\eb57"}),f.squirrel=new f("squirrel",{fontCharacter:"\\eb58"}),f.starFull=new f("star-full",{fontCharacter:"\\eb59"}),f.starHalf=new f("star-half",{fontCharacter:"\\eb5a"}),f.symbolClass=new f("symbol-class",{fontCharacter:"\\eb5b"}),f.symbolColor=new f("symbol-color",{fontCharacter:"\\eb5c"}),f.symbolConstant=new f("symbol-constant",{fontCharacter:"\\eb5d"}),f.symbolEnumMember=new f("symbol-enum-member",{fontCharacter:"\\eb5e"}),f.symbolField=new f("symbol-field",{fontCharacter:"\\eb5f"}),f.symbolFile=new f("symbol-file",{fontCharacter:"\\eb60"}),f.symbolInterface=new f("symbol-interface",{fontCharacter:"\\eb61"}),f.symbolKeyword=new f("symbol-keyword",{fontCharacter:"\\eb62"}),f.symbolMisc=new f("symbol-misc",{fontCharacter:"\\eb63"}),f.symbolOperator=new f("symbol-operator",{fontCharacter:"\\eb64"}),f.symbolProperty=new f("symbol-property",{fontCharacter:"\\eb65"}),f.wrench=new f("wrench",{fontCharacter:"\\eb65"}),f.wrenchSubaction=new f("wrench-subaction",{fontCharacter:"\\eb65"}),f.symbolSnippet=new f("symbol-snippet",{fontCharacter:"\\eb66"}),f.tasklist=new f("tasklist",{fontCharacter:"\\eb67"}),f.telescope=new f("telescope",{fontCharacter:"\\eb68"}),f.textSize=new f("text-size",{fontCharacter:"\\eb69"}),f.threeBars=new f("three-bars",{fontCharacter:"\\eb6a"}),f.thumbsdown=new f("thumbsdown",{fontCharacter:"\\eb6b"}),f.thumbsup=new f("thumbsup",{fontCharacter:"\\eb6c"}),f.tools=new f("tools",{fontCharacter:"\\eb6d"}),f.triangleDown=new f("triangle-down",{fontCharacter:"\\eb6e"}),f.triangleLeft=new f("triangle-left",{fontCharacter:"\\eb6f"}),f.triangleRight=new f("triangle-right",{fontCharacter:"\\eb70"}),f.triangleUp=new f("triangle-up",{fontCharacter:"\\eb71"}),f.twitter=new f("twitter",{fontCharacter:"\\eb72"}),f.unfold=new f("unfold",{fontCharacter:"\\eb73"}),f.unlock=new f("unlock",{fontCharacter:"\\eb74"}),f.unmute=new f("unmute",{fontCharacter:"\\eb75"}),f.unverified=new f("unverified",{fontCharacter:"\\eb76"}),f.verified=new f("verified",{fontCharacter:"\\eb77"}),f.versions=new f("versions",{fontCharacter:"\\eb78"}),f.vmActive=new f("vm-active",{fontCharacter:"\\eb79"}),f.vmOutline=new f("vm-outline",{fontCharacter:"\\eb7a"}),f.vmRunning=new f("vm-running",{fontCharacter:"\\eb7b"}),f.watch=new f("watch",{fontCharacter:"\\eb7c"}),f.whitespace=new f("whitespace",{fontCharacter:"\\eb7d"}),f.wholeWord=new f("whole-word",{fontCharacter:"\\eb7e"}),f.window=new f("window",{fontCharacter:"\\eb7f"}),f.wordWrap=new f("word-wrap",{fontCharacter:"\\eb80"}),f.zoomIn=new f("zoom-in",{fontCharacter:"\\eb81"}),f.zoomOut=new f("zoom-out",{fontCharacter:"\\eb82"}),f.listFilter=new f("list-filter",{fontCharacter:"\\eb83"}),f.listFlat=new f("list-flat",{fontCharacter:"\\eb84"}),f.listSelection=new f("list-selection",{fontCharacter:"\\eb85"}),f.selection=new f("selection",{fontCharacter:"\\eb85"}),f.listTree=new f("list-tree",{fontCharacter:"\\eb86"}),f.debugBreakpointFunctionUnverified=new f("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),f.debugBreakpointFunction=new f("debug-breakpoint-function",{fontCharacter:"\\eb88"}),f.debugBreakpointFunctionDisabled=new f("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),f.debugStackframeActive=new f("debug-stackframe-active",{fontCharacter:"\\eb89"}),f.debugStackframeDot=new f("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),f.debugStackframe=new f("debug-stackframe",{fontCharacter:"\\eb8b"}),f.debugStackframeFocused=new f("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),f.debugBreakpointUnsupported=new f("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),f.symbolString=new f("symbol-string",{fontCharacter:"\\eb8d"}),f.debugReverseContinue=new f("debug-reverse-continue",{fontCharacter:"\\eb8e"}),f.debugStepBack=new f("debug-step-back",{fontCharacter:"\\eb8f"}),f.debugRestartFrame=new f("debug-restart-frame",{fontCharacter:"\\eb90"}),f.callIncoming=new f("call-incoming",{fontCharacter:"\\eb92"}),f.callOutgoing=new f("call-outgoing",{fontCharacter:"\\eb93"}),f.menu=new f("menu",{fontCharacter:"\\eb94"}),f.expandAll=new f("expand-all",{fontCharacter:"\\eb95"}),f.feedback=new f("feedback",{fontCharacter:"\\eb96"}),f.groupByRefType=new f("group-by-ref-type",{fontCharacter:"\\eb97"}),f.ungroupByRefType=new f("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),f.account=new f("account",{fontCharacter:"\\eb99"}),f.bellDot=new f("bell-dot",{fontCharacter:"\\eb9a"}),f.debugConsole=new f("debug-console",{fontCharacter:"\\eb9b"}),f.library=new f("library",{fontCharacter:"\\eb9c"}),f.output=new f("output",{fontCharacter:"\\eb9d"}),f.runAll=new f("run-all",{fontCharacter:"\\eb9e"}),f.syncIgnored=new f("sync-ignored",{fontCharacter:"\\eb9f"}),f.pinned=new f("pinned",{fontCharacter:"\\eba0"}),f.githubInverted=new f("github-inverted",{fontCharacter:"\\eba1"}),f.debugAlt=new f("debug-alt",{fontCharacter:"\\eb91"}),f.serverProcess=new f("server-process",{fontCharacter:"\\eba2"}),f.serverEnvironment=new f("server-environment",{fontCharacter:"\\eba3"}),f.pass=new f("pass",{fontCharacter:"\\eba4"}),f.stopCircle=new f("stop-circle",{fontCharacter:"\\eba5"}),f.playCircle=new f("play-circle",{fontCharacter:"\\eba6"}),f.record=new f("record",{fontCharacter:"\\eba7"}),f.debugAltSmall=new f("debug-alt-small",{fontCharacter:"\\eba8"}),f.vmConnect=new f("vm-connect",{fontCharacter:"\\eba9"}),f.cloud=new f("cloud",{fontCharacter:"\\ebaa"}),f.merge=new f("merge",{fontCharacter:"\\ebab"}),f.exportIcon=new f("export",{fontCharacter:"\\ebac"}),f.graphLeft=new f("graph-left",{fontCharacter:"\\ebad"}),f.magnet=new f("magnet",{fontCharacter:"\\ebae"}),f.notebook=new f("notebook",{fontCharacter:"\\ebaf"}),f.redo=new f("redo",{fontCharacter:"\\ebb0"}),f.checkAll=new f("check-all",{fontCharacter:"\\ebb1"}),f.pinnedDirty=new f("pinned-dirty",{fontCharacter:"\\ebb2"}),f.passFilled=new f("pass-filled",{fontCharacter:"\\ebb3"}),f.circleLargeFilled=new f("circle-large-filled",{fontCharacter:"\\ebb4"}),f.circleLargeOutline=new f("circle-large-outline",{fontCharacter:"\\ebb5"}),f.combine=new f("combine",{fontCharacter:"\\ebb6"}),f.gather=new f("gather",{fontCharacter:"\\ebb6"}),f.table=new f("table",{fontCharacter:"\\ebb7"}),f.variableGroup=new f("variable-group",{fontCharacter:"\\ebb8"}),f.typeHierarchy=new f("type-hierarchy",{fontCharacter:"\\ebb9"}),f.typeHierarchySub=new f("type-hierarchy-sub",{fontCharacter:"\\ebba"}),f.typeHierarchySuper=new f("type-hierarchy-super",{fontCharacter:"\\ebbb"}),f.gitPullRequestCreate=new f("git-pull-request-create",{fontCharacter:"\\ebbc"}),f.runAbove=new f("run-above",{fontCharacter:"\\ebbd"}),f.runBelow=new f("run-below",{fontCharacter:"\\ebbe"}),f.notebookTemplate=new f("notebook-template",{fontCharacter:"\\ebbf"}),f.debugRerun=new f("debug-rerun",{fontCharacter:"\\ebc0"}),f.workspaceTrusted=new f("workspace-trusted",{fontCharacter:"\\ebc1"}),f.workspaceUntrusted=new f("workspace-untrusted",{fontCharacter:"\\ebc2"}),f.workspaceUnspecified=new f("workspace-unspecified",{fontCharacter:"\\ebc3"}),f.terminalCmd=new f("terminal-cmd",{fontCharacter:"\\ebc4"}),f.terminalDebian=new f("terminal-debian",{fontCharacter:"\\ebc5"}),f.terminalLinux=new f("terminal-linux",{fontCharacter:"\\ebc6"}),f.terminalPowershell=new f("terminal-powershell",{fontCharacter:"\\ebc7"}),f.terminalTmux=new f("terminal-tmux",{fontCharacter:"\\ebc8"}),f.terminalUbuntu=new f("terminal-ubuntu",{fontCharacter:"\\ebc9"}),f.terminalBash=new f("terminal-bash",{fontCharacter:"\\ebca"}),f.arrowSwap=new f("arrow-swap",{fontCharacter:"\\ebcb"}),f.copy=new f("copy",{fontCharacter:"\\ebcc"}),f.personAdd=new f("person-add",{fontCharacter:"\\ebcd"}),f.filterFilled=new f("filter-filled",{fontCharacter:"\\ebce"}),f.wand=new f("wand",{fontCharacter:"\\ebcf"}),f.debugLineByLine=new f("debug-line-by-line",{fontCharacter:"\\ebd0"}),f.inspect=new f("inspect",{fontCharacter:"\\ebd1"}),f.layers=new f("layers",{fontCharacter:"\\ebd2"}),f.layersDot=new f("layers-dot",{fontCharacter:"\\ebd3"}),f.layersActive=new f("layers-active",{fontCharacter:"\\ebd4"}),f.compass=new f("compass",{fontCharacter:"\\ebd5"}),f.compassDot=new f("compass-dot",{fontCharacter:"\\ebd6"}),f.compassActive=new f("compass-active",{fontCharacter:"\\ebd7"}),f.azure=new f("azure",{fontCharacter:"\\ebd8"}),f.issueDraft=new f("issue-draft",{fontCharacter:"\\ebd9"}),f.gitPullRequestClosed=new f("git-pull-request-closed",{fontCharacter:"\\ebda"}),f.gitPullRequestDraft=new f("git-pull-request-draft",{fontCharacter:"\\ebdb"}),f.debugAll=new f("debug-all",{fontCharacter:"\\ebdc"}),f.debugCoverage=new f("debug-coverage",{fontCharacter:"\\ebdd"}),f.runErrors=new f("run-errors",{fontCharacter:"\\ebde"}),f.folderLibrary=new f("folder-library",{fontCharacter:"\\ebdf"}),f.debugContinueSmall=new f("debug-continue-small",{fontCharacter:"\\ebe0"}),f.beakerStop=new f("beaker-stop",{fontCharacter:"\\ebe1"}),f.graphLine=new f("graph-line",{fontCharacter:"\\ebe2"}),f.graphScatter=new f("graph-scatter",{fontCharacter:"\\ebe3"}),f.pieChart=new f("pie-chart",{fontCharacter:"\\ebe4"}),f.bracket=new f("bracket",f.json.definition),f.bracketDot=new f("bracket-dot",{fontCharacter:"\\ebe5"}),f.bracketError=new f("bracket-error",{fontCharacter:"\\ebe6"}),f.lockSmall=new f("lock-small",{fontCharacter:"\\ebe7"}),f.azureDevops=new f("azure-devops",{fontCharacter:"\\ebe8"}),f.verifiedFilled=new f("verified-filled",{fontCharacter:"\\ebe9"})}(we||(we={}))},XhM9:function(ut,ne){ut.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAAzZJREFUaEPt2W1IE3EcB/Dv3dzUPTTbfFi5RuiCkjJ6AEt8oLRAKQl9EfSiICL0RS+KXkT4IoogEExMcBQRvYogyZKIwDcmlPUiZxYI2YO4czG3qTn35G4XNyhEc9vd5u5mt3dj/7v7f37f3/9ud0cwDCPDOvoQEkjkaUoJiTwg/H8J5Vu+XqHBXAID3Rqk45IR5L2HtUXX6swIJWP/MRPSW8Z9YCBPxsFW28fVgwWOyQBZ2lGmciZ6nNig7vGkVC7aRO/XmTDlCXnHZoPlnRU5nxJBiQbEItx+OjTsCDXdqdK84IsSFYhF+GkmPGRbuNxRrevkgxIdiEXQDMEMUR5LW8XGC1xRogSxCIIgmPd2b//NA9o6LijRgv4gRp2BMbVBs/eiEcF4YKIHsYjx2eA0RZO7b+9TOmKh0gLEIuwLtPezO1jZVakdiYYSBShW1Zf8bnW1mPevJxBcLeYMCbS0AvoU/PXh0HJSQiuKJSX0j/7RZ5Fw+cNcOmvVsYKdFAxKGa6X56LGpEROpgzzwTAGKS9a3zgx8Yv/HYkgoGKtHP1NRmzIXPnIzxcK43gvheHpAK/EBAGxmD35WXD6aNx454LV4ccOnQKtZXoYNXJ8n1tE2aMJ0Ax3U8pBm1UZGD29NTLTxj4KAzbf31mX6BQYPGmKfK95Mgkrj5RSDtqVq4ClxoD5II36XgrhZSlMnCuCWk7ifP9P9HzxcI4o5aBoM6wqzMbThsLIkCM9k/jg4L6ORAHarlOg0axGc2kOVHISww4/antsnNNhNxAcdGiLEo/rN0FGEhEA5QnhxHMK3+YW0xPUVpmHszu1CNIMuj/Ooss6A3cCF1nBE2qvzsOZEi1e/VjAqZd2Xqks3UhwkFGdAXYNsS3Gt81EBVKQQEWhEkN2H7whHlfSZZkKntDd2gI0bdNgwOZFY99U+rfcg6MGNBSr8XbKh2PPqPQHaeQEDptUeG3zYiaQ+C2E4C2XcCRiW0MSKEYFpJZbXiDpIUmyF03STwopeGkcdw0ILLqazdnRxsd8WL/Gr/XjtoCAWwai3dFcfCshUPxHFMfImAmJY5rxz0ICxV8rYUZKCQlT9/iP+htQKA9TYDw82QAAAABJRU5ErkJggg=="},Y1PL:function(ut,ne,O){"use strict";O.r(ne),O.d(ne,"ResizableTextArea",function(){return ue});var Oe=O("wx14"),_e=O("1OyB"),Ve=O("vuIU"),Be=O("Ji7U"),H=O("LK+K"),ce=O("q1tI"),we=O("VTBJ"),F=O("rePB"),f=O("Zm9Q"),G=O("Kwbf"),Y=O("c+Xe"),j=O("m+aA"),A=O("bdgK"),w=new Map;function T(me){me.forEach(function(je){var Ke,qe=je.target;(Ke=w.get(qe))===null||Ke===void 0||Ke.forEach(function(Pe){return Pe(qe)})})}var L=new A.default(T),W=null,ee=null;function P(me,je){w.has(me)||(w.set(me,new Set),L.observe(me)),w.get(me).add(je)}function I(me,je){w.has(me)&&(w.get(me).delete(je),w.get(me).size||(L.unobserve(me),w.delete(me)))}var se=function(me){Object(Be.a)(Ke,me);var je=Object(H.a)(Ke);function Ke(){return Object(_e.a)(this,Ke),je.apply(this,arguments)}return Object(Ve.a)(Ke,[{key:"render",value:function(){return this.props.children}}]),Ke}(ce.Component),fe=ce.createContext(null);function Ce(me){var je=me.children,Ke=me.onBatchResize,qe=ce.useRef(0),Pe=ce.useRef([]),ht=ce.useContext(fe),V=ce.useCallback(function(ie,Z,Le){qe.current+=1;var $e=qe.current;Pe.current.push({size:ie,element:Z,data:Le}),Promise.resolve().then(function(){$e===qe.current&&(Ke==null||Ke(Pe.current),Pe.current=[])}),ht==null||ht(ie,Z,Le)},[Ke,ht]);return ce.createElement(fe.Provider,{value:V},je)}function $(me){var je=me.children,Ke=me.disabled,qe=ce.useRef(null),Pe=ce.useRef(null),ht=ce.useContext(fe),V=ce.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ie=ce.isValidElement(je)&&Object(Y.c)(je),Z=ie?je.ref:null,Le=ce.useMemo(function(){return Object(Y.a)(Z,qe)},[Z,qe]),$e=ce.useRef(me);$e.current=me;var rt=ce.useCallback(function(Et){var Ct=$e.current,q=Ct.onResize,oe=Ct.data,ke=Et.getBoundingClientRect(),We=ke.width,bt=ke.height,Jt=Et.offsetWidth,sn=Et.offsetHeight,Ut=Math.floor(We),jt=Math.floor(bt);if(V.current.width!==Ut||V.current.height!==jt||V.current.offsetWidth!==Jt||V.current.offsetHeight!==sn){var lr={width:Ut,height:jt,offsetWidth:Jt,offsetHeight:sn};V.current=lr;var Dn=Jt===Math.round(We)?We:Jt,fo=sn===Math.round(bt)?bt:sn,wr=Object(we.a)(Object(we.a)({},lr),{},{offsetWidth:Dn,offsetHeight:fo});ht==null||ht(wr,Et,oe),q&&Promise.resolve().then(function(){q(wr,Et)})}},[]);return ce.useEffect(function(){var Et=Object(j.a)(qe.current)||Object(j.a)(Pe.current);return Et&&!Ke&&P(Et,rt),function(){return I(Et,rt)}},[qe.current,Ke]),ce.createElement(se,{ref:Pe},ie?ce.cloneElement(je,{ref:Le}):je)}var Re="rc-observer-key";function Fe(me){var je=me.children,Ke=Object(f.a)(je);return Ke.map(function(qe,Pe){var ht=(qe==null?void 0:qe.key)||"".concat(Re,"-").concat(Pe);return ce.createElement($,Object(Oe.a)({},me,{key:ht}),qe)})}Fe.Collection=Ce;var Te=Fe,be=O("bT9E"),de=O("TSYQ"),J=O.n(de),k=`
|
|
|
min-height:0 !important;
|
|
|
max-height:none !important;
|
|
|
height:0 !important;
|
|
|
visibility:hidden !important;
|
|
|
overflow:hidden !important;
|
|
|
position:absolute !important;
|
|
|
z-index:-1000 !important;
|
|
|
top:0 !important;
|
|
|
right:0 !important
|
|
|
`,K=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],pe={},M;function E(me){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ke=me.getAttribute("id")||me.getAttribute("data-reactid")||me.getAttribute("name");if(je&&pe[Ke])return pe[Ke];var qe=window.getComputedStyle(me),Pe=qe.getPropertyValue("box-sizing")||qe.getPropertyValue("-moz-box-sizing")||qe.getPropertyValue("-webkit-box-sizing"),ht=parseFloat(qe.getPropertyValue("padding-bottom"))+parseFloat(qe.getPropertyValue("padding-top")),V=parseFloat(qe.getPropertyValue("border-bottom-width"))+parseFloat(qe.getPropertyValue("border-top-width")),ie=K.map(function(Le){return"".concat(Le,":").concat(qe.getPropertyValue(Le))}).join(";"),Z={sizingStyle:ie,paddingSize:ht,borderSize:V,boxSizing:Pe};return je&&Ke&&(pe[Ke]=Z),Z}function x(me){var je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,qe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;M||(M=document.createElement("textarea"),M.setAttribute("tab-index","-1"),M.setAttribute("aria-hidden","true"),document.body.appendChild(M)),me.getAttribute("wrap")?M.setAttribute("wrap",me.getAttribute("wrap")):M.removeAttribute("wrap");var Pe=E(me,je),ht=Pe.paddingSize,V=Pe.borderSize,ie=Pe.boxSizing,Z=Pe.sizingStyle;M.setAttribute("style","".concat(Z,";").concat(k)),M.value=me.value||me.placeholder||"";var Le=Number.MIN_SAFE_INTEGER,$e=Number.MAX_SAFE_INTEGER,rt=M.scrollHeight,Et;if(ie==="border-box"?rt+=V:ie==="content-box"&&(rt-=ht),Ke!==null||qe!==null){M.value=" ";var Ct=M.scrollHeight-ht;Ke!==null&&(Le=Ct*Ke,ie==="border-box"&&(Le=Le+ht+V),rt=Math.max(Le,rt)),qe!==null&&($e=Ct*qe,ie==="border-box"&&($e=$e+ht+V),Et=rt>$e?"":"hidden",rt=Math.min($e,rt))}return{height:rt,minHeight:Le,maxHeight:$e,overflowY:Et,resize:"none"}}var D=O("Gytx"),b=O.n(D),N;(function(me){me[me.NONE=0]="NONE",me[me.RESIZING=1]="RESIZING",me[me.RESIZED=2]="RESIZED"})(N||(N={}));var z=function(me){Object(Be.a)(Ke,me);var je=Object(H.a)(Ke);function Ke(qe){var Pe;return Object(_e.a)(this,Ke),Pe=je.call(this,qe),Pe.nextFrameActionId=void 0,Pe.resizeFrameId=void 0,Pe.textArea=void 0,Pe.saveTextArea=function(ht){Pe.textArea=ht},Pe.handleResize=function(ht){var V=Pe.state.resizeStatus,ie=Pe.props,Z=ie.autoSize,Le=ie.onResize;if(V!==N.NONE)return;typeof Le=="function"&&Le(ht),Z&&Pe.resizeOnNextFrame()},Pe.resizeOnNextFrame=function(){cancelAnimationFrame(Pe.nextFrameActionId),Pe.nextFrameActionId=requestAnimationFrame(Pe.resizeTextarea)},Pe.resizeTextarea=function(){var ht=Pe.props.autoSize;if(!ht||!Pe.textArea)return;var V=ht.minRows,ie=ht.maxRows,Z=x(Pe.textArea,!1,V,ie);Pe.setState({textareaStyles:Z,resizeStatus:N.RESIZING},function(){cancelAnimationFrame(Pe.resizeFrameId),Pe.resizeFrameId=requestAnimationFrame(function(){Pe.setState({resizeStatus:N.RESIZED},function(){Pe.resizeFrameId=requestAnimationFrame(function(){Pe.setState({resizeStatus:N.NONE}),Pe.fixFirefoxAutoScroll()})})})})},Pe.renderTextArea=function(){var ht=Pe.props,V=ht.prefixCls,ie=V===void 0?"rc-textarea":V,Z=ht.autoSize,Le=ht.onResize,$e=ht.className,rt=ht.disabled,Et=Pe.state,Ct=Et.textareaStyles,q=Et.resizeStatus,oe=Object(be.a)(Pe.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),ke=J()(ie,$e,Object(F.a)({},"".concat(ie,"-disabled"),rt));"value"in oe&&(oe.value=oe.value||"");var We=Object(we.a)(Object(we.a)(Object(we.a)({},Pe.props.style),Ct),q===N.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return ce.createElement(Te,{onResize:Pe.handleResize,disabled:!(Z||Le)},ce.createElement("textarea",Object(Oe.a)({},oe,{className:ke,style:We,ref:Pe.saveTextArea})))},Pe.state={textareaStyles:{},resizeStatus:N.NONE},Pe}return Object(Ve.a)(Ke,[{key:"componentDidUpdate",value:function(Pe){(Pe.value!==this.props.value||!b()(Pe.autoSize,this.props.autoSize))&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var Pe=this.textArea.selectionStart,ht=this.textArea.selectionEnd;this.textArea.setSelectionRange(Pe,ht)}}catch(V){}}},{key:"render",value:function(){return this.renderTextArea()}}]),Ke}(ce.Component),ue=z,Ee=function(me){Object(Be.a)(Ke,me);var je=Object(H.a)(Ke);function Ke(qe){var Pe;Object(_e.a)(this,Ke),Pe=je.call(this,qe),Pe.resizableTextArea=void 0,Pe.focus=function(){Pe.resizableTextArea.textArea.focus()},Pe.saveTextArea=function(V){Pe.resizableTextArea=V},Pe.handleChange=function(V){var ie=Pe.props.onChange;Pe.setValue(V.target.value,function(){Pe.resizableTextArea.resizeTextarea()}),ie&&ie(V)},Pe.handleKeyDown=function(V){var ie=Pe.props,Z=ie.onPressEnter,Le=ie.onKeyDown;V.keyCode===13&&Z&&Z(V),Le&&Le(V)};var ht=typeof qe.value=="undefined"||qe.value===null?qe.defaultValue:qe.value;return Pe.state={value:ht},Pe}return Object(Ve.a)(Ke,[{key:"setValue",value:function(Pe,ht){"value"in this.props||this.setState({value:Pe},ht)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return ce.createElement(ue,Object(Oe.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(Pe){return"value"in Pe?{value:Pe.value}:null}}]),Ke}(ce.Component),ze=ne.default=Ee},ZJlW:function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___XZ1Hd",flex_space_between:"flex_space_between___2oG4i",flex_box_vertical_center:"flex_box_vertical_center___1UWtb",flex_box_center_end:"flex_box_center_end___1o2xT",flex_box_column:"flex_box_column___SlAE0",list:"list___1HvWe",wrap:"wrap___10sri",lockWrap:"lockWrap___2djiu",li:"li___2W_zn",cover:"cover___2FS3L",img:"img___cyxrw",sign:"sign___1cxDK",name:"name___3tYlu",e:"e___1-orw",unit:"unit___ycOgg",tags:"tags___2FRpJ",tag:"tag___1e0XO"}},ZW9T:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return D});var Oe=O("k1fw"),_e=O("oBTY"),Ve=O("miYZ"),Be=O("tsqr"),H=O("rAM+"),ce=O("tJVT"),we=O("PpiC"),F=O("q1tI"),f=O.n(F),G=O("bdgK"),Y=O("9og8"),j=O("WmNS"),A=O.n(j),w={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},T={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},L={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},W={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
|
`)}]},ee=O("5VLF"),P=O.n(ee),I={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},se=function(N,z){return z.map(function(ue){return{label:ue,kind:N.languages.CompletionItemKind.Keyword,insertText:ue}})},fe=function(N){return Object.keys(I.tables).map(function(z){return{label:z,kind:N.languages.CompletionItemKind.Variable,insertText:z}})},Ce=function(N,z){var ue=I.tables[N];return ue?ue.map(function(Ee){return{label:Ee,kind:z.languages.CompletionItemKind.Field,insertText:Ee}}):[]};function $(b,N,z,ue,Ee){var ze=N.getWordUntilPosition(z),me={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:ze.startColumn,endColumn:ze.endColumn},je=ue.map(function(Ke){return{label:Ke,kind:b.languages.CompletionItemKind.Keyword,insertText:Ke,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:me}});return Ee.map(function(Ke){je.push(Object(Oe.a)(Object(Oe.a)({},Ke),{},{range:me}))}),je}var Re=function(b){I.languages.map(function(Ee){return b.languages.registerDocumentFormattingEditProvider(Ee,{provideDocumentFormattingEdits:function(me,je,Ke){return Object(Y.a)(A.a.mark(function qe(){var Pe;return A.a.wrap(function(V){for(;;)switch(V.prev=V.next){case 0:return Pe=P()(me.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1}),V.abrupt("return",[{range:me.getFullModelRange(),text:Pe}]);case 2:case"end":return V.stop()}},qe)}))()}}),Ee});var N=L.quickKey.map(function(Ee){return{label:Ee.label,kind:b.languages.CompletionItemKind.Method,insertText:Ee.content,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet}}),z=W.quickKey.map(function(Ee){return{label:Ee.label,kind:b.languages.CompletionItemKind.Method,insertText:Ee.content,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet}}),ue=T.quickKey.map(function(Ee){return{label:Ee.label,kind:b.languages.CompletionItemKind.Method,insertText:Ee.content,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet}});b.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(ze,me){var je=ze.getWordUntilPosition(me),Ke={startLineNumber:me.lineNumber,endLineNumber:me.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},qe=ze.getLineContent(me.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[].concat(Object(_e.a)(L.keywords.map(function(Pe){return{label:Pe,kind:b.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}})),Object(_e.a)(L.quickKey.map(function(Pe){return{label:Pe.label,kind:b.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:qe.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}})))}}}),b.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(ze,me){var je=ze.getWordUntilPosition(me),Ke={startLineNumber:me.lineNumber,endLineNumber:me.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn};return{suggestions:Object(_e.a)(w.keywords.map(function(qe){return{label:qe,kind:b.languages.CompletionItemKind.Function,documentation:qe,insertText:qe,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}}))}}}),b.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(ze,me){var je=ze.getWordUntilPosition(me),Ke={startLineNumber:me.lineNumber,endLineNumber:me.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},qe=ze.getLineContent(me.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[].concat(Object(_e.a)(T.keywords.map(function(Pe){return{label:Pe,kind:b.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}})),Object(_e.a)(T.quickKey.map(function(Pe){return{label:Pe.label,kind:b.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:qe.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}})))}}}),b.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(ze,me){var je=ze.getWordUntilPosition(me),Ke={startLineNumber:me.lineNumber,endLineNumber:me.lineNumber,startColumn:je.startColumn,endColumn:je.endColumn},qe=ze.getLineContent(me.lineNumber).substring(je.startColumn-2,je.endColumn);return{suggestions:[].concat(Object(_e.a)(W.keywords.map(function(Pe){return{label:Pe,kind:b.languages.CompletionItemKind.Function,documentation:Pe,insertText:Pe,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}})),Object(_e.a)(W.quickKey.map(function(Pe){return{label:Pe.label,kind:b.languages.CompletionItemKind.Function,documentation:Pe.content,insertText:qe.startsWith("#")?Pe.content.replace(/#/,""):Pe.content,insertTextRules:b.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Ke}})))}}})},Fe="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002",Te=O("fjLI"),be=O("LvDl"),de=O("+ua5");function J(b){return/^\d+$/.test(b)?"".concat(b,"px"):b}function k(){}var K=!1,pe={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python"};function M(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],N=b;if(Array.isArray(b)){for(var z=0;z<b.length;z++){var ue=pe[b[z]];if(ue)return ue}return N[0]}return pe[N]||N}var E=null,x=ne.b=function(b){var N=b.width,z=N===void 0?"100%":N,ue=b.height,Ee=ue===void 0?"100%":ue,ze=b.value,me=b.language,je=me===void 0?"javascript":me,Ke=b.style,qe=Ke===void 0?{}:Ke,Pe=b.options,ht=Pe===void 0?{}:Pe,V=b.overrideServices,ie=V===void 0?{}:V,Z=b.theme,Le=Z===void 0?"vs-dark":Z,$e=b.onEditBlur,rt=b.onSave,Et=b.autoHeight,Ct=Et===void 0?!1:Et,q=b.forbidCopy,oe=q===void 0?!1:q,ke=b.onChange,We=ke===void 0?k:ke,bt=b.editorDidMount,Jt=bt===void 0?k:bt,sn=b.onFocus,Ut=sn===void 0?k:sn,jt=b.filename,lr=jt===void 0?"educoder.txt":jt,Dn=b.errorLine,fo=b.errorContent,wr=fo===void 0?"":fo,$r=Object(we.a)(b,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","filename","errorLine","errorContent"]),pn=Object(F.useRef)(),un=Object(F.useRef)({}),Cn=Object(F.useRef)(),ln=Object(F.useRef)(),gn=Object(F.useRef)(!1),Tr=Object(F.useRef)(),er=Object(F.useState)(!1),Hr=Object(ce.a)(er,2),Ar=Hr[0],Ti=Hr[1];function ga(){var bn;return pn.current&&(bn=new G.default(function(tn){var He=Object(H.a)(tn),Yt;try{for(He.s();!(Yt=He.n()).done;){var Ht=Yt.value;(Ht.target.offsetHeight>0||Ht.target.offsetWidth>0)&&un.current.instance.layout()}}catch(wn){He.e(wn)}finally{He.f()}}),bn.observe(pn.current)),bn}function ma(){Be.b.warn(decodeURIComponent(Fe))}var No=function(){var tn=un.current.instance;if(ze!=null&&tn&&Ar){var He=tn.getModel();He&&ze!==He.getValue()&&(K=!0,He.setValue(ze),tn.layout(),K=!1)}};Object(F.useEffect)(function(){ln.current&&clearTimeout(ln.current),ln.current=setTimeout(function(){No()},500)},[ze,Ar,un.current]),Object(F.useEffect)(function(){if(Dn&&un.current&&un.current.instance){var bn=un.current.instance;bn.changeViewZones(function(He){var Yt=document.createElement("div");Yt.style.padding="10px 20px",Yt.style.width="calc(100% - 20px)",Yt.className="my-error-line-wrp",Yt.innerHTML=wr,He.addZone({afterLineNumber:Dn||11,heightInLines:3,domNode:Yt})});var tn={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};bn.addOverlayWidget(tn),bn.revealPositionInCenter({lineNumber:20,column:1})}},[Dn,un.current,Ar]);function qa(){var bn=un.current.instance;if(bn){var tn=bn.getSelection(),He=un.current.pastePos||{},Yt=new E.Range(He.startLineNumber||tn.endLineNumber,He.startColumn||tn.endColumn,He.endLineNumber||tn.endLineNumber,He.endColumn||tn.endColumn);setTimeout(function(){bn.executeEdits("",[{range:Yt,text:""}])},300)}}function Io(bn){(window.navigator.platform.match("Mac")?bn.metaKey:bn.ctrlKey)&&bn.keyCode==83&&(bn.preventDefault(),rt())}var Di=function(){if(Ct&&un.current.instance){var tn=un.current.instance.getContentHeight();Vr(tn<Ee?Ee:tn)}else Vr(Ee)};function Wr(bn){var tn=document.createEvent("MouseEvents");tn.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),bn.dispatchEvent(tn)}function Po(bn,tn){var He=window.URL||window.webkitURL||window,Yt=new Blob([tn]),Ht=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ht.href=He.createObjectURL(Yt),Ht.download=bn,Wr(Ht)}Object(F.useEffect)(function(){Di()},[Di]),Object(F.useEffect)(function(){pn.current&&!Ar&&Promise.all([O.e(17),O.e(29)]).then(O.t.bind(null,"M/lh",7)).then(function(bn){try{E=bn,un.current.instance=E.editor.create(pn.current,{value:ze,language:M(je),theme:Le,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ie);var tn=un.current.instance,He=Te.d._menuItems,Yt=Object(_e.a)(He).find(function(cn){return cn[0]._debugName=="EditorContext"}),Ht=Yt[1],wn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Un=function(vn,Or){var Rn=vn._first;do{var vr,mr,Mr=Or.includes((vr=Rn.element)===null||vr===void 0||((mr=vr.command)===null||mr===void 0)?void 0:mr.id);Mr&&vn._remove(Rn)}while(Rn=Rn.next)};if(Jt(tn,E),setTimeout(function(){Di(),un.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:function(){Po(lr||"educoder.txt",tn.getValue())}}),tn.getDomNode().addEventListener("input",function(){Cn.current.autoFormat&&tn.getAction("editor.action.formatDocument").run()})},500),un.current.subscription=tn.onDidChangeModelContent(function(cn){gn.current?clearTimeout(Tr.current):(Di(),We(tn.getValue(),cn)),Tr.current=setTimeout(function(){gn.current=!1},500)}),window.Monaco||Re(E,M(je)),oe&&(Un(Ht,wn),pn.current.classList.add("noCopyPaste"),tn.onKeyDown(function(cn){var vn=cn.keyCode,Or=cn.ctrlKey,Rn=cn.metaKey;(vn===33||vn===52)&&(Rn||Or)&&(ma(),cn.preventDefault())})),window.Monaco=E,$e&&tn.onDidBlurEditorWidget(function(){$e(tn.getValue())}),Ut&&tn.onDidFocusEditorText(function(){Ut(tn.getValue())}),oe){tn.addCommand(E.KeyMod.CtrlCmd|E.KeyCode.KEY_V,function(){return ma(),null}),tn.onDidPaste(function(cn){un.current.pastePos=cn});try{window.addEventListener("paste",qa)}catch(cn){}}var dn=ga();return Ti(!0),function(){var cn=un.current.instance;cn.dispose();var vn=cn.getModel();vn&&vn.dispose(),un.current.subscription&&un.current.subscription.dispose(),oe&&window.removeEventListener("paste",qa),dn.unobserve(pn.current)}}catch(cn){}})},[]),Object(F.useEffect)(function(){var bn=un.current.instance;if(bn&&Ar)return document.addEventListener("keydown",Io,!1),function(){document.removeEventListener("keydown",Io)}},[rt,Ar]),Object(F.useEffect)(function(){var bn=un.current.instance;if(bn&&Ar){var tn=M(je);E.editor.setModelLanguage(bn.getModel(),tn),console.log("language:",je,bn.getModel(),tn)}},[je,Ar]),Object(F.useEffect)(function(){var bn=un.current.instance;bn&&Ar&&E.editor.setTheme(Le)},[Le,Ar]),Object(F.useEffect)(function(){var bn=un.current.instance;Cn.current=ht,bn&&Ar&&(bn.updateOptions(Object(Oe.a)({},ht)),setTimeout(function(){bn.getModel().updateOptions(Object(Oe.a)({},ht))},200))},[JSON.stringify(ht),Ar]),Object(F.useEffect)(function(){var bn=un.current.instance;bn&&Ar&&bn.layout()},[z,Ee,Ar]);var Is=Object(F.useState)(J(z)),$a=Object(ce.a)(Is,2),or=$a[0],Xt=$a[1],jr=Object(F.useState)(J(Ee)),Bn=Object(ce.a)(jr,2),zr=Bn[0],Vr=Bn[1],Sn=Object(Oe.a)(Object(Oe.a)({},qe),{},{width:or,height:zr});return f.a.createElement("div",{className:"my-monaco-editor",ref:pn,style:Sn})};function D(b){var N=b.width,z=N===void 0?"100%":N,ue=b.height,Ee=ue===void 0?"100%":ue,ze=b.original,me=b.modified,je=b.language,Ke=b.options,qe=Ke===void 0?{}:Ke,Pe=Object(F.useRef)(),ht=Object(F.useState)(null),V=Object(ce.a)(ht,2),ie=V[0],Z=V[1];function Le(Ct){var q;return Pe.current&&(q=new G.default(function(oe){var ke=Object(H.a)(oe),We;try{for(ke.s();!(We=ke.n()).done;){var bt=We.value;(bt.target.offsetHeight>0||bt.target.offsetWidth>0)&&Ct.layout()}}catch(Jt){ke.e(Jt)}finally{ke.f()}}),q.observe(Pe.current)),q}Object(F.useEffect)(function(){Pe.current&&Promise.all([O.e(17),O.e(29)]).then(O.t.bind(null,"M/lh",7)).then(function(Ct){E=Ct;var q=E.editor.createDiffEditor(Pe.current,Object(Oe.a)(Object(Oe.a)({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",ignoreTrimWhitespace:!1,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},qe),{},{wordWrap:!0}));Z(q);var oe=Le(q);return function(){q.dispose();var ke=q.getModel();ke&&ke.dispose(),oe.unobserve(Pe.current)}})},[]),Object(F.useEffect)(function(){ie&&ie.setModel({original:E.editor.createModel(ze,je),modified:E.editor.createModel(me,je)})},[ze,me,je,ie]);var $e=J(z),rt=J(Ee),Et={width:$e,height:rt};return f.a.createElement("div",{className:"my-diff-editor",ref:Pe,style:Et})}},Zss7:function(ut,ne,O){var Oe;(function(_e){var Ve=/^\s+/,Be=/\s+$/,H=0,ce=_e.round,we=_e.min,F=_e.max,f=_e.random;function G(V,ie){if(V=V||"",ie=ie||{},V instanceof G)return V;if(!(this instanceof G))return new G(V,ie);var Z=Y(V);this._originalInput=V,this._r=Z.r,this._g=Z.g,this._b=Z.b,this._a=Z.a,this._roundA=ce(100*this._a)/100,this._format=ie.format||Z.format,this._gradientType=ie.gradientType,this._r<1&&(this._r=ce(this._r)),this._g<1&&(this._g=ce(this._g)),this._b<1&&(this._b=ce(this._b)),this._ok=Z.ok,this._tc_id=H++}G.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var V=this.toRgb();return(V.r*299+V.g*587+V.b*114)/1e3},getLuminance:function(){var V=this.toRgb(),ie,Z,Le,$e,rt,Et;return ie=V.r/255,Z=V.g/255,Le=V.b/255,ie<=.03928?$e=ie/12.92:$e=_e.pow((ie+.055)/1.055,2.4),Z<=.03928?rt=Z/12.92:rt=_e.pow((Z+.055)/1.055,2.4),Le<=.03928?Et=Le/12.92:Et=_e.pow((Le+.055)/1.055,2.4),.2126*$e+.7152*rt+.0722*Et},setAlpha:function(V){return this._a=x(V),this._roundA=ce(100*this._a)/100,this},toHsv:function(){var V=T(this._r,this._g,this._b);return{h:V.h*360,s:V.s,v:V.v,a:this._a}},toHsvString:function(){var V=T(this._r,this._g,this._b),ie=ce(V.h*360),Z=ce(V.s*100),Le=ce(V.v*100);return this._a==1?"hsv("+ie+", "+Z+"%, "+Le+"%)":"hsva("+ie+", "+Z+"%, "+Le+"%, "+this._roundA+")"},toHsl:function(){var V=A(this._r,this._g,this._b);return{h:V.h*360,s:V.s,l:V.l,a:this._a}},toHslString:function(){var V=A(this._r,this._g,this._b),ie=ce(V.h*360),Z=ce(V.s*100),Le=ce(V.l*100);return this._a==1?"hsl("+ie+", "+Z+"%, "+Le+"%)":"hsla("+ie+", "+Z+"%, "+Le+"%, "+this._roundA+")"},toHex:function(V){return W(this._r,this._g,this._b,V)},toHexString:function(V){return"#"+this.toHex(V)},toHex8:function(V){return ee(this._r,this._g,this._b,this._a,V)},toHex8String:function(V){return"#"+this.toHex8(V)},toRgb:function(){return{r:ce(this._r),g:ce(this._g),b:ce(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+ce(this._r)+", "+ce(this._g)+", "+ce(this._b)+")":"rgba("+ce(this._r)+", "+ce(this._g)+", "+ce(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:ce(D(this._r,255)*100)+"%",g:ce(D(this._g,255)*100)+"%",b:ce(D(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+ce(D(this._r,255)*100)+"%, "+ce(D(this._g,255)*100)+"%, "+ce(D(this._b,255)*100)+"%)":"rgba("+ce(D(this._r,255)*100)+"%, "+ce(D(this._g,255)*100)+"%, "+ce(D(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:M[W(this._r,this._g,this._b,!0)]||!1},toFilter:function(V){var ie="#"+P(this._r,this._g,this._b,this._a),Z=ie,Le=this._gradientType?"GradientType = 1, ":"";if(V){var $e=G(V);Z="#"+P($e._r,$e._g,$e._b,$e._a)}return"progid:DXImageTransform.Microsoft.gradient("+Le+"startColorstr="+ie+",endColorstr="+Z+")"},toString:function(V){var ie=!!V;V=V||this._format;var Z=!1,Le=this._a<1&&this._a>=0,$e=!ie&&Le&&(V==="hex"||V==="hex6"||V==="hex3"||V==="hex4"||V==="hex8"||V==="name");return $e?V==="name"&&this._a===0?this.toName():this.toRgbString():(V==="rgb"&&(Z=this.toRgbString()),V==="prgb"&&(Z=this.toPercentageRgbString()),(V==="hex"||V==="hex6")&&(Z=this.toHexString()),V==="hex3"&&(Z=this.toHexString(!0)),V==="hex4"&&(Z=this.toHex8String(!0)),V==="hex8"&&(Z=this.toHex8String()),V==="name"&&(Z=this.toName()),V==="hsl"&&(Z=this.toHslString()),V==="hsv"&&(Z=this.toHsvString()),Z||this.toHexString())},clone:function(){return G(this.toString())},_applyModification:function(V,ie){var Z=V.apply(null,[this].concat([].slice.call(ie)));return this._r=Z._r,this._g=Z._g,this._b=Z._b,this.setAlpha(Z._a),this},lighten:function(){return this._applyModification(Ce,arguments)},brighten:function(){return this._applyModification($,arguments)},darken:function(){return this._applyModification(Re,arguments)},desaturate:function(){return this._applyModification(I,arguments)},saturate:function(){return this._applyModification(se,arguments)},greyscale:function(){return this._applyModification(fe,arguments)},spin:function(){return this._applyModification(Fe,arguments)},_applyCombination:function(V,ie){return V.apply(null,[this].concat([].slice.call(ie)))},analogous:function(){return this._applyCombination(k,arguments)},complement:function(){return this._applyCombination(Te,arguments)},monochromatic:function(){return this._applyCombination(K,arguments)},splitcomplement:function(){return this._applyCombination(J,arguments)},triad:function(){return this._applyCombination(be,arguments)},tetrad:function(){return this._applyCombination(de,arguments)}},G.fromRatio=function(V,ie){if(typeof V=="object"){var Z={};for(var Le in V)V.hasOwnProperty(Le)&&(Le==="a"?Z[Le]=V[Le]:Z[Le]=ze(V[Le]));V=Z}return G(V,ie)};function Y(V){var ie={r:0,g:0,b:0},Z=1,Le=null,$e=null,rt=null,Et=!1,Ct=!1;return typeof V=="string"&&(V=Pe(V)),typeof V=="object"&&(qe(V.r)&&qe(V.g)&&qe(V.b)?(ie=j(V.r,V.g,V.b),Et=!0,Ct=String(V.r).substr(-1)==="%"?"prgb":"rgb"):qe(V.h)&&qe(V.s)&&qe(V.v)?(Le=ze(V.s),$e=ze(V.v),ie=L(V.h,Le,$e),Et=!0,Ct="hsv"):qe(V.h)&&qe(V.s)&&qe(V.l)&&(Le=ze(V.s),rt=ze(V.l),ie=w(V.h,Le,rt),Et=!0,Ct="hsl"),V.hasOwnProperty("a")&&(Z=V.a)),Z=x(Z),{ok:Et,format:V.format||Ct,r:we(255,F(ie.r,0)),g:we(255,F(ie.g,0)),b:we(255,F(ie.b,0)),a:Z}}function j(V,ie,Z){return{r:D(V,255)*255,g:D(ie,255)*255,b:D(Z,255)*255}}function A(V,ie,Z){V=D(V,255),ie=D(ie,255),Z=D(Z,255);var Le=F(V,ie,Z),$e=we(V,ie,Z),rt,Et,Ct=(Le+$e)/2;if(Le==$e)rt=Et=0;else{var q=Le-$e;Et=Ct>.5?q/(2-Le-$e):q/(Le+$e);switch(Le){case V:rt=(ie-Z)/q+(ie<Z?6:0);break;case ie:rt=(Z-V)/q+2;break;case Z:rt=(V-ie)/q+4;break}rt/=6}return{h:rt,s:Et,l:Ct}}function w(V,ie,Z){var Le,$e,rt;V=D(V,360),ie=D(ie,100),Z=D(Z,100);function Et(oe,ke,We){return We<0&&(We+=1),We>1&&(We-=1),We<1/6?oe+(ke-oe)*6*We:We<1/2?ke:We<2/3?oe+(ke-oe)*(2/3-We)*6:oe}if(ie===0)Le=$e=rt=Z;else{var Ct=Z<.5?Z*(1+ie):Z+ie-Z*ie,q=2*Z-Ct;Le=Et(q,Ct,V+1/3),$e=Et(q,Ct,V),rt=Et(q,Ct,V-1/3)}return{r:Le*255,g:$e*255,b:rt*255}}function T(V,ie,Z){V=D(V,255),ie=D(ie,255),Z=D(Z,255);var Le=F(V,ie,Z),$e=we(V,ie,Z),rt,Et,Ct=Le,q=Le-$e;if(Et=Le===0?0:q/Le,Le==$e)rt=0;else{switch(Le){case V:rt=(ie-Z)/q+(ie<Z?6:0);break;case ie:rt=(Z-V)/q+2;break;case Z:rt=(V-ie)/q+4;break}rt/=6}return{h:rt,s:Et,v:Ct}}function L(V,ie,Z){V=D(V,360)*6,ie=D(ie,100),Z=D(Z,100);var Le=_e.floor(V),$e=V-Le,rt=Z*(1-ie),Et=Z*(1-$e*ie),Ct=Z*(1-(1-$e)*ie),q=Le%6,oe=[Z,Et,rt,rt,Ct,Z][q],ke=[Ct,Z,Z,Et,rt,rt][q],We=[rt,rt,Ct,Z,Z,Et][q];return{r:oe*255,g:ke*255,b:We*255}}function W(V,ie,Z,Le){var $e=[Ee(ce(V).toString(16)),Ee(ce(ie).toString(16)),Ee(ce(Z).toString(16))];return Le&&$e[0].charAt(0)==$e[0].charAt(1)&&$e[1].charAt(0)==$e[1].charAt(1)&&$e[2].charAt(0)==$e[2].charAt(1)?$e[0].charAt(0)+$e[1].charAt(0)+$e[2].charAt(0):$e.join("")}function ee(V,ie,Z,Le,$e){var rt=[Ee(ce(V).toString(16)),Ee(ce(ie).toString(16)),Ee(ce(Z).toString(16)),Ee(me(Le))];return $e&&rt[0].charAt(0)==rt[0].charAt(1)&&rt[1].charAt(0)==rt[1].charAt(1)&&rt[2].charAt(0)==rt[2].charAt(1)&&rt[3].charAt(0)==rt[3].charAt(1)?rt[0].charAt(0)+rt[1].charAt(0)+rt[2].charAt(0)+rt[3].charAt(0):rt.join("")}function P(V,ie,Z,Le){var $e=[Ee(me(Le)),Ee(ce(V).toString(16)),Ee(ce(ie).toString(16)),Ee(ce(Z).toString(16))];return $e.join("")}G.equals=function(V,ie){return!V||!ie?!1:G(V).toRgbString()==G(ie).toRgbString()},G.random=function(){return G.fromRatio({r:f(),g:f(),b:f()})};function I(V,ie){ie=ie===0?0:ie||10;var Z=G(V).toHsl();return Z.s-=ie/100,Z.s=b(Z.s),G(Z)}function se(V,ie){ie=ie===0?0:ie||10;var Z=G(V).toHsl();return Z.s+=ie/100,Z.s=b(Z.s),G(Z)}function fe(V){return G(V).desaturate(100)}function Ce(V,ie){ie=ie===0?0:ie||10;var Z=G(V).toHsl();return Z.l+=ie/100,Z.l=b(Z.l),G(Z)}function $(V,ie){ie=ie===0?0:ie||10;var Z=G(V).toRgb();return Z.r=F(0,we(255,Z.r-ce(255*-(ie/100)))),Z.g=F(0,we(255,Z.g-ce(255*-(ie/100)))),Z.b=F(0,we(255,Z.b-ce(255*-(ie/100)))),G(Z)}function Re(V,ie){ie=ie===0?0:ie||10;var Z=G(V).toHsl();return Z.l-=ie/100,Z.l=b(Z.l),G(Z)}function Fe(V,ie){var Z=G(V).toHsl(),Le=(Z.h+ie)%360;return Z.h=Le<0?360+Le:Le,G(Z)}function Te(V){var ie=G(V).toHsl();return ie.h=(ie.h+180)%360,G(ie)}function be(V){var ie=G(V).toHsl(),Z=ie.h;return[G(V),G({h:(Z+120)%360,s:ie.s,l:ie.l}),G({h:(Z+240)%360,s:ie.s,l:ie.l})]}function de(V){var ie=G(V).toHsl(),Z=ie.h;return[G(V),G({h:(Z+90)%360,s:ie.s,l:ie.l}),G({h:(Z+180)%360,s:ie.s,l:ie.l}),G({h:(Z+270)%360,s:ie.s,l:ie.l})]}function J(V){var ie=G(V).toHsl(),Z=ie.h;return[G(V),G({h:(Z+72)%360,s:ie.s,l:ie.l}),G({h:(Z+216)%360,s:ie.s,l:ie.l})]}function k(V,ie,Z){ie=ie||6,Z=Z||30;var Le=G(V).toHsl(),$e=360/Z,rt=[G(V)];for(Le.h=(Le.h-($e*ie>>1)+720)%360;--ie;)Le.h=(Le.h+$e)%360,rt.push(G(Le));return rt}function K(V,ie){ie=ie||6;for(var Z=G(V).toHsv(),Le=Z.h,$e=Z.s,rt=Z.v,Et=[],Ct=1/ie;ie--;)Et.push(G({h:Le,s:$e,v:rt})),rt=(rt+Ct)%1;return Et}G.mix=function(V,ie,Z){Z=Z===0?0:Z||50;var Le=G(V).toRgb(),$e=G(ie).toRgb(),rt=Z/100,Et={r:($e.r-Le.r)*rt+Le.r,g:($e.g-Le.g)*rt+Le.g,b:($e.b-Le.b)*rt+Le.b,a:($e.a-Le.a)*rt+Le.a};return G(Et)},G.readability=function(V,ie){var Z=G(V),Le=G(ie);return(_e.max(Z.getLuminance(),Le.getLuminance())+.05)/(_e.min(Z.getLuminance(),Le.getLuminance())+.05)},G.isReadable=function(V,ie,Z){var Le=G.readability(V,ie),$e,rt;rt=!1,$e=ht(Z);switch($e.level+$e.size){case"AAsmall":case"AAAlarge":rt=Le>=4.5;break;case"AAlarge":rt=Le>=3;break;case"AAAsmall":rt=Le>=7;break}return rt},G.mostReadable=function(V,ie,Z){var Le=null,$e=0,rt,Et,Ct,q;Z=Z||{},Et=Z.includeFallbackColors,Ct=Z.level,q=Z.size;for(var oe=0;oe<ie.length;oe++)rt=G.readability(V,ie[oe]),rt>$e&&($e=rt,Le=G(ie[oe]));return G.isReadable(V,Le,{level:Ct,size:q})||!Et?Le:(Z.includeFallbackColors=!1,G.mostReadable(V,["#fff","#000"],Z))};var pe=G.names={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"},M=G.hexNames=E(pe);function E(V){var ie={};for(var Z in V)V.hasOwnProperty(Z)&&(ie[V[Z]]=Z);return ie}function x(V){return V=parseFloat(V),(isNaN(V)||V<0||V>1)&&(V=1),V}function D(V,ie){z(V)&&(V="100%");var Z=ue(V);return V=we(ie,F(0,parseFloat(V))),Z&&(V=parseInt(V*ie,10)/100),_e.abs(V-ie)<1e-6?1:V%ie/parseFloat(ie)}function b(V){return we(1,F(0,V))}function N(V){return parseInt(V,16)}function z(V){return typeof V=="string"&&V.indexOf(".")!=-1&&parseFloat(V)===1}function ue(V){return typeof V=="string"&&V.indexOf("%")!=-1}function Ee(V){return V.length==1?"0"+V:""+V}function ze(V){return V<=1&&(V=V*100+"%"),V}function me(V){return _e.round(parseFloat(V)*255).toString(16)}function je(V){return N(V)/255}var Ke=function(){var V="[-\\+]?\\d+%?",ie="[-\\+]?\\d*\\.\\d+%?",Z="(?:"+ie+")|(?:"+V+")",Le="[\\s|\\(]+("+Z+")[,|\\s]+("+Z+")[,|\\s]+("+Z+")\\s*\\)?",$e="[\\s|\\(]+("+Z+")[,|\\s]+("+Z+")[,|\\s]+("+Z+")[,|\\s]+("+Z+")\\s*\\)?";return{CSS_UNIT:new RegExp(Z),rgb:new RegExp("rgb"+Le),rgba:new RegExp("rgba"+$e),hsl:new RegExp("hsl"+Le),hsla:new RegExp("hsla"+$e),hsv:new RegExp("hsv"+Le),hsva:new RegExp("hsva"+$e),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function qe(V){return!!Ke.CSS_UNIT.exec(V)}function Pe(V){V=V.replace(Ve,"").replace(Be,"").toLowerCase();var ie=!1;if(pe[V])V=pe[V],ie=!0;else if(V=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Z;return(Z=Ke.rgb.exec(V))?{r:Z[1],g:Z[2],b:Z[3]}:(Z=Ke.rgba.exec(V))?{r:Z[1],g:Z[2],b:Z[3],a:Z[4]}:(Z=Ke.hsl.exec(V))?{h:Z[1],s:Z[2],l:Z[3]}:(Z=Ke.hsla.exec(V))?{h:Z[1],s:Z[2],l:Z[3],a:Z[4]}:(Z=Ke.hsv.exec(V))?{h:Z[1],s:Z[2],v:Z[3]}:(Z=Ke.hsva.exec(V))?{h:Z[1],s:Z[2],v:Z[3],a:Z[4]}:(Z=Ke.hex8.exec(V))?{r:N(Z[1]),g:N(Z[2]),b:N(Z[3]),a:je(Z[4]),format:ie?"name":"hex8"}:(Z=Ke.hex6.exec(V))?{r:N(Z[1]),g:N(Z[2]),b:N(Z[3]),format:ie?"name":"hex"}:(Z=Ke.hex4.exec(V))?{r:N(Z[1]+""+Z[1]),g:N(Z[2]+""+Z[2]),b:N(Z[3]+""+Z[3]),a:je(Z[4]+""+Z[4]),format:ie?"name":"hex8"}:(Z=Ke.hex3.exec(V))?{r:N(Z[1]+""+Z[1]),g:N(Z[2]+""+Z[2]),b:N(Z[3]+""+Z[3]),format:ie?"name":"hex"}:!1}function ht(V){var ie,Z;return V=V||{level:"AA",size:"small"},ie=(V.level||"AA").toUpperCase(),Z=(V.size||"small").toLowerCase(),ie!=="AA"&&ie!=="AAA"&&(ie="AA"),Z!=="small"&&Z!=="large"&&(Z="small"),{level:ie,size:Z}}ut.exports?ut.exports=G:!(Oe=function(){return G}.call(ne,O,ne,ut),Oe!==void 0&&(ut.exports=Oe))})(Math)},bT9E:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return _e});var Oe=O("VTBJ");function _e(Ve,Be){var H=Object(Oe.a)({},Ve);return Array.isArray(Be)&&Be.forEach(function(ce){delete H[ce]}),H}},cFMs:function(ut,ne){ut.exports="data:image/png;base64,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"},cejO:function(ut,ne){ut.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABIRJREFUaEPtml1oHFUUx//nzswmaZNso0lTNNAUTGtb8UFb44v9MEQs1NYiQoqiRh/0RRCsCtqCFqFBSrX4JggRqk3yUB+qUCSE2hTMhxELokJiWo2xTZs1SROyn3OP7G52dtmd7M7O7qy7uvM4c885/9/93537MUvMrOA/dFEZqMjdLDtU5Abhf+7QWGcLdP/rYPkIGHeBVBXKmrhpodv2DCT8oXtm5+Syd1Srv/tt7Onz2ksEqw6NCYycegNSHgO4MlaMt74Hcm8xavPkGdDNr2xpCd28gdDfsxCatkCu6jbt6cEf7SSyNuRGDh+F5HeTC/B9J0HVTcZt+VsfxK1zdnQgBhQOJkUJiNo1u7SD332fbbLMQD907kTAOwhATQHafhJUkwA00Qsx+2W2GiLtE4EiUEIJKuvce9UDl4aySZgZaLijF4ynzJLyti5QbXPcofHPITzns6lvtE0GWnEqqFS729VDly5bTWoB6PA0mBvNEgaXq0Bag/FIVGmgjfsAiMg98s8Af/Za0mIGFIVSQ0rdHY+r+wcuWklkBSgA5qjCDJdctxfi3peNVqz7QaPPZwqLPNfnPAjOXDdtS4qqK+76feqB/oFMyTIDDXWEMiWJPZfuPRBbX7EFxIEAAtfGwZJNywnN5XNtaG5C27n5dHqKBigsUi4uIHjjL7Cum2pW3XUX1EOD+50DqmgAXPVGfn3ZBzQ9CaLoCOXFKSiePqsGR9tJCfb7TKFIiCv06PkHHQPi7V2gmvhbjid7wFfPhFEiNUnVQBXGPJwdmFlrwjJae2odBMrfPGSZ9uGelPkwMTan3xDncWItCiC55ThE3WZDi/y1G2L+gmVttho66ZB+2wvJa1d0MZSGFtDmF42JFb7roIkPbeleNchJoOSiucxDlqnLQMldVaCVQlE6pAfXguvbAKKovqVpqKGstzTp2Qo55CJKQuGl38p6TCiAsLSutWwQCg5kXZq9lo4C3bkLvPFZQE04KInJDC6Brn4KzI/aE75alJNAvO0EqHbTqoJ59gpo4kQJASUtfVLmJc/PEOPHy0Bpe8DRIZfgEMv4xpZEdEEsS9EhaNUIXXwJFJwzOpZd66G2dYMXJktvyPHSFMTvp1NGiWw5Ft7ilR4QpA/0y9EkIALf/xHY6yktILnpCETjDvD8T9EzuNhGorIpcuYtpwYgpj8pnbdcyOsCGtsBLbYnStDuXwDd6odSZX6CY5vSybdcbO3GLFP0RU5+1LTbf3tMjgPZk2U/Kmeg4Y4gGCv7Afs68haZM9BQR/jAOX4inzdlNhIRzaL17IZ0kVaOscIffJ6wUT7/IURfo/XswdyARp7bDQ70/+vDjsAQle3Y2Z32s0pmh8LdMfxMF1g/kv8uzyKjEKfw0BdvZoqwBnStW8PMN++D5WsACv3fIB1CnMb6x95B8wvB/ADFsox2PgDpfQug3WCOf3bIVMXO8/ALAPwtlIoPsOOzMasprDlklm3iYxU1fgdmTgCLFSHc86rlD22J8uwDWe2yArcrAxW4w7MuV3Yo6y4rcMA/JZNzUzMJvf0AAAAASUVORK5CYII="},cz0n:function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___G8W6i",flex_space_between:"flex_space_between___1p_ZB",flex_box_vertical_center:"flex_box_vertical_center___2wivF",flex_box_center_end:"flex_box_center_end___y5a20",flex_box_column:"flex_box_column___6oXp3",tabs:"tabs___sKski",active:"active___10xGM"}},"f0W+":function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___2AWuG",flex_space_between:"flex_space_between___4j1zo",flex_box_vertical_center:"flex_box_vertical_center___3dWcm",flex_box_center_end:"flex_box_center_end___qvHJi",flex_box_column:"flex_box_column___3Eier",tabs:"tabs___25WKT",tabsWrap:"tabsWrap___2lPJE",active:"active___gGp9s"}},f9pc:function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___fO1Sq",flex_space_between:"flex_space_between___2MANs",flex_box_vertical_center:"flex_box_vertical_center___2x-su",flex_box_center_end:"flex_box_center_end___6bZNq",flex_box_column:"flex_box_column___CGTHC",quickPager:"quickPager___2XH6F",disabled:"disabled___2gPWV"}},fgAr:function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___3W32R",flex_space_between:"flex_space_between___2uUoZ",flex_box_vertical_center:"flex_box_vertical_center___3Oxpz",flex_box_center_end:"flex_box_center_end___2tkyR",flex_box_column:"flex_box_column___2IFiF",btns:"btns___1c8D8",confirm:"confirm___2gIuB",cancel:"cancel___1ssuo"}},fjLI:function(ut,ne,O){"use strict";O.d(ne,"f",function(){return A}),O.d(ne,"b",function(){return w}),O.d(ne,"a",function(){return T}),O.d(ne,"d",function(){return L}),O.d(ne,"e",function(){return W}),O.d(ne,"c",function(){return ee});var Oe=O("8HAY"),_e=O("Vhoy"),Ve=O("MI8n"),Be=O("JYp7"),H=O("pmY6"),ce=O("24hK"),we=O("nnTU"),F=O("T8No"),f=O("Cg/j"),G=O("t9D7"),Y=function(P,I,se,fe){var Ce=arguments.length,$=Ce<3?I:fe===null?fe=Object.getOwnPropertyDescriptor(I,se):fe,Re;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")$=Reflect.decorate(P,I,se,fe);else for(var Fe=P.length-1;Fe>=0;Fe--)(Re=P[Fe])&&($=(Ce<3?Re($):Ce>3?Re(I,se,$):Re(I,se))||$);return Ce>3&&$&&Object.defineProperty(I,se,$),$},j=function(P,I){return function(se,fe){I(se,fe,P)}};function A(P){return P.command!==void 0}class w{constructor(P){this.id=w._idPool++,this._debugName=P}}w._idPool=0,w.CommandPalette=new w("CommandPalette"),w.EditorContext=new w("EditorContext"),w.SimpleEditorContext=new w("SimpleEditorContext"),w.EditorContextCopy=new w("EditorContextCopy"),w.EditorContextPeek=new w("EditorContextPeek"),w.MenubarEditMenu=new w("MenubarEditMenu"),w.MenubarCopy=new w("MenubarCopy"),w.MenubarGoMenu=new w("MenubarGoMenu"),w.MenubarSelectionMenu=new w("MenubarSelectionMenu"),w.InlineCompletionsActions=new w("InlineCompletionsActions");const T=Object(f.c)("menuService"),L=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new Ve.b,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:P=>P===w.CommandPalette}}addCommand(P){return this.addCommands(Be.a.single(P))}addCommands(P){for(const I of P)this._commands.set(I.id,I);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),Object(H.i)(()=>{let I=!1;for(const se of P)I=this._commands.delete(se.id)||I;I&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(P){return this._commands.get(P)}getCommands(){const P=new Map;return this._commands.forEach((I,se)=>P.set(se,I)),P}appendMenuItem(P,I){return this.appendMenuItems(Be.a.single({id:P,item:I}))}appendMenuItems(P){const I=new Set,se=new ce.a;for(const{id:fe,item:Ce}of P){let $=this._menuItems.get(fe);$||($=new ce.a,this._menuItems.set(fe,$)),se.push($.push(Ce)),I.add(fe)}return this._onDidChangeMenu.fire(I),Object(H.i)(()=>{if(se.size>0){for(let fe of se)fe();this._onDidChangeMenu.fire(I),se.clear()}})}getMenuItems(P){let I;return this._menuItems.has(P)?I=[...this._menuItems.get(P)]:I=[],P===w.CommandPalette&&this._appendImplicitItems(I),I}_appendImplicitItems(P){const I=new Set;for(const se of P)A(se)&&(I.add(se.command.id),se.alt&&I.add(se.alt.id));this._commands.forEach((se,fe)=>{I.has(fe)||P.push({command:se})})}};class W extends Oe.e{constructor(P,I,se,fe){super(`submenuitem.${P.submenu.id}`,typeof P.title=="string"?P.title:P.title.value,[],"submenu");this.item=P,this._menuService=I,this._contextKeyService=se,this._options=fe}get actions(){const P=[],I=this._menuService.createMenu(this.item.submenu,this._contextKeyService),se=I.getActions(this._options);I.dispose();for(const[,fe]of se)fe.length>0&&(P.push(...fe),P.push(new Oe.d));return P.length&&P.pop(),P}}let ee=class P{constructor(I,se,fe,Ce,$){var Re,Fe;if(this._commandService=$,this.id=I.id,this.label=(fe==null?void 0:fe.renderShortTitle)&&I.shortTitle?typeof I.shortTitle=="string"?I.shortTitle:I.shortTitle.value:typeof I.title=="string"?I.title:I.title.value,this.tooltip=(Fe=typeof I.tooltip=="string"?I.tooltip:(Re=I.tooltip)===null||Re===void 0?void 0:Re.value)!==null&&Fe!==void 0?Fe:"",this.enabled=!I.precondition||Ce.contextMatchesRules(I.precondition),this.checked=void 0,I.toggled){const Te=I.toggled.condition?I.toggled:{condition:I.toggled};this.checked=Ce.contextMatchesRules(Te.condition),this.checked&&Te.tooltip&&(this.tooltip=typeof Te.tooltip=="string"?Te.tooltip:Te.tooltip.value),Te.title&&(this.label=typeof Te.title=="string"?Te.title:Te.title.value)}this.item=I,this.alt=se?new P(se,void 0,fe,Ce,$):void 0,this._options=fe,G.d.isThemeIcon(I.icon)&&(this.class=_e.a.asClassName(I.icon))}dispose(){}run(...I){var se,fe;let Ce=[];return((se=this._options)===null||se===void 0?void 0:se.arg)&&(Ce=[...Ce,this._options.arg]),((fe=this._options)===null||fe===void 0?void 0:fe.shouldForwardArgs)&&(Ce=[...Ce,...I]),this._commandService.executeCommand(this.id,...Ce)}};ee=Y([j(3,F.b),j(4,we.b)],ee)},gQZu:function(ut,ne,O){"use strict";var Oe=O("0Owb"),_e=O("PpiC"),Ve=O("q1tI"),Be=O.n(Ve),H=O("XhM9"),ce=O.n(H),we=O("p8Ha"),F=O.n(we),f=O("6rzw"),G=O.n(f),Y=O("4Lfy"),j=O.n(Y),A=O("D8AG"),w=O.n(A),T=O("Iovw"),L=O.n(T),W=O("cejO"),ee=O.n(W),P=function(se){var fe=se.fileName,Ce=se.width,$=Ce===void 0?26:Ce,Re=Object(_e.a)(se,["fileName","width"]),Fe=function(){var be=fe.split(".").pop().toLowerCase();switch(be){case"mp4":case"ram":case"avi":case"wmv":case"mov":case"mkv":case"flv":case"webm":case"m4v":case"rmvb":case"vob":case"f4v":case"ogv":case"swf":case"asf":case"mpg":case"mpeg":case"3gp":case"3g2":case"m2ts":case"mts":return w.a;case"zip":case"rar":case"7z":case"gz":case"tar":case"tgz":case"xz":case"z":return ee.a;case"doc":case"docx":return L.a;case"ppt":case"pptx":return j.a;case"xls":case"xlsx":return F.a;case"pdf":return G.a;default:return ce.a}};return Be.a.createElement("img",Object(Oe.a)({},Re,{width:$,src:Fe()}))};ne.a=P},h78n:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return K});var Oe=O("q1tI"),_e=O.n(Oe),Ve=O("TSYQ"),Be=O.n(Ve),H={className:"",percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,style:{},trailColor:"#D9D9D9",trailWidth:1},ce=function(E){var x=E.map(function(){return Object(Oe.useRef)()}),D=Object(Oe.useRef)();return Object(Oe.useEffect)(function(){var b=Date.now(),N=!1;Object.keys(x).forEach(function(z){var ue=x[z].current;if(!ue)return;N=!0;var Ee=ue.style;Ee.transitionDuration=".3s, .3s, .3s, .06s",D.current&&b-D.current<100&&(Ee.transitionDuration="0s, 0s")}),N&&(D.current=Date.now())}),[x]};function we(){return we=Object.assign||function(M){for(var E=1;E<arguments.length;E++){var x=arguments[E];for(var D in x)Object.prototype.hasOwnProperty.call(x,D)&&(M[D]=x[D])}return M},we.apply(this,arguments)}function F(M,E){return A(M)||j(M,E)||G(M,E)||f()}function f(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function G(M,E){if(!M)return;if(typeof M=="string")return Y(M,E);var x=Object.prototype.toString.call(M).slice(8,-1);if(x==="Object"&&M.constructor&&(x=M.constructor.name),x==="Map"||x==="Set")return Array.from(M);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return Y(M,E)}function Y(M,E){(E==null||E>M.length)&&(E=M.length);for(var x=0,D=new Array(E);x<E;x++)D[x]=M[x];return D}function j(M,E){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(M)))return;var x=[],D=!0,b=!1,N=void 0;try{for(var z=M[Symbol.iterator](),ue;!(D=(ue=z.next()).done)&&!(x.push(ue.value),E&&x.length===E);D=!0);}catch(Ee){b=!0,N=Ee}finally{try{!D&&z.return!=null&&z.return()}finally{if(b)throw N}}return x}function A(M){if(Array.isArray(M))return M}function w(M,E){if(M==null)return{};var x=T(M,E),D,b;if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(M);for(b=0;b<N.length;b++){if(D=N[b],E.indexOf(D)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(M,D))continue;x[D]=M[D]}}return x}function T(M,E){if(M==null)return{};var x={},D=Object.keys(M),b,N;for(N=0;N<D.length;N++){if(b=D[N],E.indexOf(b)>=0)continue;x[b]=M[b]}return x}var L=function(E){var x=E.className,D=E.percent,b=E.prefixCls,N=E.strokeColor,z=E.strokeLinecap,ue=E.strokeWidth,Ee=E.style,ze=E.trailColor,me=E.trailWidth,je=E.transition,Ke=w(E,["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"]);delete Ke.gapPosition;var qe=Array.isArray(D)?D:[D],Pe=Array.isArray(N)?N:[N],ht=ce(qe),V=F(ht,1),ie=V[0],Z=ue/2,Le=100-ue/2,$e="M ".concat(z==="round"?Z:0,",").concat(Z,`
|
|
|
L `).concat(z==="round"?Le:100,",").concat(Z),rt="0 0 100 ".concat(ue),Et=0;return _e.a.createElement("svg",we({className:Be()("".concat(b,"-line"),x),viewBox:rt,preserveAspectRatio:"none",style:Ee},Ke),_e.a.createElement("path",{className:"".concat(b,"-line-trail"),d:$e,strokeLinecap:z,stroke:ze,strokeWidth:me||ue,fillOpacity:"0"}),qe.map(function(Ct,q){var oe={strokeDasharray:"".concat(Ct,"px, 100px"),strokeDashoffset:"-".concat(Et,"px"),transition:je||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},ke=Pe[q]||Pe[Pe.length-1];return Et+=Ct,_e.a.createElement("path",{key:q,className:"".concat(b,"-line-path"),d:$e,strokeLinecap:z,stroke:ke,strokeWidth:ue,fillOpacity:"0",ref:ie[q],style:oe})}))};L.defaultProps=H;var W=L;function ee(){return ee=Object.assign||function(M){for(var E=1;E<arguments.length;E++){var x=arguments[E];for(var D in x)Object.prototype.hasOwnProperty.call(x,D)&&(M[D]=x[D])}return M},ee.apply(this,arguments)}function P(M,E){return $(M)||Ce(M,E)||se(M,E)||I()}function I(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function se(M,E){if(!M)return;if(typeof M=="string")return fe(M,E);var x=Object.prototype.toString.call(M).slice(8,-1);if(x==="Object"&&M.constructor&&(x=M.constructor.name),x==="Map"||x==="Set")return Array.from(M);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return fe(M,E)}function fe(M,E){(E==null||E>M.length)&&(E=M.length);for(var x=0,D=new Array(E);x<E;x++)D[x]=M[x];return D}function Ce(M,E){if(typeof Symbol=="undefined"||!(Symbol.iterator in Object(M)))return;var x=[],D=!0,b=!1,N=void 0;try{for(var z=M[Symbol.iterator](),ue;!(D=(ue=z.next()).done)&&!(x.push(ue.value),E&&x.length===E);D=!0);}catch(Ee){b=!0,N=Ee}finally{try{!D&&z.return!=null&&z.return()}finally{if(b)throw N}}return x}function $(M){if(Array.isArray(M))return M}function Re(M,E){if(M==null)return{};var x=Fe(M,E),D,b;if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(M);for(b=0;b<N.length;b++){if(D=N[b],E.indexOf(D)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(M,D))continue;x[D]=M[D]}}return x}function Fe(M,E){if(M==null)return{};var x={},D=Object.keys(M),b,N;for(N=0;N<D.length;N++){if(b=D[N],E.indexOf(b)>=0)continue;x[b]=M[b]}return x}var Te=0;function be(M){return+M.replace("%","")}function de(M){return Array.isArray(M)?M:[M]}function J(M,E,x,D){var b=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,N=arguments.length>5?arguments[5]:void 0,z=50-D/2,ue=0,Ee=-z,ze=0,me=-2*z;switch(N){case"left":ue=-z,Ee=0,ze=2*z,me=0;break;case"right":ue=z,Ee=0,ze=-2*z,me=0;break;case"bottom":Ee=z,me=2*z;break;default:}var je="M 50,50 m ".concat(ue,",").concat(Ee,`
|
|
|
a `).concat(z,",").concat(z," 0 1 1 ").concat(ze,",").concat(-me,`
|
|
|
a `).concat(z,",").concat(z," 0 1 1 ").concat(-ze,",").concat(me),Ke=Math.PI*2*z,qe={stroke:x,strokeDasharray:"".concat(E/100*(Ke-b),"px ").concat(Ke,"px"),strokeDashoffset:"-".concat(b/2+M/100*(Ke-b),"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s"};return{pathString:je,pathStyle:qe}}var k=function(E){var x=E.prefixCls,D=E.strokeWidth,b=E.trailWidth,N=E.gapDegree,z=E.gapPosition,ue=E.trailColor,Ee=E.strokeLinecap,ze=E.style,me=E.className,je=E.strokeColor,Ke=E.percent,qe=Re(E,["prefixCls","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"]),Pe=Object(Oe.useMemo)(function(){return Te+=1,Te},[]),ht=J(0,100,ue,D,N,z),V=ht.pathString,ie=ht.pathStyle,Z=de(Ke),Le=de(je),$e=Le.find(function(oe){return Object.prototype.toString.call(oe)==="[object Object]"}),rt=ce(Z),Et=P(rt,1),Ct=Et[0],q=function(){var ke=0;return Z.map(function(We,bt){var Jt=Le[bt]||Le[Le.length-1],sn=Object.prototype.toString.call(Jt)==="[object Object]"?"url(#".concat(x,"-gradient-").concat(Pe,")"):"",Ut=J(ke,We,Jt,D,N,z);return ke+=We,_e.a.createElement("path",{key:bt,className:"".concat(x,"-circle-path"),d:Ut.pathString,stroke:sn,strokeLinecap:Ee,strokeWidth:D,opacity:We===0?0:1,fillOpacity:"0",style:Ut.pathStyle,ref:Ct[bt]})})};return _e.a.createElement("svg",ee({className:Be()("".concat(x,"-circle"),me),viewBox:"0 0 100 100",style:ze},qe),$e&&_e.a.createElement("defs",null,_e.a.createElement("linearGradient",{id:"".concat(x,"-gradient-").concat(Pe),x1:"100%",y1:"0%",x2:"0%",y2:"0%"},Object.keys($e).sort(function(oe,ke){return be(oe)-be(ke)}).map(function(oe,ke){return _e.a.createElement("stop",{key:ke,offset:oe,stopColor:$e[oe]})}))),_e.a.createElement("path",{className:"".concat(x,"-circle-trail"),d:V,stroke:ue,strokeLinecap:Ee,strokeWidth:b||D,fillOpacity:"0",style:ie}),q().reverse())};k.defaultProps=H;var K=k,pe={Line:W,Circle:K}},"iL++":function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___2pHUo",flex_space_between:"flex_space_between___3Bfes",flex_box_vertical_center:"flex_box_vertical_center___1thiW",flex_box_center_end:"flex_box_center_end___3Zr7k",flex_box_column:"flex_box_column___3xe1a",list:"list___3rlGv",wrap:"wrap____oZzM",lockWrap:"lockWrap___24eY2",top:"top___3SCOc",sign:"sign____uZ_B",name:"name___2nHyM",img:"img___3Spn7",text:"text___1Pg2L",btns:"btns___Kr_Ti",bottom:"bottom___2_iOx"}},ic2d:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return Be});var Oe=O("FWmy"),_e=O("746U");class Ve{constructor(){this.data=new Map}add(H,ce){Oe.a(_e.l(H)),Oe.a(_e.k(ce)),Oe.a(!this.data.has(H),"There is already an extension with this id"),this.data.set(H,ce)}as(H){return this.data.get(H)||null}}const Be=new Ve},nEHx:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return Oe});var Oe;(function(_e){_e.DARK="dark",_e.LIGHT="light",_e.HIGH_CONTRAST="hc"})(Oe||(Oe={}))},nnTU:function(ut,ne,O){"use strict";O.d(ne,"b",function(){return we}),O.d(ne,"a",function(){return F});var Oe=O("MI8n"),_e=O("JYp7"),Ve=O("pmY6"),Be=O("24hK"),H=O("746U"),ce=O("Cg/j");const we=Object(ce.c)("commandService"),F=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new Oe.b,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(f,G){if(!f)throw new Error("invalid command");if(typeof f=="string"){if(!G)throw new Error("invalid command");return this.registerCommand({id:f,handler:G})}if(f.description){const T=[];for(let W of f.description.args)T.push(W.constraint);const L=f.handler;f.handler=function(W,...ee){return Object(H.o)(ee,T),L(W,...ee)}}const{id:Y}=f;let j=this._commands.get(Y);j||(j=new Be.a,this._commands.set(Y,j));let A=j.unshift(f),w=Object(Ve.i)(()=>{A();const T=this._commands.get(Y);(T==null?void 0:T.isEmpty())&&this._commands.delete(Y)});return this._onDidRegisterCommand.fire(Y),w}registerCommandAlias(f,G){return F.registerCommand(f,(Y,...j)=>Y.get(we).executeCommand(G,...j))}getCommand(f){const G=this._commands.get(f);return!G||G.isEmpty()?void 0:_e.a.first(G)}getCommands(){const f=new Map;for(const G of this._commands.keys()){const Y=this.getCommand(G);Y&&f.set(G,Y)}return f}};F.registerCommand("noop",()=>{})},ogmK:function(ut,ne,O){"use strict";O.d(ne,"a",function(){return Ps});var Oe=O("1OyB"),_e=O("vuIU"),Ve=O("Ji7U"),Be=O("LK+K"),H=O("rePB"),ce=O("VTBJ"),we=O("ODXe"),F=O("q1tI"),f=O("TSYQ"),G=O.n(f),Y=O("Kwbf"),j=O("6cGi"),A=O("U8pU"),w=O("4IlW"),T=F.createContext({}),L=T,W={visibility:"hidden"};function ee(C){var te=C.prefixCls,ge=C.prevIcon,he=ge===void 0?"\u2039":ge,Ue=C.nextIcon,Ie=Ue===void 0?"\u203A":Ue,Ge=C.superPrevIcon,nt=Ge===void 0?"\xAB":Ge,pt=C.superNextIcon,gt=pt===void 0?"\xBB":pt,Ot=C.onSuperPrev,_t=C.onSuperNext,Ye=C.onPrev,yt=C.onNext,ot=C.children,At=F.useContext(L),mt=At.hideNextBtn,Lt=At.hidePrevBtn;return F.createElement("div",{className:te},Ot&&F.createElement("button",{type:"button",onClick:Ot,tabIndex:-1,className:"".concat(te,"-super-prev-btn"),style:Lt?W:{}},nt),Ye&&F.createElement("button",{type:"button",onClick:Ye,tabIndex:-1,className:"".concat(te,"-prev-btn"),style:Lt?W:{}},he),F.createElement("div",{className:"".concat(te,"-view")},ot),yt&&F.createElement("button",{type:"button",onClick:yt,tabIndex:-1,className:"".concat(te,"-next-btn"),style:mt?W:{}},Ie),_t&&F.createElement("button",{type:"button",onClick:_t,tabIndex:-1,className:"".concat(te,"-super-next-btn"),style:mt?W:{}},gt))}var P=ee;function I(C){var te=F.useContext(L),ge=te.hideHeader;if(ge)return null;var he=C.prefixCls,Ue=C.generateConfig,Ie=C.locale,Ge=C.value,nt=C.format,pt="".concat(he,"-header");return F.createElement(P,{prefixCls:pt},Ge?Ue.locale.format(Ie.locale,Ge,nt):"\xA0")}var se=I,fe=O("YrtM"),Ce=O("KQm4"),$=new Map;function Re(C,te,ge){if($.get(C)&&cancelAnimationFrame($.get(C)),ge<=0){$.set(C,requestAnimationFrame(function(){C.scrollTop=te}));return}var he=te-C.scrollTop,Ue=he/ge*10;$.set(C,requestAnimationFrame(function(){C.scrollTop+=Ue,C.scrollTop!==te&&Re(C,te,ge-10)}))}function Fe(C,te){var ge=te.onLeftRight,he=te.onCtrlLeftRight,Ue=te.onUpDown,Ie=te.onPageUpDown,Ge=te.onEnter,nt=C.which,pt=C.ctrlKey,gt=C.metaKey;switch(nt){case w.a.LEFT:if(pt||gt){if(he)return he(-1),!0}else if(ge)return ge(-1),!0;break;case w.a.RIGHT:if(pt||gt){if(he)return he(1),!0}else if(ge)return ge(1),!0;break;case w.a.UP:if(Ue)return Ue(-1),!0;break;case w.a.DOWN:if(Ue)return Ue(1),!0;break;case w.a.PAGE_UP:if(Ie)return Ie(-1),!0;break;case w.a.PAGE_DOWN:if(Ie)return Ie(1),!0;break;case w.a.ENTER:if(Ge)return Ge(),!0;break}return!1}function Te(C,te,ge,he){var Ue=C;if(!Ue)switch(te){case"time":Ue=he?"hh:mm:ss a":"HH:mm:ss";break;case"week":Ue="gggg-wo";break;case"month":Ue="YYYY-MM";break;case"quarter":Ue="YYYY-[Q]Q";break;case"year":Ue="YYYY";break;default:Ue=ge?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return Ue}function be(C,te){var ge=C==="time"?8:10;return Math.max(ge,te.length)+2}var de=null,J=new Set;function k(C){return!de&&typeof window!="undefined"&&window.addEventListener&&(de=function(ge){Object(Ce.a)(J).forEach(function(he){he(ge)})},window.addEventListener("mousedown",de)),J.add(C),function(){J.delete(C),J.size===0&&(window.removeEventListener("mousedown",de),de=null)}}var K=function(te){return te==="month"||te==="date"?"year":te},pe=function(te){return te==="date"?"month":te},M=function(te){return te==="month"||te==="date"?"quarter":te},E=function(te){return te==="date"?"week":te},x={year:K,month:pe,quarter:M,week:E,time:null,date:null};function D(C,te){return C.some(function(ge){return ge&&ge.contains(te)})}function b(C){var te=C.prefixCls,ge=C.units,he=C.onSelect,Ue=C.value,Ie=C.active,Ge=C.hideDisabledOptions,nt="".concat(te,"-cell"),pt=F.useContext(L),gt=pt.open,Ot=F.useRef(null),_t=F.useRef(new Map);return F.useLayoutEffect(function(){var Ye=_t.current.get(Ue);Ye&>!==!1&&Re(Ot.current,Ye.offsetTop,120)},[Ue]),F.useLayoutEffect(function(){if(gt){var Ye=_t.current.get(Ue);Ye&&Re(Ot.current,Ye.offsetTop,0)}},[gt]),F.createElement("ul",{className:G()("".concat(te,"-column"),Object(H.a)({},"".concat(te,"-column-active"),Ie)),ref:Ot,style:{position:"relative"}},ge.map(function(Ye){var yt;return Ge&&Ye.disabled?null:F.createElement("li",{key:Ye.value,ref:function(At){_t.current.set(Ye.value,At)},className:G()(nt,(yt={},Object(H.a)(yt,"".concat(nt,"-disabled"),Ye.disabled),Object(H.a)(yt,"".concat(nt,"-selected"),Ue===Ye.value),yt)),onClick:function(){if(Ye.disabled)return;he(Ye.value)}},F.createElement("div",{className:"".concat(nt,"-inner")},Ye.label))}))}var N=b;function z(C,te){for(var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",he=String(C);he.length<te;)he="".concat(ge).concat(C);return he}var ue=function(){for(var te=arguments.length,ge=new Array(te),he=0;he<te;he++)ge[he]=arguments[he];return ge};function Ee(C){return C==null?[]:Array.isArray(C)?C:[C]}function ze(C){var te={};return Object.keys(C).forEach(function(ge){(ge.substr(0,5)==="data-"||ge.substr(0,5)==="aria-"||ge==="role"||ge==="name")&&ge.substr(0,7)!=="data-__"&&(te[ge]=C[ge])}),te}function me(C,te){return C?C[te]:null}function je(C,te,ge){var he=[me(C,0),me(C,1)];return he[ge]=typeof te=="function"?te(he[ge]):te,!he[0]&&!he[1]?null:he}function Ke(C,te,ge,he,Ue){var Ie=C.setHour(te,ge);return Ie=C.setMinute(Ie,he),Ie=C.setSecond(Ie,Ue),Ie}function qe(C,te,ge,he,Ue,Ie){var Ge=Math.floor(C/he)*he;if(Ge<C)return[Ge,60-Ue,60-Ie];var nt=Math.floor(te/Ue)*Ue;if(nt<te)return[Ge,nt,60-Ie];var pt=Math.floor(ge/Ie)*Ie;return[Ge,nt,pt]}function Pe(C,te){if(C.length!==te.length)return!0;for(var ge=0;ge<C.length;ge+=1)if(C[ge].disabled!==te[ge].disabled)return!0;return!1}function ht(C,te,ge,he){for(var Ue=[],Ie=C;Ie<=te;Ie+=ge)Ue.push({label:z(Ie,2),value:Ie,disabled:(he||[]).includes(Ie)});return Ue}function V(C){var te=C.generateConfig,ge=C.prefixCls,he=C.operationRef,Ue=C.activeColumnIndex,Ie=C.value,Ge=C.showHour,nt=C.showMinute,pt=C.showSecond,gt=C.use12Hours,Ot=C.hourStep,_t=Ot===void 0?1:Ot,Ye=C.minuteStep,yt=Ye===void 0?1:Ye,ot=C.secondStep,At=ot===void 0?1:ot,mt=C.disabledHours,Lt=C.disabledMinutes,Wt=C.disabledSeconds,hn=C.hideDisabledOptions,Hn=C.onSelect,nn=[],fn="".concat(ge,"-content"),Nn="".concat(ge,"-time-panel"),Tn,ki=Ie?te.getHour(Ie):-1,di=Ie?te.getMinute(Ie):-1,Lo=Ie?te.getSecond(Ie):-1,yi=function(yr,ti,Mo,wo){var Fi=Ie||te.getNow(),Xo=Math.max(0,ti),Bi=Math.max(0,Mo),ko=Math.max(0,wo);return Fi=Ke(te,Fi,!gt||!yr?Xo:Xo+12,Bi,ko),Fi},ho=ht(0,23,_t,mt&&mt()),bi=Object(fe.a)(function(){return ho},ho,Pe);gt&&(Tn=ki>=12,ki%=12);var es=F.useMemo(function(){if(!gt)return[!1,!1];var tr=[!0,!0];return bi.forEach(function(yr){var ti=yr.disabled,Mo=yr.value;if(ti)return;Mo>=12?tr[1]=!1:tr[0]=!1}),tr},[gt,bi]),ts=Object(we.a)(es,2),ns=ts[0],ua=ts[1],rs=F.useMemo(function(){return gt?bi.filter(Tn?function(tr){return tr.value>=12}:function(tr){return tr.value<12}).map(function(tr){var yr=tr.value%12,ti=yr===0?"12":z(yr,2);return Object(ce.a)(Object(ce.a)({},tr),{},{label:ti,value:yr})}):bi},[gt,bi]),jo=ht(0,59,yt,Lt&&Lt(ki)),is=ht(0,59,At,Wt&&Wt(ki,di));he.current={onUpDown:function(yr){var ti=nn[Ue];if(ti)for(var Mo=ti.units.findIndex(function(Bi){return Bi.value===ti.value}),wo=ti.units.length,Fi=1;Fi<wo;Fi+=1){var Xo=ti.units[(Mo+yr*Fi+wo)%wo];if(Xo.disabled!==!0){ti.onSelect(Xo.value);break}}}};function Ra(tr,yr,ti,Mo,wo){tr!==!1&&nn.push({node:F.cloneElement(yr,{prefixCls:Nn,value:ti,active:Ue===nn.length,onSelect:wo,units:Mo,hideDisabledOptions:hn}),onSelect:wo,value:ti,units:Mo})}Ra(Ge,F.createElement(N,{key:"hour"}),ki,rs,function(tr){Hn(yi(Tn,tr,di,Lo),"mouse")}),Ra(nt,F.createElement(N,{key:"minute"}),di,jo,function(tr){Hn(yi(Tn,ki,tr,Lo),"mouse")}),Ra(pt,F.createElement(N,{key:"second"}),Lo,is,function(tr){Hn(yi(Tn,ki,di,tr),"mouse")});var Na=-1;return typeof Tn=="boolean"&&(Na=Tn?1:0),Ra(gt===!0,F.createElement(N,{key:"12hours"}),Na,[{label:"AM",value:0,disabled:ns},{label:"PM",value:1,disabled:ua}],function(tr){Hn(yi(!!tr,ki,di,Lo),"mouse")}),F.createElement("div",{className:fn},nn.map(function(tr){var yr=tr.node;return yr}))}var ie=V,Z=function(te){return te.filter(function(ge){return ge!==!1}).length};function Le(C){var te=C.generateConfig,ge=C.format,he=ge===void 0?"HH:mm:ss":ge,Ue=C.prefixCls,Ie=C.active,Ge=C.operationRef,nt=C.showHour,pt=C.showMinute,gt=C.showSecond,Ot=C.use12Hours,_t=Ot===void 0?!1:Ot,Ye=C.onSelect,yt=C.value,ot="".concat(Ue,"-time-panel"),At=F.useRef(),mt=F.useState(-1),Lt=Object(we.a)(mt,2),Wt=Lt[0],hn=Lt[1],Hn=Z([nt,pt,gt,_t]);return Ge.current={onKeyDown:function(fn){return Fe(fn,{onLeftRight:function(Tn){hn((Wt+Tn+Hn)%Hn)},onUpDown:function(Tn){Wt===-1?hn(0):At.current&&At.current.onUpDown(Tn)},onEnter:function(){Ye(yt||te.getNow(),"key"),hn(-1)}})},onBlur:function(){hn(-1)}},F.createElement("div",{className:G()(ot,Object(H.a)({},"".concat(ot,"-active"),Ie))},F.createElement(se,Object.assign({},C,{format:he,prefixCls:Ue})),F.createElement(ie,Object.assign({},C,{prefixCls:Ue,activeColumnIndex:Wt,operationRef:At})))}var $e=Le,rt=7;function Et(C,te){return!C&&!te?!0:!C||!te?!1:void 0}function Ct(C,te,ge){var he=Et(te,ge);if(typeof he=="boolean")return he;var Ue=Math.floor(C.getYear(te)/10),Ie=Math.floor(C.getYear(ge)/10);return Ue===Ie}function q(C,te,ge){var he=Et(te,ge);return typeof he=="boolean"?he:C.getYear(te)===C.getYear(ge)}function oe(C,te){var ge=Math.floor(C.getMonth(te)/3);return ge+1}function ke(C,te,ge){var he=Et(te,ge);return typeof he=="boolean"?he:q(C,te,ge)&&oe(C,te)===oe(C,ge)}function We(C,te,ge){var he=Et(te,ge);return typeof he=="boolean"?he:q(C,te,ge)&&C.getMonth(te)===C.getMonth(ge)}function bt(C,te,ge){var he=Et(te,ge);return typeof he=="boolean"?he:C.getYear(te)===C.getYear(ge)&&C.getMonth(te)===C.getMonth(ge)&&C.getDate(te)===C.getDate(ge)}function Jt(C,te,ge){var he=Et(te,ge);return typeof he=="boolean"?he:C.getHour(te)===C.getHour(ge)&&C.getMinute(te)===C.getMinute(ge)&&C.getSecond(te)===C.getSecond(ge)}function sn(C,te,ge,he){var Ue=Et(ge,he);return typeof Ue=="boolean"?Ue:C.locale.getWeek(te,ge)===C.locale.getWeek(te,he)}function Ut(C,te,ge){return bt(C,te,ge)&&Jt(C,te,ge)}function jt(C,te,ge,he){return!te||!ge||!he?!1:!bt(C,te,he)&&!bt(C,ge,he)&&C.isAfter(he,te)&&C.isAfter(ge,he)}function lr(C,te,ge){var he=te.locale.getWeekFirstDay(C),Ue=te.setDate(ge,1),Ie=te.getWeekDay(Ue),Ge=te.addDate(Ue,he-Ie);return te.getMonth(Ge)===te.getMonth(ge)&&te.getDate(Ge)>1&&(Ge=te.addDate(Ge,-7)),Ge}function Dn(C,te,ge){var he=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(te){case"year":return ge.addYear(C,he*10);case"quarter":case"month":return ge.addYear(C,he);default:return ge.addMonth(C,he)}}var fo=F.createContext({}),wr=fo;function $r(C){var te=C.cellPrefixCls,ge=C.generateConfig,he=C.rangedValue,Ue=C.hoverRangedValue,Ie=C.isInView,Ge=C.isSameCell,nt=C.offsetCell,pt=C.today,gt=C.value;function Ot(_t){var Ye,yt=nt(_t,-1),ot=nt(_t,1),At=me(he,0),mt=me(he,1),Lt=me(Ue,0),Wt=me(Ue,1),hn=jt(ge,Lt,Wt,_t);function Hn(di){return Ge(At,di)}function nn(di){return Ge(mt,di)}var fn=Ge(Lt,_t),Nn=Ge(Wt,_t),Tn=(hn||Nn)&&(!Ie(yt)||nn(yt)),ki=(hn||fn)&&(!Ie(ot)||Hn(ot));return Ye={},Object(H.a)(Ye,"".concat(te,"-in-view"),Ie(_t)),Object(H.a)(Ye,"".concat(te,"-in-range"),jt(ge,At,mt,_t)),Object(H.a)(Ye,"".concat(te,"-range-start"),Hn(_t)),Object(H.a)(Ye,"".concat(te,"-range-end"),nn(_t)),Object(H.a)(Ye,"".concat(te,"-range-start-single"),Hn(_t)&&!mt),Object(H.a)(Ye,"".concat(te,"-range-end-single"),nn(_t)&&!At),Object(H.a)(Ye,"".concat(te,"-range-start-near-hover"),Hn(_t)&&(Ge(yt,Lt)||jt(ge,Lt,Wt,yt))),Object(H.a)(Ye,"".concat(te,"-range-end-near-hover"),nn(_t)&&(Ge(ot,Wt)||jt(ge,Lt,Wt,ot))),Object(H.a)(Ye,"".concat(te,"-range-hover"),hn),Object(H.a)(Ye,"".concat(te,"-range-hover-start"),fn),Object(H.a)(Ye,"".concat(te,"-range-hover-end"),Nn),Object(H.a)(Ye,"".concat(te,"-range-hover-edge-start"),Tn),Object(H.a)(Ye,"".concat(te,"-range-hover-edge-end"),ki),Object(H.a)(Ye,"".concat(te,"-range-hover-edge-start-near-range"),Tn&&Ge(yt,mt)),Object(H.a)(Ye,"".concat(te,"-range-hover-edge-end-near-range"),ki&&Ge(ot,At)),Object(H.a)(Ye,"".concat(te,"-today"),Ge(pt,_t)),Object(H.a)(Ye,"".concat(te,"-selected"),Ge(gt,_t)),Ye}return Ot}function pn(C){for(var te=C.prefixCls,ge=C.disabledDate,he=C.onSelect,Ue=C.rowNum,Ie=C.colNum,Ge=C.prefixColumn,nt=C.rowClassName,pt=C.baseDate,gt=C.getCellClassName,Ot=C.getCellText,_t=C.getCellNode,Ye=C.getCellDate,yt=C.titleCell,ot=C.headerCells,At=F.useContext(L),mt=At.onDateMouseEnter,Lt=At.onDateMouseLeave,Wt="".concat(te,"-cell"),hn=[],Hn=0;Hn<Ue;Hn+=1){for(var nn=[],fn=void 0,Nn=function(di){var Lo=Hn*Ie+di,yi=Ye(pt,Lo),ho=ge&&ge(yi);di===0&&(fn=yi,Ge&&nn.push(Ge(fn))),nn.push(F.createElement("td",{key:di,title:yt&&yt(yi),className:G()(Wt,Object(ce.a)(Object(H.a)({},"".concat(Wt,"-disabled"),ho),gt(yi))),onClick:function(){ho||he(yi)},onMouseEnter:function(){!ho&&mt&&mt(yi)},onMouseLeave:function(){!ho&&Lt&&Lt(yi)}},_t?_t(yi):F.createElement("div",{className:"".concat(Wt,"-inner")},Ot(yi))))},Tn=0;Tn<Ie;Tn+=1)Nn(Tn);hn.push(F.createElement("tr",{key:Hn,className:nt&&nt(fn)},nn))}return F.createElement("div",{className:"".concat(te,"-body")},F.createElement("table",{className:"".concat(te,"-content")},ot&&F.createElement("thead",null,F.createElement("tr",null,ot)),F.createElement("tbody",null,hn)))}function un(C){var te=C.prefixCls,ge=C.generateConfig,he=C.prefixColumn,Ue=C.locale,Ie=C.rowCount,Ge=C.viewDate,nt=C.value,pt=C.dateRender,gt=F.useContext(wr),Ot=gt.rangedValue,_t=gt.hoverRangedValue,Ye=lr(Ue.locale,ge,Ge),yt="".concat(te,"-cell"),ot=ge.locale.getWeekFirstDay(Ue.locale),At=ge.getNow(),mt=[],Lt=Ue.shortWeekDays||(ge.locale.getShortWeekDays?ge.locale.getShortWeekDays(Ue.locale):[]);he&&mt.push(F.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var Wt=0;Wt<rt;Wt+=1)mt.push(F.createElement("th",{key:Wt},Lt[(Wt+ot)%rt]));var hn=$r({cellPrefixCls:yt,today:At,value:nt,generateConfig:ge,rangedValue:he?null:Ot,hoverRangedValue:he?null:_t,isSameCell:function(fn,Nn){return bt(ge,fn,Nn)},isInView:function(fn){return We(ge,fn,Ge)},offsetCell:function(fn,Nn){return ge.addDate(fn,Nn)}}),Hn=pt?function(nn){return pt(nn,At)}:void 0;return F.createElement(pn,Object.assign({},C,{rowNum:Ie,colNum:rt,baseDate:Ye,getCellNode:Hn,getCellText:ge.getDate,getCellClassName:hn,getCellDate:ge.addDate,titleCell:function(fn){return ge.locale.format(Ue.locale,fn,"YYYY-MM-DD")},headerCells:mt}))}var Cn=un;function ln(C){var te=C.prefixCls,ge=C.generateConfig,he=C.locale,Ue=C.viewDate,Ie=C.onNextMonth,Ge=C.onPrevMonth,nt=C.onNextYear,pt=C.onPrevYear,gt=C.onYearClick,Ot=C.onMonthClick,_t=F.useContext(L),Ye=_t.hideHeader;if(Ye)return null;var yt="".concat(te,"-header"),ot=he.shortMonths||(ge.locale.getShortMonths?ge.locale.getShortMonths(he.locale):[]),At=ge.getMonth(Ue),mt=F.createElement("button",{type:"button",key:"year",onClick:gt,tabIndex:-1,className:"".concat(te,"-year-btn")},ge.locale.format(he.locale,Ue,he.yearFormat)),Lt=F.createElement("button",{type:"button",key:"month",onClick:Ot,tabIndex:-1,className:"".concat(te,"-month-btn")},he.monthFormat?ge.locale.format(he.locale,Ue,he.monthFormat):ot[At]),Wt=he.monthBeforeYear?[Lt,mt]:[mt,Lt];return F.createElement(P,Object.assign({},C,{prefixCls:yt,onSuperPrev:pt,onPrev:Ge,onNext:Ie,onSuperNext:nt}),Wt)}var gn=ln,Tr=6;function er(C){var te=C.prefixCls,ge=C.panelName,he=ge===void 0?"date":ge,Ue=C.keyboardConfig,Ie=C.active,Ge=C.operationRef,nt=C.generateConfig,pt=C.value,gt=C.viewDate,Ot=C.onViewDateChange,_t=C.onPanelChange,Ye=C.onSelect,yt="".concat(te,"-").concat(he,"-panel");Ge.current={onKeyDown:function(Lt){return Fe(Lt,Object(ce.a)({onLeftRight:function(hn){Ye(nt.addDate(pt||gt,hn),"key")},onCtrlLeftRight:function(hn){Ye(nt.addYear(pt||gt,hn),"key")},onUpDown:function(hn){Ye(nt.addDate(pt||gt,hn*rt),"key")},onPageUpDown:function(hn){Ye(nt.addMonth(pt||gt,hn),"key")}},Ue))}};var ot=function(Lt){var Wt=nt.addYear(gt,Lt);Ot(Wt),_t(null,Wt)},At=function(Lt){var Wt=nt.addMonth(gt,Lt);Ot(Wt),_t(null,Wt)};return F.createElement("div",{className:G()(yt,Object(H.a)({},"".concat(yt,"-active"),Ie))},F.createElement(gn,Object.assign({},C,{prefixCls:te,value:pt,viewDate:gt,onPrevYear:function(){ot(-1)},onNextYear:function(){ot(1)},onPrevMonth:function(){At(-1)},onNextMonth:function(){At(1)},onMonthClick:function(){_t("month",gt)},onYearClick:function(){_t("year",gt)}})),F.createElement(Cn,Object.assign({},C,{onSelect:function(Lt){return Ye(Lt,"mouse")},prefixCls:te,value:pt,viewDate:gt,rowCount:Tr})))}var Hr=er;function Ar(C,te,ge){if(!ge)return te;var he=te;return he=C.setHour(he,C.getHour(ge)),he=C.setMinute(he,C.getMinute(ge)),he=C.setSecond(he,C.getSecond(ge)),he}var Ti=ue("date","time");function ga(C){var te=C.prefixCls,ge=C.operationRef,he=C.generateConfig,Ue=C.value,Ie=C.defaultValue,Ge=C.disabledTime,nt=C.showTime,pt=C.onSelect,gt="".concat(te,"-datetime-panel"),Ot=F.useState(null),_t=Object(we.a)(Ot,2),Ye=_t[0],yt=_t[1],ot=F.useRef({}),At=F.useRef({}),mt=Object(A.a)(nt)==="object"?Object(ce.a)({},nt):{};function Lt(nn){var fn=Ti.indexOf(Ye)+nn,Nn=Ti[fn]||null;return Nn}var Wt=function(fn){At.current.onBlur&&At.current.onBlur(fn),yt(null)};ge.current={onKeyDown:function(fn){if(fn.which===w.a.TAB){var Nn=Lt(fn.shiftKey?-1:1);return yt(Nn),Nn&&fn.preventDefault(),!0}if(Ye){var Tn=Ye==="date"?ot:At;return Tn.current&&Tn.current.onKeyDown&&Tn.current.onKeyDown(fn),!0}return[w.a.LEFT,w.a.RIGHT,w.a.UP,w.a.DOWN].includes(fn.which)?(yt("date"),!0):!1},onBlur:Wt,onClose:Wt};var hn=function(fn,Nn){var Tn=fn;Nn==="date"&&!Ue&&mt.defaultValue?(Tn=he.setHour(Tn,he.getHour(mt.defaultValue)),Tn=he.setMinute(Tn,he.getMinute(mt.defaultValue)),Tn=he.setSecond(Tn,he.getSecond(mt.defaultValue))):Nn==="time"&&!Ue&&Ie&&(Tn=he.setYear(Tn,he.getYear(Ie)),Tn=he.setMonth(Tn,he.getMonth(Ie)),Tn=he.setDate(Tn,he.getDate(Ie))),pt&&pt(Tn,"mouse")},Hn=Ge?Ge(Ue||null):{};return F.createElement("div",{className:G()(gt,Object(H.a)({},"".concat(gt,"-active"),Ye))},F.createElement(Hr,Object.assign({},C,{operationRef:ot,active:Ye==="date",onSelect:function(fn){hn(Ar(he,fn,nt&&Object(A.a)(nt)==="object"?nt.defaultValue:null),"date")}})),F.createElement($e,Object.assign({},C,{format:void 0},mt,Hn,{defaultValue:void 0,operationRef:At,active:Ye==="time",onSelect:function(fn){hn(fn,"time")}})))}var ma=ga;function No(C){var te=C.prefixCls,ge=C.generateConfig,he=C.locale,Ue=C.value,Ie="".concat(te,"-cell"),Ge=function(Ot){return F.createElement("td",{key:"week",className:G()(Ie,"".concat(Ie,"-week"))},ge.locale.getWeek(he.locale,Ot))},nt="".concat(te,"-week-panel-row"),pt=function(Ot){return G()(nt,Object(H.a)({},"".concat(nt,"-selected"),sn(ge,he.locale,Ue,Ot)))};return F.createElement(Hr,Object.assign({},C,{panelName:"week",prefixColumn:Ge,rowClassName:pt,keyboardConfig:{onLeftRight:null}}))}var qa=No;function Io(C){var te=C.prefixCls,ge=C.generateConfig,he=C.locale,Ue=C.viewDate,Ie=C.onNextYear,Ge=C.onPrevYear,nt=C.onYearClick,pt=F.useContext(L),gt=pt.hideHeader;if(gt)return null;var Ot="".concat(te,"-header");return F.createElement(P,Object.assign({},C,{prefixCls:Ot,onSuperPrev:Ge,onSuperNext:Ie}),F.createElement("button",{type:"button",onClick:nt,className:"".concat(te,"-year-btn")},ge.locale.format(he.locale,Ue,he.yearFormat)))}var Di=Io,Wr=3,Po=4;function Is(C){var te=C.prefixCls,ge=C.locale,he=C.value,Ue=C.viewDate,Ie=C.generateConfig,Ge=C.monthCellRender,nt=F.useContext(wr),pt=nt.rangedValue,gt=nt.hoverRangedValue,Ot="".concat(te,"-cell"),_t=$r({cellPrefixCls:Ot,value:he,generateConfig:Ie,rangedValue:pt,hoverRangedValue:gt,isSameCell:function(mt,Lt){return We(Ie,mt,Lt)},isInView:function(){return!0},offsetCell:function(mt,Lt){return Ie.addMonth(mt,Lt)}}),Ye=ge.shortMonths||(Ie.locale.getShortMonths?Ie.locale.getShortMonths(ge.locale):[]),yt=Ie.setMonth(Ue,0),ot=Ge?function(At){return Ge(At,ge)}:void 0;return F.createElement(pn,Object.assign({},C,{rowNum:Po,colNum:Wr,baseDate:yt,getCellNode:ot,getCellText:function(mt){return ge.monthFormat?Ie.locale.format(ge.locale,mt,ge.monthFormat):Ye[Ie.getMonth(mt)]},getCellClassName:_t,getCellDate:Ie.addMonth,titleCell:function(mt){return Ie.locale.format(ge.locale,mt,"YYYY-MM")}}))}var $a=Is;function or(C){var te=C.prefixCls,ge=C.operationRef,he=C.onViewDateChange,Ue=C.generateConfig,Ie=C.value,Ge=C.viewDate,nt=C.onPanelChange,pt=C.onSelect,gt="".concat(te,"-month-panel");ge.current={onKeyDown:function(Ye){return Fe(Ye,{onLeftRight:function(ot){pt(Ue.addMonth(Ie||Ge,ot),"key")},onCtrlLeftRight:function(ot){pt(Ue.addYear(Ie||Ge,ot),"key")},onUpDown:function(ot){pt(Ue.addMonth(Ie||Ge,ot*Wr),"key")},onEnter:function(){nt("date",Ie||Ge)}})}};var Ot=function(Ye){var yt=Ue.addYear(Ge,Ye);he(yt),nt(null,yt)};return F.createElement("div",{className:gt},F.createElement(Di,Object.assign({},C,{prefixCls:te,onPrevYear:function(){Ot(-1)},onNextYear:function(){Ot(1)},onYearClick:function(){nt("year",Ge)}})),F.createElement($a,Object.assign({},C,{prefixCls:te,onSelect:function(Ye){pt(Ye,"mouse"),nt("date",Ye)}})))}var Xt=or;function jr(C){var te=C.prefixCls,ge=C.generateConfig,he=C.locale,Ue=C.viewDate,Ie=C.onNextYear,Ge=C.onPrevYear,nt=C.onYearClick,pt=F.useContext(L),gt=pt.hideHeader;if(gt)return null;var Ot="".concat(te,"-header");return F.createElement(P,Object.assign({},C,{prefixCls:Ot,onSuperPrev:Ge,onSuperNext:Ie}),F.createElement("button",{type:"button",onClick:nt,className:"".concat(te,"-year-btn")},ge.locale.format(he.locale,Ue,he.yearFormat)))}var Bn=jr,zr=4,Vr=1;function Sn(C){var te=C.prefixCls,ge=C.locale,he=C.value,Ue=C.viewDate,Ie=C.generateConfig,Ge=F.useContext(wr),nt=Ge.rangedValue,pt=Ge.hoverRangedValue,gt="".concat(te,"-cell"),Ot=$r({cellPrefixCls:gt,value:he,generateConfig:Ie,rangedValue:nt,hoverRangedValue:pt,isSameCell:function(yt,ot){return ke(Ie,yt,ot)},isInView:function(){return!0},offsetCell:function(yt,ot){return Ie.addMonth(yt,ot*3)}}),_t=Ie.setDate(Ie.setMonth(Ue,0),1);return F.createElement(pn,Object.assign({},C,{rowNum:Vr,colNum:zr,baseDate:_t,getCellText:function(yt){return Ie.locale.format(ge.locale,yt,ge.quarterFormat||"[Q]Q")},getCellClassName:Ot,getCellDate:function(yt,ot){return Ie.addMonth(yt,ot*3)},titleCell:function(yt){return Ie.locale.format(ge.locale,yt,"YYYY-[Q]Q")}}))}var bn=Sn;function tn(C){var te=C.prefixCls,ge=C.operationRef,he=C.onViewDateChange,Ue=C.generateConfig,Ie=C.value,Ge=C.viewDate,nt=C.onPanelChange,pt=C.onSelect,gt="".concat(te,"-quarter-panel");ge.current={onKeyDown:function(Ye){return Fe(Ye,{onLeftRight:function(ot){pt(Ue.addMonth(Ie||Ge,ot*3),"key")},onCtrlLeftRight:function(ot){pt(Ue.addYear(Ie||Ge,ot),"key")},onUpDown:function(ot){pt(Ue.addYear(Ie||Ge,ot),"key")}})}};var Ot=function(Ye){var yt=Ue.addYear(Ge,Ye);he(yt),nt(null,yt)};return F.createElement("div",{className:gt},F.createElement(Bn,Object.assign({},C,{prefixCls:te,onPrevYear:function(){Ot(-1)},onNextYear:function(){Ot(1)},onYearClick:function(){nt("year",Ge)}})),F.createElement(bn,Object.assign({},C,{prefixCls:te,onSelect:function(Ye){pt(Ye,"mouse")}})))}var He=tn;function Yt(C){var te=C.prefixCls,ge=C.generateConfig,he=C.viewDate,Ue=C.onPrevDecade,Ie=C.onNextDecade,Ge=C.onDecadeClick,nt=F.useContext(L),pt=nt.hideHeader;if(pt)return null;var gt="".concat(te,"-header"),Ot=ge.getYear(he),_t=Math.floor(Ot/vn)*vn,Ye=_t+vn-1;return F.createElement(P,Object.assign({},C,{prefixCls:gt,onSuperPrev:Ue,onSuperNext:Ie}),F.createElement("button",{type:"button",onClick:Ge,className:"".concat(te,"-decade-btn")},_t,"-",Ye))}var Ht=Yt,wn=3,Un=4;function dn(C){var te=C.prefixCls,ge=C.value,he=C.viewDate,Ue=C.locale,Ie=C.generateConfig,Ge=F.useContext(wr),nt=Ge.rangedValue,pt=Ge.hoverRangedValue,gt="".concat(te,"-cell"),Ot=Ie.getYear(he),_t=Math.floor(Ot/vn)*vn,Ye=_t+vn-1,yt=Ie.setYear(he,_t-Math.ceil((wn*Un-vn)/2)),ot=function(Lt){var Wt=Ie.getYear(Lt);return _t<=Wt&&Wt<=Ye},At=$r({cellPrefixCls:gt,value:ge,generateConfig:Ie,rangedValue:nt,hoverRangedValue:pt,isSameCell:function(Lt,Wt){return q(Ie,Lt,Wt)},isInView:ot,offsetCell:function(Lt,Wt){return Ie.addYear(Lt,Wt)}});return F.createElement(pn,Object.assign({},C,{rowNum:Un,colNum:wn,baseDate:yt,getCellText:Ie.getYear,getCellClassName:At,getCellDate:Ie.addYear,titleCell:function(Lt){return Ie.locale.format(Ue.locale,Lt,"YYYY")}}))}var cn=dn,vn=10;function Or(C){var te=C.prefixCls,ge=C.operationRef,he=C.onViewDateChange,Ue=C.generateConfig,Ie=C.value,Ge=C.viewDate,nt=C.sourceMode,pt=C.onSelect,gt=C.onPanelChange,Ot="".concat(te,"-year-panel");ge.current={onKeyDown:function(yt){return Fe(yt,{onLeftRight:function(At){pt(Ue.addYear(Ie||Ge,At),"key")},onCtrlLeftRight:function(At){pt(Ue.addYear(Ie||Ge,At*vn),"key")},onUpDown:function(At){pt(Ue.addYear(Ie||Ge,At*wn),"key")},onEnter:function(){gt(nt==="date"?"date":"month",Ie||Ge)}})}};var _t=function(yt){var ot=Ue.addYear(Ge,yt*10);he(ot),gt(null,ot)};return F.createElement("div",{className:Ot},F.createElement(Ht,Object.assign({},C,{prefixCls:te,onPrevDecade:function(){_t(-1)},onNextDecade:function(){_t(1)},onDecadeClick:function(){gt("decade",Ge)}})),F.createElement(cn,Object.assign({},C,{prefixCls:te,onSelect:function(yt){gt(nt==="date"?"date":"month",yt),pt(yt,"mouse")}})))}var Rn=Or;function vr(C){var te=C.prefixCls,ge=C.generateConfig,he=C.viewDate,Ue=C.onPrevDecades,Ie=C.onNextDecades,Ge=F.useContext(L),nt=Ge.hideHeader;if(nt)return null;var pt="".concat(te,"-header"),gt=ge.getYear(he),Ot=Math.floor(gt/gr)*gr,_t=Ot+gr-1;return F.createElement(P,Object.assign({},C,{prefixCls:pt,onSuperPrev:Ue,onSuperNext:Ie}),Ot,"-",_t)}var mr=vr,Mr=3,ei=4;function Li(C){var te=Mt-1,ge=C.prefixCls,he=C.viewDate,Ue=C.generateConfig,Ie=C.disabledDate,Ge="".concat(ge,"-cell"),nt=Ue.getYear(he),pt=Math.floor(nt/Mt)*Mt,gt=Math.floor(nt/gr)*gr,Ot=gt+gr-1,_t=Ue.setYear(he,gt-Math.ceil((Mr*ei*Mt-gr)/2)),Ye=function(ot){var At,mt=Ie&&Ie(ot),Lt=Ue.getYear(ot),Wt=Lt+te;return At={},Object(H.a)(At,"".concat(Ge,"-disabled"),mt),Object(H.a)(At,"".concat(Ge,"-in-view"),gt<=Lt&&Wt<=Ot),Object(H.a)(At,"".concat(Ge,"-selected"),Lt===pt),At};return F.createElement(pn,Object.assign({},C,{rowNum:ei,colNum:Mr,baseDate:_t,getCellText:function(ot){var At=Ue.getYear(ot);return"".concat(At,"-").concat(At+te)},getCellClassName:Ye,getCellDate:function(ot,At){return Ue.addYear(ot,At*Mt)}}))}var ji=Li,Mt=10,gr=Mt*10;function Xr(C){var te=C.prefixCls,ge=C.onViewDateChange,he=C.generateConfig,Ue=C.viewDate,Ie=C.operationRef,Ge=C.onSelect,nt=C.onPanelChange,pt="".concat(te,"-decade-panel");Ie.current={onKeyDown:function(Ye){return Fe(Ye,{onLeftRight:function(ot){Ge(he.addYear(Ue,ot*Mt),"key")},onCtrlLeftRight:function(ot){Ge(he.addYear(Ue,ot*gr),"key")},onUpDown:function(ot){Ge(he.addYear(Ue,ot*Mt*Mr),"key")},onEnter:function(){nt("year",Ue)}})}};var gt=function(Ye){var yt=he.addYear(Ue,Ye*gr);ge(yt),nt(null,yt)},Ot=function(Ye){Ge(Ye,"mouse"),nt("year",Ye)};return F.createElement("div",{className:pt},F.createElement(mr,Object.assign({},C,{prefixCls:te,onPrevDecades:function(){gt(-1)},onNextDecades:function(){gt(1)}})),F.createElement(ji,Object.assign({},C,{prefixCls:te,onSelect:Ot})))}var Ko=Xr;function Fr(C,te,ge){return ge?F.createElement("div",{className:"".concat(C,"-footer-extra")},ge(te)):null}function Dr(C){var te=C.prefixCls,ge=C.rangeList,he=ge===void 0?[]:ge,Ue=C.components,Ie=Ue===void 0?{}:Ue,Ge=C.needConfirmButton,nt=C.onNow,pt=C.onOk,gt=C.okDisabled,Ot=C.showNow,_t=C.locale,Ye,yt;if(he.length){var ot=Ie.rangeItem||"span";Ye=F.createElement(F.Fragment,null,he.map(function(mt){var Lt=mt.label,Wt=mt.onClick,hn=mt.onMouseEnter,Hn=mt.onMouseLeave;return F.createElement("li",{key:Lt,className:"".concat(te,"-preset")},F.createElement(ot,{onClick:Wt,onMouseEnter:hn,onMouseLeave:Hn},Lt))}))}if(Ge){var At=Ie.button||"button";nt&&!Ye&&Ot!==!1&&(Ye=F.createElement("li",{className:"".concat(te,"-now")},F.createElement("a",{className:"".concat(te,"-now-btn"),onClick:nt},_t.now))),yt=Ge&&F.createElement("li",{className:"".concat(te,"-ok")},F.createElement(At,{disabled:gt,onClick:pt},_t.ok))}return!Ye&&!yt?null:F.createElement("ul",{className:"".concat(te,"-ranges")},Ye,yt)}function Eo(C){var te,ge=C.prefixCls,he=ge===void 0?"rc-picker":ge,Ue=C.className,Ie=C.style,Ge=C.locale,nt=C.generateConfig,pt=C.value,gt=C.defaultValue,Ot=C.pickerValue,_t=C.defaultPickerValue,Ye=C.disabledDate,yt=C.mode,ot=C.picker,At=ot===void 0?"date":ot,mt=C.tabIndex,Lt=mt===void 0?0:mt,Wt=C.showNow,hn=C.showTime,Hn=C.showToday,nn=C.renderExtraFooter,fn=C.hideHeader,Nn=C.onSelect,Tn=C.onChange,ki=C.onPanelChange,di=C.onMouseDown,Lo=C.onPickerValueChange,yi=C.onOk,ho=C.components,bi=C.direction,es=C.hourStep,ts=es===void 0?1:es,ns=C.minuteStep,ua=ns===void 0?1:ns,rs=C.secondStep,jo=rs===void 0?1:rs,is=At==="date"&&!!hn||At==="time",Ra=24%ts===0,Na=60%ua===0,tr=60%jo===0,yr=F.useContext(L),ti=yr.operationRef,Mo=yr.panelRef,wo=yr.onSelect,Fi=yr.hideRanges,Xo=yr.defaultOpenValue,Bi=F.useContext(wr),ko=Bi.inRange,Ls=Bi.panelPosition,ya=Bi.rangedValue,la=Bi.hoverRangedValue,ni=F.useRef({}),ba=F.useRef(!0),Wu=Object(j.a)(null,{value:pt,defaultValue:gt,postState:function(Zt){return!Zt&&Xo&&At==="time"?Xo:Zt}}),Zi=Object(we.a)(Wu,2),Jo=Zi[0],zu=Zi[1],Fo=Object(j.a)(null,{value:Ot,defaultValue:_t||Jo,postState:function(Zt){return Zt||nt.getNow()}}),Ia=Object(we.a)(Fo,2),_i=Ia[0],Ui=Ia[1],po=function(Zt){Ui(Zt),Lo&&Lo(Zt)},os=function(Zt){var nr=x[At];return nr?nr(Zt):Zt},Hi=Object(j.a)(function(){return At==="time"?"time":os("date")},{value:yt}),Pa=Object(we.a)(Hi,2),Wi=Pa[0],ou=Pa[1];F.useEffect(function(){ou(At)},[At]);var _a=F.useState(function(){return Wi}),In=Object(we.a)(_a,2),wl=In[0],ca=In[1],br=function(Zt,nr){var Qo=os(Zt||Wi);ca(Wi),ou(Qo),ki&&(Wi!==Qo||Ut(nt,_i,_i))&&ki(nr,Qo)},qi=function(Zt,nr){var Qo=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Wi===At||Qo)&&(zu(Zt),Nn&&Nn(Zt),wo&&wo(Zt,nr),Tn&&!Ut(nt,Zt,Jo)&&Tn(Zt))},as=function(Zt){return ni.current&&ni.current.onKeyDown?([w.a.LEFT,w.a.RIGHT,w.a.UP,w.a.DOWN,w.a.PAGE_UP,w.a.PAGE_DOWN,w.a.ENTER].includes(Zt.which)&&Zt.preventDefault(),ni.current.onKeyDown(Zt)):(Object(Y.a)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},ri=function(Zt){ni.current&&ni.current.onBlur&&ni.current.onBlur(Zt)};ti&&Ls!=="right"&&(ti.current={onKeyDown:as,onClose:function(){ni.current&&ni.current.onClose&&ni.current.onClose()}}),F.useEffect(function(){pt&&!ba.current&&Ui(pt)},[pt]),F.useEffect(function(){ba.current=!1},[]);var $i,Bo=Object(ce.a)(Object(ce.a)({},C),{},{operationRef:ni,prefixCls:he,viewDate:_i,value:Jo,onViewDateChange:po,sourceMode:wl,onPanelChange:br,disabledDate:Wi!=="decade"?Ye:void 0});delete Bo.onChange,delete Bo.onSelect;switch(Wi){case"decade":$i=F.createElement(Ko,Object.assign({},Bo,{onSelect:function(Zt,nr){po(Zt),qi(Zt,nr)}}));break;case"year":$i=F.createElement(Rn,Object.assign({},Bo,{onSelect:function(Zt,nr){po(Zt),qi(Zt,nr)}}));break;case"month":$i=F.createElement(Xt,Object.assign({},Bo,{onSelect:function(Zt,nr){po(Zt),qi(Zt,nr)}}));break;case"quarter":$i=F.createElement(He,Object.assign({},Bo,{onSelect:function(Zt,nr){po(Zt),qi(Zt,nr)}}));break;case"week":$i=F.createElement(qa,Object.assign({},Bo,{onSelect:function(Zt,nr){po(Zt),qi(Zt,nr)}}));break;case"time":delete Bo.showTime,$i=F.createElement($e,Object.assign({},Bo,Object(A.a)(hn)==="object"?hn:null,{onSelect:function(Zt,nr){po(Zt),qi(Zt,nr)}}));break;default:hn?$i=F.createElement(ma,Object.assign({},Bo,{onSelect:function(Zt,nr){po(Zt),qi(Zt,nr)}})):$i=F.createElement(Hr,Object.assign({},Bo,{onSelect:function(Zt,nr){po(Zt),qi(Zt,nr)}}))}var au,su,ss=function(){var Zt=nt.getNow(),nr=qe(nt.getHour(Zt),nt.getMinute(Zt),nt.getSecond(Zt),Ra?ts:1,Na?ua:1,tr?jo:1),Qo=Ke(nt,Zt,nr[0],nr[1],nr[2]);qi(Qo,"submit")};Fi||(au=Fr(he,Wi,nn),su=Dr({prefixCls:he,components:ho,needConfirmButton:is,okDisabled:!Jo||Ye&&Ye(Jo),locale:Ge,showNow:Wt,onNow:is&&ss,onOk:function(){Jo&&(qi(Jo,"submit",!0),yi&&yi(Jo))}}));var uu;if(Hn&&Wi==="date"&&At==="date"&&!hn){var lu=nt.getNow(),Ei="".concat(he,"-today-btn"),fa=Ye&&Ye(lu);uu=F.createElement("a",{className:G()(Ei,fa&&"".concat(Ei,"-disabled")),"aria-disabled":fa,onClick:function(){fa||qi(lu,"mouse",!0)}},Ge.today)}return F.createElement(L.Provider,{value:Object(ce.a)(Object(ce.a)({},yr),{},{hideHeader:"hideHeader"in C?fn:yr.hideHeader,hidePrevBtn:ko&&Ls==="right",hideNextBtn:ko&&Ls==="left"})},F.createElement("div",{tabIndex:Lt,className:G()("".concat(he,"-panel"),Ue,(te={},Object(H.a)(te,"".concat(he,"-panel-has-range"),ya&&ya[0]&&ya[1]),Object(H.a)(te,"".concat(he,"-panel-has-range-hover"),la&&la[0]&&la[1]),Object(H.a)(te,"".concat(he,"-panel-rtl"),bi==="rtl"),te)),style:Ie,onKeyDown:as,onBlur:ri,onMouseDown:di,ref:Mo},$i,au||su||uu?F.createElement("div",{className:"".concat(he,"-footer")},au,su,uu):null))}var ci=Eo,fi=O("uciX"),Mi={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function va(C){var te,ge=C.prefixCls,he=C.popupElement,Ue=C.popupStyle,Ie=C.visible,Ge=C.dropdownClassName,nt=C.dropdownAlign,pt=C.transitionName,gt=C.getPopupContainer,Ot=C.children,_t=C.range,Ye=C.popupPlacement,yt=C.direction,ot="".concat(ge,"-dropdown"),At=function(){return Ye!==void 0?Ye:yt==="rtl"?"bottomRight":"bottomLeft"};return F.createElement(fi.a,{showAction:[],hideAction:[],popupPlacement:At(),builtinPlacements:Mi,prefixCls:ot,popupTransitionName:pt,popup:he,popupAlign:nt,popupVisible:Ie,popupClassName:G()(Ge,(te={},Object(H.a)(te,"".concat(ot,"-range"),_t),Object(H.a)(te,"".concat(ot,"-rtl"),yt==="rtl"),te)),popupStyle:Ue,getPopupContainer:gt},Ot)}var Mv=va;function Sd(C){var te=C.open,ge=C.value,he=C.isClickOutside,Ue=C.triggerOpen,Ie=C.forwardKeyDown,Ge=C.blurToCancel,nt=C.onSubmit,pt=C.onCancel,gt=C.onFocus,Ot=C.onBlur,_t=Object(F.useState)(!1),Ye=Object(we.a)(_t,2),yt=Ye[0],ot=Ye[1],At=Object(F.useState)(!1),mt=Object(we.a)(At,2),Lt=mt[0],Wt=mt[1],hn=Object(F.useRef)(!1),Hn=Object(F.useRef)(!1),nn={onMouseDown:function(){ot(!0),Ue(!0)},onKeyDown:function(Nn){switch(Nn.which){case w.a.ENTER:{te?nt()!==!1&&ot(!0):Ue(!0),Nn.preventDefault();return}case w.a.TAB:{yt&&te&&!Nn.shiftKey?(ot(!1),Nn.preventDefault()):!yt&&te&&(!Ie(Nn)&&Nn.shiftKey&&(ot(!0),Nn.preventDefault()));return}case w.a.ESC:{ot(!0),pt();return}}!te&&![w.a.SHIFT].includes(Nn.which)?Ue(!0):yt||Ie(Nn)},onFocus:function(Nn){ot(!0),Wt(!0),gt&>(Nn)},onBlur:function(Nn){if(hn.current||!he(document.activeElement)){hn.current=!1;return}Ge?setTimeout(function(){he(document.activeElement)&&pt()},0):te&&(Ue(!1),Hn.current&&nt()),Wt(!1),Ot&&Ot(Nn)}};return Object(F.useEffect)(function(){Hn.current=!1},[te]),Object(F.useEffect)(function(){Hn.current=!0},[ge]),Object(F.useEffect)(function(){return k(function(fn){var Nn=fn.target;te&&(he(Nn)?Lt||Ue(!1):(hn.current=!0,requestAnimationFrame(function(){hn.current=!1})))})}),[nn,{focused:Lt,typing:yt}]}function Td(C){var te=C.valueTexts,ge=C.onTextChange,he=F.useState(""),Ue=Object(we.a)(he,2),Ie=Ue[0],Ge=Ue[1],nt=F.useRef([]);nt.current=te;function pt(Ot){Ge(Ot),ge(Ot)}function gt(){Ge(nt.current[0])}return F.useEffect(function(){te.every(function(Ot){return Ot!==Ie})&>()},[te.join("||")]),[Ie,pt,gt]}var Dd=O("Gytx"),$E=O.n(Dd);function Rd(C,te){var ge=te.formatList,he=te.generateConfig,Ue=te.locale;return Object(fe.a)(function(){if(!C)return[[""],""];for(var Ie="",Ge=[],nt=0;nt<ge.length;nt+=1){var pt=ge[nt],gt=he.locale.format(Ue.locale,C,pt);Ge.push(gt),nt===0&&(Ie=gt)}return[Ge,Ie]},[C,ge],function(Ie,Ge){return Ie[0]!==Ge[0]||!$E()(Ie[1],Ge[1])})}function qc(C,te){var ge=te.formatList,he=te.generateConfig,Ue=te.locale,Ie=Object(F.useState)(null),Ge=Object(we.a)(Ie,2),nt=Ge[0],pt=Ge[1],gt=Object(F.useRef)(null);function Ot(mt){var Lt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(gt.current),Lt){pt(mt);return}gt.current=requestAnimationFrame(function(){pt(mt)})}var _t=Rd(nt,{formatList:ge,generateConfig:he,locale:Ue}),Ye=Object(we.a)(_t,2),yt=Ye[1];function ot(mt){Ot(mt)}function At(){var mt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Ot(null,mt)}return Object(F.useEffect)(function(){At(!0)},[C]),Object(F.useEffect)(function(){return function(){return cancelAnimationFrame(gt.current)}},[]),[yt,ot,At]}function Nd(C){var te,ge=C.prefixCls,he=ge===void 0?"rc-picker":ge,Ue=C.id,Ie=C.tabIndex,Ge=C.style,nt=C.className,pt=C.dropdownClassName,gt=C.dropdownAlign,Ot=C.popupStyle,_t=C.transitionName,Ye=C.generateConfig,yt=C.locale,ot=C.inputReadOnly,At=C.allowClear,mt=C.autoFocus,Lt=C.showTime,Wt=C.picker,hn=Wt===void 0?"date":Wt,Hn=C.format,nn=C.use12Hours,fn=C.value,Nn=C.defaultValue,Tn=C.open,ki=C.defaultOpen,di=C.defaultOpenValue,Lo=C.suffixIcon,yi=C.clearIcon,ho=C.disabled,bi=C.disabledDate,es=C.placeholder,ts=C.getPopupContainer,ns=C.pickerRef,ua=C.panelRender,rs=C.onChange,jo=C.onOpenChange,is=C.onFocus,Ra=C.onBlur,Na=C.onMouseDown,tr=C.onMouseUp,yr=C.onMouseEnter,ti=C.onMouseLeave,Mo=C.onContextMenu,wo=C.onClick,Fi=C.direction,Xo=C.autoComplete,Bi=Xo===void 0?"off":Xo,ko=F.useRef(null),Ls=hn==="date"&&!!Lt||hn==="time",ya=Ee(Te(Hn,hn,Lt,nn)),la=F.useRef(null),ni=F.useRef(null),ba=Object(j.a)(null,{value:fn,defaultValue:Nn}),Wu=Object(we.a)(ba,2),Zi=Wu[0],Jo=Wu[1],zu=F.useState(Zi),Fo=Object(we.a)(zu,2),Ia=Fo[0],_i=Fo[1],Ui=F.useRef(null),po=Object(j.a)(!1,{value:Tn,defaultValue:ki,postState:function(mn){return ho?!1:mn},onChange:function(mn){jo&&jo(mn),!mn&&Ui.current&&Ui.current.onClose&&Ui.current.onClose()}}),os=Object(we.a)(po,2),Hi=os[0],Pa=os[1],Wi=Rd(Ia,{formatList:ya,generateConfig:Ye,locale:yt}),ou=Object(we.a)(Wi,2),_a=ou[0],In=ou[1],wl=Td({valueTexts:_a,onTextChange:function(mn){var Ms=Ye.locale.parse(yt.locale,mn,ya);Ms&&(!bi||!bi(Ms))&&_i(Ms)}}),ca=Object(we.a)(wl,3),br=ca[0],qi=ca[1],as=ca[2],ri=function(mn){_i(mn),Jo(mn),rs&&!Ut(Ye,Zi,mn)&&rs(mn,mn?Ye.locale.format(yt.locale,mn,ya[0]):"")},$i=function(mn){if(ho&&mn)return;Pa(mn)},Bo=function(mn){return Hi&&Ui.current&&Ui.current.onKeyDown?Ui.current.onKeyDown(mn):(Object(Y.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},au=function(){tr&&tr.apply(void 0,arguments),ko.current&&(ko.current.focus(),$i(!0))},su=Sd({blurToCancel:Ls,open:Hi,value:br,triggerOpen:$i,forwardKeyDown:Bo,isClickOutside:function(mn){return!D([la.current,ni.current],mn)},onSubmit:function(){return bi&&bi(Ia)?!1:(ri(Ia),$i(!1),as(),!0)},onCancel:function(){$i(!1),_i(Zi),as()},onFocus:is,onBlur:Ra}),ss=Object(we.a)(su,2),uu=ss[0],lu=ss[1],Ei=lu.focused,fa=lu.typing;F.useEffect(function(){Hi||(_i(Zi),!_a.length||_a[0]===""?qi(""):In!==br&&as())},[Hi,_a]),F.useEffect(function(){Hi||as()},[hn]),F.useEffect(function(){_i(Zi)},[Zi]),ns&&(ns.current={focus:function(){ko.current&&ko.current.focus()},blur:function(){ko.current&&ko.current.blur()}});var ii=Object(ce.a)(Object(ce.a)({},C),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0}),Zt=F.createElement(ci,Object.assign({},ii,{generateConfig:Ye,className:G()(Object(H.a)({},"".concat(he,"-panel-focused"),!fa)),value:Ia,locale:yt,tabIndex:-1,onChange:_i,direction:Fi}));ua&&(Zt=ua(Zt));var nr=F.createElement("div",{className:"".concat(he,"-panel-container"),onMouseDown:function(mn){mn.preventDefault()}},Zt),Qo;Lo&&(Qo=F.createElement("span",{className:"".concat(he,"-suffix")},Lo));var Al;At&&Zi&&!ho&&(Al=F.createElement("span",{onMouseDown:function(mn){mn.preventDefault(),mn.stopPropagation()},onMouseUp:function(mn){mn.preventDefault(),mn.stopPropagation(),ri(null),$i(!1)},className:"".concat(he,"-clear")},yi||F.createElement("span",{className:"".concat(he,"-clear-btn")})));var us=function(mn,Ms){(Ms==="submit"||Ms!=="key"&&!Ls)&&(ri(mn),$i(!1))},Vu=Fi==="rtl"?"bottomRight":"bottomLeft",Ld=qc(br,{formatList:ya,generateConfig:Ye,locale:yt}),js=Object(we.a)(Ld,3),yn=js[0],wi=js[1],Jr=js[2];return F.createElement(L.Provider,{value:{operationRef:Ui,hideHeader:hn==="time",panelRef:la,onSelect:us,open:Hi,defaultOpenValue:di,onDateMouseEnter:wi,onDateMouseLeave:Jr}},F.createElement(Mv,{visible:Hi,popupElement:nr,popupStyle:Ot,prefixCls:he,dropdownClassName:pt,dropdownAlign:gt,getPopupContainer:ts,transitionName:_t,popupPlacement:Vu,direction:Fi},F.createElement("div",{className:G()(he,nt,(te={},Object(H.a)(te,"".concat(he,"-disabled"),ho),Object(H.a)(te,"".concat(he,"-focused"),Ei),Object(H.a)(te,"".concat(he,"-rtl"),Fi==="rtl"),te)),style:Ge,onMouseDown:Na,onMouseUp:au,onMouseEnter:yr,onMouseLeave:ti,onContextMenu:Mo,onClick:wo},F.createElement("div",{className:G()("".concat(he,"-input"),Object(H.a)({},"".concat(he,"-input-placeholder"),!!yn)),ref:ni},F.createElement("input",Object.assign({id:Ue,tabIndex:Ie,disabled:ho,readOnly:ot||!fa,value:yn||br,onChange:function(mn){qi(mn.target.value)},autoFocus:mt,placeholder:es,ref:ko,title:br},uu,{size:be(hn,ya[0])},ze(C),{autoComplete:Bi})),Qo,Al))))}var e2=function(C){Object(Ve.a)(ge,C);var te=Object(Be.a)(ge);function ge(){var he;return Object(Oe.a)(this,ge),he=te.apply(this,arguments),he.pickerRef=F.createRef(),he.focus=function(){he.pickerRef.current&&he.pickerRef.current.focus()},he.blur=function(){he.pickerRef.current&&he.pickerRef.current.blur()},he}return Object(_e.a)(ge,[{key:"render",value:function(){return F.createElement(Nd,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(F.Component),t2=e2;function Hp(C,te,ge){var he=C.picker,Ue=C.locale,Ie=C.selectedValue,Ge=C.disabledDate,nt=C.disabled,pt=C.generateConfig,gt=me(Ie,0),Ot=me(Ie,1);function _t(mt){var Lt=pt.getYear(mt),Wt=pt.locale.getWeek(Ue.locale,mt);return Lt*100+Wt}function Ye(mt){var Lt=pt.getYear(mt),Wt=pt.getMonth(mt);return Lt*100+Wt}function yt(mt){var Lt=pt.getYear(mt),Wt=oe(pt,mt);return Lt*10+Wt}var ot=F.useCallback(function(mt){if(Ge&&Ge(mt))return!0;if(nt[1]&&Ot)return!bt(pt,mt,Ot)&&pt.isAfter(mt,Ot);if(te&&Ot)switch(he){case"quarter":return yt(mt)>yt(Ot);case"month":return Ye(mt)>Ye(Ot);case"week":return _t(mt)>_t(Ot);default:return!bt(pt,mt,Ot)&&pt.isAfter(mt,Ot)}return!1},[Ge,nt[1],Ot,te]),At=F.useCallback(function(mt){if(Ge&&Ge(mt))return!0;if(nt[0]&>)return!bt(pt,mt,Ot)&&pt.isAfter(gt,mt);if(ge&>)switch(he){case"quarter":return yt(mt)<yt(gt);case"month":return Ye(mt)<Ye(gt);case"week":return _t(mt)<_t(gt);default:return!bt(pt,mt,gt)&&pt.isAfter(gt,mt)}return!1},[Ge,nt[0],gt,ge]);return[ot,At]}function n2(C,te,ge,he){var Ue=Dn(C,ge,he,1);function Ie(Ge){return Ge(C,te)?"same":Ge(Ue,te)?"closing":"far"}switch(ge){case"year":return Ie(function(Ge,nt){return Ct(he,Ge,nt)});case"quarter":case"month":return Ie(function(Ge,nt){return q(he,Ge,nt)});default:return Ie(function(Ge,nt){return We(he,Ge,nt)})}}function r2(C,te,ge,he){var Ue=me(C,0),Ie=me(C,1);if(te===0)return Ue;if(Ue&&Ie){var Ge=n2(Ue,Ie,ge,he);switch(Ge){case"same":return Ue;case"closing":return Ue;default:return Dn(Ie,ge,he,-1)}}return Ue}function kv(C){var te=C.values,ge=C.picker,he=C.defaultDates,Ue=C.generateConfig,Ie=F.useState(function(){return[me(he,0),me(he,1)]}),Ge=Object(we.a)(Ie,2),nt=Ge[0],pt=Ge[1],gt=F.useState(null),Ot=Object(we.a)(gt,2),_t=Ot[0],Ye=Ot[1],yt=me(te,0),ot=me(te,1);function At(Lt){return nt[Lt]?nt[Lt]:me(_t,Lt)||r2(te,Lt,ge,Ue)||yt||ot||Ue.getNow()}function mt(Lt,Wt){if(Lt){var hn=je(_t,Lt,Wt);pt(je(nt,null,Wt)||[null,null]);var Hn=(Wt+1)%2;me(te,Hn)||(hn=je(hn,Lt,Hn)),Ye(hn)}else(yt||ot)&&Ye(null)}return[At,mt]}function Id(C,te){return C&&C[0]&&C[1]&&te.isAfter(C[0],C[1])?[C[1],C[0]]:C}function Wp(C,te,ge,he){return C||he&&he[te]?!0:!!ge[(te+1)%2]}function Fv(C){var te,ge,he,Ue=C.prefixCls,Ie=Ue===void 0?"rc-picker":Ue,Ge=C.id,nt=C.style,pt=C.className,gt=C.popupStyle,Ot=C.dropdownClassName,_t=C.transitionName,Ye=C.dropdownAlign,yt=C.getPopupContainer,ot=C.generateConfig,At=C.locale,mt=C.placeholder,Lt=C.autoFocus,Wt=C.disabled,hn=C.format,Hn=C.picker,nn=Hn===void 0?"date":Hn,fn=C.showTime,Nn=C.use12Hours,Tn=C.separator,ki=Tn===void 0?"~":Tn,di=C.value,Lo=C.defaultValue,yi=C.defaultPickerValue,ho=C.open,bi=C.defaultOpen,es=C.disabledDate,ts=C.disabledTime,ns=C.dateRender,ua=C.panelRender,rs=C.ranges,jo=C.allowEmpty,is=C.allowClear,Ra=C.suffixIcon,Na=C.clearIcon,tr=C.pickerRef,yr=C.inputReadOnly,ti=C.mode,Mo=C.renderExtraFooter,wo=C.onChange,Fi=C.onOpenChange,Xo=C.onPanelChange,Bi=C.onCalendarChange,ko=C.onFocus,Ls=C.onBlur,ya=C.onOk,la=C.components,ni=C.order,ba=C.direction,Wu=C.activePickerIndex,Zi=C.autoComplete,Jo=Zi===void 0?"off":Zi,zu=nn==="date"&&!!fn||nn==="time",Fo=Object(F.useRef)({}),Ia=Object(F.useRef)(null),_i=Object(F.useRef)(null),Ui=Object(F.useRef)(null),po=Object(F.useRef)(null),os=Object(F.useRef)(null),Hi=Object(F.useRef)(null),Pa=Object(F.useRef)(null),Wi=Ee(Te(hn,nn,fn,Nn)),ou=Object(j.a)(0,{value:Wu}),_a=Object(we.a)(ou,2),In=_a[0],wl=_a[1],ca=Object(F.useRef)(null),br=F.useMemo(function(){return Array.isArray(Wt)?Wt:[Wt||!1,Wt||!1]},[Wt]),qi=Object(j.a)(null,{value:di,defaultValue:Lo,postState:function(Ft){return nn==="time"&&!ni?Ft:Id(Ft,ot)}}),as=Object(we.a)(qi,2),ri=as[0],$i=as[1],Bo=kv({values:ri,picker:nn,defaultDates:yi,generateConfig:ot}),au=Object(we.a)(Bo,2),su=au[0],ss=au[1],uu=Object(j.a)(ri,{postState:function(Ft){var an=Ft;if(br[0]&&br[1])return an;for(var Vn=0;Vn<2;Vn+=1)br[Vn]&&!me(an,Vn)&&!me(jo,Vn)&&(an=je(an,ot.getNow(),Vn));return an}}),lu=Object(we.a)(uu,2),Ei=lu[0],fa=lu[1],ii=Object(j.a)([nn,nn],{value:ti}),Zt=Object(we.a)(ii,2),nr=Zt[0],Qo=Zt[1];Object(F.useEffect)(function(){Qo([nn,nn])},[nn]);var Al=function(Ft,an){Qo(Ft),Xo&&Xo(an,Ft)},us=Hp({picker:nn,selectedValue:Ei,locale:At,disabled:br,disabledDate:es,generateConfig:ot},Fo.current[1],Fo.current[0]),Vu=Object(we.a)(us,2),Ld=Vu[0],js=Vu[1],yn=Object(j.a)(!1,{value:ho,defaultValue:bi,postState:function(Ft){return br[In]?!1:Ft},onChange:function(Ft){Fi&&Fi(Ft),!Ft&&ca.current&&ca.current.onClose&&ca.current.onClose()}}),wi=Object(we.a)(yn,2),Jr=wi[0],oi=wi[1],mn=Jr&&In===0,Ms=Jr&&In===1,Uv=Object(F.useState)(0),Hv=Object(we.a)(Uv,2),i2=Hv[0],cu=Hv[1];Object(F.useEffect)(function(){!Jr&&Ia.current&&cu(Ia.current.offsetWidth)},[Jr]);var zp=F.useRef();function fu(zn,Ft){if(zn)clearTimeout(zp.current),Fo.current[Ft]=!0,wl(Ft),oi(zn),Jr||ss(null,Ft);else if(In===Ft){oi(zn);var an=Fo.current;zp.current=setTimeout(function(){an===Fo.current&&(Fo.current={})})}}function $c(zn){fu(!0,zn),setTimeout(function(){var Ft=[Hi,Pa][zn];Ft.current&&Ft.current.focus()},0)}function ef(zn,Ft){var an=zn,Vn=me(an,0),ai=me(an,1);Vn&&ai&&ot.isAfter(Vn,ai)&&(nn==="week"&&!sn(ot,At.locale,Vn,ai)||nn==="quarter"&&!ke(ot,Vn,ai)||nn!=="week"&&nn!=="quarter"&&nn!=="time"&&!bt(ot,Vn,ai)?(Ft===0?(an=[Vn,null],ai=null):(Vn=null,an=[null,ai]),Fo.current=Object(H.a)({},Ft,!0)):(nn!=="time"||ni!==!1)&&(an=Id(an,ot))),fa(an);var Xu=an&&an[0]?ot.locale.format(At.locale,an[0],Wi[0]):"",Ho=an&&an[1]?ot.locale.format(At.locale,an[1],Wi[0]):"";if(Bi){var ja={range:Ft===0?"start":"end"};Bi(an,[Xu,Ho],ja)}var Ma=Wp(Vn,0,br,jo),Fs=Wp(ai,1,br,jo),ls=an===null||Ma&&Fs;ls&&($i(an),wo&&(!Ut(ot,me(ri,0),Vn)||!Ut(ot,me(ri,1),ai))&&wo(an,[Xu,Ho]));var zi=null;Ft===0&&!br[1]?zi=1:Ft===1&&!br[0]&&(zi=0),zi!==null&&zi!==In&&(!Fo.current[zi]||!me(an,zi))&&me(an,Ft)?$c(zi):fu(!1,Ft)}var xr=function(Ft){return Jr&&ca.current&&ca.current.onKeyDown?ca.current.onKeyDown(Ft):(Object(Y.a)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},Wv={formatList:Wi,generateConfig:ot,locale:At},o2=Rd(me(Ei,0),Wv),du=Object(we.a)(o2,2),Ol=du[0],a2=du[1],zv=Rd(me(Ei,1),Wv),Vv=Object(we.a)(zv,2),Gu=Vv[0],xl=Vv[1],Ai=function(Ft,an){var Vn=ot.locale.parse(At.locale,Ft,Wi),ai=an===0?Ld:js;Vn&&!ai(Vn)&&(fa(je(Ei,Vn,an)),ss(Vn,an))},La=Td({valueTexts:Ol,onTextChange:function(Ft){return Ai(Ft,0)}}),Vp=Object(we.a)(La,3),hu=Vp[0],tf=Vp[1],jd=Vp[2],Gv=Td({valueTexts:Gu,onTextChange:function(Ft){return Ai(Ft,1)}}),Md=Object(we.a)(Gv,3),nf=Md[0],Gp=Md[1],Yp=Md[2],Kp=Object(F.useState)(null),kd=Object(we.a)(Kp,2),s2=kd[0],Fd=kd[1],u2=Object(F.useState)(null),Bd=Object(we.a)(u2,2),Cl=Bd[0],Ud=Bd[1],rf=qc(hu,{formatList:Wi,generateConfig:ot,locale:At}),Xp=Object(we.a)(rf,3),Yv=Xp[0],Jp=Xp[1],ks=Xp[2],Qp=qc(nf,{formatList:Wi,generateConfig:ot,locale:At}),Zp=Object(we.a)(Qp,3),Hd=Zp[0],l2=Zp[1],Uo=Zp[2],c2=function(Ft){Ud(je(Ei,Ft,In)),In===0?Jp(Ft):l2(Ft)},f2=function(){Ud(je(Ei,null,In)),In===0?ks():Uo()},Kv=function(Ft,an){return{blurToCancel:zu,forwardKeyDown:xr,onBlur:Ls,isClickOutside:function(ai){return!D([_i.current,Ui.current,po.current],ai)},onFocus:function(ai){wl(Ft),ko&&ko(ai)},triggerOpen:function(ai){fu(ai,Ft)},onSubmit:function(){ef(Ei,Ft),an()},onCancel:function(){fu(!1,Ft),fa(ri),an()}}},Xv=Sd(Object(ce.a)(Object(ce.a)({},Kv(0,jd)),{},{open:mn,value:hu})),Sl=Object(we.a)(Xv,2),Yu=Sl[0],qp=Sl[1],Jv=qp.focused,Ao=qp.typing,d2=Sd(Object(ce.a)(Object(ce.a)({},Kv(1,Yp)),{},{open:Ms,value:nf})),Qv=Object(we.a)(d2,2),h2=Qv[0],Wd=Qv[1],zd=Wd.focused,Zv=Wd.typing,$p=function(Ft){!Jr&&!Hi.current.contains(Ft.target)&&!Pa.current.contains(Ft.target)&&(br[0]?br[1]||$c(1):$c(0))},qv=function(Ft){Jr&&(Jv||zd)&&!Hi.current.contains(Ft.target)&&!Pa.current.contains(Ft.target)&&Ft.preventDefault()},$v=ri&&ri[0]?ot.locale.format(At.locale,ri[0],"YYYYMMDDHHmmss"):"",p2=ri&&ri[1]?ot.locale.format(At.locale,ri[1],"YYYYMMDDHHmmss"):"";Object(F.useEffect)(function(){Jr||(fa(ri),!Ol.length||Ol[0]===""?tf(""):a2!==hu&&jd(),!Gu.length||Gu[0]===""?Gp(""):xl!==nf&&Yp())},[Jr,Ol,Gu]),Object(F.useEffect)(function(){fa(ri)},[$v,p2]),tr&&(tr.current={focus:function(){Hi.current&&Hi.current.focus()},blur:function(){Hi.current&&Hi.current.blur(),Pa.current&&Pa.current.blur()}});var eg=Object.keys(rs||{}),g2=eg.map(function(zn){var Ft=rs[zn],an=typeof Ft=="function"?Ft():Ft;return{label:zn,onClick:function(){ef(an,null),fu(!1,In)},onMouseEnter:function(){Fd(an)},onMouseLeave:function(){Fd(null)}}});function tg(){var zn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Ft=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},an=null;Jr&&Cl&&Cl[0]&&Cl[1]&&ot.isAfter(Cl[1],Cl[0])&&(an=Cl);var Vn=fn;if(fn&&Object(A.a)(fn)==="object"&&fn.defaultValue){var ai=fn.defaultValue;Vn=Object(ce.a)(Object(ce.a)({},fn),{},{defaultValue:me(ai,In)||void 0})}var Xu=null;return ns&&(Xu=function(ja,Ma){return ns(ja,Ma,{range:In?"end":"start"})}),F.createElement(wr.Provider,{value:{inRange:!0,panelPosition:zn,rangedValue:s2||Ei,hoverRangedValue:an}},F.createElement(ci,Object.assign({},C,Ft,{dateRender:Xu,showTime:Vn,mode:nr[In],generateConfig:ot,style:void 0,direction:ba,disabledDate:In===0?Ld:js,disabledTime:function(ja){return ts?ts(ja,In===0?"start":"end"):!1},className:G()(Object(H.a)({},"".concat(Ie,"-panel-focused"),In===0?!Ao:!Zv)),value:me(Ei,In),locale:At,tabIndex:-1,onPanelChange:function(ja,Ma){Al(je(nr,Ma,In),je(Ei,ja,In));var Fs=ja;zn==="right"&&nr[In]===Ma&&(Fs=Dn(Fs,Ma,ot,-1)),ss(Fs,In)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:void 0,defaultPickerValue:void 0})))}var eo=0,e1=0;In&&Ui.current&&os.current&&_i.current&&(eo=Ui.current.offsetWidth+os.current.offsetWidth,_i.current.offsetWidth&&eo>_i.current.offsetWidth&&(e1=eo));var t1=ba==="rtl"?{right:eo}:{left:eo};function m2(){var zn,Ft=Fr(Ie,nr[In],Mo),an=Dr({prefixCls:Ie,components:la,needConfirmButton:zu,okDisabled:!me(Ei,In)||es&&es(Ei[In]),locale:At,rangeList:g2,onOk:function(){me(Ei,In)&&(ef(Ei,In),ya&&ya(Ei))}});if(nn!=="time"&&!fn){var Vn=su(In),ai=Dn(Vn,nn,ot),Xu=nr[In],Ho=Xu===nn,ja=tg(Ho?"left":!1,{pickerValue:Vn,onPickerValueChange:function(zi){ss(zi,In)}}),Ma=tg("right",{pickerValue:ai,onPickerValueChange:function(zi){ss(Dn(zi,nn,ot,-1),In)}});ba==="rtl"?zn=F.createElement(F.Fragment,null,Ma,Ho&&ja):zn=F.createElement(F.Fragment,null,ja,Ho&&Ma)}else zn=tg();var Fs=F.createElement(F.Fragment,null,F.createElement("div",{className:"".concat(Ie,"-panels")},zn),(Ft||an)&&F.createElement("div",{className:"".concat(Ie,"-footer")},Ft,an));return ua&&(Fs=ua(Fs)),F.createElement("div",{className:"".concat(Ie,"-panel-container"),style:{marginLeft:e1},ref:_i,onMouseDown:function(zi){zi.preventDefault()}},Fs)}var Tl=F.createElement("div",{className:G()("".concat(Ie,"-range-wrapper"),"".concat(Ie,"-").concat(nn,"-range-wrapper")),style:{minWidth:i2}},F.createElement("div",{className:"".concat(Ie,"-range-arrow"),style:t1}),m2()),Oo;Ra&&(Oo=F.createElement("span",{className:"".concat(Ie,"-suffix")},Ra));var n1;is&&(me(ri,0)&&!br[0]||me(ri,1)&&!br[1])&&(n1=F.createElement("span",{onMouseDown:function(Ft){Ft.preventDefault(),Ft.stopPropagation()},onMouseUp:function(Ft){Ft.preventDefault(),Ft.stopPropagation();var an=ri;br[0]||(an=je(an,null,0)),br[1]||(an=je(an,null,1)),ef(an,null),fu(!1,In)},className:"".concat(Ie,"-clear")},Na||F.createElement("span",{className:"".concat(Ie,"-clear-btn")})));var of={size:be(nn,Wi[0])},Ku=0,Dl=0;Ui.current&&po.current&&os.current&&(In===0?Dl=Ui.current.offsetWidth:(Ku=eo,Dl=po.current.offsetWidth));var ng=ba==="rtl"?{right:Ku}:{left:Ku},r1=function(Ft,an){var Vn=je(Ei,Ft,In);an==="submit"||an!=="key"&&!zu?(ef(Vn,In),In===0?ks():Uo()):fa(Vn)};return F.createElement(L.Provider,{value:{operationRef:ca,hideHeader:nn==="time",onDateMouseEnter:c2,onDateMouseLeave:f2,hideRanges:!0,onSelect:r1,open:Jr}},F.createElement(Mv,{visible:Jr,popupElement:Tl,popupStyle:gt,prefixCls:Ie,dropdownClassName:Ot,dropdownAlign:Ye,getPopupContainer:yt,transitionName:_t,range:!0,direction:ba},F.createElement("div",Object.assign({ref:Ia,className:G()(Ie,"".concat(Ie,"-range"),pt,(te={},Object(H.a)(te,"".concat(Ie,"-disabled"),br[0]&&br[1]),Object(H.a)(te,"".concat(Ie,"-focused"),In===0?Jv:zd),Object(H.a)(te,"".concat(Ie,"-rtl"),ba==="rtl"),te)),style:nt,onClick:$p,onMouseDown:qv},ze(C)),F.createElement("div",{className:G()("".concat(Ie,"-input"),(ge={},Object(H.a)(ge,"".concat(Ie,"-input-active"),In===0),Object(H.a)(ge,"".concat(Ie,"-input-placeholder"),!!Yv),ge)),ref:Ui},F.createElement("input",Object.assign({id:Ge,disabled:br[0],readOnly:yr||!Ao,value:Yv||hu,onChange:function(Ft){tf(Ft.target.value)},autoFocus:Lt,placeholder:me(mt,0)||"",ref:Hi},Yu,of,{autoComplete:Jo}))),F.createElement("div",{className:"".concat(Ie,"-range-separator"),ref:os},ki),F.createElement("div",{className:G()("".concat(Ie,"-input"),(he={},Object(H.a)(he,"".concat(Ie,"-input-active"),In===1),Object(H.a)(he,"".concat(Ie,"-input-placeholder"),!!Hd),he)),ref:po},F.createElement("input",Object.assign({disabled:br[1],readOnly:yr||!Zv,value:Hd||nf,onChange:function(Ft){Gp(Ft.target.value)},placeholder:me(mt,1)||"",ref:Pa},h2,of,{autoComplete:Jo}))),F.createElement("div",{className:"".concat(Ie,"-active-bar"),style:Object(ce.a)(Object(ce.a)({},ng),{},{width:Dl,position:"absolute"})}),Oo,n1)))}var Pd=function(C){Object(Ve.a)(ge,C);var te=Object(Be.a)(ge);function ge(){var he;return Object(Oe.a)(this,ge),he=te.apply(this,arguments),he.pickerRef=F.createRef(),he.focus=function(){he.pickerRef.current&&he.pickerRef.current.focus()},he.blur=function(){he.pickerRef.current&&he.pickerRef.current.blur()},he}return Object(_e.a)(ge,[{key:"render",value:function(){return F.createElement(Fv,Object.assign({},this.props,{pickerRef:this.pickerRef}))}}]),ge}(F.Component),Ps=Pd,Bv=ne.b=t2},p5ED:function(ut,ne,O){"use strict";var Oe=O("+L6B"),_e=O("2/Rp"),Ve=O("5Dmo"),Be=O("3S7+"),H=O("k1fw"),ce=O("9og8"),we=O("tJVT"),F=O("WmNS"),f=O.n(F),G=O("q1tI"),Y=O.n(G),j=O("vHTk"),A=O.n(j),w=O("yEEn"),T=O("ZW9T"),L=O("1vsH"),W=O("V0Rq"),ee=O("m3rI");ne.a=function(P){var I,se,fe,Ce,$,Re,Fe,Te=P.editOffice,be=Te===void 0?"view":Te,de=P.data,J=P.theme,k=P.type,K=P.filename,pe=P.monacoEditor,M=P.className,E=P.style,x=P.close,D=P.onClose,b=P.hasMask,N=P.disabledDownload,z=Object(G.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),ue=Object(we.a)(z,2),Ee=ue[0],ze=ue[1],me=Object(G.useState)(""),je=Object(we.a)(me,2),Ke=je[0],qe=je[1],Pe=Object(G.useState)(),ht=Object(we.a)(Pe,2),V=ht[0],ie=ht[1],Z=window.ENV==="build"?"/react/build":"",Le=ee.a.PROXY_SERVER||location.origin,$e,rt=1024*1024,Et=10*rt,Ct=Object(G.useRef)();(I=de)!==null&&I!==void 0&&I.startsWith("/api")&&k!=="txt"&&(de=(ee.a.API_SERVER||location.origin)+de),k==="office"&&($e=Object(L.T)(de).filesize,$e>Et&&(k="other")),K&&pe&&(pe.filename=K),Object(G.useEffect)(function(){var We,bt,Jt=(We=document.cookie)===null||We===void 0||((bt=We.replace(/\s/g,""))===null||bt===void 0)?void 0:bt.split(";");Jt==null||Jt.map(function(sn){var Ut=sn.split("=");Ut[0]==="_educoder_session"&&qe(Ut[1])})},[]),Object(G.useEffect)(function(){k==="office"&&q()},[k,de]);var q=function(){var We=Object(ce.a)(f.a.mark(function bt(){var Jt,sn,Ut;return f.a.wrap(function(lr){for(;;)switch(lr.prev=lr.next){case 0:return console.log("data:",de),Jt=de,de.startsWith("http")||(Jt=location.origin+Jt),sn=new URL(Jt).pathname.split("/").pop(),lr.next=6,Object(W.V)({attachment_id:sn});case 6:Ut=lr.sent,ie(Ut);case 8:case"end":return lr.stop()}},bt)}));return function(){return We.apply(this,arguments)}}(),oe=function(){if(de.startsWith("http")||de.startsWith("blob:")){ke();return}Object(L.z)(K||"educoder",de,K)},ke=function(){Object(L.x)(K||"educoder",decodeURIComponent(de))};return Y.a.createElement("div",{style:Object(H.a)({},E||{}),className:"".concat(b&&A.a.bgBlack," ").concat(k?A.a.wrp:"hide")},x&&Y.a.createElement("div",{className:A.a.close,ref:Ct},!N&&Y.a.createElement(Be.a,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:function(){return Ct.current}},Y.a.createElement("span",{onClick:ke},Y.a.createElement("i",{className:"icon-quxiaozhiding"}))),Y.a.createElement(Be.a,{title:"\u5173\u95ED",getPopupContainer:function(){return Ct.current}},Y.a.createElement("span",{className:"",onClick:D},Y.a.createElement("i",{className:"icon-guanbi1"})))),Y.a.createElement("div",{className:"".concat(A.a[M]," ").concat(M," ").concat(A.a.monaco," ").concat(k==="txt"?"show":"hide")},k==="txt"&&Y.a.createElement(T.b,pe)),k==="audio"&&Y.a.createElement("audio",{src:"".concat(((se=de)===null||se===void 0?void 0:se.indexOf("http://"))>-1||((fe=de)===null||fe===void 0?void 0:fe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,").concat(de),autoPlay:!0}),k==="video"&&Y.a.createElement(Y.a.Fragment,null,((Ce=de)===null||Ce===void 0?void 0:Ce.indexOf("http"))>-1?Y.a.createElement("video",{controls:!0,src:"".concat(de),autoPlay:!0}):Y.a.createElement("video",{controls:!0,src:"data:video/mp4;base64,".concat(de),autoPlay:!0})),k==="office"&&V&&Y.a.createElement("iframe",{src:"".concat(Z,"/office.html?key=").concat(V.key,"&url=").concat(Le+V.url,"&callbackUrl=").concat(Le+V.callbackUrl,"&fileType=").concat(V.fileType,"&title=").concat(V.title,"&model=").concat(be,"&officeServer=").concat(ee.a.OFFICE_SERVER,"&disabledDownload=").concat(!!N)}),k==="html"&&Y.a.createElement("iframe",{src:de+"&disposition=inline"}),k==="pdf"&&Y.a.createElement("iframe",{src:"".concat(Z,"/js/pdfview/index.html?url=").concat(de,"&disabledDownload=").concat(!!N)}),k==="image"&&Y.a.createElement("img",{src:"".concat((($=de)===null||$===void 0?void 0:$.indexOf("http://"))>-1||((Re=de)===null||Re===void 0?void 0:Re.indexOf("https://"))>-1||(Fe=de)!==null&&Fe!==void 0&&Fe.startsWith("/api")?"":"data:image/png;base64,").concat(de)}),k==="other"&&Y.a.createElement("div",null,Y.a.createElement(_e.a,{type:"primary",size:"large",onClick:oe},Y.a.createElement(w.a,null),"\u70B9\u51FB\u4E0B\u8F7D")),k==="download"&&Y.a.createElement(_e.a,{type:"primary",size:"large",onClick:oe},Y.a.createElement(w.a,null),"\u70B9\u51FB\u4E0B\u8F7D"))}},p8Ha:function(ut,ne){ut.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAAA+NJREFUaEPtmnlIFFEcx7/jrlnZoVYWlrFZ2F3qtrVBm0FlF2UF0fGPEXRZqWV22KEWJf1hIkX0TwRBZUSHFXZIoV2moFJRYmaY7uZupmbrrsceL97Clh3rzNZMs9W8f99v3vt+3vc7w8x7wxBCZPiHGiMBebibkkMebhD+T4fmXVsVbycklgDD+XRIEzQlb58qYR6fY7I6RGFshGTwOalzrKXD58NkMV9PDF+/hK/xWYHm5Kys4NuZzkC+8h7Qt9afSQrfuIYPKFagqJyVVj4m+tkY1CEKRJvOrM/cFbE56Xfn8hggMAx516Lfv1O5Kf13oDwHCAABsWtb6uKSJ8Wd/FUojwKiEATEWmvUr96j2pL9K1AeB0QhbMTeoTXpl+ydFHfbXSiPBKIQFrvVXNdqmLNHGV/oDpSoQAsUsxDg09el3g5iaTa0GGYkqxKec4USFWhCwGhMHDCmS62ttvYP70mjeu+4LdVcoEQF8mbkmDV0Ovp39+9Sq9naqmtob1AlKxPes0GJCkTFyYgXQv2GYUCPfujm5e1Sb0NbU/URzb4RHg/kFGi1WmC3dv1Skr/8qvyvAWITSvvvRJ+XgH5YKCFfTrm40rlGcuhnKyY55G6O3KiXIidFzo248FEqRU6KHB85cmMMQSM3PUiNIN+ByK7M+SJpzegVeNFYgSJDGTaNX42bb+/hzaeabyQP6hmIrWFrEdwrCG22duRrH+PsqyuwERsrmqBAckaGTE0aTpdfQGn9c6gHRmB5aDS2PzzgEJc6ORGXq3LxrKH8G6GH1Dvx4F0RbtXko7vMBwsUM3FP+whN7c3iAtHZqUPpU3cjveQ4todvwK7Hh/GhrdEhzBVQluYALr6+gYd1xawA3xcI6pBzsqihkdgWtg6pRRl4Yij9osEV0Cj/EYgdHwNfeU8U6ApxvTqPkzt/7PNht3Kz42tTZzIgo+zr/qArICexoncwIgerQTdKkh4dxFujltUxwR1aqJgNZeAEpBUfxUF1Egp0T5BXe7/LyH2vOmbUMrRYTLhUlSsuUKhfCHZExCL+/n6YrGb06dYbWZo0pBRnoMaoQ8rkbSjSl6Hy4xuH0OYOo+P+ovfQnZoClNQ/Qy9vXySGb8Cxp6fwsqlSXKCZQ6ah2qhFVfPX3aWxAaGO+OXrCqEKDHNEytno45s+9fx9+mJxyFwo+gTTsyHcrX2Aknpu226CR451SXkukID+i3c5IY8k3UkkA1Tdjj4/ku0a1p1TIQ+N2cR17pcxTOLNReey2K5hBaIDCHWszyaO9lNnvBjmBBcYR7308xKXZRWxRnJIxMXnNLXkEKdlErHoM3lAaVMM4OYsAAAAAElFTkSuQmCC"},phzI:function(ut,ne,O){"use strict";var Oe=O("k1fw"),_e=O("9og8"),Ve=O("tJVT"),Be=O("WmNS"),H=O.n(Be),ce=O("q1tI"),we=O.n(ce),F=O("yyNy");/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */var f=function(){return f=Object.assign||function(ee){for(var P,I=1,se=arguments.length;I<se;I++)for(var fe in P=arguments[I])Object.prototype.hasOwnProperty.call(P,fe)&&(ee[fe]=P[fe]);return ee},f.apply(this,arguments)};function G(ee,P){var I=typeof Symbol=="function"&&ee[Symbol.iterator];if(!I)return ee;var se,fe,Ce=I.call(ee),$=[];try{for(;(P===void 0||P-- >0)&&!(se=Ce.next()).done;)$.push(se.value)}catch(Re){fe={error:Re}}finally{try{se&&!se.done&&(I=Ce.return)&&I.call(Ce)}finally{if(fe)throw fe.error}}return $}function Y(ee){var P=ee.defaultContent,I=P===void 0?[]:P,se=ee.onCreated,fe=ee.defaultHtml,Ce=fe===void 0?"":fe,$=ee.value,Re=$===void 0?"":$,Fe=ee.onChange,Te=ee.defaultConfig,be=Te===void 0?{}:Te,de=ee.mode,J=de===void 0?"default":de,k=ee.style,K=k===void 0?{}:k,pe=ee.className,M=Object(ce.useRef)(null),E=G(Object(ce.useState)(null),2),x=E[0],D=E[1],b=G(Object(ce.useState)(""),2),N=b[0],z=b[1],ue=function(me){se&&se(me);var je=be.onCreated;je&&je(me)},Ee=function(me){z(me.getHtml()),Fe&&Fe(me);var je=be.onChange;je&&je(me)},ze=function(me){var je=be.onDestroyed;D(null),je&&je(me)};return Object(ce.useEffect)(function(){if(x!=null&&Re!==N)try{x.setHtml(Re)}catch(me){console.error(me)}},[Re]),Object(ce.useEffect)(function(){var me;if(M.current!=null&&x==null&&!((me=M.current)===null||me===void 0?void 0:me.getAttribute("data-w-e-textarea"))){var je=Object(F.a)({selector:M.current,config:f(f({},be),{onCreated:ue,onChange:Ee,onDestroyed:ze}),content:I,html:Ce||Re,mode:J});D(je)}},[x]),we.a.createElement("div",{style:K,ref:M,className:pe})}function j(ee){var P=ee.editor,I=ee.defaultConfig,se=I===void 0?{}:I,fe=ee.mode,Ce=fe===void 0?"default":fe,$=ee.style,Re=$===void 0?{}:$,Fe=ee.className,Te=Object(ce.useRef)(null);return Object(ce.useEffect)(function(){Te.current!=null&&P!=null&&F.b({editor:P,selector:Te.current,config:se,mode:Ce})},[P]),we.a.createElement("div",{style:Re,ref:Te,className:Fe})}var A=O("ErOA"),w=O("9kvl"),T=O("Vg4E"),L=function(P){var I=P.defaultvalue,se=P.onChange,fe=P.style,Ce=P.user,$=P.placeholder,Re=1024*1024*2,Fe=Object(ce.useRef)(null),Te=4,be=Object(ce.useState)(null),de=Object(Ve.a)(be,2),J=de[0],k=de[1],K=Object(ce.useState)(""),pe=Object(Ve.a)(K,2),M=pe[0],E=pe[1];Object(ce.useEffect)(function(){E(I)},[I]),Object(ce.useEffect)(function(){se(M)},[M]);var x={},D={placeholder:$||"\u8BF7\u8F93\u5165\u5185\u5BB9...",MENU_CONF:{}};return D.MENU_CONF.uploadImage={customUpload:function(N,z){return Object(_e.a)(H.a.mark(function ue(){var Ee,ze;return H.a.wrap(function(je){for(;;)switch(je.prev=je.next){case 0:return Ee=new FormData,Ee.append("file",N),je.next=4,Object(A.a)("/api/attachments.json",{method:"post",body:Ee},!0);case 4:ze=je.sent,z(ze==null?void 0:ze.url,"","");case 6:case"end":return je.stop()}},ue)}))()}},D.MENU_CONF.uploadVideo={customUpload:function(N,z){return Object(_e.a)(H.a.mark(function ue(){var Ee,ze,me,je,Ke,qe,Pe,ht,V,ie,Z,Le,$e,rt,Et,Ct;return H.a.wrap(function(oe){for(;;)switch(oe.prev=oe.next){case 0:return Ee=N.size,ze=Math.ceil(Ee/Re),oe.prev=2,oe.next=5,Object(A.a)("/api/attachments/multipart_upload_start",{method:"POST",body:{fileName:N.name,chunkCount:ze,user_id:Ce==null||((me=Ce.userInfo)===null||me===void 0)?void 0:me.user_id}});case 5:if(Ke=oe.sent,!((Ke==null?void 0:Ke.status)!==0)){oe.next=8;break}throw new Error;case 8:for(qe=Ke.upload_id,Fe.current=new AbortController,Pe=[],ht=0,V=function(We){var bt=We*Re,Jt=Math.min(bt+Re,Ee),sn=N.slice(bt,Jt),Ut=new FormData;Ut.append("chunk",sn),Ut.append("fileName",N.name),Ut.append("chunkIndex",(We+1).toString()),Ut.append("uploadId",qe),Pe.push(function(){return Object(A.a)("/api/attachments/multipart_upload",{method:"POST",body:Ut,signal:Fe.current.signal},!0).then(function(jt){})})},ie=0;ie<ze;ie++)V(ie);Z=0,Le=Te,console.log(Pe,"promises");case 17:if(!(Z<Pe.length)){oe.next=26;break}if(rt=($e=Pe.slice(Z,Z+Le))===null||$e===void 0?void 0:$e.map(function(ke){return ke()}),!(rt.length>0)){oe.next=24;break}return oe.next=22,Promise.all(rt);case 22:Et=oe.sent,Z+=Le;case 24:oe.next=17;break;case 26:return oe.next=28,Object(A.a)("/api/attachments/multipart_upload_end",{method:"POST",body:{fileName:N.name,chunkCount:ze,uploadId:qe,user_id:Ce==null||((je=Ce.userInfo)===null||je===void 0)?void 0:je.user_id}});case 28:Ct=oe.sent,z(Ct==null?void 0:Ct.object,""),oe.next=34;break;case 32:oe.prev=32,oe.t0=oe.catch(2);case 34:case"end":return oe.stop()}},ue,null,[[2,32]])}))()}},Object(ce.useEffect)(function(){return function(){if(J==null)return;J.destroy(),k(null),se(null)}},[J]),we.a.createElement(we.a.Fragment,null,we.a.createElement("div",{style:{border:"1px solid #ccc",zIndex:100}},we.a.createElement(j,{editor:J,defaultConfig:x,mode:"default",style:{borderBottom:"1px solid #ccc"}}),we.a.createElement(Y,{defaultConfig:D,value:M,onCreated:k,onChange:function(N){return E(N.getHtml())},mode:"default",style:Object(Oe.a)({height:"500px",overflowY:"hidden"},fe)})))},W=ne.a=Object(w.a)(function(ee){var P=ee.user;return{user:P}})(L)},pmY6:function(ut,ne,O){"use strict";O.d(ne,"h",function(){return G}),O.d(ne,"g",function(){return j}),O.d(ne,"f",function(){return A}),O.d(ne,"e",function(){return w}),O.d(ne,"i",function(){return T}),O.d(ne,"b",function(){return L}),O.d(ne,"a",function(){return W}),O.d(ne,"d",function(){return ee}),O.d(ne,"c",function(){return P});var Oe=O("C/vA"),_e=O("JYp7");const Ve=!1;let Be=null;function H(I){Be=I}if(Ve){const I="__is_disposable_tracked__";H(new class{trackDisposable(se){const fe=new Error("Potentially leaked disposable").stack;setTimeout(()=>{se[I]||console.log(fe)},3e3)}setParent(se,fe){if(se&&se!==W.None)try{se[I]=!0}catch(Ce){}}markAsDisposed(se){if(se&&se!==W.None)try{se[I]=!0}catch(fe){}}markAsSingleton(se){}})}function ce(I){return Be==null||Be.trackDisposable(I),I}function we(I){Be==null||Be.markAsDisposed(I)}function F(I,se){Be==null||Be.setParent(I,se)}function f(I,se){if(!Be)return;for(const fe of I)Be.setParent(fe,se)}function G(I){return Be==null||Be.markAsSingleton(I),I}class Y extends Error{constructor(I){super(`Encountered errors while disposing of store. Errors: [${I.join(", ")}]`);this.errors=I}}function j(I){return typeof I.dispose=="function"&&I.dispose.length===0}function A(I){if(_e.a.is(I)){let se=[];for(const fe of I)if(fe)try{fe.dispose()}catch(Ce){se.push(Ce)}if(se.length===1)throw se[0];if(se.length>1)throw new Y(se);return Array.isArray(I)?[]:I}else if(I)return I.dispose(),I}function w(...I){const se=T(()=>A(I));return f(I,se),se}function T(I){const se=ce({dispose:Object(Oe.a)(()=>{we(se),I()})});return se}class L{constructor(){this._toDispose=new Set,this._isDisposed=!1,ce(this)}dispose(){if(this._isDisposed)return;we(this),this._isDisposed=!0,this.clear()}clear(){try{A(this._toDispose.values())}finally{this._toDispose.clear()}}add(I){if(!I)return I;if(I===this)throw new Error("Cannot register a disposable on itself!");return F(I,this),this._isDisposed?L.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(I),I}}L.DISABLE_DISPOSED_WARNING=!1;class W{constructor(){this._store=new L,ce(this),F(this._store,this)}dispose(){we(this),this._store.dispose()}_register(I){if(I===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(I)}}W.None=Object.freeze({dispose(){}});class ee{constructor(){this._isDisposed=!1,ce(this)}get value(){return this._isDisposed?void 0:this._value}set value(I){var se;if(this._isDisposed||I===this._value)return;(se=this._value)===null||se===void 0||se.dispose(),I&&F(I,this),this._value=I}clear(){this.value=void 0}dispose(){var I;this._isDisposed=!0,we(this),(I=this._value)===null||I===void 0||I.dispose(),this._value=void 0}clearAndLeak(){const I=this._value;return this._value=void 0,I&&F(I,null),I}}class P{constructor(I){this.object=I}dispose(){}}},psGv:function(ut,ne,O){var Oe,_e;(function(){var Ve;(function(){"use strict";var we=[,,function(Y){function j(T){this.__parent=T,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}j.prototype.clone_empty=function(){var T=new j(this.__parent);return T.set_indent(this.__indent_count,this.__alignment_count),T},j.prototype.item=function(T){return T<0?this.__items[this.__items.length+T]:this.__items[T]},j.prototype.has_match=function(T){for(var L=this.__items.length-1;L>=0;L--)if(this.__items[L].match(T))return!0;return!1},j.prototype.set_indent=function(T,L){this.is_empty()&&(this.__indent_count=T||0,this.__alignment_count=L||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},j.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},j.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},j.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var T=this.__parent.current_line;return T.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),T.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),T.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,T.__items[0]===" "&&(T.__items.splice(0,1),T.__character_count-=1),!0}return!1},j.prototype.is_empty=function(){return this.__items.length===0},j.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},j.prototype.push=function(T){this.__items.push(T);var L=T.lastIndexOf(`
|
|
|
`);L!==-1?this.__character_count=T.length-L:this.__character_count+=T.length},j.prototype.pop=function(){var T=null;return this.is_empty()||(T=this.__items.pop(),this.__character_count-=T.length),T},j.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},j.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},j.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},j.prototype.toString=function(){var T="";return this.is_empty()?this.__parent.indent_empty_lines&&(T=this.__parent.get_indent_string(this.__indent_count)):(T=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),T+=this.__items.join("")),T};function A(T,L){this.__cache=[""],this.__indent_size=T.indent_size,this.__indent_string=T.indent_char,T.indent_with_tabs||(this.__indent_string=new Array(T.indent_size+1).join(T.indent_char)),L=L||"",T.indent_level>0&&(L=new Array(T.indent_level+1).join(this.__indent_string)),this.__base_string=L,this.__base_string_length=L.length}A.prototype.get_indent_size=function(T,L){var W=this.__base_string_length;return L=L||0,T<0&&(W=0),W+=T*this.__indent_size,W+=L,W},A.prototype.get_indent_string=function(T,L){var W=this.__base_string;return L=L||0,T<0&&(T=0,W=""),L+=T*this.__indent_size,this.__ensure_cache(L),W+=this.__cache[L],W},A.prototype.__ensure_cache=function(T){for(;T>=this.__cache.length;)this.__add_column()},A.prototype.__add_column=function(){var T=this.__cache.length,L=0,W="";this.__indent_size&&T>=this.__indent_size&&(L=Math.floor(T/this.__indent_size),T-=L*this.__indent_size,W=new Array(L+1).join(this.__indent_string)),T&&(W+=new Array(T+1).join(" ")),this.__cache.push(W)};function w(T,L){this.__indent_cache=new A(T,L),this.raw=!1,this._end_with_newline=T.end_with_newline,this.indent_size=T.indent_size,this.wrap_line_length=T.wrap_line_length,this.indent_empty_lines=T.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new j(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}w.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},w.prototype.get_line_number=function(){return this.__lines.length},w.prototype.get_indent_string=function(T,L){return this.__indent_cache.get_indent_string(T,L)},w.prototype.get_indent_size=function(T,L){return this.__indent_cache.get_indent_size(T,L)},w.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},w.prototype.add_new_line=function(T){return this.is_empty()||!T&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},w.prototype.get_code=function(T){this.trim(!0);var L=this.current_line.pop();L&&(L[L.length-1]===`
|
|
|
`&&(L=L.replace(/\n+$/g,"")),this.current_line.push(L)),this._end_with_newline&&this.__add_outputline();var W=this.__lines.join(`
|
|
|
`);return T!==`
|
|
|
`&&(W=W.replace(/[\n]/g,T)),W},w.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},w.prototype.set_indent=function(T,L){return T=T||0,L=L||0,this.next_line.set_indent(T,L),this.__lines.length>1?(this.current_line.set_indent(T,L),!0):(this.current_line.set_indent(),!1)},w.prototype.add_raw_token=function(T){for(var L=0;L<T.newlines;L++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(T.whitespace_before),this.current_line.push(T.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},w.prototype.add_token=function(T){this.__add_space_before_token(),this.current_line.push(T),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},w.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},w.prototype.remove_indent=function(T){for(var L=this.__lines.length;T<L;)this.__lines[T]._remove_indent(),T++;this.current_line._remove_wrap_indent()},w.prototype.trim=function(T){for(T=T===void 0?!1:T,this.current_line.trim();T&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},w.prototype.just_added_newline=function(){return this.current_line.is_empty()},w.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},w.prototype.ensure_empty_line_above=function(T,L){for(var W=this.__lines.length-2;W>=0;){var ee=this.__lines[W];if(ee.is_empty())break;if(ee.item(0).indexOf(T)!==0&&ee.item(-1)!==L){this.__lines.splice(W+1,0,new j(this)),this.previous_line=this.__lines[this.__lines.length-2];break}W--}},Y.exports.Output=w},function(Y){function j(A,w,T,L){this.type=A,this.text=w,this.comments_before=null,this.newlines=T||0,this.whitespace_before=L||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}Y.exports.Token=j},,,function(Y){function j(T,L){this.raw_options=A(T,L),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}j.prototype._get_array=function(T,L){var W=this.raw_options[T],ee=L||[];return typeof W=="object"?W!==null&&typeof W.concat=="function"&&(ee=W.concat()):typeof W=="string"&&(ee=W.split(/[^a-zA-Z0-9_\/\-]+/)),ee},j.prototype._get_boolean=function(T,L){var W=this.raw_options[T],ee=W===void 0?!!L:!!W;return ee},j.prototype._get_characters=function(T,L){var W=this.raw_options[T],ee=L||"";return typeof W=="string"&&(ee=W.replace(/\\r/,"\r").replace(/\\n/,`
|
|
|
`).replace(/\\t/," ")),ee},j.prototype._get_number=function(T,L){var W=this.raw_options[T];L=parseInt(L,10),isNaN(L)&&(L=0);var ee=parseInt(W,10);return isNaN(ee)&&(ee=L),ee},j.prototype._get_selection=function(T,L,W){var ee=this._get_selection_list(T,L,W);if(ee.length!==1)throw new Error("Invalid Option Value: The option '"+T+`' can only be one of the following values:
|
|
|
`+L+`
|
|
|
You passed in: '`+this.raw_options[T]+"'");return ee[0]},j.prototype._get_selection_list=function(T,L,W){if(!L||L.length===0)throw new Error("Selection list cannot be empty.");if(W=W||[L[0]],!this._is_valid_selection(W,L))throw new Error("Invalid Default Value!");var ee=this._get_array(T,W);if(!this._is_valid_selection(ee,L))throw new Error("Invalid Option Value: The option '"+T+`' can contain only the following values:
|
|
|
`+L+`
|
|
|
You passed in: '`+this.raw_options[T]+"'");return ee},j.prototype._is_valid_selection=function(T,L){return T.length&&L.length&&!T.some(function(W){return L.indexOf(W)===-1})};function A(T,L){var W={};T=w(T);var ee;for(ee in T)ee!==L&&(W[ee]=T[ee]);if(L&&T[L])for(ee in T[L])W[ee]=T[L][ee];return W}function w(T){var L={},W;for(W in T){var ee=W.replace(/-/g,"_");L[ee]=T[W]}return L}Y.exports.Options=j,Y.exports.normalizeOpts=w,Y.exports.mergeOpts=A},,function(Y){var j=RegExp.prototype.hasOwnProperty("sticky");function A(w){this.__input=w||"",this.__input_length=this.__input.length,this.__position=0}A.prototype.restart=function(){this.__position=0},A.prototype.back=function(){this.__position>0&&(this.__position-=1)},A.prototype.hasNext=function(){return this.__position<this.__input_length},A.prototype.next=function(){var w=null;return this.hasNext()&&(w=this.__input.charAt(this.__position),this.__position+=1),w},A.prototype.peek=function(w){var T=null;return w=w||0,w+=this.__position,w>=0&&w<this.__input_length&&(T=this.__input.charAt(w)),T},A.prototype.__match=function(w,T){w.lastIndex=T;var L=w.exec(this.__input);return L&&!(j&&w.sticky)&&(L.index!==T&&(L=null)),L},A.prototype.test=function(w,T){return T=T||0,T+=this.__position,T>=0&&T<this.__input_length?!!this.__match(w,T):!1},A.prototype.testChar=function(w,T){var L=this.peek(T);return w.lastIndex=0,L!==null&&w.test(L)},A.prototype.match=function(w){var T=this.__match(w,this.__position);return T?this.__position+=T[0].length:T=null,T},A.prototype.read=function(w,T,L){var W="",ee;return w&&(ee=this.match(w),ee&&(W+=ee[0])),T&&(ee||!w)&&(W+=this.readUntil(T,L)),W},A.prototype.readUntil=function(w,T){var L="",W=this.__position;w.lastIndex=this.__position;var ee=w.exec(this.__input);return ee?(W=ee.index,T&&(W+=ee[0].length)):W=this.__input_length,L=this.__input.substring(this.__position,W),this.__position=W,L},A.prototype.readUntilAfter=function(w){return this.readUntil(w,!0)},A.prototype.get_regexp=function(w,T){var L=null,W="g";return T&&j&&(W="y"),typeof w=="string"&&w!==""?L=new RegExp(w,W):w&&(L=new RegExp(w.source,W)),L},A.prototype.get_literal_regexp=function(w){return RegExp(w.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},A.prototype.peekUntilAfter=function(w){var T=this.__position,L=this.readUntilAfter(w);return this.__position=T,L},A.prototype.lookBack=function(w){var T=this.__position-1;return T>=w.length&&this.__input.substring(T-w.length,T).toLowerCase()===w},Y.exports.InputScanner=A},function(Y,j,A){var w=A(8).InputScanner,T=A(3).Token,L=A(10).TokenStream,W=A(11).WhitespacePattern,ee={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},P=function(I,se){this._input=new w(I),this._options=se||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new W(this._input)};P.prototype.tokenize=function(){this._input.restart(),this.__tokens=new L,this._reset();for(var I,se=new T(ee.START,""),fe=null,Ce=[],$=new L;se.type!==ee.EOF;){for(I=this._get_next_token(se,fe);this._is_comment(I);)$.add(I),I=this._get_next_token(se,fe);$.isEmpty()||(I.comments_before=$,$=new L),I.parent=fe,this._is_opening(I)?(Ce.push(fe),fe=I):fe&&this._is_closing(I,fe)&&(I.opened=fe,fe.closed=I,fe=Ce.pop(),I.parent=fe),I.previous=se,se.next=I,this.__tokens.add(I),se=I}return this.__tokens},P.prototype._is_first_token=function(){return this.__tokens.isEmpty()},P.prototype._reset=function(){},P.prototype._get_next_token=function(I,se){this._readWhitespace();var fe=this._input.read(/.+/g);return fe?this._create_token(ee.RAW,fe):this._create_token(ee.EOF,"")},P.prototype._is_comment=function(I){return!1},P.prototype._is_opening=function(I){return!1},P.prototype._is_closing=function(I,se){return!1},P.prototype._create_token=function(I,se){var fe=new T(I,se,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return fe},P.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},Y.exports.Tokenizer=P,Y.exports.TOKEN=ee},function(Y){function j(A){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=A}j.prototype.restart=function(){this.__position=0},j.prototype.isEmpty=function(){return this.__tokens_length===0},j.prototype.hasNext=function(){return this.__position<this.__tokens_length},j.prototype.next=function(){var A=null;return this.hasNext()&&(A=this.__tokens[this.__position],this.__position+=1),A},j.prototype.peek=function(A){var w=null;return A=A||0,A+=this.__position,A>=0&&A<this.__tokens_length&&(w=this.__tokens[A]),w},j.prototype.add=function(A){this.__parent_token&&(A.parent=this.__parent_token),this.__tokens.push(A),this.__tokens_length+=1},Y.exports.TokenStream=j},function(Y,j,A){var w=A(12).Pattern;function T(L,W){w.call(this,L,W),W?this._line_regexp=this._input.get_regexp(W._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}T.prototype=new w,T.prototype.__set_whitespace_patterns=function(L,W){L+="\\t ",W+="\\n\\r",this._match_pattern=this._input.get_regexp("["+L+W+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+W+"]")},T.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var L=this._input.read(this._match_pattern);if(L===" ")this.whitespace_before_token=" ";else if(L){var W=this.__split(this._newline_regexp,L);this.newline_count=W.length-1,this.whitespace_before_token=W[this.newline_count]}return L},T.prototype.matching=function(L,W){var ee=this._create();return ee.__set_whitespace_patterns(L,W),ee._update(),ee},T.prototype._create=function(){return new T(this._input,this)},T.prototype.__split=function(L,W){L.lastIndex=0;for(var ee=0,P=[],I=L.exec(W);I;)P.push(W.substring(ee,I.index)),ee=I.index+I[0].length,I=L.exec(W);return ee<W.length?P.push(W.substring(ee,W.length)):P.push(""),P},Y.exports.WhitespacePattern=T},function(Y){function j(A,w){this._input=A,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,w&&(this._starting_pattern=this._input.get_regexp(w._starting_pattern,!0),this._match_pattern=this._input.get_regexp(w._match_pattern,!0),this._until_pattern=this._input.get_regexp(w._until_pattern),this._until_after=w._until_after)}j.prototype.read=function(){var A=this._input.read(this._starting_pattern);return(!this._starting_pattern||A)&&(A+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),A},j.prototype.read_match=function(){return this._input.match(this._match_pattern)},j.prototype.until_after=function(A){var w=this._create();return w._until_after=!0,w._until_pattern=this._input.get_regexp(A),w._update(),w},j.prototype.until=function(A){var w=this._create();return w._until_after=!1,w._until_pattern=this._input.get_regexp(A),w._update(),w},j.prototype.starting_with=function(A){var w=this._create();return w._starting_pattern=this._input.get_regexp(A,!0),w._update(),w},j.prototype.matching=function(A){var w=this._create();return w._match_pattern=this._input.get_regexp(A,!0),w._update(),w},j.prototype._create=function(){return new j(this._input,this)},j.prototype._update=function(){},Y.exports.Pattern=j},function(Y){function j(A,w){A=typeof A=="string"?A:A.source,w=typeof w=="string"?w:w.source,this.__directives_block_pattern=new RegExp(A+/ beautify( \w+[:]\w+)+ /.source+w,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(A+/\sbeautify\signore:end\s/.source+w,"g")}j.prototype.get_directives=function(A){if(!A.match(this.__directives_block_pattern))return null;var w={};this.__directive_pattern.lastIndex=0;for(var T=this.__directive_pattern.exec(A);T;)w[T[1]]=T[2],T=this.__directive_pattern.exec(A);return w},j.prototype.readIgnored=function(A){return A.readUntilAfter(this.__directives_end_ignore_pattern)},Y.exports.Directives=j},function(Y,j,A){var w=A(12).Pattern,T={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function L(W,ee){w.call(this,W,ee),this.__template_pattern=null,this._disabled=Object.assign({},T),this._excluded=Object.assign({},T),ee&&(this.__template_pattern=this._input.get_regexp(ee.__template_pattern),this._excluded=Object.assign(this._excluded,ee._excluded),this._disabled=Object.assign(this._disabled,ee._disabled));var P=new w(W);this.__patterns={handlebars_comment:P.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:P.starting_with(/{{{/).until_after(/}}}/),handlebars:P.starting_with(/{{/).until_after(/}}/),php:P.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:P.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:P.starting_with(/{%/).until_after(/%}/),django_value:P.starting_with(/{{/).until_after(/}}/),django_comment:P.starting_with(/{#/).until_after(/#}/),smarty:P.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:P.starting_with(/{\*/).until_after(/\*}/),smarty_literal:P.starting_with(/{literal}/).until_after(/{\/literal}/)}}L.prototype=new w,L.prototype._create=function(){return new L(this._input,this)},L.prototype._update=function(){this.__set_templated_pattern()},L.prototype.disable=function(W){var ee=this._create();return ee._disabled[W]=!0,ee._update(),ee},L.prototype.read_options=function(W){var ee=this._create();for(var P in T)ee._disabled[P]=W.templating.indexOf(P)===-1;return ee._update(),ee},L.prototype.exclude=function(W){var ee=this._create();return ee._excluded[W]=!0,ee._update(),ee},L.prototype.read=function(){var W="";this._match_pattern?W=this._input.read(this._starting_pattern):W=this._input.read(this._starting_pattern,this.__template_pattern);for(var ee=this._read_template();ee;)this._match_pattern?ee+=this._input.read(this._match_pattern):ee+=this._input.readUntil(this.__template_pattern),W+=ee,ee=this._read_template();return this._until_after&&(W+=this._input.readUntilAfter(this._until_pattern)),W},L.prototype.__set_templated_pattern=function(){var W=[];this._disabled.php||W.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||W.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||W.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(W.push(this.__patterns.django._starting_pattern.source),W.push(this.__patterns.django_value._starting_pattern.source),W.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||W.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&W.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+W.join("|")+")")},L.prototype._read_template=function(){var W="",ee=this._input.peek();if(ee==="<"){var P=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&P==="?"&&(W=W||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&P==="%"&&(W=W||this.__patterns.erb.read())}else ee==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(W=W||this.__patterns.handlebars_comment.read(),W=W||this.__patterns.handlebars_unescaped.read(),W=W||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(W=W||this.__patterns.django_value.read()),this._excluded.django||(W=W||this.__patterns.django_comment.read(),W=W||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(W=W||this.__patterns.smarty_comment.read(),W=W||this.__patterns.smarty_literal.read(),W=W||this.__patterns.smarty.read()));return W},Y.exports.TemplatablePattern=L},,,,function(Y,j,A){var w=A(19).Beautifier,T=A(20).Options;function L(W,ee,P,I){var se=new w(W,ee,P,I);return se.beautify()}Y.exports=L,Y.exports.defaultOptions=function(){return new T}},function(Y,j,A){var w=A(20).Options,T=A(2).Output,L=A(21).Tokenizer,W=A(21).TOKEN,ee=/\r\n|[\r\n]/,P=/\r\n|[\r\n]/g,I=function(J,k){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=J.max_preserve_newlines,this.preserve_newlines=J.preserve_newlines,this._output=new T(J,k)};I.prototype.current_line_has_match=function(J){return this._output.current_line.has_match(J)},I.prototype.set_space_before_token=function(J,k){this._output.space_before_token=J,this._output.non_breaking_space=k},I.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},I.prototype.add_raw_token=function(J){this._output.add_raw_token(J)},I.prototype.print_preserved_newlines=function(J){var k=0;J.type!==W.TEXT&&J.previous.type!==W.TEXT&&(k=J.newlines?1:0),this.preserve_newlines&&(k=J.newlines<this.max_preserve_newlines+1?J.newlines:this.max_preserve_newlines+1);for(var K=0;K<k;K++)this.print_newline(K>0);return k!==0},I.prototype.traverse_whitespace=function(J){return J.whitespace_before||J.newlines?(this.print_preserved_newlines(J)||(this._output.space_before_token=!0),!0):!1},I.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},I.prototype.print_newline=function(J){this._output.add_new_line(J)},I.prototype.print_token=function(J){J.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(J.text))},I.prototype.indent=function(){this.indent_level++},I.prototype.get_full_indent=function(J){return J=this.indent_level+(J||0),J<1?"":this._output.get_indent_string(J)};var se=function(J){for(var k=null,K=J.next;K.type!==W.EOF&&J.closed!==K;){if(K.type===W.ATTRIBUTE&&K.text==="type"){K.next&&K.next.type===W.EQUALS&&K.next.next&&K.next.next.type===W.VALUE&&(k=K.next.next.text);break}K=K.next}return k},fe=function(J,k){var K=null,pe=null;return k.closed?(J==="script"?K="text/javascript":J==="style"&&(K="text/css"),K=se(k)||K,K.search("text/css")>-1?pe="css":K.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?pe="javascript":K.search(/(text|application|dojo)\/(x-)?(html)/)>-1?pe="html":K.search(/test\/null/)>-1&&(pe="null"),pe):null};function Ce(J,k){return k.indexOf(J)!==-1}function $(J,k,K){this.parent=J||null,this.tag=k?k.tag_name:"",this.indent_level=K||0,this.parser_token=k||null}function Re(J){this._printer=J,this._current_frame=null}Re.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},Re.prototype.record_tag=function(J){var k=new $(this._current_frame,J,this._printer.indent_level);this._current_frame=k},Re.prototype._try_pop_frame=function(J){var k=null;return J&&(k=J.parser_token,this._printer.indent_level=J.indent_level,this._current_frame=J.parent),k},Re.prototype._get_frame=function(J,k){for(var K=this._current_frame;K&&!(J.indexOf(K.tag)!==-1);){if(k&&k.indexOf(K.tag)!==-1){K=null;break}K=K.parent}return K},Re.prototype.try_pop=function(J,k){var K=this._get_frame([J],k);return this._try_pop_frame(K)},Re.prototype.indent_to_tag=function(J){var k=this._get_frame(J);k&&(this._printer.indent_level=k.indent_level)};function Fe(J,k,K,pe){this._source_text=J||"",k=k||{},this._js_beautify=K,this._css_beautify=pe,this._tag_stack=null;var M=new w(k,"html");this._options=M,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,"force".length)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,"preserve".length)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}Fe.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var J=this._source_text,k=this._options.eol;this._options.eol==="auto"&&(k=`
|
|
|
`,J&&ee.test(J)&&(k=J.match(ee)[0])),J=J.replace(P,`
|
|
|
`);var K=J.match(/^[\t ]*/)[0],pe={text:"",type:""},M=new Te,E=new I(this._options,K),x=new L(J,this._options).tokenize();this._tag_stack=new Re(E);for(var D=null,b=x.next();b.type!==W.EOF;)b.type===W.TAG_OPEN||b.type===W.COMMENT?(D=this._handle_tag_open(E,b,M,pe),M=D):b.type===W.ATTRIBUTE||b.type===W.EQUALS||b.type===W.VALUE||b.type===W.TEXT&&!M.tag_complete?D=this._handle_inside_tag(E,b,M,x):b.type===W.TAG_CLOSE?D=this._handle_tag_close(E,b,M):b.type===W.TEXT?D=this._handle_text(E,b,M):E.add_raw_token(b),pe=D,b=x.next();var N=E._output.get_code(k);return N},Fe.prototype._handle_tag_close=function(J,k,K){var pe={text:k.text,type:k.type};return J.alignment_size=0,K.tag_complete=!0,J.set_space_before_token(k.newlines||k.whitespace_before!=="",!0),K.is_unformatted?J.add_raw_token(k):(K.tag_start_char==="<"&&(J.set_space_before_token(k.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&K.has_wrapped_attrs&&J.print_newline(!1)),J.print_token(k)),K.indent_content&&!(K.is_unformatted||K.is_content_unformatted)&&(J.indent(),K.indent_content=!1),!K.is_inline_element&&!(K.is_unformatted||K.is_content_unformatted)&&J.set_wrap_point(),pe},Fe.prototype._handle_inside_tag=function(J,k,K,pe){var M=K.has_wrapped_attrs,E={text:k.text,type:k.type};if(J.set_space_before_token(k.newlines||k.whitespace_before!=="",!0),K.is_unformatted)J.add_raw_token(k);else if(K.tag_start_char==="{"&&k.type===W.TEXT)J.print_preserved_newlines(k)?(k.newlines=0,J.add_raw_token(k)):J.print_token(k);else{if(k.type===W.ATTRIBUTE?(J.set_space_before_token(!0),K.attr_count+=1):(k.type===W.EQUALS||k.type===W.VALUE&&k.previous.type===W.EQUALS)&&J.set_space_before_token(!1),k.type===W.ATTRIBUTE&&K.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(J.traverse_whitespace(k),M=M||k.newlines!==0),this._is_wrap_attributes_force)){var x=K.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&K.attr_count===1){var D=!0,b=0,N;do{if(N=pe.peek(b),N.type===W.ATTRIBUTE){D=!1;break}b+=1}while(b<4&&N.type!==W.EOF&&N.type!==W.TAG_CLOSE);x=!D}x&&(J.print_newline(!1),M=!0)}J.print_token(k),M=M||J.previous_token_wrapped(),K.has_wrapped_attrs=M}return E},Fe.prototype._handle_text=function(J,k,K){var pe={text:k.text,type:"TK_CONTENT"};return K.custom_beautifier_name?this._print_custom_beatifier_text(J,k,K):K.is_unformatted||K.is_content_unformatted?J.add_raw_token(k):(J.traverse_whitespace(k),J.print_token(k)),pe},Fe.prototype._print_custom_beatifier_text=function(J,k,K){var pe=this;if(k.text!==""){var M=k.text,E,x=1,D="",b="";K.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?E=this._js_beautify:K.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?E=this._css_beautify:K.custom_beautifier_name==="html"&&(E=function(me,je){var Ke=new Fe(me,je,pe._js_beautify,pe._css_beautify);return Ke.beautify()}),this._options.indent_scripts==="keep"?x=0:this._options.indent_scripts==="separate"&&(x=-J.indent_level);var N=J.get_full_indent(x);if(M=M.replace(/\n[ \t]*$/,""),K.custom_beautifier_name!=="html"&&M[0]==="<"&&M.match(/^(<!--|<!\[CDATA\[)/)){var z=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(M);if(!z){J.add_raw_token(k);return}D=N+z[1]+`
|
|
|
`,M=z[4],z[5]&&(b=N+z[5]),M=M.replace(/\n[ \t]*$/,""),(z[2]||z[3].indexOf(`
|
|
|
`)!==-1)&&(z=z[3].match(/[ \t]+$/),z&&(k.whitespace_before=z[0]))}if(M)if(E){var ue=function(){this.eol=`
|
|
|
`};ue.prototype=this._options.raw_options;var Ee=new ue;M=E(N+M,Ee)}else{var ze=k.whitespace_before;ze&&(M=M.replace(new RegExp(`
|
|
|
(`+ze+")?","g"),`
|
|
|
`)),M=N+M.replace(/\n/g,`
|
|
|
`+N)}D&&(M?M=D+M+`
|
|
|
`+b:M=D+b),J.print_newline(!1),M&&(k.text=M,k.whitespace_before="",k.newlines=0,J.add_raw_token(k),J.print_newline(!0))}},Fe.prototype._handle_tag_open=function(J,k,K,pe){var M=this._get_tag_open_token(k);return(K.is_unformatted||K.is_content_unformatted)&&!K.is_empty_element&&k.type===W.TAG_OPEN&&k.text.indexOf("</")===0?(J.add_raw_token(k),M.start_tag_token=this._tag_stack.try_pop(M.tag_name)):(J.traverse_whitespace(k),this._set_tag_position(J,k,M,K,pe),M.is_inline_element||J.set_wrap_point(),J.print_token(k)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(M.alignment_size=k.text.length+1),!M.tag_complete&&!M.is_unformatted&&(J.alignment_size=M.alignment_size),M};var Te=function(J,k){if(this.parent=J||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="",!k)this.tag_complete=!0;else{var K;this.tag_start_char=k.text[0],this.text=k.text,this.tag_start_char==="<"?(K=k.text.match(/^<([^\s>]*)/),this.tag_check=K?K[1]:""):(K=k.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=K?K[1]:"",(k.text.startsWith("{{#>")||k.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&k.next!==null?this.tag_check=k.next.text.split(" ")[0]:this.tag_check=k.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),k.type===W.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||k.closed&&k.closed.text==="/>";var pe=2;this.tag_start_char==="{"&&this.text.length>=3&&(this.text.charAt(2)==="~"&&(pe=3)),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(pe)))}};Fe.prototype._get_tag_open_token=function(J){var k=new Te(this._tag_stack.get_parser_token(),J);return k.alignment_size=this._options.wrap_attributes_indent_size,k.is_end_tag=k.is_end_tag||Ce(k.tag_check,this._options.void_elements),k.is_empty_element=k.tag_complete||k.is_start_tag&&k.is_end_tag,k.is_unformatted=!k.tag_complete&&Ce(k.tag_check,this._options.unformatted),k.is_content_unformatted=!k.is_empty_element&&Ce(k.tag_check,this._options.content_unformatted),k.is_inline_element=Ce(k.tag_name,this._options.inline)||k.tag_name.includes("-")||k.tag_start_char==="{",k},Fe.prototype._set_tag_position=function(J,k,K,pe,M){if(K.is_empty_element||(K.is_end_tag?K.start_tag_token=this._tag_stack.try_pop(K.tag_name):(this._do_optional_end_element(K)&&(K.is_inline_element||J.print_newline(!1)),this._tag_stack.record_tag(K),(K.tag_name==="script"||K.tag_name==="style")&&!(K.is_unformatted||K.is_content_unformatted)&&(K.custom_beautifier_name=fe(K.tag_check,k)))),Ce(K.tag_check,this._options.extra_liners)&&(J.print_newline(!1),J._output.just_added_blankline()||J.print_newline(!0)),K.is_empty_element){if(K.tag_start_char==="{"&&K.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),K.indent_content=!0;var E=J.current_line_has_match(/{{#if/);E||J.print_newline(!1)}K.tag_name==="!--"&&M.type===W.TAG_CLOSE&&pe.is_end_tag&&K.text.indexOf(`
|
|
|
`)===-1||(K.is_inline_element||K.is_unformatted||J.print_newline(!1),this._calcluate_parent_multiline(J,K))}else if(K.is_end_tag){var x=!1;x=K.start_tag_token&&K.start_tag_token.multiline_content,x=x||!K.is_inline_element&&!(pe.is_inline_element||pe.is_unformatted)&&!(M.type===W.TAG_CLOSE&&K.start_tag_token===pe)&&M.type!=="TK_CONTENT",(K.is_content_unformatted||K.is_unformatted)&&(x=!1),x&&J.print_newline(!1)}else K.indent_content=!K.custom_beautifier_name,K.tag_start_char==="<"&&(K.tag_name==="html"?K.indent_content=this._options.indent_inner_html:K.tag_name==="head"?K.indent_content=this._options.indent_head_inner_html:K.tag_name==="body"&&(K.indent_content=this._options.indent_body_inner_html)),!(K.is_inline_element||K.is_unformatted)&&(M.type!=="TK_CONTENT"||K.is_content_unformatted)&&J.print_newline(!1),this._calcluate_parent_multiline(J,K)},Fe.prototype._calcluate_parent_multiline=function(J,k){k.parent&&J._output.just_added_newline()&&!((k.is_inline_element||k.is_unformatted)&&k.parent.is_inline_element)&&(k.parent.multiline_content=!0)};var be=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],de=["a","audio","del","ins","map","noscript","video"];Fe.prototype._do_optional_end_element=function(J){var k=null;if(J.is_empty_element||!J.is_start_tag||!J.parent)return;if(J.tag_name==="body")k=k||this._tag_stack.try_pop("head");else if(J.tag_name==="li")k=k||this._tag_stack.try_pop("li",["ol","ul"]);else if(J.tag_name==="dd"||J.tag_name==="dt")k=k||this._tag_stack.try_pop("dt",["dl"]),k=k||this._tag_stack.try_pop("dd",["dl"]);else if(J.parent.tag_name==="p"&&be.indexOf(J.tag_name)!==-1){var K=J.parent.parent;(!K||de.indexOf(K.tag_name)===-1)&&(k=k||this._tag_stack.try_pop("p"))}else J.tag_name==="rp"||J.tag_name==="rt"?(k=k||this._tag_stack.try_pop("rt",["ruby","rtc"]),k=k||this._tag_stack.try_pop("rp",["ruby","rtc"])):J.tag_name==="optgroup"?k=k||this._tag_stack.try_pop("optgroup",["select"]):J.tag_name==="option"?k=k||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):J.tag_name==="colgroup"?k=k||this._tag_stack.try_pop("caption",["table"]):J.tag_name==="thead"?(k=k||this._tag_stack.try_pop("caption",["table"]),k=k||this._tag_stack.try_pop("colgroup",["table"])):J.tag_name==="tbody"||J.tag_name==="tfoot"?(k=k||this._tag_stack.try_pop("caption",["table"]),k=k||this._tag_stack.try_pop("colgroup",["table"]),k=k||this._tag_stack.try_pop("thead",["table"]),k=k||this._tag_stack.try_pop("tbody",["table"])):J.tag_name==="tr"?(k=k||this._tag_stack.try_pop("caption",["table"]),k=k||this._tag_stack.try_pop("colgroup",["table"]),k=k||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(J.tag_name==="th"||J.tag_name==="td")&&(k=k||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),k=k||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return J.parent=this._tag_stack.get_parser_token(),k},Y.exports.Beautifier=Fe},function(Y,j,A){var w=A(6).Options;function T(L){w.call(this,L,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}T.prototype=new w,Y.exports.Options=T},function(Y,j,A){var w=A(9).Tokenizer,T=A(9).TOKEN,L=A(13).Directives,W=A(14).TemplatablePattern,ee=A(12).Pattern,P={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:T.START,RAW:T.RAW,EOF:T.EOF},I=new L(/<\!--/,/-->/),se=function(fe,Ce){w.call(this,fe,Ce),this._current_tag_name="";var $=new W(this._input).read_options(this._options),Re=new ee(this._input);if(this.__patterns={word:$.until(/[\n\r\t <]/),single_quote:$.until_after(/'/),double_quote:$.until_after(/"/),attribute:$.until(/[\n\r\t =>]|\/>/),element_name:$.until(/[\n\r\t >\/]/),handlebars_comment:Re.starting_with(/{{!--/).until_after(/--}}/),handlebars:Re.starting_with(/{{/).until_after(/}}/),handlebars_open:Re.until(/[\n\r\t }]/),handlebars_raw_close:Re.until(/}}/),comment:Re.starting_with(/<!--/).until_after(/-->/),cdata:Re.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:Re.starting_with(/<!\[/).until_after(/]>/),processing:Re.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var Fe=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=Re.matching(Fe).until_after(Fe)}};se.prototype=new w,se.prototype._is_comment=function(fe){return!1},se.prototype._is_opening=function(fe){return fe.type===P.TAG_OPEN},se.prototype._is_closing=function(fe,Ce){return fe.type===P.TAG_CLOSE&&Ce&&((fe.text===">"||fe.text==="/>")&&Ce.text[0]==="<"||fe.text==="}}"&&Ce.text[0]==="{"&&Ce.text[1]==="{")},se.prototype._reset=function(){this._current_tag_name=""},se.prototype._get_next_token=function(fe,Ce){var $=null;this._readWhitespace();var Re=this._input.peek();return Re===null?this._create_token(P.EOF,""):($=$||this._read_open_handlebars(Re,Ce),$=$||this._read_attribute(Re,fe,Ce),$=$||this._read_close(Re,Ce),$=$||this._read_raw_content(Re,fe,Ce),$=$||this._read_content_word(Re),$=$||this._read_comment_or_cdata(Re),$=$||this._read_processing(Re),$=$||this._read_open(Re,Ce),$=$||this._create_token(P.UNKNOWN,this._input.next()),$)},se.prototype._read_comment_or_cdata=function(fe){var Ce=null,$=null,Re=null;if(fe==="<"){var Fe=this._input.peek(1);Fe==="!"&&($=this.__patterns.comment.read(),$?(Re=I.get_directives($),Re&&Re.ignore==="start"&&($+=I.readIgnored(this._input))):$=this.__patterns.cdata.read()),$&&(Ce=this._create_token(P.COMMENT,$),Ce.directives=Re)}return Ce},se.prototype._read_processing=function(fe){var Ce=null,$=null,Re=null;if(fe==="<"){var Fe=this._input.peek(1);(Fe==="!"||Fe==="?")&&($=this.__patterns.conditional_comment.read(),$=$||this.__patterns.processing.read()),$&&(Ce=this._create_token(P.COMMENT,$),Ce.directives=Re)}return Ce},se.prototype._read_open=function(fe,Ce){var $=null,Re=null;return Ce||fe==="<"&&($=this._input.next(),this._input.peek()==="/"&&($+=this._input.next()),$+=this.__patterns.element_name.read(),Re=this._create_token(P.TAG_OPEN,$)),Re},se.prototype._read_open_handlebars=function(fe,Ce){var $=null,Re=null;return Ce||this._options.indent_handlebars&&fe==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?($=this.__patterns.handlebars_comment.read(),$=$||this.__patterns.handlebars.read(),Re=this._create_token(P.COMMENT,$)):($=this.__patterns.handlebars_open.read(),Re=this._create_token(P.TAG_OPEN,$))),Re},se.prototype._read_close=function(fe,Ce){var $=null,Re=null;return Ce&&(Ce.text[0]==="<"&&(fe===">"||fe==="/"&&this._input.peek(1)===">")?($=this._input.next(),fe==="/"&&($+=this._input.next()),Re=this._create_token(P.TAG_CLOSE,$)):Ce.text[0]==="{"&&fe==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),Re=this._create_token(P.TAG_CLOSE,"}}"))),Re},se.prototype._read_attribute=function(fe,Ce,$){var Re=null,Fe="";if($&&$.text[0]==="<")if(fe==="=")Re=this._create_token(P.EQUALS,this._input.next());else if(fe==='"'||fe==="'"){var Te=this._input.next();fe==='"'?Te+=this.__patterns.double_quote.read():Te+=this.__patterns.single_quote.read(),Re=this._create_token(P.VALUE,Te)}else Fe=this.__patterns.attribute.read(),Fe&&(Ce.type===P.EQUALS?Re=this._create_token(P.VALUE,Fe):Re=this._create_token(P.ATTRIBUTE,Fe));return Re},se.prototype._is_content_unformatted=function(fe){return this._options.void_elements.indexOf(fe)===-1&&(this._options.content_unformatted.indexOf(fe)!==-1||this._options.unformatted.indexOf(fe)!==-1)},se.prototype._read_raw_content=function(fe,Ce,$){var Re="";if($&&$.text[0]==="{")Re=this.__patterns.handlebars_raw_close.read();else if(Ce.type===P.TAG_CLOSE&&Ce.opened.text[0]==="<"&&Ce.text[0]!=="/"){var Fe=Ce.opened.text.substr(1).toLowerCase();if(Fe==="script"||Fe==="style"){var Te=this._read_comment_or_cdata(fe);if(Te)return Te.type=P.TEXT,Te;Re=this._input.readUntil(new RegExp("</"+Fe+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(Fe)&&(Re=this._input.readUntil(new RegExp("</"+Fe+"[\\n\\r\\t ]*?>","ig")))}return Re?this._create_token(P.TEXT,Re):null},se.prototype._read_content_word=function(fe){var Ce="";if(this._options.unformatted_content_delimiter&&(fe===this._options.unformatted_content_delimiter[0]&&(Ce=this.__patterns.unformatted_content_delimiter.read())),Ce||(Ce=this.__patterns.word.read()),Ce)return this._create_token(P.TEXT,Ce)},Y.exports.Tokenizer=se,Y.exports.TOKEN=P}],F={};function f(Y){var j=F[Y];if(j!==void 0)return j.exports;var A=F[Y]={exports:{}};return we[Y](A,A.exports,f),A.exports}var G=f(18);Ve=G})();var Be=Ve;if(!0)!(Oe=[O,O("6UM0"),O("TXwP")],_e=function(we){var F=O("6UM0"),f=O("TXwP");return{html_beautify:function(G,Y){return Be(G,Y,F.js_beautify,f.css_beautify)}}}.apply(ne,Oe),_e!==void 0&&(ut.exports=_e));else var H,ce})()},"rAM+":function(ut,ne,O){"use strict";O.d(ne,"a",function(){return _e});var Oe=O("Qw5x");function _e(Ve,Be){var H;if(typeof Symbol=="undefined"||Ve[Symbol.iterator]==null){if(Array.isArray(Ve)||(H=Object(Oe.a)(Ve))||Be&&Ve&&typeof Ve.length=="number"){H&&(Ve=H);var ce=0,we=function(){};return{s:we,n:function(){return ce>=Ve.length?{done:!0}:{done:!1,value:Ve[ce++]}},e:function(j){throw j},f:we}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var F=!0,f=!1,G;return{s:function(){H=Ve[Symbol.iterator]()},n:function(){var j=H.next();return F=j.done,j},e:function(j){f=!0,G=j},f:function(){try{!F&&H.return!=null&&H.return()}finally{if(f)throw G}}}}},siWv:function(ut,ne,O){ut.exports={flex_box_center:"flex_box_center___3IH6S",flex_space_between:"flex_space_between___3AU-S",flex_box_vertical_center:"flex_box_vertical_center___1ykIO",flex_box_center_end:"flex_box_center_end___1aIQB",flex_box_column:"flex_box_column___2A_ra",btn:"btn___23gjd","mediacy-round":"mediacy-round___3vc8E","mediacy-default":"mediacy-default___2zIGi",default:"default___20Yio"}},t9D7:function(ut,ne,O){"use strict";O.d(ne,"b",function(){return we}),O.d(ne,"g",function(){return f}),O.d(ne,"d",function(){return G}),O.d(ne,"e",function(){return Y}),O.d(ne,"a",function(){return j}),O.d(ne,"f",function(){return T}),O.d(ne,"c",function(){return L});var Oe=O("Vhoy"),_e=O("MI8n"),Ve=O("pmY6"),Be=O("Cg/j"),H=O("ic2d"),ce=O("nEHx");const we=Object(Be.c)("themeService");var F;(function(W){function ee(P){return P&&typeof P=="object"&&typeof P.id=="string"}W.isThemeColor=ee})(F||(F={}));function f(W){return{id:W}}var G;(function(W){function ee($){return $&&typeof $=="object"&&typeof $.id=="string"&&(typeof $.color=="undefined"||F.isThemeColor($.color))}W.isThemeIcon=ee;const P=new RegExp(`^\\$\\((${Oe.a.iconNameExpression}(?:${Oe.a.iconModifierExpression})?)\\)$`);function I($){const Re=P.exec($);if(!Re)return;let[,Fe]=Re;return{id:Fe}}W.fromString=I;function se($,Re){let Fe=$.id;const Te=Fe.lastIndexOf("~");return Te!==-1&&(Fe=Fe.substring(0,Te)),Re&&(Fe=`${Fe}~${Re}`),{id:Fe}}W.modify=se;function fe($,Re){var Fe,Te;return $.id===Re.id&&((Fe=$.color)===null||Fe===void 0?void 0:Fe.id)===((Te=Re.color)===null||Te===void 0?void 0:Te.id)}W.isEqual=fe;function Ce($,Re){return{id:$.id,color:Re?f(Re):void 0}}W.asThemeIcon=Ce,W.asClassNameArray=Oe.a.asClassNameArray,W.asClassName=Oe.a.asClassName,W.asCSSSelector=Oe.a.asCSSSelector})(G||(G={}));function Y(W){switch(W){case ce.a.DARK:return"vs-dark";case ce.a.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const j={ThemingContribution:"base.contributions.theming"};class A{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new _e.b}onColorThemeChange(W){return this.themingParticipants.push(W),this.onThemingParticipantAddedEmitter.fire(W),Object(Ve.i)(()=>{const ee=this.themingParticipants.indexOf(W);this.themingParticipants.splice(ee,1)})}getThemingParticipants(){return this.themingParticipants}}let w=new A;H.a.add(j.ThemingContribution,w);function T(W){return w.onColorThemeChange(W)}class L extends Ve.a{constructor(W){super();this.themeService=W,this.theme=W.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(ee=>this.onThemeChange(ee)))}onThemeChange(W){this.theme=W,this.updateStyles()}updateStyles(){}}},vHTk:function(ut,ne,O){ut.exports={wrp:"wrp___z2l1F",bgBlack:"bgBlack___3ezfX",monaco:"monaco___1ypjT",darkBlue:"darkBlue___2ViJc",close:"close___3q-z4",embed:"embed___3dQqc"}},xiVL:function(ut,ne){ut.exports="data:image/png;base64,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"},yyNy:function(ut,ne,O){"use strict";(function(Oe){O.d(ne,"a",function(){return F1e}),O.d(ne,"b",function(){return B1e});var _e=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof Oe!="undefined"?Oe:typeof self!="undefined"?self:{};function Ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Be(e){var t={exports:{}};return e(t,t.exports),t.exports}var H,ce,we=function(e){return e&&e.Math==Math&&e},F=we(typeof globalThis=="object"&&globalThis)||we(typeof window=="object"&&window)||we(typeof self=="object"&&self)||we(typeof _e=="object"&&_e)||function(){return this}()||Function("return this")(),f=Function.prototype,G=f.apply,Y=f.bind,j=f.call,A=typeof Reflect=="object"&&Reflect.apply||(Y?j.bind(G):function(){return j.apply(G,arguments)}),w=Function.prototype,T=w.bind,L=w.call,W=T&&T.bind(L),ee=T?function(e){return e&&W(L,e)}:function(e){return e&&function(){return L.apply(e,arguments)}},P=function(e){return typeof e=="function"},I=function(e){try{return!!e()}catch(t){return!0}},se=!I(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),fe=Function.prototype.call,Ce=fe.bind?fe.bind(fe):function(){return fe.apply(fe,arguments)},$={}.propertyIsEnumerable,Re=Object.getOwnPropertyDescriptor,Fe=Re&&!$.call({1:2},1)?function(e){var t=Re(this,e);return!!t&&t.enumerable}:$,Te={f:Fe},be=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},de=ee({}.toString),J=ee("".slice),k=function(e){return J(de(e),8,-1)},K=F.Object,pe=ee("".split),M=I(function(){return!K("z").propertyIsEnumerable(0)})?function(e){return k(e)=="String"?pe(e,""):K(e)}:K,E=F.TypeError,x=function(e){if(e==null)throw E("Can't call method on "+e);return e},D=function(e){return M(x(e))},b=function(e){return typeof e=="object"?e!==null:P(e)},N={},z=function(e){return P(e)?e:void 0},ue=function(e,t){return arguments.length<2?z(N[e])||z(F[e]):N[e]&&N[e][t]||F[e]&&F[e][t]},Ee=ee({}.isPrototypeOf),ze=ue("navigator","userAgent")||"",me=F.process,je=F.Deno,Ke=me&&me.versions||je&&je.version,qe=Ke&&Ke.v8;qe&&(ce=(H=qe.split("."))[0]>0&&H[0]<4?1:+(H[0]+H[1])),!ce&&ze&&(!(H=ze.match(/Edge\/(\d+)/))||H[1]>=74)&&(H=ze.match(/Chrome\/(\d+)/))&&(ce=+H[1]);var Pe,ht=ce,V=!!Object.getOwnPropertySymbols&&!I(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ht&&ht<41}),ie=V&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Z=F.Object,Le=ie?function(e){return typeof e=="symbol"}:function(e){var t=ue("Symbol");return P(t)&&Ee(t.prototype,Z(e))},$e=F.String,rt=function(e){try{return $e(e)}catch(t){return"Object"}},Et=F.TypeError,Ct=function(e){if(P(e))return e;throw Et(rt(e)+" is not a function")},q=function(e,t){var n=e[t];return n==null?void 0:Ct(n)},oe=F.TypeError,ke=Object.defineProperty,We=F["__core-js_shared__"]||function(e,t){try{ke(F,e,{value:t,configurable:!0,writable:!0})}catch(n){F[e]=t}return t}("__core-js_shared__",{}),bt=Be(function(e){(e.exports=function(t,n){return We[t]||(We[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Jt=F.Object,sn=function(e){return Jt(x(e))},Ut=ee({}.hasOwnProperty),jt=Object.hasOwn||function(e,t){return Ut(sn(e),t)},lr=0,Dn=Math.random(),fo=ee(1 .toString),wr=function(e){return"Symbol("+(e===void 0?"":e)+")_"+fo(++lr+Dn,36)},$r=bt("wks"),pn=F.Symbol,un=pn&&pn.for,Cn=ie?pn:pn&&pn.withoutSetter||wr,ln=function(e){if(!jt($r,e)||!V&&typeof $r[e]!="string"){var t="Symbol."+e;V&&jt(pn,e)?$r[e]=pn[e]:$r[e]=ie&&un?un(t):Cn(t)}return $r[e]},gn=F.TypeError,Tr=ln("toPrimitive"),er=function(e,t){if(!b(e)||Le(e))return e;var n,r=q(e,Tr);if(r){if(t===void 0&&(t="default"),n=Ce(r,e,t),!b(n)||Le(n))return n;throw gn("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(i,o){var a,s;if(o==="string"&&P(a=i.toString)&&!b(s=Ce(a,i)))return s;if(P(a=i.valueOf)&&!b(s=Ce(a,i)))return s;if(o!=="string"&&P(a=i.toString)&&!b(s=Ce(a,i)))return s;throw oe("Can't convert object to primitive value")}(e,t)},Hr=function(e){var t=er(e,"string");return Le(t)?t:t+""},Ar=F.document,Ti=b(Ar)&&b(Ar.createElement),ga=function(e){return Ti?Ar.createElement(e):{}},ma=!se&&!I(function(){return Object.defineProperty(ga("div"),"a",{get:function(){return 7}}).a!=7}),No=Object.getOwnPropertyDescriptor,qa=se?No:function(e,t){if(e=D(e),t=Hr(t),ma)try{return No(e,t)}catch(n){}if(jt(e,t))return be(!Ce(Te.f,e,t),e[t])},Io={f:qa},Di=/#|\.prototype\./,Wr=function(e,t){var n=Is[Po(e)];return n==or||n!=$a&&(P(t)?I(t):!!t)},Po=Wr.normalize=function(e){return String(e).replace(Di,".").toLowerCase()},Is=Wr.data={},$a=Wr.NATIVE="N",or=Wr.POLYFILL="P",Xt=Wr,jr=ee(ee.bind),Bn=function(e,t){return Ct(e),t===void 0?e:jr?jr(e,t):function(){return e.apply(t,arguments)}},zr=F.String,Vr=F.TypeError,Sn=function(e){if(b(e))return e;throw Vr(zr(e)+" is not an object")},bn=F.TypeError,tn=Object.defineProperty,He=se?tn:function(e,t,n){if(Sn(e),t=Hr(t),Sn(n),ma)try{return tn(e,t,n)}catch(r){}if("get"in n||"set"in n)throw bn("Accessors not supported");return"value"in n&&(e[t]=n.value),e},Yt={f:He},Ht=se?function(e,t,n){return Yt.f(e,t,be(1,n))}:function(e,t,n){return e[t]=n,e},wn=Io.f,Un=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return A(e,this,arguments)};return t.prototype=e.prototype,t},dn=function(e,t){var n,r,i,o,a,s,u,l,c=e.target,d=e.global,p=e.stat,h=e.proto,_=d?F:p?F[c]:(F[c]||{}).prototype,m=d?N:N[c]||Ht(N,c,{})[c],v=m.prototype;for(i in t)n=!Xt(d?i:c+(p?".":"#")+i,e.forced)&&_&&jt(_,i),a=m[i],n&&(s=e.noTargetGet?(l=wn(_,i))&&l.value:_[i]),o=n&&s?s:t[i],n&&typeof a==typeof o||(u=e.bind&&n?Bn(o,F):e.wrap&&n?Un(o):h&&P(o)?ee(o):o,(e.sham||o&&o.sham||a&&a.sham)&&Ht(u,"sham",!0),Ht(m,i,u),h&&(jt(N,r=c+"Prototype")||Ht(N,r,{}),Ht(N[r],i,o),e.real&&v&&!v[i]&&Ht(v,i,o)))},cn=bt("keys"),vn=function(e){return cn[e]||(cn[e]=wr(e))},Or=!I(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Rn=vn("IE_PROTO"),vr=F.Object,mr=vr.prototype,Mr=Or?vr.getPrototypeOf:function(e){var t=sn(e);if(jt(t,Rn))return t[Rn];var n=t.constructor;return P(n)&&t instanceof n?n.prototype:t instanceof vr?mr:null},ei=F.String,Li=F.TypeError,ji=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=ee(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return Sn(r),function(o){if(typeof o=="object"||P(o))return o;throw Li("Can't set "+ei(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),Mt=Math.ceil,gr=Math.floor,Xr=function(e){var t=+e;return t!=t||t===0?0:(t>0?gr:Mt)(t)},Ko=Math.max,Fr=Math.min,Dr=function(e,t){var n=Xr(e);return n<0?Ko(n+t,0):Fr(n,t)},Eo=Math.min,ci=function(e){return(t=e.length)>0?Eo(Xr(t),9007199254740991):0;var t},fi=function(e){return function(t,n,r){var i,o=D(t),a=ci(o),s=Dr(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Mi={includes:fi(!0),indexOf:fi(!1)},va={},Mv=Mi.indexOf,Sd=ee([].push),Td=function(e,t){var n,r=D(e),i=0,o=[];for(n in r)!jt(va,n)&&jt(r,n)&&Sd(o,n);for(;t.length>i;)jt(r,n=t[i++])&&(~Mv(o,n)||Sd(o,n));return o},Dd=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$E=Dd.concat("length","prototype"),Rd=Object.getOwnPropertyNames||function(e){return Td(e,$E)},qc={f:Rd},Nd={f:Object.getOwnPropertySymbols},e2=ee([].concat),t2=ue("Reflect","ownKeys")||function(e){var t=qc.f(Sn(e)),n=Nd.f;return n?e2(t,n(e)):t},Hp=Object.keys||function(e){return Td(e,Dd)},n2=se?Object.defineProperties:function(e,t){Sn(e);for(var n,r=D(t),i=Hp(t),o=i.length,a=0;o>a;)Yt.f(e,n=i[a++],r[n]);return e},r2=ue("document","documentElement"),kv=vn("IE_PROTO"),Id=function(){},Wp=function(e){return"<script>"+e+"</script>"},Fv=function(e){e.write(Wp("")),e.close();var t=e.parentWindow.Object;return e=null,t},Pd=function(){try{Pe=new ActiveXObject("htmlfile")}catch(r){}var e,t;Pd=typeof document!="undefined"?document.domain&&Pe?Fv(Pe):((t=ga("iframe")).style.display="none",r2.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Wp("document.F=Object")),e.close(),e.F):Fv(Pe);for(var n=Dd.length;n--;)delete Pd.prototype[Dd[n]];return Pd()};va[kv]=!0;var Ps=Object.create||function(e,t){var n;return e!==null?(Id.prototype=Sn(e),n=new Id,Id.prototype=null,n[kv]=e):n=Pd(),t===void 0?n:n2(n,t)},Bv=function(e,t,n){var r=Hr(t);r in e?Yt.f(e,r,be(0,n)):e[r]=n},C=F.Array,te=Math.max,ge=function(e,t,n){for(var r=ci(e),i=Dr(t,r),o=Dr(n===void 0?r:n,r),a=C(te(o-i,0)),s=0;i<o;i++,s++)Bv(a,s,e[i]);return a.length=s,a},he=ee("".replace),Ue=ee("".split),Ie=ee([].join),Ge=String(Error("zxcasd").stack),nt=/\n\s*at [^:]*:[^\n]*/,pt=nt.test(Ge),gt=/@[^\n]*\n/.test(Ge)&&!/zxcasd/.test(Ge),Ot=function(e,t){if(typeof e!="string")return e;if(pt)for(;t--;)e=he(e,nt,"");else if(gt)return Ie(ge(Ue(e,`
|
|
|
`),t),`
|
|
|
`);return e},_t=function(e,t){b(t)&&"cause"in t&&Ht(e,"cause",t.cause)},Ye={},yt=ln("iterator"),ot=Array.prototype,At={};At[ln("toStringTag")]="z";var mt=String(At)==="[object z]",Lt=ln("toStringTag"),Wt=F.Object,hn=k(function(){return arguments}())=="Arguments",Hn=mt?k:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=Wt(e),Lt))=="string"?n:hn?k(t):(r=k(t))=="Object"&&P(t.callee)?"Arguments":r},nn=ln("iterator"),fn=function(e){if(e!=null)return q(e,nn)||q(e,"@@iterator")||Ye[Hn(e)]},Nn=F.TypeError,Tn=function(e,t,n){var r,i;Sn(e);try{if(!(r=q(e,"return"))){if(t==="throw")throw n;return n}r=Ce(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return Sn(r),n},ki=F.TypeError,di=function(e,t){this.stopped=e,this.result=t},Lo=di.prototype,yi=function(e,t,n){var r,i,o,a,s,u,l,c=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),_=Bn(t,c),m=function(y){return r&&Tn(r,"normal",y),new di(!0,y)},v=function(y){return d?(Sn(y),h?_(y[0],y[1],m):_(y[0],y[1])):h?_(y,m):_(y)};if(p)r=e;else{if(!(i=fn(e)))throw ki(rt(e)+" is not iterable");if(function(y){return y!==void 0&&(Ye.Array===y||ot[yt]===y)}(i)){for(o=0,a=ci(e);a>o;o++)if((s=v(e[o]))&&Ee(Lo,s))return s;return new di(!1)}r=function(y,g){var S=arguments.length<2?fn(y):g;if(Ct(S))return Sn(Ce(S,y));throw Nn(rt(y)+" is not iterable")}(e,i)}for(u=r.next;!(l=Ce(u,r)).done;){try{s=v(l.value)}catch(y){Tn(r,"throw",y)}if(typeof s=="object"&&s&&Ee(Lo,s))return s}return new di(!1)},ho=F.String,bi=function(e){if(Hn(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ho(e)},es=function(e,t){return e===void 0?arguments.length<2?"":t:bi(e)},ts=!I(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",be(1,7)),e.stack!==7)}),ns=ln("toStringTag"),ua=F.Error,rs=[].push,jo=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,i=Ee(is,this);ji?n=ji(new ua(void 0),i?Mr(this):is):(n=i?this:Ps(is),Ht(n,ns,"Error")),Ht(n,"message",es(t,"")),ts&&Ht(n,"stack",Ot(n.stack,1)),_t(n,r);var o=[];return yi(e,rs,{that:o}),Ht(n,"errors",o),n};ji?ji(jo,ua):function(e,t){for(var n=t2(t),r=Yt.f,i=Io.f,o=0;o<n.length;o++){var a=n[o];jt(e,a)||r(e,a,i(t,a))}}(jo,ua);var is=jo.prototype=Ps(ua.prototype,{constructor:be(1,jo),message:be(1,""),name:be(1,"AggregateError")});dn({global:!0},{AggregateError:jo});var Ra=ee(Function.toString);P(We.inspectSource)||(We.inspectSource=function(e){return Ra(e)});var Na,tr,yr,ti=We.inspectSource,Mo=F.WeakMap,wo=P(Mo)&&/native code/.test(ti(Mo)),Fi=F.TypeError,Xo=F.WeakMap;if(wo||We.state){var Bi=We.state||(We.state=new Xo),ko=ee(Bi.get),Ls=ee(Bi.has),ya=ee(Bi.set);Na=function(e,t){if(Ls(Bi,e))throw new Fi("Object already initialized");return t.facade=e,ya(Bi,e,t),t},tr=function(e){return ko(Bi,e)||{}},yr=function(e){return Ls(Bi,e)}}else{var la=vn("state");va[la]=!0,Na=function(e,t){if(jt(e,la))throw new Fi("Object already initialized");return t.facade=e,Ht(e,la,t),t},tr=function(e){return jt(e,la)?e[la]:{}},yr=function(e){return jt(e,la)}}var ni,ba,Wu,Zi={set:Na,get:tr,has:yr,enforce:function(e){return yr(e)?tr(e):Na(e,{})},getterFor:function(e){return function(t){var n;if(!b(t)||(n=tr(t)).type!==e)throw Fi("Incompatible receiver, "+e+" required");return n}}},Jo=Function.prototype,zu=se&&Object.getOwnPropertyDescriptor,Fo=jt(Jo,"name"),Ia={EXISTS:Fo,PROPER:Fo&&function(){}.name==="something",CONFIGURABLE:Fo&&(!se||se&&zu(Jo,"name").configurable)},_i=function(e,t,n,r){r&&r.enumerable?e[t]=n:Ht(e,t,n)},Ui=ln("iterator"),po=!1;[].keys&&("next"in(Wu=[].keys())?(ba=Mr(Mr(Wu)))!==Object.prototype&&(ni=ba):po=!0);var os=ni==null||I(function(){var e={};return ni[Ui].call(e)!==e});ni=os?{}:Ps(ni),P(ni[Ui])||_i(ni,Ui,function(){return this});var Hi={IteratorPrototype:ni,BUGGY_SAFARI_ITERATORS:po},Pa=mt?{}.toString:function(){return"[object "+Hn(this)+"]"},Wi=Yt.f,ou=ln("toStringTag"),_a=function(e,t,n,r){if(e){var i=n?e:e.prototype;jt(i,ou)||Wi(i,ou,{configurable:!0,value:t}),r&&!mt&&Ht(i,"toString",Pa)}},In=Hi.IteratorPrototype,wl=function(){return this},ca=Ia.PROPER,br=Hi.BUGGY_SAFARI_ITERATORS,qi=ln("iterator"),as=function(){return this},ri=function(e,t,n,r,i,o,a){!function(y,g,S,R){var U=g+" Iterator";y.prototype=Ps(In,{next:be(+!R,S)}),_a(y,U,!1,!0),Ye[U]=wl}(n,t,r);var s,u,l,c=function(y){if(y===i&&m)return m;if(!br&&y in h)return h[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,_=h[qi]||h["@@iterator"]||i&&h[i],m=!br&&_||c(i),v=t=="Array"&&h.entries||_;if(v&&(s=Mr(v.call(new e)))!==Object.prototype&&s.next&&(_a(s,d,!0,!0),Ye[d]=as),ca&&i=="values"&&_&&_.name!=="values"&&(p=!0,m=function(){return Ce(_,this)}),i)if(u={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(l in u)(br||p||!(l in h))&&_i(h,l,u[l]);else dn({target:t,proto:!0,forced:br||p},u);return a&&h[qi]!==m&&_i(h,qi,m,{name:i}),Ye[t]=m,u},$i=Zi.set,Bo=Zi.getterFor("Array Iterator");ri(Array,"Array",function(e,t){$i(this,{type:"Array Iterator",target:D(e),index:0,kind:t})},function(){var e=Bo(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),Ye.Arguments=Ye.Array;var au=ee("".charAt),su=ee("".charCodeAt),ss=ee("".slice),uu=function(e){return function(t,n){var r,i,o=bi(x(t)),a=Xr(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=su(o,a))<55296||r>56319||a+1===s||(i=su(o,a+1))<56320||i>57343?e?au(o,a):r:e?ss(o,a,a+2):i-56320+(r-55296<<10)+65536}},lu={codeAt:uu(!1),charAt:uu(!0)}.charAt,Ei=Zi.set,fa=Zi.getterFor("String Iterator");ri(String,"String",function(e){Ei(this,{type:"String Iterator",string:bi(e),index:0})},function(){var e,t=fa(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=lu(n,r),t.index+=e.length,{value:e,done:!1})});var ii=N.AggregateError,Zt=ln("toStringTag");for(var nr in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Qo=F[nr],Al=Qo&&Qo.prototype;Al&&Hn(Al)!==Zt&&Ht(Al,Zt,nr),Ye[nr]=Ye.Array}var us,Vu,Ld=ii,js=function(e){return e&&e.Math==Math&&e},yn=js(typeof globalThis=="object"&&globalThis)||js(typeof window=="object"&&window)||js(typeof self=="object"&&self)||js(typeof _e=="object"&&_e)||function(){return this}()||Function("return this")(),wi=function(e){try{return!!e()}catch(t){return!0}},Jr=!wi(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),oi=Function.prototype.call,mn=oi.bind?oi.bind(oi):function(){return oi.apply(oi,arguments)},Ms={}.propertyIsEnumerable,Uv=Object.getOwnPropertyDescriptor,Hv=Uv&&!Ms.call({1:2},1)?function(e){var t=Uv(this,e);return!!t&&t.enumerable}:Ms,i2={f:Hv},cu=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},zp=Function.prototype,fu=zp.bind,$c=zp.call,ef=fu&&fu.bind($c),xr=fu?function(e){return e&&ef($c,e)}:function(e){return e&&function(){return $c.apply(e,arguments)}},Wv=xr({}.toString),o2=xr("".slice),du=function(e){return o2(Wv(e),8,-1)},Ol=yn.Object,a2=xr("".split),zv=wi(function(){return!Ol("z").propertyIsEnumerable(0)})?function(e){return du(e)=="String"?a2(e,""):Ol(e)}:Ol,Vv=yn.TypeError,Gu=function(e){if(e==null)throw Vv("Can't call method on "+e);return e},xl=function(e){return zv(Gu(e))},Ai=function(e){return typeof e=="function"},La=function(e){return typeof e=="object"?e!==null:Ai(e)},Vp=function(e){return Ai(e)?e:void 0},hu=function(e,t){return arguments.length<2?Vp(yn[e]):yn[e]&&yn[e][t]},tf=xr({}.isPrototypeOf),jd=hu("navigator","userAgent")||"",Gv=yn.process,Md=yn.Deno,nf=Gv&&Gv.versions||Md&&Md.version,Gp=nf&&nf.v8;Gp&&(Vu=(us=Gp.split("."))[0]>0&&us[0]<4?1:+(us[0]+us[1])),!Vu&&jd&&(!(us=jd.match(/Edge\/(\d+)/))||us[1]>=74)&&(us=jd.match(/Chrome\/(\d+)/))&&(Vu=+us[1]);var Yp=Vu,Kp=!!Object.getOwnPropertySymbols&&!wi(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Yp&&Yp<41}),kd=Kp&&!Symbol.sham&&typeof Symbol.iterator=="symbol",s2=yn.Object,Fd=kd?function(e){return typeof e=="symbol"}:function(e){var t=hu("Symbol");return Ai(t)&&tf(t.prototype,s2(e))},u2=yn.String,Bd=function(e){try{return u2(e)}catch(t){return"Object"}},Cl=yn.TypeError,Ud=function(e){if(Ai(e))return e;throw Cl(Bd(e)+" is not a function")},rf=function(e,t){var n=e[t];return n==null?void 0:Ud(n)},Xp=yn.TypeError,Yv=Object.defineProperty,Jp=function(e,t){try{Yv(yn,e,{value:t,configurable:!0,writable:!0})}catch(n){yn[e]=t}return t},ks=yn["__core-js_shared__"]||Jp("__core-js_shared__",{}),Qp=Be(function(e){(e.exports=function(t,n){return ks[t]||(ks[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Zp=yn.Object,Hd=function(e){return Zp(Gu(e))},l2=xr({}.hasOwnProperty),Uo=Object.hasOwn||function(e,t){return l2(Hd(e),t)},c2=0,f2=Math.random(),Kv=xr(1 .toString),Xv=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Kv(++c2+f2,36)},Sl=Qp("wks"),Yu=yn.Symbol,qp=Yu&&Yu.for,Jv=kd?Yu:Yu&&Yu.withoutSetter||Xv,Ao=function(e){if(!Uo(Sl,e)||!Kp&&typeof Sl[e]!="string"){var t="Symbol."+e;Kp&&Uo(Yu,e)?Sl[e]=Yu[e]:Sl[e]=kd&&qp?qp(t):Jv(t)}return Sl[e]},d2=yn.TypeError,Qv=Ao("toPrimitive"),h2=function(e,t){if(!La(e)||Fd(e))return e;var n,r=rf(e,Qv);if(r){if(t===void 0&&(t="default"),n=mn(r,e,t),!La(n)||Fd(n))return n;throw d2("Can't convert object to primitive value")}return t===void 0&&(t="number"),function(i,o){var a,s;if(o==="string"&&Ai(a=i.toString)&&!La(s=mn(a,i)))return s;if(Ai(a=i.valueOf)&&!La(s=mn(a,i)))return s;if(o!=="string"&&Ai(a=i.toString)&&!La(s=mn(a,i)))return s;throw Xp("Can't convert object to primitive value")}(e,t)},Wd=function(e){var t=h2(e,"string");return Fd(t)?t:t+""},zd=yn.document,Zv=La(zd)&&La(zd.createElement),$p=function(e){return Zv?zd.createElement(e):{}},qv=!Jr&&!wi(function(){return Object.defineProperty($p("div"),"a",{get:function(){return 7}}).a!=7}),$v=Object.getOwnPropertyDescriptor,p2=Jr?$v:function(e,t){if(e=xl(e),t=Wd(t),qv)try{return $v(e,t)}catch(n){}if(Uo(e,t))return cu(!mn(i2.f,e,t),e[t])},eg={f:p2},g2=yn.String,tg=yn.TypeError,eo=function(e){if(La(e))return e;throw tg(g2(e)+" is not an object")},e1=yn.TypeError,t1=Object.defineProperty,m2=Jr?t1:function(e,t,n){if(eo(e),t=Wd(t),eo(n),qv)try{return t1(e,t,n)}catch(r){}if("get"in n||"set"in n)throw e1("Accessors not supported");return"value"in n&&(e[t]=n.value),e},Tl={f:m2},Oo=Jr?function(e,t,n){return Tl.f(e,t,cu(1,n))}:function(e,t,n){return e[t]=n,e},n1=xr(Function.toString);Ai(ks.inspectSource)||(ks.inspectSource=function(e){return n1(e)});var of,Ku,Dl,ng=ks.inspectSource,r1=yn.WeakMap,zn=Ai(r1)&&/native code/.test(ng(r1)),Ft=Qp("keys"),an=function(e){return Ft[e]||(Ft[e]=Xv(e))},Vn={},ai=yn.TypeError,Xu=yn.WeakMap;if(zn||ks.state){var Ho=ks.state||(ks.state=new Xu),ja=xr(Ho.get),Ma=xr(Ho.has),Fs=xr(Ho.set);of=function(e,t){if(Ma(Ho,e))throw new ai("Object already initialized");return t.facade=e,Fs(Ho,e,t),t},Ku=function(e){return ja(Ho,e)||{}},Dl=function(e){return Ma(Ho,e)}}else{var ls=an("state");Vn[ls]=!0,of=function(e,t){if(Uo(e,ls))throw new ai("Object already initialized");return t.facade=e,Oo(e,ls,t),t},Ku=function(e){return Uo(e,ls)?e[ls]:{}},Dl=function(e){return Uo(e,ls)}}var zi={set:of,get:Ku,has:Dl,enforce:function(e){return Dl(e)?Ku(e):of(e,{})},getterFor:function(e){return function(t){var n;if(!La(t)||(n=Ku(t)).type!==e)throw ai("Incompatible receiver, "+e+" required");return n}}},K3=Function.prototype,Rz=Jr&&Object.getOwnPropertyDescriptor,v2=Uo(K3,"name"),y2={EXISTS:v2,PROPER:v2&&function(){}.name==="something",CONFIGURABLE:v2&&(!Jr||Jr&&Rz(K3,"name").configurable)},Rl=Be(function(e){var t=y2.CONFIGURABLE,n=zi.get,r=zi.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Ai(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Uo(s,"name")||t&&s.name!==h)&&Oo(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==yn?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Oo(o,a,s)):d?o[a]=s:Jp(a,s)})(Function.prototype,"toString",function(){return Ai(this)&&n(this).source||ng(this)})}),Nz=Math.ceil,Iz=Math.floor,b2=function(e){var t=+e;return t!=t||t===0?0:(t>0?Iz:Nz)(t)},Pz=Math.max,Lz=Math.min,_2=function(e,t){var n=b2(e);return n<0?Pz(n+t,0):Lz(n,t)},jz=Math.min,X3=function(e){return e>0?jz(b2(e),9007199254740991):0},i1=function(e){return X3(e.length)},J3=function(e){return function(t,n,r){var i,o=xl(t),a=i1(o),s=_2(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Mz={includes:J3(!0),indexOf:J3(!1)}.indexOf,Q3=xr([].push),Z3=function(e,t){var n,r=xl(e),i=0,o=[];for(n in r)!Uo(Vn,n)&&Uo(r,n)&&Q3(o,n);for(;t.length>i;)Uo(r,n=t[i++])&&(~Mz(o,n)||Q3(o,n));return o},o1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kz=o1.concat("length","prototype"),Fz=Object.getOwnPropertyNames||function(e){return Z3(e,kz)},Bz={f:Fz},Uz={f:Object.getOwnPropertySymbols},Hz=xr([].concat),Wz=hu("Reflect","ownKeys")||function(e){var t=Bz.f(eo(e)),n=Uz.f;return n?Hz(t,n(e)):t},q3=function(e,t){for(var n=Wz(t),r=Tl.f,i=eg.f,o=0;o<n.length;o++){var a=n[o];Uo(e,a)||r(e,a,i(t,a))}},zz=/#|\.prototype\./,rg=function(e,t){var n=Gz[Vz(e)];return n==Kz||n!=Yz&&(Ai(t)?wi(t):!!t)},Vz=rg.normalize=function(e){return String(e).replace(zz,".").toLowerCase()},Gz=rg.data={},Yz=rg.NATIVE="N",Kz=rg.POLYFILL="P",Xz=rg,Jz=eg.f,ig=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?yn:l?yn[s]||Jp(s,{}):(yn[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Jz(n,r))&&a.value:n[r],!Xz(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;q3(o,i)}(e.sham||i&&i.sham)&&Oo(o,"sham",!0),Rl(n,r,o,e)}},$3={};$3[Ao("toStringTag")]="z";var a1,E2=String($3)==="[object z]",Qz=Ao("toStringTag"),Zz=yn.Object,qz=du(function(){return arguments}())=="Arguments",s1=E2?du:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=Zz(e),Qz))=="string"?n:qz?du(t):(r=du(t))=="Object"&&Ai(t.callee)?"Arguments":r},$z=yn.String,af=function(e){if(s1(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return $z(e)},eV=function(){var e=eo(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},w2=yn.RegExp,A2=wi(function(){var e=w2("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),tV=A2||wi(function(){return!w2("a","y").sticky}),nV=A2||wi(function(){var e=w2("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),rV={BROKEN_CARET:nV,MISSED_STICKY:tV,UNSUPPORTED_Y:A2},iV=Object.keys||function(e){return Z3(e,o1)},oV=Jr?Object.defineProperties:function(e,t){eo(e);for(var n,r=xl(t),i=iV(t),o=i.length,a=0;o>a;)Tl.f(e,n=i[a++],r[n]);return e},aV=hu("document","documentElement"),eR=an("IE_PROTO"),O2=function(){},tR=function(e){return"<script>"+e+"</script>"},nR=function(e){e.write(tR("")),e.close();var t=e.parentWindow.Object;return e=null,t},u1=function(){try{a1=new ActiveXObject("htmlfile")}catch(r){}var e,t;u1=typeof document!="undefined"?document.domain&&a1?nR(a1):((t=$p("iframe")).style.display="none",aV.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(tR("document.F=Object")),e.close(),e.F):nR(a1);for(var n=o1.length;n--;)delete u1.prototype[o1[n]];return u1()};Vn[eR]=!0;var rR,x2,og=Object.create||function(e,t){var n;return e!==null?(O2.prototype=eo(e),n=new O2,O2.prototype=null,n[eR]=e):n=u1(),t===void 0?n:oV(n,t)},sV=yn.RegExp,uV=wi(function(){var e=sV(".","s");return!(e.dotAll&&e.exec(`
|
|
|
`)&&e.flags==="s")}),lV=yn.RegExp,cV=wi(function(){var e=lV("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),fV=zi.get,dV=Qp("native-string-replace",String.prototype.replace),l1=RegExp.prototype.exec,C2=l1,hV=xr("".charAt),pV=xr("".indexOf),gV=xr("".replace),S2=xr("".slice),T2=(x2=/b*/g,mn(l1,rR=/a/,"a"),mn(l1,x2,"a"),rR.lastIndex!==0||x2.lastIndex!==0),iR=rV.BROKEN_CARET,D2=/()??/.exec("")[1]!==void 0;(T2||D2||iR||uV||cV)&&(C2=function(e){var t,n,r,i,o,a,s,u=this,l=fV(u),c=af(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=mn(C2,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=iR&&u.sticky,_=mn(eV,u),m=u.source,v=0,y=c;if(h&&(_=gV(_,"y",""),pV(_,"g")===-1&&(_+="g"),y=S2(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&hV(c,u.lastIndex-1)!==`
|
|
|
`)&&(m="(?: "+m+")",y=" "+y,v++),n=new RegExp("^(?:"+m+")",_)),D2&&(n=new RegExp("^"+m+"$(?!\\s)",_)),T2&&(r=u.lastIndex),i=mn(l1,h?n:u,y),h?i?(i.input=S2(i.input,v),i[0]=S2(i[0],v),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:T2&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),D2&&i&&i.length>1&&mn(dV,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=og(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var c1=C2;ig({target:"RegExp",proto:!0,forced:/./.exec!==c1},{exec:c1});var mV=Ao("species"),R2=RegExp.prototype,vV=xr("".charAt),oR=xr("".charCodeAt),yV=xr("".slice),aR=function(e){return function(t,n){var r,i,o=af(Gu(t)),a=b2(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=oR(o,a))<55296||r>56319||a+1===s||(i=oR(o,a+1))<56320||i>57343?e?vV(o,a):r:e?yV(o,a,a+2):i-56320+(r-55296<<10)+65536}},sR={codeAt:aR(!1),charAt:aR(!0)},bV=sR.charAt,_V=function(e,t,n){return t+(n?bV(e,t).length:1)},EV=yn.TypeError,uR=function(e,t){var n=e.exec;if(Ai(n)){var r=mn(n,e,t);return r!==null&&eo(r),r}if(du(e)==="RegExp")return mn(c1,e,t);throw EV("RegExp#exec called on incompatible receiver")};!function(e,t,n,r){var i=Ao(e),o=!wi(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!wi(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[mV]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=xr(/./[i]),u=t(i,""[e],function(l,c,d,p,h){var _=xr(l),m=c.exec;return m===c1||m===R2.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:_(d,c,p)}:{done:!1}});Rl(String.prototype,e,u[0]),Rl(R2,i,u[1])}r&&Oo(R2[i],"sham",!0)}("match",function(e,t,n){return[function(r){var i=Gu(this),o=r==null?void 0:rf(r,e);return o?mn(o,r,i):new RegExp(r)[e](af(i))},function(r){var i=eo(this),o=af(r),a=n(t,i,o);if(a.done)return a.value;if(!i.global)return uR(i,o);var s=i.unicode;i.lastIndex=0;for(var u,l=[],c=0;(u=uR(i,o))!==null;){var d=af(u[0]);l[c]=d,d===""&&(i.lastIndex=_V(o,X3(i.lastIndex),s)),c++}return c===0?null:l}]}),ig({global:!0},{globalThis:yn});var wV=!wi(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),lR=an("IE_PROTO"),N2=yn.Object,AV=N2.prototype,ag=wV?N2.getPrototypeOf:function(e){var t=Hd(e);if(Uo(t,lR))return t[lR];var n=t.constructor;return Ai(n)&&t instanceof n?n.prototype:t instanceof N2?AV:null},OV=yn.String,xV=yn.TypeError,Vd=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=xr(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return eo(r),function(o){if(typeof o=="object"||Ai(o))return o;throw xV("Can't set "+OV(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),CV=yn.Array,SV=Math.max,TV=xr("".replace),DV=xr("".split),RV=xr([].join),I2=String(Error("zxcasd").stack),cR=/\n\s*at [^:]*:[^\n]*/,NV=cR.test(I2),IV=/@[^\n]*\n/.test(I2)&&!/zxcasd/.test(I2),PV=function(e,t){if(typeof e!="string")return e;if(NV)for(;t--;)e=TV(e,cR,"");else if(IV)return RV(function(n,r,i){for(var o,a,s,u,l=i1(n),c=_2(r,l),d=_2(i===void 0?l:i,l),p=CV(SV(d-c,0)),h=0;c<d;c++,h++)o=p,a=h,s=n[c],u=void 0,(u=Wd(a))in o?Tl.f(o,u,cu(0,s)):o[u]=s;return p.length=h,p}(DV(e,`
|
|
|
`),t),`
|
|
|
`);return e},LV=function(e,t){La(t)&&"cause"in t&&Oo(e,"cause",t.cause)},fR=xr(xr.bind),dR=function(e,t){return Ud(e),t===void 0?e:fR?fR(e,t):function(){return e.apply(t,arguments)}},Gd={},jV=Ao("iterator"),MV=Array.prototype,kV=Ao("iterator"),hR=function(e){if(e!=null)return rf(e,kV)||rf(e,"@@iterator")||Gd[s1(e)]},FV=yn.TypeError,pR=function(e,t,n){var r,i;eo(e);try{if(!(r=rf(e,"return"))){if(t==="throw")throw n;return n}r=mn(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return eo(r),n},BV=yn.TypeError,f1=function(e,t){this.stopped=e,this.result=t},gR=f1.prototype,UV=function(e,t,n){var r,i,o,a,s,u,l,c=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),_=dR(t,c),m=function(y){return r&&pR(r,"normal",y),new f1(!0,y)},v=function(y){return d?(eo(y),h?_(y[0],y[1],m):_(y[0],y[1])):h?_(y,m):_(y)};if(p)r=e;else{if(!(i=hR(e)))throw BV(Bd(e)+" is not iterable");if(function(y){return y!==void 0&&(Gd.Array===y||MV[jV]===y)}(i)){for(o=0,a=i1(e);a>o;o++)if((s=v(e[o]))&&tf(gR,s))return s;return new f1(!1)}r=function(y,g){var S=arguments.length<2?hR(y):g;if(Ud(S))return eo(mn(S,y));throw FV(Bd(y)+" is not iterable")}(e,i)}for(u=r.next;!(l=mn(u,r)).done;){try{s=v(l.value)}catch(y){pR(r,"throw",y)}if(typeof s=="object"&&s&&tf(gR,s))return s}return new f1(!1)},HV=function(e,t){return e===void 0?arguments.length<2?"":t:af(e)},WV=!wi(function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",cu(1,7)),e.stack!==7)}),zV=Ao("toStringTag"),d1=yn.Error,VV=[].push,sg=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,i=tf(P2,this);Vd?n=Vd(new d1(void 0),i?ag(this):P2):(n=i?this:og(P2),Oo(n,zV,"Error")),Oo(n,"message",HV(t,"")),WV&&Oo(n,"stack",PV(n.stack,1)),LV(n,r);var o=[];return UV(e,VV,{that:o}),Oo(n,"errors",o),n};Vd?Vd(sg,d1):q3(sg,d1);var P2=sg.prototype=og(d1.prototype,{constructor:cu(1,sg),message:cu(1,""),name:cu(1,"AggregateError")});ig({global:!0},{AggregateError:sg});var L2=Ao("unscopables"),j2=Array.prototype;j2[L2]==null&&Tl.f(j2,L2,{configurable:!0,value:og(null)});var sf,mR,vR,M2=function(e){j2[L2][e]=!0},k2=Ao("iterator"),yR=!1;[].keys&&("next"in(vR=[].keys())?(mR=ag(ag(vR)))!==Object.prototype&&(sf=mR):yR=!0);var GV=sf==null||wi(function(){var e={};return sf[k2].call(e)!==e});GV&&(sf={}),Ai(sf[k2])||Rl(sf,k2,function(){return this});var F2={IteratorPrototype:sf,BUGGY_SAFARI_ITERATORS:yR},YV=Tl.f,bR=Ao("toStringTag"),_R=function(e,t,n){e&&!Uo(e=n?e:e.prototype,bR)&&YV(e,bR,{configurable:!0,value:t})},KV=F2.IteratorPrototype,XV=function(){return this},JV=y2.PROPER,QV=y2.CONFIGURABLE,ER=F2.IteratorPrototype,h1=F2.BUGGY_SAFARI_ITERATORS,ug=Ao("iterator"),ZV=function(){return this},wR=function(e,t,n,r,i,o,a){!function(y,g,S,R){var U=g+" Iterator";y.prototype=og(KV,{next:cu(+!R,S)}),_R(y,U,!1),Gd[U]=XV}(n,t,r);var s,u,l,c=function(y){if(y===i&&m)return m;if(!h1&&y in h)return h[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,_=h[ug]||h["@@iterator"]||i&&h[i],m=!h1&&_||c(i),v=t=="Array"&&h.entries||_;if(v&&(s=ag(v.call(new e)))!==Object.prototype&&s.next&&(ag(s)!==ER&&(Vd?Vd(s,ER):Ai(s[ug])||Rl(s,ug,ZV)),_R(s,d,!0)),JV&&i=="values"&&_&&_.name!=="values"&&(QV?Oo(h,"name","values"):(p=!0,m=function(){return mn(_,this)})),i)if(u={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(l in u)(h1||p||!(l in h))&&Rl(h,l,u[l]);else ig({target:t,proto:!0,forced:h1||p},u);return h[ug]!==m&&Rl(h,ug,m,{name:i}),Gd[t]=m,u},qV=zi.set,$V=zi.getterFor("Array Iterator"),lg=wR(Array,"Array",function(e,t){qV(this,{type:"Array Iterator",target:xl(e),index:0,kind:t})},function(){var e=$V(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Gd.Arguments=Gd.Array,M2("keys"),M2("values"),M2("entries");var eG=sR.charAt,tG=zi.set,nG=zi.getterFor("String Iterator");wR(String,"String",function(e){tG(this,{type:"String Iterator",string:af(e),index:0})},function(){var e,t=nG(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=eG(n,r),t.index+=e.length,{value:e,done:!1})});var B2,p1={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},U2=$p("span").classList,AR=U2&&U2.constructor&&U2.constructor.prototype,OR=AR===Object.prototype?void 0:AR,H2=Ao("iterator"),xR=Ao("toStringTag"),W2=lg.values,CR=function(e,t){if(e){if(e[H2]!==W2)try{Oo(e,H2,W2)}catch(r){e[H2]=W2}if(e[xR]||Oo(e,xR,t),p1[t]){for(var n in lg)if(e[n]!==lg[n])try{Oo(e,n,lg[n])}catch(r){e[n]=lg[n]}}}};for(var z2 in p1)CR(yn[z2]&&yn[z2].prototype,z2);(CR(OR,"DOMTokenList"),typeof Oe=="undefined")?("ActiveXObject"in window&&console.error(`\u62B1\u6B49\uFF0CwangEditor V5+ \u7248\u672C\u5F00\u59CB\uFF0C\u4E0D\u5728\u652F\u6301 IE \u6D4F\u89C8\u5668
|
|
|
Sorry, wangEditor V5+ versions do not support IE browser.`),SR(),TR()):Oe&&((B2=Oe.navigator)===null||B2===void 0?void 0:B2.userAgent.match("QQBrowser"))&&(SR(),TR());function SR(){typeof globalThis=="undefined"&&(window.globalThis=window)}function TR(){Ld===void 0&&(window.AggregateError=function(e,t){var n=new Error(t);return n.errors=e,n})}var DR,g1=Array.isArray||function(e){return k(e)=="Array"},RR=function(){},rG=[],NR=ue("Reflect","construct"),V2=/^\s*(?:class|function)\b/,iG=ee(V2.exec),oG=!V2.exec(RR),cg=function(e){if(!P(e))return!1;try{return NR(RR,rG,e),!0}catch(t){return!1}},aG=!NR||I(function(){var e;return cg(cg.call)||!cg(Object)||!cg(function(){e=!0})||e})?function(e){if(!P(e))return!1;switch(Hn(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return oG||!!iG(V2,ti(e))}:cg,sG=ln("species"),IR=F.Array,PR=function(e,t){return new(function(n){var r;return g1(n)&&(r=n.constructor,(aG(r)&&(r===IR||g1(r.prototype))||b(r)&&(r=r[sG])===null)&&(r=void 0)),r===void 0?IR:r}(e))(t===0?0:t)},uG=ln("species"),LR=ln("isConcatSpreadable"),jR=F.TypeError,lG=ht>=51||!I(function(){var e=[];return e[LR]=!1,e.concat()[0]!==e}),cG=(DR="concat",ht>=51||!I(function(){var e=[];return(e.constructor={})[uG]=function(){return{foo:1}},e[DR](Boolean).foo!==1})),fG=function(e){if(!b(e))return!1;var t=e[LR];return t!==void 0?!!t:g1(e)};dn({target:"Array",proto:!0,forced:!lG||!cG},{concat:function(e){var t,n,r,i,o,a=sn(this),s=PR(a,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(fG(o=t===-1?a:arguments[t])){if(u+(i=ci(o))>9007199254740991)throw jR("Maximum allowed index exceeded");for(n=0;n<i;n++,u++)n in o&&Bv(s,u,o[n])}else{if(u>=9007199254740991)throw jR("Maximum allowed index exceeded");Bv(s,u++,o)}return s.length=u,s}});var MR=qc.f,kR=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],FR={f:function(e){return kR&&k(e)=="Window"?function(t){try{return MR(t)}catch(n){return ge(kR)}}(e):MR(D(e))}},dG=ee([].slice),G2={f:ln},hG=Yt.f,Vi=function(e){var t=N.Symbol||(N.Symbol={});jt(t,e)||hG(t,e,{value:G2.f(e)})},BR=ee([].push),Nl=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,_=sn(u),m=M(_),v=Bn(l,c),y=ci(m),g=0,S=d||PR,R=t?S(u,y):n||a?S(u,0):void 0;y>g;g++)if((s||g in m)&&(h=v(p=m[g],g,_),e))if(t)R[g]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:BR(R,p)}else switch(e){case 4:return!1;case 7:BR(R,p)}return o?-1:r||i?i:R}},m1={forEach:Nl(0),map:Nl(1),filter:Nl(2),some:Nl(3),every:Nl(4),find:Nl(5),findIndex:Nl(6),filterReject:Nl(7)}.forEach,Ea=vn("hidden"),UR=ln("toPrimitive"),pG=Zi.set,HR=Zi.getterFor("Symbol"),Bs=Object.prototype,Il=F.Symbol,Pl=Il&&Il.prototype,WR=F.TypeError,Y2=F.QObject,fg=ue("JSON","stringify"),zR=Io.f,Ll=Yt.f,VR=FR.f,gG=Te.f,GR=ee([].push),Ju=bt("symbols"),dg=bt("op-symbols"),K2=bt("string-to-symbol-registry"),X2=bt("symbol-to-string-registry"),mG=bt("wks"),J2=!Y2||!Y2.prototype||!Y2.prototype.findChild,Q2=se&&I(function(){return Ps(Ll({},"a",{get:function(){return Ll(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var r=zR(Bs,t);r&&delete Bs[t],Ll(e,t,n),r&&e!==Bs&&Ll(Bs,t,r)}:Ll,Z2=function(e,t){var n=Ju[e]=Ps(Pl);return pG(n,{type:"Symbol",tag:e,description:t}),se||(n.description=t),n},v1=function(e,t,n){e===Bs&&v1(dg,t,n),Sn(e);var r=Hr(t);return Sn(n),jt(Ju,r)?(n.enumerable?(jt(e,Ea)&&e[Ea][r]&&(e[Ea][r]=!1),n=Ps(n,{enumerable:be(0,!1)})):(jt(e,Ea)||Ll(e,Ea,be(1,{})),e[Ea][r]=!0),Q2(e,r,n)):Ll(e,r,n)},YR=function(e,t){Sn(e);var n=D(t),r=Hp(n).concat(q2(n));return m1(r,function(i){se&&!Ce(KR,n,i)||v1(e,i,n[i])}),e},KR=function(e){var t=Hr(e),n=Ce(gG,this,t);return!(this===Bs&&jt(Ju,t)&&!jt(dg,t))&&(!(n||!jt(this,t)||!jt(Ju,t)||jt(this,Ea)&&this[Ea][t])||n)},XR=function(e,t){var n=D(e),r=Hr(t);if(n!==Bs||!jt(Ju,r)||jt(dg,r)){var i=zR(n,r);return!i||!jt(Ju,r)||jt(n,Ea)&&n[Ea][r]||(i.enumerable=!0),i}},JR=function(e){var t=VR(D(e)),n=[];return m1(t,function(r){jt(Ju,r)||jt(va,r)||GR(n,r)}),n},q2=function(e){var t=e===Bs,n=VR(t?dg:D(e)),r=[];return m1(n,function(i){!jt(Ju,i)||t&&!jt(Bs,i)||GR(r,Ju[i])}),r};if(V||(Pl=(Il=function(){if(Ee(Pl,this))throw WR("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?bi(arguments[0]):void 0,t=wr(e),n=function(r){this===Bs&&Ce(n,dg,r),jt(this,Ea)&&jt(this[Ea],t)&&(this[Ea][t]=!1),Q2(this,t,be(1,r))};return se&&J2&&Q2(Bs,t,{configurable:!0,set:n}),Z2(t,e)}).prototype,_i(Pl,"toString",function(){return HR(this).tag}),_i(Il,"withoutSetter",function(e){return Z2(wr(e),e)}),Te.f=KR,Yt.f=v1,Io.f=XR,qc.f=FR.f=JR,Nd.f=q2,G2.f=function(e){return Z2(ln(e),e)},se&&Ll(Pl,"description",{configurable:!0,get:function(){return HR(this).description}})),dn({global:!0,wrap:!0,forced:!V,sham:!V},{Symbol:Il}),m1(Hp(mG),function(e){Vi(e)}),dn({target:"Symbol",stat:!0,forced:!V},{for:function(e){var t=bi(e);if(jt(K2,t))return K2[t];var n=Il(t);return K2[t]=n,X2[n]=t,n},keyFor:function(e){if(!Le(e))throw WR(e+" is not a symbol");if(jt(X2,e))return X2[e]},useSetter:function(){J2=!0},useSimple:function(){J2=!1}}),dn({target:"Object",stat:!0,forced:!V,sham:!se},{create:function(e,t){return t===void 0?Ps(e):YR(Ps(e),t)},defineProperty:v1,defineProperties:YR,getOwnPropertyDescriptor:XR}),dn({target:"Object",stat:!0,forced:!V},{getOwnPropertyNames:JR,getOwnPropertySymbols:q2}),dn({target:"Object",stat:!0,forced:I(function(){Nd.f(1)})},{getOwnPropertySymbols:function(e){return Nd.f(sn(e))}}),fg){var vG=!V||I(function(){var e=Il();return fg([e])!="[null]"||fg({a:e})!="{}"||fg(Object(e))!="{}"});dn({target:"JSON",stat:!0,forced:vG},{stringify:function(e,t,n){var r=dG(arguments),i=t;if((b(t)||e!==void 0)&&!Le(e))return g1(t)||(t=function(o,a){if(P(i)&&(a=Ce(i,this,o,a)),!Le(a))return a}),r[1]=t,A(fg,null,r)}})}if(!Pl[UR]){var yG=Pl.valueOf;_i(Pl,UR,function(e){return Ce(yG,this)})}_a(Il,"Symbol"),va[Ea]=!0,Vi("asyncIterator"),Vi("hasInstance"),Vi("isConcatSpreadable"),Vi("iterator"),Vi("match"),Vi("matchAll"),Vi("replace"),Vi("search"),Vi("species"),Vi("split"),Vi("toPrimitive"),Vi("toStringTag"),Vi("unscopables"),_a(F.JSON,"JSON",!0);var bG=N.Symbol;Vi("asyncDispose"),Vi("dispose"),Vi("matcher"),Vi("metadata"),Vi("observable"),Vi("patternMatch"),Vi("replaceAll");var y1=bG,_G=G2.f("iterator"),EG=Be(function(e){function t(n){return typeof y1=="function"&&typeof _G=="symbol"?(e.exports=t=function(r){return typeof r},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(r){return r&&typeof y1=="function"&&r.constructor===y1&&r!==y1.prototype?"symbol":typeof r},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}),wG=Ve(EG),QR=eg.f,AG=wi(function(){QR(1)});if(ig({target:"Object",stat:!0,forced:!Jr||AG,sham:!Jr},{getOwnPropertyDescriptor:function(e,t){return QR(xl(e),t)}}),(typeof Oe=="undefined"?"undefined":wG(Oe))==="object"){var OG=Object.getOwnPropertyDescriptor(Oe,"window");Oe.window&&!OG.set||(Oe.window=Oe,Oe.requestAnimationFrame=function(){},Oe.navigator={userAgent:""},Oe.location={hostname:"0.0.0.0",port:0,protocol:"http:"},Oe.btoa=function(){},Oe.crypto={getRandomValues:function(e){return nodeCrypto.randomFillSync(e)}}),Oe.document!=null&&Oe.document.getElementsByTagName==null&&(Oe.document.getElementsByTagName=function(){return[]})}/*!
|
|
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
|
*
|
|
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
|
* Released under the MIT License.
|
|
|
*/function ZR(e){return Object.prototype.toString.call(e)==="[object Object]"}function Zo(e){var t,n;return ZR(e)!==!1&&((t=e.constructor)===void 0||ZR(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1)}function Us(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(i){return"'"+i+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function uf(e){return!!e&&!!e[ka]}function lf(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var r=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return r===Object||typeof r=="function"&&Function.toString.call(r)===RG}(e)||Array.isArray(e)||!!e[s7]||!!e.constructor[s7]||ew(e)||tw(e))}function hg(e,t,n){n===void 0&&(n=!1),Yd(e)===0?(n?Object.keys:hw)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function Yd(e){var t=e[ka];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:ew(e)?2:tw(e)?3:0}function $2(e,t){return Yd(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function qR(e,t,n){var r=Yd(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function ew(e){return TG&&e instanceof Map}function tw(e){return DG&&e instanceof Set}function cf(e){return e.o||e.t}function nw(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=NG(e);delete t[ka];for(var n=hw(t),r=0;r<n.length;r++){var i=n[r],o=t[i];o.writable===!1&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function rw(e,t){return t===void 0&&(t=!1),iw(e)||uf(e)||!lf(e)||(Yd(e)>1&&(e.set=e.add=e.clear=e.delete=xG),Object.freeze(e),t&&hg(e,function(n,r){return rw(r,!0)},!0)),e}function xG(){Us(2)}function iw(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Qu(e){var t=IG[e];return t||Us(18,e),t}function $R(){return pg}function ow(e,t){t&&(Qu("Patches"),e.u=[],e.s=[],e.v=t)}function b1(e){aw(e),e.p.forEach(CG),e.p=null}function aw(e){e===pg&&(pg=e.l)}function e7(e){return pg={p:[],l:pg,h:e,m:!0,_:0}}function CG(e){var t=e[ka];t.i===0||t.i===1?t.j():t.O=!0}function sw(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||Qu("ES5").S(t,e,r),r?(n[ka].P&&(b1(t),Us(4)),lf(e)&&(e=_1(t,e),t.l||E1(t,e)),t.u&&Qu("Patches").M(n[ka],e,t.u,t.s)):e=_1(t,n,[]),b1(t),t.u&&t.v(t.u,t.s),e!==a7?e:void 0}function _1(e,t,n){if(iw(t))return t;var r=t[ka];if(!r)return hg(t,function(o,a){return t7(e,r,t,o,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return E1(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=nw(r.k):r.o;hg(r.i===3?new Set(i):i,function(o,a){return t7(e,r,i,o,a,n)}),E1(e,i,!1),n&&e.u&&Qu("Patches").R(r,n,e.u,e.s)}return r.o}function t7(e,t,n,r,i,o){if(uf(i)){var a=_1(e,i,o&&t&&t.i!==3&&!$2(t.D,r)?o.concat(r):void 0);if(qR(n,r,a),!uf(a))return;e.m=!1}if(lf(i)&&!iw(i)){if(!e.h.F&&e._<1)return;_1(e,i),t&&t.A.l||E1(e,i)}}function E1(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&rw(t,n)}function uw(e,t){var n=e[ka];return(n?cf(n):e)[t]}function n7(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function lw(e){e.P||(e.P=!0,e.l&&lw(e.l))}function cw(e){e.o||(e.o=nw(e.t))}function fw(e,t,n){var r=ew(t)?Qu("MapSet").N(t,n):tw(t)?Qu("MapSet").T(t,n):e.g?function(i,o){var a=Array.isArray(i),s={i:a?1:0,A:o?o.A:$R(),P:!1,I:!1,D:{},l:o,t:i,k:null,o:null,j:null,C:!1},u=s,l=w1;a&&(u=[s],l=A1);var c=Proxy.revocable(u,l),d=c.revoke,p=c.proxy;return s.k=p,s.j=d,p}(t,n):Qu("ES5").J(t,n);return(n?n.A:$R()).p.push(r),r}function SG(e){return uf(e)||Us(22,e),function t(n){if(!lf(n))return n;var r,i=n[ka],o=Yd(n);if(i){if(!i.P&&(i.i<4||!Qu("ES5").K(i)))return i.t;i.I=!0,r=r7(n,o),i.I=!1}else r=r7(n,o);return hg(r,function(a,s){i&&function(u,l){return Yd(u)===2?u.get(l):u[l]}(i.t,a)===s||qR(r,a,t(s))}),o===3?new Set(r):r}(e)}function r7(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return nw(e)}var i7,pg,dw=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",TG=typeof Map!="undefined",DG=typeof Set!="undefined",o7=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",a7=dw?Symbol.for("immer-nothing"):((i7={})["immer-nothing"]=!0,i7),s7=dw?Symbol.for("immer-draftable"):"__$immer_draftable",ka=dw?Symbol.for("immer-state"):"__$immer_state",RG=""+Object.prototype.constructor,hw=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,NG=Object.getOwnPropertyDescriptors||function(e){var t={};return hw(e).forEach(function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)}),t},IG={},w1={get:function(e,t){if(t===ka)return e;var n=cf(e);if(!$2(n,t))return function(i,o,a){var s,u=n7(o,a);return u?"value"in u?u.value:(s=u.get)===null||s===void 0?void 0:s.call(i.k):void 0}(e,n,t);var r=n[t];return e.I||!lf(r)?r:r===uw(e.t,t)?(cw(e),e.o[t]=fw(e.A.h,r,e)):r},has:function(e,t){return t in cf(e)},ownKeys:function(e){return Reflect.ownKeys(cf(e))},set:function(e,t,n){var r=n7(cf(e),t);if(r==null?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var i=uw(cf(e),t),o=i==null?void 0:i[ka];if(o&&o.t===n)return e.o[t]=n,e.D[t]=!1,!0;if(function(a,s){return a===s?a!==0||1/a==1/s:a!=a&&s!=s}(n,i)&&(n!==void 0||$2(e.t,t)))return!0;cw(e),lw(e)}return e.o[t]===n&&typeof n!="number"&&(n!==void 0||t in e.o)||(e.o[t]=n,e.D[t]=!0,!0)},deleteProperty:function(e,t){return uw(e.t,t)!==void 0||t in e.t?(e.D[t]=!1,cw(e),lw(e)):delete e.D[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=cf(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty:function(){Us(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Us(12)}},A1={};hg(w1,function(e,t){A1[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),A1.deleteProperty=function(e,t){return w1.deleteProperty.call(this,e[0],t)},A1.set=function(e,t,n){return w1.set.call(this,e[0],t,n,e[0])};var PG=function(){function e(n){var r=this;this.g=o7,this.F=!0,this.produce=function(i,o,a){if(typeof i=="function"&&typeof o!="function"){var s=o;o=i;var u=r;return function(h){var _=this;h===void 0&&(h=s);for(var m=arguments.length,v=Array(m>1?m-1:0),y=1;y<m;y++)v[y-1]=arguments[y];return u.produce(h,function(g){var S;return(S=o).call.apply(S,[_,g].concat(v))})}}var l;if(typeof o!="function"&&Us(6),a!==void 0&&typeof a!="function"&&Us(7),lf(i)){var c=e7(r),d=fw(r,i,void 0),p=!0;try{l=o(d),p=!1}finally{p?b1(c):aw(c)}return typeof Promise!="undefined"&&l instanceof Promise?l.then(function(h){return ow(c,a),sw(h,c)},function(h){throw b1(c),h}):(ow(c,a),sw(l,c))}if(!i||typeof i!="object")return(l=o(i))===a7?void 0:(l===void 0&&(l=i),r.F&&rw(l,!0),l);Us(21,i)},this.produceWithPatches=function(i,o){return typeof i=="function"?function(u){for(var l=arguments.length,c=Array(l>1?l-1:0),d=1;d<l;d++)c[d-1]=arguments[d];return r.produceWithPatches(u,function(p){return i.apply(void 0,[p].concat(c))})}:[r.produce(i,o,function(u,l){a=u,s=l}),a,s];var a,s},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var t=e.prototype;return t.createDraft=function(n){lf(n)||Us(8),uf(n)&&(n=SG(n));var r=e7(this),i=fw(this,n,void 0);return i[ka].C=!0,aw(r),i},t.finishDraft=function(n,r){var i=(n&&n[ka]).A;return ow(i,r),sw(void 0,i)},t.setAutoFreeze=function(n){this.F=n},t.setUseProxies=function(n){n&&!o7&&Us(20),this.g=n},t.applyPatches=function(n,r){var i;for(i=r.length-1;i>=0;i--){var o=r[i];if(o.path.length===0&&o.op==="replace"){n=o.value;break}}i>-1&&(r=r.slice(i+1));var a=Qu("Patches").$;return uf(n)?a(n,r):this.produce(n,function(s){return a(s,r)})},e}(),Fa=new PG,O1=Fa.produce;Fa.produceWithPatches.bind(Fa),Fa.setAutoFreeze.bind(Fa),Fa.setUseProxies.bind(Fa),Fa.applyPatches.bind(Fa);var u7=Fa.createDraft.bind(Fa),l7=Fa.finishDraft.bind(Fa);function pu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x1=new WeakMap,gg=new WeakMap,c7=new WeakMap,f7=new WeakMap,d7=new WeakMap,h7=new WeakMap;function p7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function C1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?p7(Object(n),!0).forEach(function(r){pu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var LG=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of B.pathRefs(e))cY.transform(n,t);for(var r of B.pointRefs(e))fY.transform(r,t);for(var i of B.rangeRefs(e))hY.transform(i,t);var o=new Set,a=[],s=p=>{if(p){var h=p.join(",");o.has(h)||(o.add(h),a.push(p))}},u=x1.get(e)||[],l=jG(t);for(var c of u)s(Ne.transform(c,t));for(var d of l)s(d);x1.set(e,a),Me.transform(e,t),e.operations.push(t),B.normalize(e),t.type==="set_selection"&&(e.marks=null),gg.get(e)||(gg.set(e,!0),Promise.resolve().then(()=>{gg.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,n)=>{var{selection:r}=e;if(r)if(Je.isExpanded(r))Me.setNodes(e,{[t]:n},{match:kt.isText,split:!0});else{var i=C1(C1({},B.marks(e)||{}),{},{[t]:n});e.marks=i,gg.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:n}=e;n&&Je.isCollapsed(n)&&Me.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&Je.isCollapsed(n)&&Me.delete(e,{unit:t})},deleteFragment:t=>{var{selection:n}=e;n&&Je.isExpanded(n)&&Me.delete(e,{reverse:t==="backward"})},getFragment:()=>{var{selection:t}=e;return t?Tt.fragment(e,t):[]},insertBreak:()=>{Me.splitNodes(e,{always:!0})},insertFragment:t=>{Me.insertFragment(e,t)},insertNode:t=>{Me.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(r){var i=C1({text:t},r);Me.insertNodes(e,i)}else Me.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!kt.isText(n))if(Qt.isElement(n)&&n.children.length===0)Me.insertNodes(e,{text:""},{at:r.concat(0),voids:!0});else for(var i=!B.isEditor(n)&&Qt.isElement(n)&&(e.isInline(n)||n.children.length===0||kt.isText(n.children[0])||e.isInline(n.children[0])),o=0,a=0;a<n.children.length;a++,o++){var s=Tt.get(e,r);if(!kt.isText(s)){var u=n.children[a],l=s.children[o-1],c=a===n.children.length-1;(kt.isText(u)||Qt.isElement(u)&&e.isInline(u))!==i?(Me.removeNodes(e,{at:r.concat(o),voids:!0}),o--):Qt.isElement(u)?e.isInline(u)&&(l!=null&&kt.isText(l)?c&&(Me.insertNodes(e,{text:""},{at:r.concat(o+1),voids:!0}),o++):(Me.insertNodes(e,{text:""},{at:r.concat(o),voids:!0}),o++)):l!=null&&kt.isText(l)&&(kt.equals(u,l,{loose:!0})?(Me.mergeNodes(e,{at:r.concat(o),voids:!0}),o--):l.text===""?(Me.removeNodes(e,{at:r.concat(o-1),voids:!0}),o--):u.text===""&&(Me.removeNodes(e,{at:r.concat(o),voids:!0}),o--))}}},removeMark:t=>{var{selection:n}=e;if(n)if(Je.isExpanded(n))Me.unsetNodes(e,t,{match:kt.isText,split:!0});else{var r=C1({},B.marks(e)||{});delete r[t],e.marks=r,gg.get(e)||e.onChange()}}};return e},jG=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":var{path:t}=e;return Ne.levels(t);case"insert_node":var{node:n,path:r}=e,i=Ne.levels(r),o=kt.isText(n)?[]:Array.from(Tt.nodes(n),R=>{var[,U]=R;return r.concat(U)});return[...i,...o];case"merge_node":var{path:a}=e;return[...Ne.ancestors(a),Ne.previous(a)];case"move_node":var{path:s,newPath:u}=e;if(Ne.equals(s,u))return[];var l=[],c=[];for(var d of Ne.ancestors(s)){var p=Ne.transform(d,e);l.push(p)}for(var h of Ne.ancestors(u)){var _=Ne.transform(h,e);c.push(_)}var m=c[c.length-1],v=u[u.length-1],y=m.concat(v);return[...l,...c,y];case"remove_node":var{path:g}=e;return[...Ne.ancestors(g)];case"split_node":var{path:S}=e;return[...Ne.levels(S),Ne.next(S)];default:return[]}};function Zu(e,t){if(e==null)return{};var n,r,i=function(a,s){if(a==null)return{};var u,l,c={},d=Object.keys(a);for(l=0;l<d.length;l++)u=d[l],s.indexOf(u)>=0||(c[u]=a[u]);return c}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var jn,pw=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=!t,r=t?UG(e):e,i=jn.None,o=jn.None,a=0,s=null;for(var u of r){var l=u.codePointAt(0);if(!l)break;var c=qG(u,l);if([i,o]=n?[o,c]:[c,i],Kd(i,jn.ZWJ)&&Kd(o,jn.ExtPict)&&!nY(n?e.substring(0,a):e.substring(0,e.length-a)))break;if(Kd(i,jn.RI)&&Kd(o,jn.RI)&&!(s=s!==null?!s:!!n||iY(e.substring(0,e.length-a))))break;if(i!==jn.None&&o!==jn.None&&eY(i,o))break;a+=u.length}return a||1},MG=/\s/,kG=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,FG=/['\u2018\u2019]/,gw=(e,t,n)=>{if(n){var r=e.length-t;return[e.slice(r,e.length),e.slice(0,r)]}return[e.slice(0,t),e.slice(t)]},BG=function e(t,n){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(MG.test(t))return!1;if(FG.test(t)){var i=pw(n,r),[o,a]=gw(n,i,r);if(e(o,a,r))return!0}return!kG.test(t)},UG=function*(e){for(var t=e.length-1,n=0;n<e.length;n++){var r=e.charAt(t-n);if(WG(r.charCodeAt(0))){var i=e.charAt(t-n-1);if(HG(i.charCodeAt(0))){yield i+r,n++;continue}}yield r}},HG=e=>e>=55296&&e<=56319,WG=e=>e>=56320&&e<=57343;!function(e){e[e.None=0]="None",e[e.Extend=1]="Extend",e[e.ZWJ=2]="ZWJ",e[e.RI=4]="RI",e[e.Prepend=8]="Prepend",e[e.SpacingMark=16]="SpacingMark",e[e.L=32]="L",e[e.V=64]="V",e[e.T=128]="T",e[e.LV=256]="LV",e[e.LVT=512]="LVT",e[e.ExtPict=1024]="ExtPict",e[e.Any=2048]="Any"}(jn||(jn={}));var zG=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,VG=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,GG=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,YG=/^[\u1100-\u115F\uA960-\uA97C]$/,KG=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,XG=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,JG=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,QG=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,ZG=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,qG=(e,t)=>{var n=jn.Any;return e.search(zG)!==-1&&(n|=jn.Extend),t===8205&&(n|=jn.ZWJ),t>=127462&&t<=127487&&(n|=jn.RI),e.search(VG)!==-1&&(n|=jn.Prepend),e.search(GG)!==-1&&(n|=jn.SpacingMark),e.search(YG)!==-1&&(n|=jn.L),e.search(KG)!==-1&&(n|=jn.V),e.search(XG)!==-1&&(n|=jn.T),e.search(JG)!==-1&&(n|=jn.LV),e.search(QG)!==-1&&(n|=jn.LVT),e.search(ZG)!==-1&&(n|=jn.ExtPict),n};function Kd(e,t){return(e&t)!=0}var $G=[[jn.L,jn.L|jn.V|jn.LV|jn.LVT],[jn.LV|jn.V,jn.V|jn.T],[jn.LVT|jn.T,jn.T],[jn.Any,jn.Extend|jn.ZWJ],[jn.Any,jn.SpacingMark],[jn.Prepend,jn.Any],[jn.ZWJ,jn.ExtPict],[jn.RI,jn.RI]];function eY(e,t){return $G.findIndex(n=>Kd(e,n[0])&&Kd(t,n[1]))===-1}var tY=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,nY=e=>e.search(tY)!==-1,rY=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,iY=e=>{var t=e.match(rY);return t!==null&&t[0].length/2%2==1},g7=e=>Zo(e)&&Tt.isNodeList(e.children)&&!B.isEditor(e),Qt={isAncestor:e=>Zo(e)&&Tt.isNodeList(e.children),isElement:g7,isElementList:e=>Array.isArray(e)&&e.every(t=>Qt.isElement(t)),isElementProps:e=>e.children!==void 0,isElementType:function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return g7(e)&&e[n]===t},matches(e,t){for(var n in t)if(n!=="children"&&e[n]!==t[n])return!1;return!0}},oY=["text"],aY=["text"];function m7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Xd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?m7(Object(n),!0).forEach(function(r){pu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var v7=new WeakMap,B={above(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:i=e.selection,match:o}=t;if(i){var a=B.path(e,i),s=r==="lowest";for(var[u,l]of B.levels(e,{at:a,voids:n,match:o,reverse:s}))if(!kt.isText(u)&&!Ne.equals(a,l))return[u,l]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i={anchor:B.point(e,t,{edge:"end"}),focus:B.end(e,[])},{distance:o=1}=r,a=0;for(var s of B.positions(e,Xd(Xd({},r),{},{at:i}))){if(a>o)break;a!==0&&(n=s),a++}return n},before(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i={anchor:B.start(e,[]),focus:B.point(e,t,{edge:"start"})},{distance:o=1}=r,a=0;for(var s of B.positions(e,Xd(Xd({},r),{},{at:i,reverse:!0}))){if(a>o)break;a!==0&&(n=s),a++}return n},deleteBackward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{direction:n="forward"}=t;e.deleteFragment(n)},edges:(e,t)=>[B.start(e,t),B.end(e,t)],end:(e,t)=>B.point(e,t,{edge:"end"}),first(e,t){var n=B.path(e,t,{edge:"start"});return B.node(e,n)},fragment(e,t){var n=B.range(e,t);return Tt.fragment(e,n)},hasBlocks:(e,t)=>t.children.some(n=>B.isBlock(e,n)),hasInlines:(e,t)=>t.children.some(n=>kt.isText(n)||B.isInline(e,n)),hasTexts:(e,t)=>t.children.every(n=>kt.isText(n)),insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>Qt.isElement(t)&&!e.isInline(t),isEditor(e){if(!Zo(e))return!1;var t=v7.get(e);if(t!==void 0)return t;var n=typeof e.addMark=="function"&&typeof e.apply=="function"&&typeof e.deleteBackward=="function"&&typeof e.deleteForward=="function"&&typeof e.deleteFragment=="function"&&typeof e.insertBreak=="function"&&typeof e.insertFragment=="function"&&typeof e.insertNode=="function"&&typeof e.insertText=="function"&&typeof e.isInline=="function"&&typeof e.isVoid=="function"&&typeof e.normalizeNode=="function"&&typeof e.onChange=="function"&&typeof e.removeMark=="function"&&(e.marks===null||Zo(e.marks))&&(e.selection===null||Je.isRange(e.selection))&&Tt.isNodeList(e.children)&&jl.isOperationList(e.operations);return v7.set(e,n),n},isEnd(e,t,n){var r=B.end(e,n);return Wn.equals(t,r)},isEdge:(e,t,n)=>B.isStart(e,t,n)||B.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return n.length===0||n.length===1&&kt.isText(r)&&r.text===""&&!e.isVoid(t)},isInline:(e,t)=>Qt.isElement(t)&&e.isInline(t),isNormalizing(e){var t=c7.get(e);return t===void 0||t},isStart(e,t,n){if(t.offset!==0)return!1;var r=B.start(e,n);return Wn.equals(t,r)},isVoid:(e,t)=>Qt.isElement(t)&&e.isVoid(t),last(e,t){var n=B.path(e,t,{edge:"end"});return B.node(e,n)},leaf(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=B.path(e,t,n);return[Tt.leaf(e,r),r]},*levels(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:i=!1}=t,{match:o}=t;if(o==null&&(o=()=>!0),n){var a=[],s=B.path(e,n);for(var[u,l]of Tt.levels(e,s))if(o(u,l)&&(a.push([u,l]),!i&&B.isVoid(e,u)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(Je.isExpanded(n)){var[r]=B.nodes(e,{match:kt.isText});if(r){var[i]=r;return Zu(i,oY)}return{}}var{anchor:o}=n,{path:a}=o,[s]=B.leaf(e,a);if(o.offset===0){var u=B.previous(e,{at:a,match:kt.isText}),l=B.above(e,{match:h=>B.isBlock(e,h)});if(u&&l){var[c,d]=u,[,p]=l;Ne.isAncestor(p,d)&&(s=c)}}return Zu(s,aY)},next(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:i,at:o=e.selection}=t;if(o){var a=B.after(e,o,{voids:r});if(a){var[,s]=B.last(e,[]),u=[a.path,s];if(Ne.isPath(o)&&o.length===0)throw new Error("Cannot get the next node from the root node!");if(i==null)if(Ne.isPath(o)){var[l]=B.parent(e,o);i=d=>l.children.includes(d)}else i=()=>!0;var[c]=B.nodes(e,{at:u,match:i,mode:n,voids:r});return c}}},node(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=B.path(e,t,n);return[Tt.get(e,r),r]},*nodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:i=!1,reverse:o=!1,voids:a=!1}=t,{match:s}=t;if(s||(s=()=>!0),n){var u,l;if(sY.isSpan(n))u=n[0],l=n[1];else{var c=B.path(e,n,{edge:"start"}),d=B.path(e,n,{edge:"end"});u=o?d:c,l=o?c:d}var p,h=Tt.nodes(e,{reverse:o,from:u,to:l,pass:S=>{var[R]=S;return!a&&B.isVoid(e,R)}}),_=[];for(var[m,v]of h){var y=p&&Ne.compare(v,p[1])===0;if(r!=="highest"||!y){if(s(m,v))if(r==="lowest"&&y)p=[m,v];else{var g=r==="lowest"?p:[m,v];g&&(i?_.push(g):yield g),p=[m,v]}else if(i&&!y&&kt.isText(m))return}}r==="lowest"&&p&&(i?_.push(p):yield p),i&&(yield*_)}},normalize(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1}=t,r=o=>x1.get(o)||[];if(B.isNormalizing(e)){if(n){var i=Array.from(Tt.nodes(e),o=>{var[,a]=o;return a});x1.set(e,i)}r(e).length!==0&&B.withoutNormalizing(e,()=>{for(var o of r(e))if(Tt.has(e,o)){var a=B.node(e,o),[s,u]=a;Qt.isElement(s)&&s.children.length===0&&e.normalizeNode(a)}for(var l=42*r(e).length,c=0;r(e).length!==0;){if(c>l)throw new Error(`
|
|
|
Could not completely normalize the editor after `.concat(l,` iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.
|
|
|
`));var d=r(e).pop();if(Tt.has(e,d)){var p=B.node(e,d);e.normalizeNode(p)}c++}})}},parent(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=B.path(e,t,n),i=Ne.parent(r);return B.node(e,i)},path(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:r,edge:i}=n;if(Ne.isPath(t)){if(i==="start"){var[,o]=Tt.first(e,t);t=o}else if(i==="end"){var[,a]=Tt.last(e,t);t=a}}return Je.isRange(t)&&(t=i==="start"?Je.start(t):i==="end"?Je.end(t):Ne.common(t.anchor.path,t.focus.path)),Wn.isPoint(t)&&(t=t.path),r!=null&&(t=t.slice(0,r)),t},hasPath:(e,t)=>Tt.has(e,t),pathRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,i={current:t,affinity:r,unref(){var{current:o}=i;return B.pathRefs(e).delete(i),i.current=null,o}};return B.pathRefs(e).add(i),i},pathRefs(e){var t=f7.get(e);return t||(t=new Set,f7.set(e,t)),t},point(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:r="start"}=n;if(Ne.isPath(t)){var i;if(r==="end"){var[,o]=Tt.last(e,t);i=o}else{var[,a]=Tt.first(e,t);i=a}var s=Tt.get(e,i);if(!kt.isText(s))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:i,offset:r==="end"?s.text.length:0}}if(Je.isRange(t)){var[u,l]=Je.edges(t);return r==="start"?u:l}return t},pointRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,i={current:t,affinity:r,unref(){var{current:o}=i;return B.pointRefs(e).delete(i),i.current=null,o}};return B.pointRefs(e).add(i),i},pointRefs(e){var t=d7.get(e);return t||(t=new Set,d7.set(e,t)),t},*positions(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:i=!1,voids:o=!1}=t;if(n){var a=B.range(e,n),[s,u]=Je.edges(a),l=i?u:s,c=!1,d="",p=0,h=0,_=0;for(var[m,v]of B.nodes(e,{at:n,reverse:i,voids:o})){if(Qt.isElement(m)){if(!o&&e.isVoid(m)){yield B.start(e,v);continue}if(e.isInline(m))continue;if(B.hasInlines(e,m)){var y=Ne.isAncestor(v,u.path)?u:B.end(e,v),g=Ne.isAncestor(v,s.path)?s:B.start(e,v);d=B.string(e,{anchor:g,focus:y},{voids:o}),c=!0}}if(kt.isText(m)){var S=Ne.equals(v,l.path);for(S?(h=i?l.offset:m.text.length-l.offset,_=l.offset):(h=m.text.length,_=i?h:0),(S||c||r==="offset")&&(yield{path:v,offset:_},c=!1);;){if(p===0){if(d==="")break;p=R(d,r,i),d=gw(d,p,i)[1]}if(_=i?_-p:_+p,(h-=p)<0){p=-h;break}p=0,yield{path:v,offset:_}}}}}function R(U,Q,X){return Q==="character"?pw(U,X):Q==="word"?function(le){for(var xe=arguments.length>1&&arguments[1]!==void 0&&arguments[1],Qe=0,it=!1;le.length>0;){var Ze=pw(le,xe),[vt,lt]=gw(le,Ze,xe);if(BG(vt,lt,xe))it=!0,Qe+=Ze;else{if(it)break;Qe+=Ze}le=lt}return Qe}(U,X):Q==="line"||Q==="block"?U.length:1}},previous(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:i,at:o=e.selection}=t;if(o){var a=B.before(e,o,{voids:r});if(a){var[,s]=B.first(e,[]),u=[a.path,s];if(Ne.isPath(o)&&o.length===0)throw new Error("Cannot get the previous node from the root node!");if(i==null)if(Ne.isPath(o)){var[l]=B.parent(e,o);i=d=>l.children.includes(d)}else i=()=>!0;var[c]=B.nodes(e,{reverse:!0,at:u,match:i,mode:n,voids:r});return c}}},range:(e,t,n)=>Je.isRange(t)&&!n?t:{anchor:B.start(e,t),focus:B.end(e,n||t)},rangeRef(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,i={current:t,affinity:r,unref(){var{current:o}=i;return B.rangeRefs(e).delete(i),i.current=null,o}};return B.rangeRefs(e).add(i),i},rangeRefs(e){var t=h7.get(e);return t||(t=new Set,h7.set(e,t)),t},removeMark(e,t){e.removeMark(t)},setNormalizing(e,t){c7.set(e,t)},start:(e,t)=>B.point(e,t,{edge:"start"}),string(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,i=B.range(e,t),[o,a]=Je.edges(i),s="";for(var[u,l]of B.nodes(e,{at:i,match:kt.isText,voids:r})){var c=u.text;Ne.equals(l,a.path)&&(c=c.slice(0,a.offset)),Ne.equals(l,o.path)&&(c=c.slice(o.offset)),s+=c}return s},unhangRange(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,[i,o]=Je.edges(t);if(i.offset!==0||o.offset!==0||Je.isCollapsed(t))return t;var a=B.above(e,{at:o,match:p=>B.isBlock(e,p)}),s=a?a[1]:[],u={anchor:B.start(e,[]),focus:o},l=!0;for(var[c,d]of B.nodes(e,{at:u,match:kt.isText,reverse:!0,voids:r}))if(l)l=!1;else if(c.text!==""||Ne.isBefore(d,s)){o={path:d,offset:c.text.length};break}return{anchor:i,focus:o}},void(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return B.above(e,Xd(Xd({},t),{},{match:n=>B.isVoid(e,n)}))},withoutNormalizing(e,t){var n=B.isNormalizing(e);B.setNormalizing(e,!1);try{t()}finally{B.setNormalizing(e,n)}B.normalize(e)}},U1e={isLocation:e=>Ne.isPath(e)||Wn.isPoint(e)||Je.isRange(e)},sY={isSpan:e=>Array.isArray(e)&&e.length===2&&e.every(Ne.isPath)},uY=["children"],lY=["text"],y7=new WeakMap,Tt={ancestor(e,t){var n=Tt.get(e,t);if(kt.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(n));return n},*ancestors(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of Ne.ancestors(t,n)){var i=[Tt.ancestor(e,r),r];yield i}},child(e,t){if(kt.isText(e))throw new Error("Cannot get the child of a text node: ".concat(JSON.stringify(e)));var n=e.children[t];if(n==null)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(JSON.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:r=!1}=n,i=Tt.ancestor(e,t),{children:o}=i,a=r?o.length-1:0;r?a>=0:a<o.length;){var s=Tt.child(i,a),u=t.concat(a);yield[s,u],a=r?a-1:a+1}},common(e,t,n){var r=Ne.common(t,n);return[Tt.get(e,r),r]},descendant(e,t){var n=Tt.get(e,t);if(B.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(n));return n},*descendants(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of Tt.nodes(e,t))r.length!==0&&(yield[n,r])},*elements(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of Tt.nodes(e,t))Qt.isElement(n)&&(yield[n,r])},extractProps:e=>Qt.isAncestor(e)?Zu(e,uY):Zu(e,lY),first(e,t){for(var n=t.slice(),r=Tt.get(e,n);r&&!kt.isText(r)&&r.children.length!==0;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(kt.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));var n=O1({children:e.children},r=>{var[i,o]=Je.edges(t),a=Tt.nodes(r,{reverse:!0,pass:p=>{var[,h]=p;return!Je.includes(t,h)}});for(var[,s]of a){if(!Je.includes(t,s)){var u=Tt.parent(r,s),l=s[s.length-1];u.children.splice(l,1)}if(Ne.equals(s,o.path)){var c=Tt.leaf(r,s);c.text=c.text.slice(0,o.offset)}if(Ne.equals(s,i.path)){var d=Tt.leaf(r,s);d.text=d.text.slice(i.offset)}}B.isEditor(r)&&(r.selection=null)});return n.children},get(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(kt.isText(n)||!n.children[i])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(JSON.stringify(e)));n=n.children[i]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var i=t[r];if(kt.isText(n)||!n.children[i])return!1;n=n.children[i]}return!0},isNode:e=>kt.isText(e)||Qt.isElement(e)||B.isEditor(e),isNodeList(e){if(!Array.isArray(e))return!1;var t=y7.get(e);if(t!==void 0)return t;var n=e.every(r=>Tt.isNode(r));return y7.set(e,n),n},last(e,t){for(var n=t.slice(),r=Tt.get(e,n);r&&!kt.isText(r)&&r.children.length!==0;){var i=r.children.length-1;r=r.children[i],n.push(i)}return[r,n]},leaf(e,t){var n=Tt.get(e,t);if(!kt.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(n));return n},*levels(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of Ne.levels(t,n)){var i=Tt.get(e,r);yield[i,r]}},matches:(e,t)=>Qt.isElement(e)&&Qt.isElementProps(t)&&Qt.matches(e,t)||kt.isText(e)&&kt.isTextProps(t)&&kt.matches(e,t),*nodes(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:i=[],to:o}=t,a=new Set,s=[],u=e;!o||!(r?Ne.isBefore(s,o):Ne.isAfter(s,o));)if(a.has(u)||(yield[u,s]),a.has(u)||kt.isText(u)||u.children.length===0||n!=null&&n([u,s])!==!1){if(s.length===0)break;if(!r){var l=Ne.next(s);if(Tt.has(e,l)){s=l,u=Tt.get(e,s);continue}}r&&s[s.length-1]!==0?(s=Ne.previous(s),u=Tt.get(e,s)):(s=Ne.parent(s),u=Tt.get(e,s),a.add(u))}else{a.add(u);var c=r?u.children.length-1:0;Ne.isAncestor(s,i)&&(c=i[s.length]),s=s.concat(c),u=Tt.get(e,s)}},parent(e,t){var n=Ne.parent(t),r=Tt.get(e,n);if(kt.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>kt.isText(e)?e.text:e.children.map(Tt.string).join(""),*texts(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of Tt.nodes(e,t))kt.isText(n)&&(yield[n,r])}};function b7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function to(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?b7(Object(n),!0).forEach(function(r){pu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var jl={isNodeOperation:e=>jl.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!Zo(e))return!1;switch(e.type){case"insert_node":case"remove_node":return Ne.isPath(e.path)&&Tt.isNode(e.node);case"insert_text":case"remove_text":return typeof e.offset=="number"&&typeof e.text=="string"&&Ne.isPath(e.path);case"merge_node":return typeof e.position=="number"&&Ne.isPath(e.path)&&Zo(e.properties);case"move_node":return Ne.isPath(e.path)&&Ne.isPath(e.newPath);case"set_node":return Ne.isPath(e.path)&&Zo(e.properties)&&Zo(e.newProperties);case"set_selection":return e.properties===null&&Je.isRange(e.newProperties)||e.newProperties===null&&Je.isRange(e.properties)||Zo(e.properties)&&Zo(e.newProperties);case"split_node":return Ne.isPath(e.path)&&typeof e.position=="number"&&Zo(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&e.every(t=>jl.isOperation(t)),isSelectionOperation:e=>jl.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>jl.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return to(to({},e),{},{type:"remove_node"});case"insert_text":return to(to({},e),{},{type:"remove_text"});case"merge_node":return to(to({},e),{},{type:"split_node",path:Ne.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;if(Ne.equals(t,n))return e;if(Ne.isSibling(n,t))return to(to({},e),{},{path:t,newPath:n});var r=Ne.transform(n,e),i=Ne.transform(Ne.next(n),e);return to(to({},e),{},{path:r,newPath:i});case"remove_node":return to(to({},e),{},{type:"insert_node"});case"remove_text":return to(to({},e),{},{type:"insert_text"});case"set_node":var{properties:o,newProperties:a}=e;return to(to({},e),{},{properties:a,newProperties:o});case"set_selection":var{properties:s,newProperties:u}=e;return to(to({},e),{},s==null?{properties:u,newProperties:null}:u==null?{properties:null,newProperties:s}:{properties:u,newProperties:s});case"split_node":return to(to({},e),{},{type:"merge_node",path:Ne.next(e.path)})}}},Ne={ancestors(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=Ne.levels(e,t);return r=n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var i=e[r];if(i!==t[r])break;n.push(i)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),i=t.slice(0,n),o=e[n],a=t[n];return Ne.equals(r,i)&&o>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),i=t.slice(0,n);return Ne.equals(r,i)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),i=t.slice(0,n),o=e[n],a=t[n];return Ne.equals(r,i)&&o<a},equals:(e,t)=>e.length===t.length&&e.every((n,r)=>n===t[r]),hasPrevious:e=>e[e.length-1]>0,isAfter:(e,t)=>Ne.compare(e,t)===1,isAncestor:(e,t)=>e.length<t.length&&Ne.compare(e,t)===0,isBefore:(e,t)=>Ne.compare(e,t)===-1,isChild:(e,t)=>e.length===t.length+1&&Ne.compare(e,t)===0,isCommon:(e,t)=>e.length<=t.length&&Ne.compare(e,t)===0,isDescendant:(e,t)=>e.length>t.length&&Ne.compare(e,t)===0,isParent:(e,t)=>e.length+1===t.length&&Ne.compare(e,t)===0,isPath:e=>Array.isArray(e)&&(e.length===0||typeof e[0]=="number"),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&Ne.equals(n,r)},levels(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,r=[],i=0;i<=e.length;i++)r.push(e.slice(0,i));return n&&r.reverse(),r},next(e){if(e.length===0)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},parent(e){if(e.length===0)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(e.length===0)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!Ne.isAncestor(t,e)&&!Ne.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return O1(e,r=>{var{affinity:i="forward"}=n;if(e&&(e==null?void 0:e.length)!==0){if(r===null)return null;switch(t.type){case"insert_node":var{path:o}=t;(Ne.equals(o,r)||Ne.endsBefore(o,r)||Ne.isAncestor(o,r))&&(r[o.length-1]+=1);break;case"remove_node":var{path:a}=t;if(Ne.equals(a,r)||Ne.isAncestor(a,r))return null;Ne.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:s,position:u}=t;Ne.equals(s,r)||Ne.endsBefore(s,r)?r[s.length-1]-=1:Ne.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=u);break;case"split_node":var{path:l,position:c}=t;if(Ne.equals(l,r)){if(i==="forward")r[r.length-1]+=1;else if(i!=="backward")return null}else Ne.endsBefore(l,r)?r[l.length-1]+=1:Ne.isAncestor(l,r)&&e[l.length]>=c&&(r[l.length-1]+=1,r[l.length]-=c);break;case"move_node":var{path:d,newPath:p}=t;if(Ne.equals(d,p))return;if(Ne.isAncestor(d,r)||Ne.equals(d,r)){var h=p.slice();return Ne.endsBefore(d,p)&&d.length<p.length&&(h[d.length-1]-=1),h.concat(r.slice(d.length))}Ne.isSibling(d,p)&&(Ne.isAncestor(p,r)||Ne.equals(p,r))?Ne.endsBefore(d,r)?r[d.length-1]-=1:r[d.length-1]+=1:Ne.endsBefore(p,r)||Ne.equals(p,r)||Ne.isAncestor(p,r)?(Ne.endsBefore(d,r)&&(r[d.length-1]-=1),r[p.length-1]+=1):Ne.endsBefore(d,r)&&(Ne.equals(p,r)&&(r[p.length-1]+=1),r[d.length-1]-=1)}}})}},cY={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=Ne.transform(n,t,{affinity:r});e.current=i,i==null&&e.unref()}}};function _7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function E7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_7(Object(n),!0).forEach(function(r){pu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Wn={compare(e,t){var n=Ne.compare(e.path,t.path);return n===0?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>Wn.compare(e,t)===1,isBefore:(e,t)=>Wn.compare(e,t)===-1,equals:(e,t)=>e.offset===t.offset&&Ne.equals(e.path,t.path),isPoint:e=>Zo(e)&&typeof e.offset=="number"&&Ne.isPath(e.path),transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return O1(e,r=>{if(r===null)return null;var{affinity:i="forward"}=n,{path:o,offset:a}=r;switch(t.type){case"insert_node":case"move_node":r.path=Ne.transform(o,t,n);break;case"insert_text":Ne.equals(t.path,o)&&t.offset<=a&&(r.offset+=t.text.length);break;case"merge_node":Ne.equals(t.path,o)&&(r.offset+=t.position),r.path=Ne.transform(o,t,n);break;case"remove_text":Ne.equals(t.path,o)&&t.offset<=a&&(r.offset-=Math.min(a-t.offset,t.text.length));break;case"remove_node":if(Ne.equals(t.path,o)||Ne.isAncestor(t.path,o))return null;r.path=Ne.transform(o,t,n);break;case"split_node":if(Ne.equals(t.path,o)){if(t.position===a&&i==null)return null;(t.position<a||t.position===a&&i==="forward")&&(r.offset-=t.position,r.path=Ne.transform(o,t,E7(E7({},n),{},{affinity:"forward"})))}else r.path=Ne.transform(o,t,n)}})}},fY={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=Wn.transform(n,t,{affinity:r});e.current=i,i==null&&e.unref()}}},dY=["anchor","focus"];function w7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}var Je={edges(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:i}=e;return Je.isBackward(e)===n?[r,i]:[i,r]},end(e){var[,t]=Je.edges(e);return t},equals:(e,t)=>Wn.equals(e.anchor,t.anchor)&&Wn.equals(e.focus,t.focus),includes(e,t){if(Je.isRange(t)){if(Je.includes(e,t.anchor)||Je.includes(e,t.focus))return!0;var[n,r]=Je.edges(e),[i,o]=Je.edges(t);return Wn.isBefore(n,i)&&Wn.isAfter(r,o)}var[a,s]=Je.edges(e),u=!1,l=!1;return Wn.isPoint(t)?(u=Wn.compare(t,a)>=0,l=Wn.compare(t,s)<=0):(u=Ne.compare(t,a.path)>=0,l=Ne.compare(t,s.path)<=0),u&&l},intersection(e,t){var n=Zu(e,dY),[r,i]=Je.edges(e),[o,a]=Je.edges(t),s=Wn.isBefore(r,o)?o:r,u=Wn.isBefore(i,a)?i:a;return Wn.isBefore(u,s)?null:function(l){for(var c=1;c<arguments.length;c++){var d=arguments[c]!=null?arguments[c]:{};c%2?w7(Object(d),!0).forEach(function(p){pu(l,p,d[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(d)):w7(Object(d)).forEach(function(p){Object.defineProperty(l,p,Object.getOwnPropertyDescriptor(d,p))})}return l}({anchor:s,focus:u},n)},isBackward(e){var{anchor:t,focus:n}=e;return Wn.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return Wn.equals(t,n)},isExpanded:e=>!Je.isCollapsed(e),isForward:e=>!Je.isBackward(e),isRange:e=>Zo(e)&&Wn.isPoint(e.anchor)&&Wn.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=Je.edges(e);return t},transform(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return O1(e,r=>{if(r===null)return null;var i,o,{affinity:a="inward"}=n;if(a==="inward"){var s=Je.isCollapsed(r);Je.isForward(r)?(i="forward",o=s?i:"backward"):(i="backward",o=s?i:"forward")}else a==="outward"?Je.isForward(r)?(i="backward",o="forward"):(i="forward",o="backward"):(i=a,o=a);var u=Wn.transform(r.anchor,t,{affinity:i}),l=Wn.transform(r.focus,t,{affinity:o});if(!u||!l)return null;r.anchor=u,r.focus=l})}},hY={transform(e,t){var{current:n,affinity:r}=e;if(n!=null){var i=Je.transform(n,t,{affinity:r});e.current=i,i==null&&e.unref()}}},A7=(e,t)=>{for(var n in e){var r=e[n],i=t[n];if(Zo(r)&&Zo(i)){if(!A7(r,i))return!1}else if(Array.isArray(r)&&Array.isArray(i)){if(r.length!==i.length)return!1;for(var o=0;o<r.length;o++)if(r[o]!==i[o])return!1}else if(r!==i)return!1}for(var a in t)if(e[a]===void 0&&t[a]!==void 0)return!1;return!0},pY=["text"],gY=["anchor","focus"];function O7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function qu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?O7(Object(n),!0).forEach(function(r){pu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var kt={equals(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:r=!1}=n;function i(o){return Zu(o,pY)}return A7(r?i(e):e,r?i(t):t)},isText:e=>Zo(e)&&typeof e.text=="string",isTextList:e=>Array.isArray(e)&&e.every(t=>kt.isText(t)),isTextProps:e=>e.text!==void 0,matches(e,t){for(var n in t)if(n!=="text"&&(!e.hasOwnProperty(n)||e[n]!==t[n]))return!1;return!0},decorations(e,t){var n=[qu({},e)];for(var r of t){var i=Zu(r,gY),[o,a]=Je.edges(r),s=[],u=0;for(var l of n){var{length:c}=l.text,d=u;if(u+=c,o.offset<=d&&a.offset>=u)Object.assign(l,i),s.push(l);else if(o.offset!==a.offset&&(o.offset===u||a.offset===d)||o.offset>u||a.offset<d||a.offset===d&&d!==0)s.push(l);else{var p=l,h=void 0,_=void 0;if(a.offset<u){var m=a.offset-d;_=qu(qu({},p),{},{text:p.text.slice(m)}),p=qu(qu({},p),{},{text:p.text.slice(0,m)})}if(o.offset>d){var v=o.offset-d;h=qu(qu({},p),{},{text:p.text.slice(0,v)}),p=qu(qu({},p),{},{text:p.text.slice(v)})}Object.assign(p,i),h&&s.push(h),s.push(p),_&&s.push(_)}}n=s}return n}};function x7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function mg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?x7(Object(n),!0).forEach(function(r){pu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):x7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var mY={transform(e,t){e.children=u7(e.children);var n=e.selection&&u7(e.selection);try{n=((r,i,o)=>{switch(o.type){case"insert_node":var{path:a,node:s}=o,u=Tt.parent(r,a),l=a[a.length-1];if(l>u.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(a,"] because the destination is past the end of the node."));if(u.children.splice(l,0,s),i)for(var[c,d]of Je.points(i))i[d]=Wn.transform(c,o);break;case"insert_text":var{path:p,offset:h,text:_}=o;if(_.length===0)break;var m=Tt.leaf(r,p),v=m.text.slice(0,h),y=m.text.slice(h);if(m.text=v+_+y,i)for(var[g,S]of Je.points(i))i[S]=Wn.transform(g,o);break;case"merge_node":var{path:R}=o,U=Tt.get(r,R),Q=Ne.previous(R),X=Tt.get(r,Q),le=Tt.parent(r,R),xe=R[R.length-1];if(kt.isText(U)&&kt.isText(X))X.text+=U.text;else{if(kt.isText(U)||kt.isText(X))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(R,"] to nodes of different interfaces: ").concat(U," ").concat(X));X.children.push(...U.children)}if(le.children.splice(xe,1),i)for(var[Qe,it]of Je.points(i))i[it]=Wn.transform(Qe,o);break;case"move_node":var{path:Ze,newPath:vt}=o;if(Ne.isAncestor(Ze,vt))throw new Error("Cannot move a path [".concat(Ze,"] to new path [").concat(vt,"] because the destination is inside itself."));var lt=Tt.get(r,Ze),ct=Tt.parent(r,Ze),dt=Ze[Ze.length-1];ct.children.splice(dt,1);var Pt=Ne.transform(Ze,o),Kt=Tt.get(r,Ne.parent(Pt)),Gt=Pt[Pt.length-1];if(Kt.children.splice(Gt,0,lt),i)for(var[zt,ye]of Je.points(i))i[ye]=Wn.transform(zt,o);break;case"remove_node":var{path:re}=o,De=re[re.length-1];if(Tt.parent(r,re).children.splice(De,1),i)for(var[tt,wt]of Je.points(i)){var st=Wn.transform(tt,o);if(i!=null&&st!=null)i[wt]=st;else{var Bt=void 0,on=void 0;for(var[En,Ln]of Tt.texts(r)){if(Ne.compare(Ln,re)!==-1){on=[En,Ln];break}Bt=[En,Ln]}var ft=!1;Bt&&on&&(ft=Ne.equals(on[1],re)?!Ne.hasPrevious(on[1]):Ne.common(Bt[1],re).length<Ne.common(on[1],re).length),Bt&&!ft?(tt.path=Bt[1],tt.offset=Bt[0].text.length):on?(tt.path=on[1],tt.offset=0):i=null}}break;case"remove_text":var{path:qn,offset:kn,text:en}=o;if(en.length===0)break;var Fn=Tt.leaf(r,qn),Ii=Fn.text.slice(0,kn),ur=Fn.text.slice(kn+en.length);if(Fn.text=Ii+ur,i)for(var[Ir,li]of Je.points(i))i[li]=Wn.transform(Ir,o);break;case"set_node":var{path:ra,properties:ir,newProperties:Ta}=o;if(ra.length===0)throw new Error("Cannot set properties on the root node!");var eu=Tt.get(r,ra);for(var ku in Ta){if(ku==="children"||ku==="text")throw new Error('Cannot set the "'.concat(ku,'" property of nodes!'));var Mp=Ta[ku];Mp==null?delete eu[ku]:eu[ku]=Mp}for(var Ad in ir)Ta.hasOwnProperty(Ad)||delete eu[Ad];break;case"set_selection":var{newProperties:tu}=o;if(tu==null)i=tu;else{if(i==null){if(!Je.isRange(tu))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(tu)," when there is no current selection."));i=mg({},tu)}for(var Fu in tu){var ml=tu[Fu];if(ml==null){if(Fu==="anchor"||Fu==="focus")throw new Error('Cannot remove the "'.concat(Fu,'" selection property'));delete i[Fu]}else i[Fu]=ml}}break;case"split_node":var{path:ia,position:oa,properties:aa}=o;if(ia.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(ia,"] because the root node cannot be split."));var ha,Ro=Tt.get(r,ia),Rs=Tt.parent(r,ia),Iv=ia[ia.length-1];if(kt.isText(Ro)){var Kc=Ro.text.slice(0,oa),vl=Ro.text.slice(oa);Ro.text=Kc,ha=mg(mg({},aa),{},{text:vl})}else{var kp=Ro.children.slice(0,oa),Od=Ro.children.slice(oa);Ro.children=kp,ha=mg(mg({},aa),{},{children:Od})}if(Rs.children.splice(Iv+1,0,ha),i)for(var[Fp,nu]of Je.points(i))i[nu]=Wn.transform(Fp,o)}return i})(e,n,t)}finally{e.children=l7(e.children),e.selection=n?uf(n)?l7(n):n:null}}},vY=["text"],yY=["children"];function C7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function S7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?C7(Object(n),!0).forEach(function(r){pu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var bY={insertNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};B.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:i=!1,mode:o="lowest"}=n,{at:a,match:s,select:u}=n;if(Tt.isNode(t)&&(t=[t]),t.length!==0){var[l]=t;if(a||(a=e.selection?e.selection:e.children.length>0?B.end(e,[]):[0],u=!0),u==null&&(u=!1),Je.isRange(a))if(r||(a=B.unhangRange(e,a)),Je.isCollapsed(a))a=a.anchor;else{var[,c]=Je.edges(a),d=B.pointRef(e,c);Me.delete(e,{at:a}),a=d.unref()}if(Wn.isPoint(a)){s==null&&(s=kt.isText(l)?Q=>kt.isText(Q):e.isInline(l)?Q=>kt.isText(Q)||B.isInline(e,Q):Q=>B.isBlock(e,Q));var[p]=B.nodes(e,{at:a.path,match:s,mode:o,voids:i});if(!p)return;var[,h]=p,_=B.pathRef(e,h),m=B.isEnd(e,a,h);Me.splitNodes(e,{at:a,match:s,mode:o,voids:i});var v=_.unref();a=m?Ne.next(v):v}var y=Ne.parent(a),g=a[a.length-1];if(i||!B.void(e,{at:y})){for(var S of t){var R=y.concat(g);g++,e.apply({type:"insert_node",path:R,node:S}),a=Ne.next(a)}if(a=Ne.previous(a),u){var U=B.end(e,a);U&&Me.select(e,U)}}}})},liftNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};B.withoutNormalizing(e,()=>{var{at:n=e.selection,mode:r="lowest",voids:i=!1}=t,{match:o}=t;if(o==null&&(o=Ne.isPath(n)?Jd(e,n):S=>B.isBlock(e,S)),n){var a=B.nodes(e,{at:n,match:o,mode:r,voids:i}),s=Array.from(a,S=>{var[,R]=S;return B.pathRef(e,R)});for(var u of s){var l=u.unref();if(l.length<2)throw new Error("Cannot lift node at a path [".concat(l,"] because it has a depth of less than `2`."));var c=B.node(e,Ne.parent(l)),[d,p]=c,h=l[l.length-1],{length:_}=d.children;if(_===1){var m=Ne.next(p);Me.moveNodes(e,{at:l,to:m,voids:i}),Me.removeNodes(e,{at:p,voids:i})}else if(h===0)Me.moveNodes(e,{at:l,to:p,voids:i});else if(h===_-1){var v=Ne.next(p);Me.moveNodes(e,{at:l,to:v,voids:i})}else{var y=Ne.next(l),g=Ne.next(p);Me.splitNodes(e,{at:y,voids:i}),Me.moveNodes(e,{at:l,to:g,voids:i})}}}})},mergeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};B.withoutNormalizing(e,()=>{var{match:n,at:r=e.selection}=t,{hanging:i=!1,voids:o=!1,mode:a="lowest"}=t;if(r){if(n==null)if(Ne.isPath(r)){var[s]=B.parent(e,r);n=xe=>s.children.includes(xe)}else n=xe=>B.isBlock(e,xe);if(!i&&Je.isRange(r)&&(r=B.unhangRange(e,r)),Je.isRange(r))if(Je.isCollapsed(r))r=r.anchor;else{var[,u]=Je.edges(r),l=B.pointRef(e,u);Me.delete(e,{at:r}),r=l.unref(),t.at==null&&Me.select(e,r)}var[c]=B.nodes(e,{at:r,match:n,voids:o,mode:a}),d=B.previous(e,{at:r,match:n,voids:o,mode:a});if(c&&d){var[p,h]=c,[_,m]=d;if(h.length!==0&&m.length!==0){var v,y,g=Ne.next(m),S=Ne.common(h,m),R=Ne.isSibling(h,m),U=Array.from(B.levels(e,{at:h}),xe=>{var[Qe]=xe;return Qe}).slice(S.length).slice(0,-1),Q=B.above(e,{at:h,mode:"highest",match:xe=>U.includes(xe)&&T7(e,xe)}),X=Q&&B.pathRef(e,Q[1]);if(kt.isText(p)&&kt.isText(_)){var le=Zu(p,vY);y=_.text.length,v=le}else{if(!Qt.isElement(p)||!Qt.isElement(_))throw new Error("Cannot merge the node at path [".concat(h,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(p)," ").concat(JSON.stringify(_)));le=Zu(p,yY),y=_.children.length,v=le}R||Me.moveNodes(e,{at:h,to:g,voids:o}),X&&Me.removeNodes(e,{at:X.current,voids:o}),Qt.isElement(_)&&B.isEmpty(e,_)||kt.isText(_)&&_.text===""&&m[m.length-1]!==0?Me.removeNodes(e,{at:m,voids:o}):e.apply({type:"merge_node",path:g,position:y,properties:v}),X&&X.unref()}}}})},moveNodes(e,t){B.withoutNormalizing(e,()=>{var{to:n,at:r=e.selection,mode:i="lowest",voids:o=!1}=t,{match:a}=t;if(r){a==null&&(a=Ne.isPath(r)?Jd(e,r):h=>B.isBlock(e,h));var s=B.pathRef(e,n),u=B.nodes(e,{at:r,match:a,mode:i,voids:o}),l=Array.from(u,h=>{var[,_]=h;return B.pathRef(e,_)});for(var c of l){var d=c.unref(),p=s.current;d.length!==0&&e.apply({type:"move_node",path:d,newPath:p}),s.current&&Ne.isSibling(p,d)&&Ne.isAfter(p,d)&&(s.current=Ne.next(s.current))}s.unref()}})},removeNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};B.withoutNormalizing(e,()=>{var{hanging:n=!1,voids:r=!1,mode:i="lowest"}=t,{at:o=e.selection,match:a}=t;if(o){a==null&&(a=Ne.isPath(o)?Jd(e,o):p=>B.isBlock(e,p)),!n&&Je.isRange(o)&&(o=B.unhangRange(e,o));var s=B.nodes(e,{at:o,match:a,mode:i,voids:r}),u=Array.from(s,p=>{var[,h]=p;return B.pathRef(e,h)});for(var l of u){var c=l.unref();if(c){var[d]=B.node(e,c);e.apply({type:"remove_node",path:c,node:d})}}}})},setNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};B.withoutNormalizing(e,()=>{var{match:r,at:i=e.selection}=n,{hanging:o=!1,mode:a="lowest",split:s=!1,voids:u=!1}=n;if(i){if(r==null&&(r=Ne.isPath(i)?Jd(e,i):U=>B.isBlock(e,U)),!o&&Je.isRange(i)&&(i=B.unhangRange(e,i)),s&&Je.isRange(i)){if(Je.isCollapsed(i)&&B.leaf(e,i.anchor)[0].text.length>0)return;var l=B.rangeRef(e,i,{affinity:"inward"}),[c,d]=Je.edges(i),p=a==="lowest"?"lowest":"highest",h=B.isEnd(e,d,d.path);Me.splitNodes(e,{at:d,match:r,mode:p,voids:u,always:!h});var _=B.isStart(e,c,c.path);Me.splitNodes(e,{at:c,match:r,mode:p,voids:u,always:!_}),i=l.unref(),n.at==null&&Me.select(e,i)}for(var[m,v]of B.nodes(e,{at:i,match:r,mode:a,voids:u})){var y={},g={};if(v.length!==0){var S=!1;for(var R in t)R!=="children"&&R!=="text"&&t[R]!==m[R]&&(S=!0,m.hasOwnProperty(R)&&(y[R]=m[R]),t[R]!=null&&(g[R]=t[R]));S&&e.apply({type:"set_node",path:v,properties:y,newProperties:g})}}}})},splitNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};B.withoutNormalizing(e,()=>{var{mode:n="lowest",voids:r=!1}=t,{match:i,at:o=e.selection,height:a=0,always:s=!1}=t;if(i==null&&(i=lt=>B.isBlock(e,lt)),Je.isRange(o)&&(o=_Y(e,o)),Ne.isPath(o)){var u=o,l=B.point(e,u),[c]=B.parent(e,u);i=lt=>lt===c,a=l.path.length-u.length+1,o=l,s=!0}if(o){var d=B.pointRef(e,o,{affinity:"backward"}),[p]=B.nodes(e,{at:o,match:i,mode:n,voids:r});if(p){var h=B.void(e,{at:o,mode:"highest"});if(!r&&h){var[_,m]=h;if(Qt.isElement(_)&&e.isInline(_)){var v=B.after(e,m);if(!v){var y=Ne.next(m);Me.insertNodes(e,{text:""},{at:y,voids:r}),v=B.point(e,y)}o=v,s=!0}a=o.path.length-m.length+1,s=!0}var g=B.pointRef(e,o),S=o.path.length-a,[,R]=p,U=o.path.slice(0,S),Q=a===0?o.offset:o.path[S]+0;for(var[X,le]of B.levels(e,{at:U,reverse:!0,voids:r})){var xe=!1;if(le.length<R.length||le.length===0||!r&&B.isVoid(e,X))break;var Qe=d.current,it=B.isEnd(e,Qe,le);if(s||!d||!B.isEdge(e,Qe,le)){xe=!0;var Ze=Tt.extractProps(X);e.apply({type:"split_node",path:le,position:Q,properties:Ze})}Q=le[le.length-1]+(xe||it?1:0)}if(t.at==null){var vt=g.current||B.end(e,[]);Me.select(e,vt)}d.unref(),g.unref()}}})},unsetNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var i of t)r[i]=null;Me.setNodes(e,r,n)},unwrapNodes(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};B.withoutNormalizing(e,()=>{var{mode:n="lowest",split:r=!1,voids:i=!1}=t,{at:o=e.selection,match:a}=t;if(o){a==null&&(a=Ne.isPath(o)?Jd(e,o):p=>B.isBlock(e,p)),Ne.isPath(o)&&(o=B.range(e,o));var s=Je.isRange(o)?B.rangeRef(e,o):null,u=B.nodes(e,{at:o,match:a,mode:n,voids:i}),l=Array.from(u,p=>{var[,h]=p;return B.pathRef(e,h)}).reverse(),c=function(p){var h=p.unref(),[_]=B.node(e,h),m=B.range(e,h);r&&s&&(m=Je.intersection(s.current,m)),Me.liftNodes(e,{at:m,match:v=>Qt.isAncestor(_)&&_.children.includes(v),voids:i})};for(var d of l)c(d);s&&s.unref()}})},wrapNodes(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};B.withoutNormalizing(e,()=>{var{mode:r="lowest",split:i=!1,voids:o=!1}=n,{match:a,at:s=e.selection}=n;if(s){if(a==null&&(a=Ne.isPath(s)?Jd(e,s):e.isInline(t)?v=>B.isInline(e,v)||kt.isText(v):v=>B.isBlock(e,v)),i&&Je.isRange(s)){var[u,l]=Je.edges(s),c=B.rangeRef(e,s,{affinity:"inward"});Me.splitNodes(e,{at:l,match:a,voids:o}),Me.splitNodes(e,{at:u,match:a,voids:o}),s=c.unref(),n.at==null&&Me.select(e,s)}var d=Array.from(B.nodes(e,{at:s,match:e.isInline(t)?v=>B.isBlock(e,v):v=>B.isEditor(v),mode:"lowest",voids:o}));for(var[,p]of d){var h=Je.isRange(s)?Je.intersection(s,B.range(e,p)):s;if(h){var _=Array.from(B.nodes(e,{at:h,match:a,mode:r,voids:o}));if(_.length>0){var m=function(){var[v]=_,y=_[_.length-1],[,g]=v,[,S]=y;if(g.length===0&&S.length===0)return"continue";var R=Ne.equals(g,S)?Ne.parent(g):Ne.common(g,S),U=B.range(e,g,S),Q=B.node(e,R),[X]=Q,le=R.length+1,xe=Ne.next(S.slice(0,le)),Qe=S7(S7({},t),{},{children:[]});Me.insertNodes(e,Qe,{at:xe,voids:o}),Me.moveNodes(e,{at:U,match:it=>Qt.isAncestor(X)&&X.children.includes(it),to:xe.concat(0),voids:o})}();if(m==="continue")continue}}}}})}},T7=(e,t)=>{if(Qt.isElement(t)){var n=t;return!!B.isVoid(e,t)||n.children.length===1&&T7(e,n.children[0])}return!B.isEditor(t)},_Y=(e,t)=>{if(Je.isCollapsed(t))return t.anchor;var[,n]=Je.edges(t),r=B.pointRef(e,n);return Me.delete(e,{at:t}),r.unref()},Jd=(e,t)=>{var[n]=B.node(e,t);return r=>r===n};function D7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function R7(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?D7(Object(n),!0).forEach(function(r){pu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var EY={collapse(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r){if(n==="anchor")Me.select(e,r.anchor);else if(n==="focus")Me.select(e,r.focus);else if(n==="start"){var[i]=Je.edges(r);Me.select(e,i)}else if(n==="end"){var[,o]=Je.edges(r);Me.select(e,o)}}},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:i="character",reverse:o=!1}=t,{edge:a=null}=t;if(n){a==="start"&&(a=Je.isBackward(n)?"focus":"anchor"),a==="end"&&(a=Je.isBackward(n)?"anchor":"focus");var{anchor:s,focus:u}=n,l={distance:r,unit:i},c={};if(a==null||a==="anchor"){var d=o?B.before(e,s,l):B.after(e,s,l);d&&(c.anchor=d)}if(a==null||a==="focus"){var p=o?B.before(e,u,l):B.after(e,u,l);p&&(c.focus=p)}Me.setSelection(e,c)}},select(e,t){var{selection:n}=e;if(t=B.range(e,t),n)Me.setSelection(e,t);else{if(!Je.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}},setPoint(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:r}=e,{edge:i="both"}=n;if(r){i==="start"&&(i=Je.isBackward(r)?"focus":"anchor"),i==="end"&&(i=Je.isBackward(r)?"anchor":"focus");var{anchor:o,focus:a}=r,s=i==="anchor"?o:a;Me.setSelection(e,{[i==="anchor"?"anchor":"focus"]:R7(R7({},s),t)})}},setSelection(e,t){var{selection:n}=e,r={},i={};if(n){for(var o in t)(o==="anchor"&&t.anchor!=null&&!Wn.equals(t.anchor,n.anchor)||o==="focus"&&t.focus!=null&&!Wn.equals(t.focus,n.focus)||o!=="anchor"&&o!=="focus"&&t[o]!==n[o])&&(r[o]=n[o],i[o]=t[o]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:i})}}},wY={delete(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};B.withoutNormalizing(e,()=>{var{reverse:n=!1,unit:r="character",distance:i=1,voids:o=!1}=t,{at:a=e.selection,hanging:s=!1}=t;if(a){if(Je.isRange(a)&&Je.isCollapsed(a)&&(a=a.anchor),Wn.isPoint(a)){var u=B.void(e,{at:a,mode:"highest"});if(!o&&u){var[,l]=u;a=l}else{var c={unit:r,distance:i};a={anchor:a,focus:n?B.before(e,a,c)||B.start(e,[]):B.after(e,a,c)||B.end(e,[])},s=!0}}if(Ne.isPath(a))Me.removeNodes(e,{at:a,voids:o});else if(!Je.isCollapsed(a)){if(!s){var[,d]=Je.edges(a),p=B.end(e,[]);Wn.equals(d,p)||(a=B.unhangRange(e,a,{voids:o}))}var[h,_]=Je.edges(a),m=B.above(e,{match:on=>B.isBlock(e,on),at:h,voids:o}),v=B.above(e,{match:on=>B.isBlock(e,on),at:_,voids:o}),y=m&&v&&!Ne.equals(m[1],v[1]),g=Ne.equals(h.path,_.path),S=o?null:B.void(e,{at:h,mode:"highest"}),R=o?null:B.void(e,{at:_,mode:"highest"});if(S){var U=B.before(e,h);U&&m&&Ne.isAncestor(m[1],U.path)&&(h=U)}if(R){var Q=B.after(e,_);Q&&v&&Ne.isAncestor(v[1],Q.path)&&(_=Q)}var X,le=[];for(var xe of B.nodes(e,{at:a,voids:o})){var[Qe,it]=xe;X&&Ne.compare(it,X)===0||(!o&&B.isVoid(e,Qe)||!Ne.isCommon(it,h.path)&&!Ne.isCommon(it,_.path))&&(le.push(xe),X=it)}var Ze=Array.from(le,on=>{var[,En]=on;return B.pathRef(e,En)}),vt=B.pointRef(e,h),lt=B.pointRef(e,_);if(!g&&!S){var ct=vt.current,[dt]=B.leaf(e,ct),{path:Pt}=ct,{offset:Kt}=h,Gt=dt.text.slice(Kt);Gt.length>0&&e.apply({type:"remove_text",path:Pt,offset:Kt,text:Gt})}for(var zt of Ze){var ye=zt.unref();Me.removeNodes(e,{at:ye,voids:o})}if(!R){var re=lt.current,[De]=B.leaf(e,re),{path:tt}=re,wt=g?h.offset:0,st=De.text.slice(wt,_.offset);st.length>0&&e.apply({type:"remove_text",path:tt,offset:wt,text:st})}!g&&y&<.current&&vt.current&&Me.mergeNodes(e,{at:lt.current,hanging:!0,voids:o});var Bt=n?vt.unref()||lt.unref():lt.unref()||vt.unref();t.at==null&&Bt&&Me.select(e,Bt)}}})},insertFragment(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};B.withoutNormalizing(e,()=>{var{hanging:r=!1,voids:i=!1}=n,{at:o=e.selection}=n;if(t.length&&o){if(Je.isRange(o))if(r||(o=B.unhangRange(e,o)),Je.isCollapsed(o))o=o.anchor;else{var[,a]=Je.edges(o);if(!i&&B.void(e,{at:a}))return;var s=B.pointRef(e,a);Me.delete(e,{at:o}),o=s.unref()}else Ne.isPath(o)&&(o=B.start(e,o));if(i||!B.void(e,{at:o})){var u=B.above(e,{at:o,match:re=>B.isInline(e,re),mode:"highest",voids:i});if(u){var[,l]=u;B.isEnd(e,o,l)?o=B.after(e,l):B.isStart(e,o,l)&&(o=B.before(e,l))}var c=B.above(e,{match:re=>B.isBlock(e,re),at:o,voids:i}),[,d]=c,p=B.isStart(e,o,d),h=B.isEnd(e,o,d),_=p&&h,m=!p||p&&h,v=!h,[,y]=Tt.first({children:t},[]),[,g]=Tt.last({children:t},[]),S=[],R=re=>{var[De,tt]=re;return!(tt.length===0)&&(!!_||!(m&&Ne.isAncestor(tt,y)&&Qt.isElement(De)&&!e.isVoid(De)&&!e.isInline(De))&&!(v&&Ne.isAncestor(tt,g)&&Qt.isElement(De)&&!e.isVoid(De)&&!e.isInline(De)))};for(var U of Tt.nodes({children:t},{pass:R}))R(U)&&S.push(U);var Q=[],X=[],le=[],xe=!0,Qe=!1;for(var[it]of S)Qt.isElement(it)&&!e.isInline(it)?(xe=!1,Qe=!0,X.push(it)):xe?Q.push(it):le.push(it);var[Ze]=B.nodes(e,{at:o,match:re=>kt.isText(re)||B.isInline(e,re),mode:"highest",voids:i}),[,vt]=Ze,lt=B.isStart(e,o,vt),ct=B.isEnd(e,o,vt),dt=B.pathRef(e,h?Ne.next(d):d),Pt=B.pathRef(e,ct?Ne.next(vt):vt),Kt=B.pathRef(e,d);Me.splitNodes(e,{at:o,match:re=>Qe?B.isBlock(e,re):kt.isText(re)||B.isInline(e,re),mode:Qe?"lowest":"highest",voids:i});var Gt=B.pathRef(e,!lt||lt&&ct?Ne.next(vt):vt);if(Me.insertNodes(e,Q,{at:Gt.current,match:re=>kt.isText(re)||B.isInline(e,re),mode:"highest",voids:i}),_&&X.length&&Me.delete(e,{at:Kt.unref(),voids:i}),Me.insertNodes(e,X,{at:dt.current,match:re=>B.isBlock(e,re),mode:"lowest",voids:i}),Me.insertNodes(e,le,{at:Pt.current,match:re=>kt.isText(re)||B.isInline(e,re),mode:"highest",voids:i}),!n.at){var zt;zt=le.length>0?Ne.previous(Pt.current):X.length>0?Ne.previous(dt.current):Ne.previous(Gt.current);var ye=B.end(e,zt);Me.select(e,ye)}Gt.unref(),dt.unref(),Pt.unref()}}})},insertText(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};B.withoutNormalizing(e,()=>{var{voids:r=!1}=n,{at:i=e.selection}=n;if(i){if(Ne.isPath(i)&&(i=B.range(e,i)),Je.isRange(i))if(Je.isCollapsed(i))i=i.anchor;else{var o=Je.end(i);if(!r&&B.void(e,{at:o}))return;var a=B.pointRef(e,o);Me.delete(e,{at:i,voids:r}),i=a.unref(),Me.setSelection(e,{anchor:i,focus:i})}if(r||!B.void(e,{at:i})){var{path:s,offset:u}=i;t.length>0&&e.apply({type:"insert_text",path:s,offset:u,text:t})}}})}};function N7(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function S1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?N7(Object(n),!0).forEach(function(r){pu(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N7(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Me=S1(S1(S1(S1({},mY),bY),EY),wY),mw="[object Map]",vw="[object Set]",AY=/^\[object .+?Constructor\]$/,OY=/^(?:0|[1-9]\d*)$/,xY="[\\ud800-\\udfff]",yw="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",bw="\\ud83c[\\udffb-\\udfff]",I7="[^\\ud800-\\udfff]",P7="(?:\\ud83c[\\udde6-\\uddff]){2}",L7="[\\ud800-\\udbff][\\udc00-\\udfff]",j7="(?:"+yw+"|"+bw+")?",CY="[\\ufe0e\\ufe0f]?"+j7+("(?:\\u200d(?:"+[I7,P7,L7].join("|")+")[\\ufe0e\\ufe0f]?"+j7+")*"),SY="(?:"+[I7+yw+"?",yw,P7,L7,xY].join("|")+")",TY=RegExp(bw+"(?="+bw+")|"+SY+CY,"g"),DY=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),RY=typeof _e=="object"&&_e&&_e.Object===Object&&_e,NY=typeof self=="object"&&self&&self.Object===Object&&self,ff=RY||NY||Function("return this")();function IY(e,t){return function(n,r){for(var i=-1,o=n?n.length:0,a=Array(o);++i<o;)a[i]=r(n[i],i,n);return a}(t,function(n){return e[n]})}function PY(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}function LY(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}function jY(e){return function(t){return DY.test(t)}(e)?function(t){return t.match(TY)||[]}(e):function(t){return t.split("")}(e)}var M7,k7,MY=Function.prototype,T1=Object.prototype,_w=ff["__core-js_shared__"],F7=function(){var e=/[^.]+$/.exec(_w&&_w.keys&&_w.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),B7=MY.toString,D1=T1.hasOwnProperty,vg=T1.toString,kY=RegExp("^"+B7.call(D1).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U7=ff.Symbol,Ew=U7?U7.iterator:void 0,FY=T1.propertyIsEnumerable,BY=(M7=Object.keys,k7=Object,function(e){return M7(k7(e))}),ww=yg(ff,"DataView"),Aw=yg(ff,"Map"),Ow=yg(ff,"Promise"),xw=yg(ff,"Set"),Cw=yg(ff,"WeakMap"),UY=hf(ww),HY=hf(Aw),WY=hf(Ow),zY=hf(xw),VY=hf(Cw);function GY(e,t){var n=H7(e)||function(a){return function(s){return V7(s)&&Sw(s)}(a)&&D1.call(a,"callee")&&(!FY.call(a,"callee")||vg.call(a)=="[object Arguments]")}(e)?function(a,s){for(var u=-1,l=Array(a);++u<a;)l[u]=s(u);return l}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!D1.call(e,o)||i&&(o=="length"||XY(o,r))||n.push(o);return n}function YY(e){if(!z7(e)||function(n){return!!F7&&F7 in n}(e))return!1;var t=W7(e)||function(n){var r=!1;if(n!=null&&typeof n.toString!="function")try{r=!!(n+"")}catch(i){}return r}(e)?kY:AY;return t.test(hf(e))}function KY(e){if(n=(t=e)&&t.constructor,r=typeof n=="function"&&n.prototype||T1,t!==r)return BY(e);var t,n,r,i=[];for(var o in Object(e))D1.call(e,o)&&o!="constructor"&&i.push(o);return i}function yg(e,t){var n=function(r,i){return r==null?void 0:r[i]}(e,t);return YY(n)?n:void 0}var df=function(e){return vg.call(e)};function XY(e,t){return!!(t=t==null?9007199254740991:t)&&(typeof e=="number"||OY.test(e))&&e>-1&&e%1==0&&e<t}function hf(e){if(e!=null){try{return B7.call(e)}catch(t){}try{return e+""}catch(t){}}return""}(ww&&df(new ww(new ArrayBuffer(1)))!="[object DataView]"||Aw&&df(new Aw)!=mw||Ow&&df(Ow.resolve())!="[object Promise]"||xw&&df(new xw)!=vw||Cw&&df(new Cw)!="[object WeakMap]")&&(df=function(e){var t=vg.call(e),n=t=="[object Object]"?e.constructor:void 0,r=n?hf(n):void 0;if(r)switch(r){case UY:return"[object DataView]";case HY:return mw;case WY:return"[object Promise]";case zY:return vw;case VY:return"[object WeakMap]"}return t});var H7=Array.isArray;function Sw(e){return e!=null&&function(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}(e.length)&&!W7(e)}function W7(e){var t=z7(e)?vg.call(e):"";return t=="[object Function]"||t=="[object GeneratorFunction]"}function z7(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function V7(e){return!!e&&typeof e=="object"}function JY(e){return e?IY(e,function(t){return Sw(t)?GY(t):KY(t)}(e)):[]}var G7=function(e){if(!e)return[];if(Sw(e))return function(n){return typeof n=="string"||!H7(n)&&V7(n)&&vg.call(n)=="[object String]"}(e)?jY(e):function(n,r){var i=-1,o=n.length;for(r||(r=Array(o));++i<o;)r[i]=n[i];return r}(e);if(Ew&&e[Ew])return function(n){for(var r,i=[];!(r=n.next()).done;)i.push(r.value);return i}(e[Ew]());var t=df(e);return(t==mw?PY:t==vw?LY:JY)(e)};function Y7(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Tw(e,t){e===void 0&&(e={}),t===void 0&&(t={}),Object.keys(t).forEach(function(n){e[n]===void 0?e[n]=t[n]:Y7(t[n])&&Y7(e[n])&&Object.keys(t[n]).length>0&&Tw(e[n],t[n])})}var K7={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function bg(){var e=typeof document!="undefined"?document:{};return Tw(e,K7),e}var QY={document:K7,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return typeof setTimeout=="undefined"?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){typeof setTimeout!="undefined"&&clearTimeout(e)}};function pf(){var e=typeof window!="undefined"?window:{};return Tw(e,QY),e}function Dw(e){return Dw=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Dw(e)}function R1(e,t){return R1=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},R1(e,t)}function ZY(){if(typeof Reflect=="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Rw(e,t,n){return Rw=ZY()?Reflect.construct:function(r,i,o){var a=[null];a.push.apply(a,i);var s=new(Function.bind.apply(r,a));return o&&R1(s,o.prototype),s},Rw.apply(null,arguments)}function Nw(e){var t=typeof Map=="function"?new Map:void 0;return Nw=function(n){if(n===null||!function(i){return Function.toString.call(i).indexOf("[native code]")!==-1}(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(n))return t.get(n);t.set(n,r)}function r(){return Rw(n,arguments,Dw(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),R1(r,n)},Nw(e)}var Ml=function(e){var t,n;function r(i){var o,a,s;return o=e.call.apply(e,[this].concat(i))||this,a=function(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}(o),s=a.__proto__,Object.defineProperty(a,"__proto__",{get:function(){return s},set:function(u){s.__proto__=u}}),o}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,r}(Nw(Array));function N1(e){e===void 0&&(e=[]);var t=[];return e.forEach(function(n){Array.isArray(n)?t.push.apply(t,N1(n)):t.push(n)}),t}function X7(e,t){return Array.prototype.filter.call(e,t)}function ve(e,t){var n=pf(),r=bg(),i=[];if(!t&&e instanceof Ml)return e;if(!e)return new Ml(i);if(typeof e=="string"){var o=e.trim();if(o.indexOf("<")>=0&&o.indexOf(">")>=0){var a="div";o.indexOf("<li")===0&&(a="ul"),o.indexOf("<tr")===0&&(a="tbody"),o.indexOf("<td")!==0&&o.indexOf("<th")!==0||(a="tr"),o.indexOf("<tbody")===0&&(a="table"),o.indexOf("<option")===0&&(a="select");var s=r.createElement(a);s.innerHTML=o;for(var u=0;u<s.childNodes.length;u+=1)i.push(s.childNodes[u])}else i=function(l,c){if(typeof l!="string")return[l];for(var d=[],p=c.querySelectorAll(l),h=0;h<p.length;h+=1)d.push(p[h]);return d}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)i.push(e);else if(Array.isArray(e)){if(e instanceof Ml)return e;i=e}return new Ml(function(l){for(var c=[],d=0;d<l.length;d+=1)c.indexOf(l[d])===-1&&c.push(l[d]);return c}(i))}function Qd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=N1(t.map(function(i){return i.split(" ")}));return this.forEach(function(i){var o;(o=i.classList).add.apply(o,r)}),this}function Zd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=N1(t.map(function(i){return i.split(" ")}));return this.forEach(function(i){var o;(o=i.classList).remove.apply(o,r)}),this}function qd(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=N1(t.map(function(i){return i.split(" ")}));return X7(this,function(i){return r.filter(function(o){return i.classList.contains(o)}).length>0}).length>0}function cs(e,t){if(arguments.length===1&&typeof e=="string")return this[0]?this[0].getAttribute(e):void 0;for(var n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(e,t);else for(var r in e)this[n][r]=e[r],this[n].setAttribute(r,e[r]);return this}function I1(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function $d(){var e=this[0];if(e){var t,n={};if(e.dataset)for(var r in e.dataset)n[r]=e.dataset[r];else for(var i=0;i<e.attributes.length;i+=1){var o=e.attributes[i];o.name.indexOf("data-")>=0&&(n[t=o.name.split("data-")[1],t.toLowerCase().replace(/-(.)/g,function(s,u){return u.toUpperCase()})]=o.value)}for(var a in n)n[a]==="false"?n[a]=!1:n[a]==="true"?n[a]=!0:parseFloat(n[a])===1*n[a]&&(n[a]*=1);return n}}function gu(e){if(e===void 0){var t=this[0];if(!t)return;if(t.multiple&&t.nodeName.toLowerCase()==="select"){for(var n=[],r=0;r<t.selectedOptions.length;r+=1)n.push(t.selectedOptions[r].value);return n}return t.value}for(var i=0;i<this.length;i+=1){var o=this[i];if(Array.isArray(e)&&o.multiple&&o.nodeName.toLowerCase()==="select")for(var a=0;a<o.options.length;a+=1)o.options[a].selected=e.indexOf(o.options[a].value)>=0;else o.value=e}return this}function mu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];function s(m){var v=m.target;if(v){var y=m.target.dom7EventData||[];if(y.indexOf(m)<0&&y.unshift(m),ve(v).is(i))o.apply(v,y);else for(var g=ve(v).parents(),S=0;S<g.length;S+=1)ve(g[S]).is(i)&&o.apply(g[S],y)}}function u(m){var v=m&&m.target&&m.target.dom7EventData||[];v.indexOf(m)<0&&v.unshift(m),o.apply(this,v)}typeof t[1]=="function"&&(r=t[0],o=t[1],a=t[2],i=void 0),a||(a=!1);for(var l,c=r.split(" "),d=0;d<this.length;d+=1){var p=this[d];if(i)for(l=0;l<c.length;l+=1){var h=c[l];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[h]||(p.dom7LiveListeners[h]=[]),p.dom7LiveListeners[h].push({listener:o,proxyListener:s}),p.addEventListener(h,s,a)}else for(l=0;l<c.length;l+=1){var _=c[l];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[_]||(p.dom7Listeners[_]=[]),p.dom7Listeners[_].push({listener:o,proxyListener:u}),p.addEventListener(_,u,a)}}return this}function J7(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],i=t[1],o=t[2],a=t[3];typeof t[1]=="function"&&(r=t[0],o=t[1],a=t[2],i=void 0),a||(a=!1);for(var s=r.split(" "),u=0;u<s.length;u+=1)for(var l=s[u],c=0;c<this.length;c+=1){var d=this[c],p=void 0;if(!i&&d.dom7Listeners?p=d.dom7Listeners[l]:i&&d.dom7LiveListeners&&(p=d.dom7LiveListeners[l]),p&&p.length)for(var h=p.length-1;h>=0;h-=1){var _=p[h];o&&_.listener===o||o&&_.listener&&_.listener.dom7proxy&&_.listener.dom7proxy===o?(d.removeEventListener(l,_.proxyListener,a),p.splice(h,1)):o||(d.removeEventListener(l,_.proxyListener,a),p.splice(h,1))}}return this}function P1(){var e=pf();return this[0]===e?e.innerWidth:this.length>0?parseFloat(this.css("width")):null}function L1(){var e=pf();return this[0]===e?e.innerHeight:this.length>0?parseFloat(this.css("height")):null}function Q7(){if(this.length>0){var e=pf(),t=bg(),n=this[0],r=n.getBoundingClientRect(),i=t.body,o=n.clientTop||i.clientTop||0,a=n.clientLeft||i.clientLeft||0,s=n===e?e.scrollY:n.scrollTop,u=n===e?e.scrollX:n.scrollLeft;return{top:r.top+s-o,left:r.left+u-a}}return null}function eh(){for(var e=0;e<this.length;e+=1)this[e].style.display="none";return this}function j1(){for(var e=pf(),t=0;t<this.length;t+=1){var n=this[t];n.style.display==="none"&&(n.style.display=""),e.getComputedStyle(n,null).getPropertyValue("display")==="none"&&(n.style.display="block")}return this}function M1(e,t){var n,r=pf();if(arguments.length===1){if(typeof e!="string"){for(n=0;n<this.length;n+=1)for(var i in e)this[n].style[i]=e[i];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(e)}if(arguments.length===2&&typeof e=="string"){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this}function k1(e){return e?(this.forEach(function(t,n){e.apply(t,[t,n])}),this):this}function Z7(e){return ve(X7(this,e))}function kl(e){if(e===void 0)return this[0]?this[0].innerHTML:null;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function F1(e){if(e===void 0)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this}function q7(e){var t,n,r=pf(),i=bg(),o=this[0];if(!o||e===void 0)return!1;if(typeof e=="string"){if(o.matches)return o.matches(e);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(e);if(o.msMatchesSelector)return o.msMatchesSelector(e);for(t=ve(e),n=0;n<t.length;n+=1)if(t[n]===o)return!0;return!1}if(e===i)return o===i;if(e===r)return o===r;if(e.nodeType||e instanceof Ml){for(t=e.nodeType?[e]:e,n=0;n<t.length;n+=1)if(t[n]===o)return!0;return!1}return!1}function fs(){for(var e,t=bg(),n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if(typeof e=="string"){var i=t.createElement("div");for(i.innerHTML=e;i.firstChild;)this[r].appendChild(i.firstChild)}else if(e instanceof Ml)for(var o=0;o<e.length;o+=1)this[r].appendChild(e[o]);else this[r].appendChild(e)}return this}function $7(e){var t,n,r=bg();for(t=0;t<this.length;t+=1)if(typeof e=="string"){var i=r.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(i.childNodes[n],this[t].childNodes[0])}else if(e instanceof Ml)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function th(e){for(var t=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(e?ve(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return ve(t)}function B1(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)e?ve(r).is(e)&&t.push(r):t.push(r),r=r.parentNode;return ve(t)}function nh(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(e),i=0;i<r.length;i+=1)t.push(r[i]);return ve(t)}function rh(e){for(var t=[],n=0;n<this.length;n+=1)for(var r=this[n].children,i=0;i<r.length;i+=1)e&&!ve(r[i]).is(e)||t.push(r[i]);return ve(t)}function ih(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}function oh(){for(var e=0;e<this.length;e+=1){var t=this[e];if(t.nodeType===1){for(var n=0;n<t.childNodes.length;n+=1)t.childNodes[n].parentNode&&t.childNodes[n].parentNode.removeChild(t.childNodes[n]);t.textContent=""}}return this}ve.fn=Ml.prototype;var qY="resize scroll".split(" ");function e8(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(n[0]===void 0){for(var i=0;i<this.length;i+=1)qY.indexOf(e)<0&&(e in this[i]?this[i][e]():ve(this[i]).trigger(e));return this}return this.on.apply(this,[e].concat(n))}}var t8=e8("click"),Fl=e8("focus"),$Y="[object GeneratorFunction]",eK=/^(?:0|[1-9]\d*)$/;function tK(e,t){for(var n=-1,r=e?e.length:0;++n<r&&t(e[n],n,e)!==!1;);return e}var U1=Object.prototype,Iw=U1.hasOwnProperty,n8=U1.toString,nK=U1.propertyIsEnumerable,rK=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object);function iK(e,t){var n=o8(e)||function(a){return function(s){return function(u){return!!u&&typeof u=="object"}(s)&&Pw(s)}(a)&&Iw.call(a,"callee")&&(!nK.call(a,"callee")||n8.call(a)=="[object Arguments]")}(e)?function(a,s){for(var u=-1,l=Array(a);++u<a;)l[u]=s(u);return l}(e.length,String):[],r=n.length,i=!!r;for(var o in e)!t&&!Iw.call(e,o)||i&&(o=="length"||uK(o,r))||n.push(o);return n}var r8,i8,oK=(r8=function(e,t){return e&&aK(e,t,lK)},function(e,t){if(e==null)return e;if(!Pw(e))return r8(e,t);for(var n=e.length,r=i8?n:-1,i=Object(e);(i8?r--:++r<n)&&t(i[r],r,i)!==!1;);return e}),aK=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++i];if(n(o[u],u,o)===!1)break}return t}}();function sK(e){if(n=(t=e)&&t.constructor,r=typeof n=="function"&&n.prototype||U1,t!==r)return rK(e);var t,n,r,i=[];for(var o in Object(e))Iw.call(e,o)&&o!="constructor"&&i.push(o);return i}function uK(e,t){return!!(t=t==null?9007199254740991:t)&&(typeof e=="number"||eK.test(e))&&e>-1&&e%1==0&&e<t}var o8=Array.isArray;function Pw(e){return e!=null&&function(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=9007199254740991}(e.length)&&!function(t){var n=function(r){var i=typeof r;return!!r&&(i=="object"||i=="function")}(t)?n8.call(t):"";return n=="[object Function]"||n==$Y}(e)}function lK(e){return Pw(e)?iK(e):sK(e)}function cK(e){return e}var Lw=function(e,t){return(o8(e)?tK:oK)(e,typeof t=="function"?t:cK)};let a8=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t};var fK=/^\s+|\s+$/g,dK=/^[-+]0x[0-9a-f]+$/i,hK=/^0b[01]+$/i,pK=/^0o[0-7]+$/i,gK=parseInt,mK=typeof _e=="object"&&_e&&_e.Object===Object&&_e,vK=typeof self=="object"&&self&&self.Object===Object&&self,yK=mK||vK||Function("return this")(),bK=Object.prototype.toString,_K=Math.max,EK=Math.min,jw=function(){return yK.Date.now()};function wK(e,t,n){var r,i,o,a,s,u,l=0,c=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError("Expected a function");function h(S){var R=r,U=i;return r=i=void 0,l=S,a=e.apply(U,R)}function _(S){return l=S,s=setTimeout(v,t),c?h(S):a}function m(S){var R=S-u;return u===void 0||R>=t||R<0||d&&S-l>=o}function v(){var S=jw();if(m(S))return y(S);s=setTimeout(v,function(R){var U=t-(R-u);return d?EK(U,o-(R-l)):U}(S))}function y(S){return s=void 0,p&&r?h(S):(r=i=void 0,a)}function g(){var S=jw(),R=m(S);if(r=arguments,i=this,u=S,R){if(s===void 0)return _(u);if(d)return s=setTimeout(v,t),h(u)}return s===void 0&&(s=setTimeout(v,t)),a}return t=s8(t)||0,H1(n)&&(c=!!n.leading,o=(d="maxWait"in n)?_K(s8(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),g.cancel=function(){s!==void 0&&clearTimeout(s),l=0,r=u=i=s=void 0},g.flush=function(){return s===void 0?a:y(jw())},g}function H1(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function s8(e){if(typeof e=="number")return e;if(function(r){return typeof r=="symbol"||function(i){return!!i&&typeof i=="object"}(r)&&bK.call(r)=="[object Symbol]"}(e))return NaN;if(H1(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=H1(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(fK,"");var n=hK.test(e);return n||pK.test(e)?gK(e.slice(2),n?2:8):dK.test(e)?NaN:+e}var gf=function(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError("Expected a function");return H1(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),wK(e,t,{leading:r,maxWait:t,trailing:i})};const AK={createElement:function(e,t){return document.createElement(e,t)},createElementNS:function(e,t,n){return document.createElementNS(e,t,n)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},getTextContent:function(e){return e.textContent},isElement:function(e){return e.nodeType===1},isText:function(e){return e.nodeType===3},isComment:function(e){return e.nodeType===8}};function _g(e,t,n,r,i){return{sel:e,data:t,children:n,text:r,elm:i,key:t===void 0?void 0:t.key}}const Mw=Array.isArray;function W1(e){return typeof e=="string"||typeof e=="number"||e instanceof String||e instanceof Number}function kw(e){return e===void 0}function Ba(e){return e!==void 0}const u8=_g("",{},[],void 0,void 0);function Eg(e,t){var n,r;const i=e.key===t.key,o=((n=e.data)===null||n===void 0?void 0:n.is)===((r=t.data)===null||r===void 0?void 0:r.is);return e.sel===t.sel&&i&&o}function OK(e,t,n){var r;const i={};for(let o=t;o<=n;++o){const a=(r=e[o])===null||r===void 0?void 0:r.key;a!==void 0&&(i[a]=o)}return i}const xK=["create","update","remove","destroy","pre","post"];function CK(e,t){const n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},r=t!==void 0?t:AK;for(const d of xK)for(const p of e){const h=p[d];h!==void 0&&n[d].push(h)}function i(d){const p=d.id?"#"+d.id:"",h=d.getAttribute("class"),_=h?"."+h.split(" ").join("."):"";return _g(r.tagName(d).toLowerCase()+p+_,{},[],void 0,d)}function o(d,p){return function(){if(--p==0){const h=r.parentNode(d);r.removeChild(h,d)}}}function a(d,p){var h,_;let m,v=d.data;if(v!==void 0){const S=(h=v.hook)===null||h===void 0?void 0:h.init;Ba(S)&&(S(d),v=d.data)}const y=d.children,g=d.sel;if(g==="!")kw(d.text)&&(d.text=""),d.elm=r.createComment(d.text);else if(g!==void 0){const S=g.indexOf("#"),R=g.indexOf(".",S),U=S>0?S:g.length,Q=R>0?R:g.length,X=S!==-1||R!==-1?g.slice(0,Math.min(U,Q)):g,le=d.elm=Ba(v)&&Ba(m=v.ns)?r.createElementNS(m,X,v):r.createElement(X,v);for(U<Q&&le.setAttribute("id",g.slice(U+1,Q)),R>0&&le.setAttribute("class",g.slice(Q+1).replace(/\./g," ")),m=0;m<n.create.length;++m)n.create[m](u8,d);if(Mw(y))for(m=0;m<y.length;++m){const Qe=y[m];Qe!=null&&r.appendChild(le,a(Qe,p))}else W1(d.text)&&r.appendChild(le,r.createTextNode(d.text));const xe=d.data.hook;Ba(xe)&&((_=xe.create)===null||_===void 0||_.call(xe,u8,d),xe.insert&&p.push(d))}else d.elm=r.createTextNode(d.text);return d.elm}function s(d,p,h,_,m,v){for(;_<=m;++_){const y=h[_];y!=null&&r.insertBefore(d,a(y,v),p)}}function u(d){var p,h;const _=d.data;if(_!==void 0){(h=(p=_==null?void 0:_.hook)===null||p===void 0?void 0:p.destroy)===null||h===void 0||h.call(p,d);for(let m=0;m<n.destroy.length;++m)n.destroy[m](d);if(d.children!==void 0)for(let m=0;m<d.children.length;++m){const v=d.children[m];v!=null&&typeof v!="string"&&u(v)}}}function l(d,p,h,_){for(var m,v;h<=_;++h){let y,g;const S=p[h];if(S!=null)if(Ba(S.sel)){u(S),y=n.remove.length+1,g=o(S.elm,y);for(let U=0;U<n.remove.length;++U)n.remove[U](S,g);const R=(v=(m=S==null?void 0:S.data)===null||m===void 0?void 0:m.hook)===null||v===void 0?void 0:v.remove;Ba(R)?R(S,g):g()}else r.removeChild(d,S.elm)}}function c(d,p,h){var _,m,v,y,g;const S=(_=p.data)===null||_===void 0?void 0:_.hook;(m=S==null?void 0:S.prepatch)===null||m===void 0||m.call(S,d,p);const R=p.elm=d.elm,U=d.children,Q=p.children;if(d!==p){if(p.data!==void 0){for(let X=0;X<n.update.length;++X)n.update[X](d,p);(y=(v=p.data.hook)===null||v===void 0?void 0:v.update)===null||y===void 0||y.call(v,d,p)}kw(p.text)?Ba(U)&&Ba(Q)?U!==Q&&function(X,le,xe,Qe){let it,Ze,vt,lt,ct=0,dt=0,Pt=le.length-1,Kt=le[0],Gt=le[Pt],zt=xe.length-1,ye=xe[0],re=xe[zt];for(;ct<=Pt&&dt<=zt;)Kt==null?Kt=le[++ct]:Gt==null?Gt=le[--Pt]:ye==null?ye=xe[++dt]:re==null?re=xe[--zt]:Eg(Kt,ye)?(c(Kt,ye,Qe),Kt=le[++ct],ye=xe[++dt]):Eg(Gt,re)?(c(Gt,re,Qe),Gt=le[--Pt],re=xe[--zt]):Eg(Kt,re)?(c(Kt,re,Qe),r.insertBefore(X,Kt.elm,r.nextSibling(Gt.elm)),Kt=le[++ct],re=xe[--zt]):Eg(Gt,ye)?(c(Gt,ye,Qe),r.insertBefore(X,Gt.elm,Kt.elm),Gt=le[--Pt],ye=xe[++dt]):(it===void 0&&(it=OK(le,ct,Pt)),Ze=it[ye.key],kw(Ze)?r.insertBefore(X,a(ye,Qe),Kt.elm):(vt=le[Ze],vt.sel!==ye.sel?r.insertBefore(X,a(ye,Qe),Kt.elm):(c(vt,ye,Qe),le[Ze]=void 0,r.insertBefore(X,vt.elm,Kt.elm))),ye=xe[++dt]);(ct<=Pt||dt<=zt)&&(ct>Pt?(lt=xe[zt+1]==null?null:xe[zt+1].elm,s(X,lt,xe,dt,zt,Qe)):l(X,le,ct,Pt))}(R,U,Q,h):Ba(Q)?(Ba(d.text)&&r.setTextContent(R,""),s(R,null,Q,0,Q.length-1,h)):Ba(U)?l(R,U,0,U.length-1):Ba(d.text)&&r.setTextContent(R,""):d.text!==p.text&&(Ba(U)&&l(R,U,0,U.length-1),r.setTextContent(R,p.text)),(g=S==null?void 0:S.postpatch)===null||g===void 0||g.call(S,d,p)}}return function(d,p){let h,_,m;const v=[];for(h=0;h<n.pre.length;++h)n.pre[h]();for(function(y){return y.sel!==void 0}(d)||(d=i(d)),Eg(d,p)?c(d,p,v):(_=d.elm,m=r.parentNode(_),a(p,v),m!==null&&(r.insertBefore(m,p.elm,r.nextSibling(_)),l(m,[d],0,0))),h=0;h<v.length;++h)v[h].data.hook.insert(v[h]);for(h=0;h<n.post.length;++h)n.post[h]();return p}}function l8(e,t,n){if(e.ns="http://www.w3.org/2000/svg",n!=="foreignObject"&&t!==void 0)for(let r=0;r<t.length;++r){const i=t[r].data;i!==void 0&&l8(i,t[r].children,t[r].sel)}}function ah(e,t,n){let r,i,o,a={};if(n!==void 0?(t!==null&&(a=t),Mw(n)?r=n:W1(n)?i=n.toString():n&&n.sel&&(r=[n])):t!=null&&(Mw(t)?r=t:W1(t)?i=t.toString():t&&t.sel?r=[t]:a=t),r!==void 0)for(o=0;o<r.length;++o)W1(r[o])&&(r[o]=_g(void 0,void 0,void 0,r[o],void 0));return e[0]!=="s"||e[1]!=="v"||e[2]!=="g"||e.length!==3&&e[3]!=="."&&e[3]!=="#"||l8(a,r,e),_g(e,a,r,i,void 0)}function c8(e,t){let n;const r=t.elm;let i=e.data.attrs,o=t.data.attrs;if((i||o)&&i!==o){for(n in i=i||{},o=o||{},o){const a=o[n];i[n]!==a&&(a===!0?r.setAttribute(n,""):a===!1?r.removeAttribute(n):n.charCodeAt(0)!==120?r.setAttribute(n,a):n.charCodeAt(3)===58?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,a):n.charCodeAt(5)===58?r.setAttributeNS("http://www.w3.org/1999/xlink",n,a):r.setAttribute(n,a))}for(n in i)n in o||r.removeAttribute(n)}}const SK={create:c8,update:c8};function f8(e,t){let n,r;const i=t.elm;let o=e.data.class,a=t.data.class;if((o||a)&&o!==a){for(r in o=o||{},a=a||{},o)o[r]&&!Object.prototype.hasOwnProperty.call(a,r)&&i.classList.remove(r);for(r in a)n=a[r],n!==o[r]&&i.classList[n?"add":"remove"](r)}}const TK={create:f8,update:f8},d8=/[A-Z]/g;function h8(e,t){const n=t.elm;let r,i=e.data.dataset,o=t.data.dataset;if(!i&&!o)return;if(i===o)return;i=i||{},o=o||{};const a=n.dataset;for(r in i)o[r]||(a?r in a&&delete a[r]:n.removeAttribute("data-"+r.replace(d8,"-$&").toLowerCase()));for(r in o)i[r]!==o[r]&&(a?a[r]=o[r]:n.setAttribute("data-"+r.replace(d8,"-$&").toLowerCase(),o[r]))}const DK={create:h8,update:h8};function p8(e,t,n){if(typeof e=="function")e.call(t,n,t);else if(typeof e=="object")for(let r=0;r<e.length;r++)p8(e[r],t,n)}function RK(e,t){const n=e.type,r=t.data.on;r&&r[n]&&p8(r[n],t,e)}function Fw(e,t){const n=e.data.on,r=e.listener,i=e.elm,o=t&&t.data.on,a=t&&t.elm;let s;if(n!==o){if(n&&r)if(o)for(s in n)o[s]||i.removeEventListener(s,r,!1);else for(s in n)i.removeEventListener(s,r,!1);if(o){const u=t.listener=e.listener||function l(c){RK(c,l.vnode)};if(u.vnode=t,n)for(s in o)n[s]||a.addEventListener(s,u,!1);else for(s in o)a.addEventListener(s,u,!1)}}}const NK={create:Fw,update:Fw,destroy:Fw};function g8(e,t){let n,r,i;const o=t.elm;let a=e.data.props,s=t.data.props;if((a||s)&&a!==s)for(n in a=a||{},s=s||{},s)r=s[n],i=a[n],i===r||n==="value"&&o[n]===r||(o[n]=r)}const IK={create:g8,update:g8},m8=typeof window!="undefined"&&window.requestAnimationFrame.bind(window)||setTimeout;let Bw=!1;function PK(e,t,n){!function(r){m8(function(){m8(r)})}(function(){e[t]=n})}function v8(e,t){let n,r;const i=t.elm;let o=e.data.style,a=t.data.style;if(!o&&!a)return;if(o===a)return;o=o||{},a=a||{};const s="delayed"in o;for(r in o)a[r]||(r[0]==="-"&&r[1]==="-"?i.style.removeProperty(r):i.style[r]="");for(r in a)if(n=a[r],r==="delayed"&&a.delayed)for(const u in a.delayed)n=a.delayed[u],s&&n===o.delayed[u]||PK(i.style,u,n);else r!=="remove"&&n!==o[r]&&(r[0]==="-"&&r[1]==="-"?i.style.setProperty(r,n):i.style[r]=n)}const LK={pre:function(){Bw=!1},create:v8,update:v8,destroy:function(e){let t,n;const r=e.elm,i=e.data.style;if(i&&(t=i.destroy))for(n in t)r.style[n]=t[n]},remove:function(e,t){const n=e.data.style;if(!n||!n.remove)return void t();let r;Bw||(e.elm.offsetLeft,Bw=!0);const i=e.elm;let o=0;const a=n.remove;let s=0;const u=[];for(r in a)u.push(r),i.style[r]=a[r];const l=getComputedStyle(i)["transition-property"].split(", ");for(;o<l.length;++o)u.indexOf(l[o])!==-1&&s++;i.addEventListener("transitionend",function(c){c.target===i&&--s,s===0&&t()})}};function y8(e,t){for(const n of e)n!=null&&n!==!1&&n!==""&&(Array.isArray(n)?y8(n,t):typeof n=="string"||typeof n=="number"||typeof n=="boolean"?t.push(_g(void 0,void 0,void 0,String(n),void 0)):t.push(n));return t}function An(e,t,...n){const r=y8(n,[]);return typeof e=="function"?e(t,r):r.length===1&&!r[0].sel&&r[0].text?ah(e,t,r[0].text):ah(e,t,r)}An||(An={});var jK=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,MK=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,b8="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",kK="[\\ud800-\\udfff]",_8="["+b8+"]",z1="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",E8="\\d+",FK="[\\u2700-\\u27bf]",w8="[a-z\\xdf-\\xf6\\xf8-\\xff]",A8="[^\\ud800-\\udfff"+b8+E8+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Uw="\\ud83c[\\udffb-\\udfff]",O8="[^\\ud800-\\udfff]",Hw="(?:\\ud83c[\\udde6-\\uddff]){2}",Ww="[\\ud800-\\udbff][\\udc00-\\udfff]",sh="[A-Z\\xc0-\\xd6\\xd8-\\xde]",x8="(?:"+w8+"|"+A8+")",BK="(?:"+sh+"|"+A8+")",C8="(?:"+z1+"|"+Uw+")?",S8="[\\ufe0e\\ufe0f]?"+C8+("(?:\\u200d(?:"+[O8,Hw,Ww].join("|")+")[\\ufe0e\\ufe0f]?"+C8+")*"),UK="(?:"+[FK,Hw,Ww].join("|")+")"+S8,HK="(?:"+[O8+z1+"?",z1,Hw,Ww,kK].join("|")+")",WK=RegExp("['\u2019]","g"),zK=RegExp(z1,"g"),VK=RegExp(Uw+"(?="+Uw+")|"+HK+S8,"g"),GK=RegExp([sh+"?"+w8+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[_8,sh,"$"].join("|")+")",BK+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[_8,sh+x8,"$"].join("|")+")",sh+"?"+x8+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",sh+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",E8,UK].join("|"),"g"),YK=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),KK=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,XK=typeof _e=="object"&&_e&&_e.Object===Object&&_e,JK=typeof self=="object"&&self&&self.Object===Object&&self,QK=XK||JK||Function("return this")(),zw,ZK=(zw={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},function(e){return zw==null?void 0:zw[e]});function T8(e){return YK.test(e)}function qK(e){return T8(e)?function(t){return t.match(VK)||[]}(e):function(t){return t.split("")}(e)}var $K=Object.prototype.toString,D8=QK.Symbol,R8=D8?D8.prototype:void 0,N8=R8?R8.toString:void 0;function eX(e){if(typeof e=="string")return e;if(function(n){return typeof n=="symbol"||function(r){return!!r&&typeof r=="object"}(n)&&$K.call(n)=="[object Symbol]"}(e))return N8?N8.call(e):"";var t=e+"";return t=="0"&&1/e==-Infinity?"-0":t}function tX(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:function(i,o,a){var s=-1,u=i.length;o<0&&(o=-o>u?0:u+o),(a=a>u?u:a)<0&&(a+=u),u=o>a?0:a-o>>>0,o>>>=0;for(var l=Array(u);++s<u;)l[s]=i[s+o];return l}(e,t,n)}function V1(e){return e==null?"":eX(e)}for(var I8,nX=(I8=function(e,t,n){return t=t.toLowerCase(),e+(n?rX(V1(t).toLowerCase()):t)},function(e){return function(t,n,r,i){var o=-1,a=t?t.length:0;for(i&&a&&(r=t[++o]);++o<a;)r=n(r,t[o],o,t);return r}(function(t,n,r){return t=V1(t),(n=r?void 0:n)===void 0?function(i){return KK.test(i)}(t)?function(i){return i.match(GK)||[]}(t):function(i){return i.match(jK)||[]}(t):t.match(n)||[]}(function(t){return(t=V1(t))&&t.replace(MK,ZK).replace(zK,"")}(e).replace(WK,"")),I8,"")}),P8,rX=(P8="toUpperCase",function(e){var t=T8(e=V1(e))?qK(e):void 0,n=t?t[0]:e.charAt(0),r=t?tX(t,1).join(""):e.slice(1);return n[P8]()+r}),iX=nX,oX=typeof window!="undefined"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),Vw={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},L8={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:oX?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},Gw={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},G1=1;G1<20;G1++)Gw["f"+G1]=111+G1;function j8(e,t,n){t&&!("byKey"in t)&&(n=t,t=null),Array.isArray(e)||(e=[e]);var r=e.map(function(o){return function(a,s){var u=s&&s.byKey,l={},c=(a=a.replace("++","+add")).split("+"),d=c.length;for(var p in Vw)l[Vw[p]]=!1;var h=!0,_=!1,m=void 0;try{for(var v,y=c[Symbol.iterator]();!(h=(v=y.next()).done);h=!0){var g=v.value,S=g.endsWith("?")&&g.length>1;S&&(g=g.slice(0,-1));var R=M8(g),U=Vw[R];if(g.length>1&&!U&&!L8[g]&&!Gw[R])throw new TypeError('Unknown modifier: "'+g+'"');d!==1&&U||(u?l.key=R:l.which=aX(g)),U&&(l[U]=!S||null)}}catch(Q){_=!0,m=Q}finally{try{!h&&y.return&&y.return()}finally{if(_)throw m}}return l}(o,t)}),i=function(o){return r.some(function(a){return function(s,u){for(var l in s){var c=s[l],d=void 0;if(c!=null&&((d=l==="key"&&u.key!=null?u.key.toLowerCase():l==="which"?c===91&&u.which===93?91:u.which:u[l])!=null||c!==!1)&&d!==c)return!1}return!0}(a,o)})};return n==null?i:i(n)}function aX(e){return e=M8(e),Gw[e]||e.toUpperCase().charCodeAt(0)}function M8(e){return e=e.toLowerCase(),e=L8[e]||e}var sX=j8,Yw=function(e,t){return j8(e,{byKey:!0},t)},uX=/^\s+|\s+$/g,lX=/^[-+]0x[0-9a-f]+$/i,cX=/^0b[01]+$/i,fX=/^0o[0-7]+$/i,dX=parseInt,hX=typeof _e=="object"&&_e&&_e.Object===Object&&_e,pX=typeof self=="object"&&self&&self.Object===Object&&self,gX=hX||pX||Function("return this")(),mX=Object.prototype.toString,vX=Math.max,yX=Math.min,Kw=function(){return gX.Date.now()};function Xw(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function k8(e){if(typeof e=="number")return e;if(function(r){return typeof r=="symbol"||function(i){return!!i&&typeof i=="object"}(r)&&mX.call(r)=="[object Symbol]"}(e))return NaN;if(Xw(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Xw(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(uX,"");var n=cX.test(e);return n||fX.test(e)?dX(e.slice(2),n?2:8):lX.test(e)?NaN:+e}var uh,F8=function(e,t,n){var r,i,o,a,s,u,l=0,c=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError("Expected a function");function h(S){var R=r,U=i;return r=i=void 0,l=S,a=e.apply(U,R)}function _(S){return l=S,s=setTimeout(v,t),c?h(S):a}function m(S){var R=S-u;return u===void 0||R>=t||R<0||d&&S-l>=o}function v(){var S=Kw();if(m(S))return y(S);s=setTimeout(v,function(R){var U=t-(R-u);return d?yX(U,o-(R-l)):U}(S))}function y(S){return s=void 0,p&&r?h(S):(r=i=void 0,a)}function g(){var S=Kw(),R=m(S);if(r=arguments,i=this,u=S,R){if(s===void 0)return _(u);if(d)return s=setTimeout(v,t),h(u)}return s===void 0&&(s=setTimeout(v,t)),a}return t=k8(t)||0,Xw(n)&&(c=!!n.leading,o=(d="maxWait"in n)?vX(k8(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),g.cancel=function(){s!==void 0&&clearTimeout(s),l=0,r=u=i=s=void 0},g.flush=function(){return s===void 0?a:y(Kw())},g},B8=Be(function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,i="[object Arguments]",o="[object Boolean]",a="[object Date]",s="[object Function]",u="[object GeneratorFunction]",l="[object Map]",c="[object Number]",d="[object Object]",p="[object Promise]",h="[object RegExp]",_="[object Set]",m="[object String]",v="[object Symbol]",y="[object WeakMap]",g="[object ArrayBuffer]",S="[object DataView]",R="[object Float32Array]",U="[object Float64Array]",Q="[object Int8Array]",X="[object Int16Array]",le="[object Int32Array]",xe="[object Uint8Array]",Qe="[object Uint8ClampedArray]",it="[object Uint16Array]",Ze="[object Uint32Array]",vt=/\w*$/,lt=/^\[object .+?Constructor\]$/,ct=/^(?:0|[1-9]\d*)$/,dt={};dt[i]=dt["[object Array]"]=dt[g]=dt[S]=dt[o]=dt[a]=dt[R]=dt[U]=dt[Q]=dt[X]=dt[le]=dt[l]=dt[c]=dt[d]=dt[h]=dt[_]=dt[m]=dt[v]=dt[xe]=dt[Qe]=dt[it]=dt[Ze]=!0,dt["[object Error]"]=dt[s]=dt[y]=!1;var Pt=typeof _e=="object"&&_e&&_e.Object===Object&&_e,Kt=typeof self=="object"&&self&&self.Object===Object&&self,Gt=Pt||Kt||Function("return this")(),zt=t&&!t.nodeType&&t,ye=zt&&e&&!e.nodeType&&e,re=ye&&ye.exports===zt;function De(Ae,et){return Ae.set(et[0],et[1]),Ae}function tt(Ae,et){return Ae.add(et),Ae}function wt(Ae,et,Rt,Vt){var rr=-1,qr=Ae?Ae.length:0;for(Vt&&qr&&(Rt=Ae[++rr]);++rr<qr;)Rt=et(Rt,Ae[rr],rr,Ae);return Rt}function st(Ae){var et=!1;if(Ae!=null&&typeof Ae.toString!="function")try{et=!!(Ae+"")}catch(Rt){}return et}function Bt(Ae){var et=-1,Rt=Array(Ae.size);return Ae.forEach(function(Vt,rr){Rt[++et]=[rr,Vt]}),Rt}function on(Ae,et){return function(Rt){return Ae(et(Rt))}}function En(Ae){var et=-1,Rt=Array(Ae.size);return Ae.forEach(function(Vt){Rt[++et]=Vt}),Rt}var Ln=Array.prototype,ft=Function.prototype,qn=Object.prototype,kn=Gt["__core-js_shared__"],en=function(){var Ae=/[^.]+$/.exec(kn&&kn.keys&&kn.keys.IE_PROTO||"");return Ae?"Symbol(src)_1."+Ae:""}(),Fn=ft.toString,Ii=qn.hasOwnProperty,ur=qn.toString,Ir=RegExp("^"+Fn.call(Ii).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),li=re?Gt.Buffer:void 0,ra=Gt.Symbol,ir=Gt.Uint8Array,Ta=on(Object.getPrototypeOf,Object),eu=Object.create,ku=qn.propertyIsEnumerable,Mp=Ln.splice,Ad=Object.getOwnPropertySymbols,tu=li?li.isBuffer:void 0,Fu=on(Object.keys,Object),ml=Bu(Gt,"DataView"),ia=Bu(Gt,"Map"),oa=Bu(Gt,"Promise"),aa=Bu(Gt,"Set"),ha=Bu(Gt,"WeakMap"),Ro=Bu(Object,"create"),Rs=Hu(ml),Iv=Hu(ia),Kc=Hu(oa),vl=Hu(aa),kp=Hu(ha),Od=ra?ra.prototype:void 0,Fp=Od?Od.valueOf:void 0;function nu(Ae){var et=-1,Rt=Ae?Ae.length:0;for(this.clear();++et<Rt;){var Vt=Ae[et];this.set(Vt[0],Vt[1])}}function Ns(Ae){var et=-1,Rt=Ae?Ae.length:0;for(this.clear();++et<Rt;){var Vt=Ae[et];this.set(Vt[0],Vt[1])}}function yl(Ae){var et=-1,Rt=Ae?Ae.length:0;for(this.clear();++et<Rt;){var Vt=Ae[et];this.set(Vt[0],Vt[1])}}function ru(Ae){this.__data__=new Ns(Ae)}function Xc(Ae,et){var Rt=Se(Ae)||function(Lr){return function(dr){return function(_o){return!!_o&&typeof _o=="object"}(dr)&&Xe(dr)}(Lr)&&Ii.call(Lr,"callee")&&(!ku.call(Lr,"callee")||ur.call(Lr)==i)}(Ae)?function(Lr,dr){for(var _o=-1,sa=Array(Lr);++_o<Lr;)sa[_o]=dr(_o);return sa}(Ae.length,String):[],Vt=Rt.length,rr=!!Vt;for(var qr in Ae)!et&&!Ii.call(Ae,qr)||rr&&(qr=="length"||GE(qr,Vt))||Rt.push(qr);return Rt}function zE(Ae,et,Rt){var Vt=Ae[et];Ii.call(Ae,et)&&YE(Vt,Rt)&&(Rt!==void 0||et in Ae)||(Ae[et]=Rt)}function Za(Ae,et){for(var Rt=Ae.length;Rt--;)if(YE(Ae[Rt][0],et))return Rt;return-1}function Pv(Ae,et,Rt,Vt,rr,qr,Lr){var dr;if(Vt&&(dr=qr?Vt(Ae,rr,qr,Lr):Vt(Ae)),dr!==void 0)return dr;if(!Pr(Ae))return Ae;var _o=Se(Ae);if(_o){if(dr=function(xn){var Er=xn.length,Qi=xn.constructor(Er);return Er&&typeof xn[0]=="string"&&Ii.call(xn,"index")&&(Qi.index=xn.index,Qi.input=xn.input),Qi}(Ae),!et)return function(xn,Er){var Qi=-1,$n=xn.length;for(Er||(Er=Array($n));++Qi<$n;)Er[Qi]=xn[Qi];return Er}(Ae,dr)}else{var sa=Uu(Ae),xd=sa==s||sa==u;if(St(Ae))return function(xn,Er){if(Er)return xn.slice();var Qi=new xn.constructor(xn.length);return xn.copy(Qi),Qi}(Ae,et);if(sa==d||sa==i||xd&&!qr){if(st(Ae))return qr?Ae:{};if(dr=function(xn){return typeof xn.constructor!="function"||Jc(xn)?{}:(Er=Ta(xn),Pr(Er)?eu(Er):{});var Er}(xd?{}:Ae),!et)return function(xn,Er){return VE(xn,Lv(xn),Er)}(Ae,function(xn,Er){return xn&&VE(Er,Qn(Er),xn)}(dr,Ae))}else{if(!dt[sa])return qr?Ae:{};dr=function(xn,Er,Qi,$n){var hr=xn.constructor;switch(Er){case g:return Bp(xn);case o:case a:return new hr(+xn);case S:return function(pr,Pi){var pa=Pi?Bp(pr.buffer):pr.buffer;return new pr.constructor(pa,pr.byteOffset,pr.byteLength)}(xn,$n);case R:case U:case Q:case X:case le:case xe:case Qe:case it:case Ze:return function(pr,Pi){var pa=Pi?Bp(pr.buffer):pr.buffer;return new pr.constructor(pa,pr.byteOffset,pr.length)}(xn,$n);case l:return function(pr,Pi,pa){return wt(Pi?pa(Bt(pr),!0):Bt(pr),De,new pr.constructor)}(xn,$n,Qi);case c:case m:return new hr(xn);case h:return function(pr){var Pi=new pr.constructor(pr.source,vt.exec(pr));return Pi.lastIndex=pr.lastIndex,Pi}(xn);case _:return function(pr,Pi,pa){return wt(Pi?pa(En(pr),!0):En(pr),tt,new pr.constructor)}(xn,$n,Qi);case v:return function(pr){return Fp?Object(Fp.call(pr)):{}}(xn)}}(Ae,sa,Pv,et)}}Lr||(Lr=new ru);var El=Lr.get(Ae);if(El)return El;if(Lr.set(Ae,dr),!_o)var Qc=Rt?function(xn){return function(Er,Qi,$n){var hr=Qi(Er);return Se(Er)?hr:function(pr,Pi){for(var pa=-1,Da=Pi.length,iu=pr.length;++pa<Da;)pr[iu+pa]=Pi[pa];return pr}(hr,$n(Er))}(xn,Qn,Lv)}(Ae):Qn(Ae);return function(xn,Er){for(var Qi=-1,$n=xn?xn.length:0;++Qi<$n&&Er(xn[Qi],Qi,xn)!==!1;);}(Qc||Ae,function(xn,Er){Qc&&(xn=Ae[Er=xn]),zE(dr,Er,Pv(xn,et,Rt,Vt,Er,Ae,Lr))}),dr}function bl(Ae){return!(!Pr(Ae)||function(et){return!!en&&en in et}(Ae))&&(rn(Ae)||st(Ae)?Ir:lt).test(Hu(Ae))}function Bp(Ae){var et=new Ae.constructor(Ae.byteLength);return new ir(et).set(new ir(Ae)),et}function VE(Ae,et,Rt,Vt){Rt||(Rt={});for(var rr=-1,qr=et.length;++rr<qr;){var Lr=et[rr],dr=Vt?Vt(Rt[Lr],Ae[Lr],Lr,Rt,Ae):void 0;zE(Rt,Lr,dr===void 0?Ae[Lr]:dr)}return Rt}function _l(Ae,et){var Rt,Vt,rr=Ae.__data__;return((Vt=typeof(Rt=et))=="string"||Vt=="number"||Vt=="symbol"||Vt=="boolean"?Rt!=="__proto__":Rt===null)?rr[typeof et=="string"?"string":"hash"]:rr.map}function Bu(Ae,et){var Rt=function(Vt,rr){return Vt==null?void 0:Vt[rr]}(Ae,et);return bl(Rt)?Rt:void 0}nu.prototype.clear=function(){this.__data__=Ro?Ro(null):{}},nu.prototype.delete=function(Ae){return this.has(Ae)&&delete this.__data__[Ae]},nu.prototype.get=function(Ae){var et=this.__data__;if(Ro){var Rt=et[Ae];return Rt===n?void 0:Rt}return Ii.call(et,Ae)?et[Ae]:void 0},nu.prototype.has=function(Ae){var et=this.__data__;return Ro?et[Ae]!==void 0:Ii.call(et,Ae)},nu.prototype.set=function(Ae,et){return this.__data__[Ae]=Ro&&et===void 0?n:et,this},Ns.prototype.clear=function(){this.__data__=[]},Ns.prototype.delete=function(Ae){var et=this.__data__,Rt=Za(et,Ae);return!(Rt<0)&&(Rt==et.length-1?et.pop():Mp.call(et,Rt,1),!0)},Ns.prototype.get=function(Ae){var et=this.__data__,Rt=Za(et,Ae);return Rt<0?void 0:et[Rt][1]},Ns.prototype.has=function(Ae){return Za(this.__data__,Ae)>-1},Ns.prototype.set=function(Ae,et){var Rt=this.__data__,Vt=Za(Rt,Ae);return Vt<0?Rt.push([Ae,et]):Rt[Vt][1]=et,this},yl.prototype.clear=function(){this.__data__={hash:new nu,map:new(ia||Ns),string:new nu}},yl.prototype.delete=function(Ae){return _l(this,Ae).delete(Ae)},yl.prototype.get=function(Ae){return _l(this,Ae).get(Ae)},yl.prototype.has=function(Ae){return _l(this,Ae).has(Ae)},yl.prototype.set=function(Ae,et){return _l(this,Ae).set(Ae,et),this},ru.prototype.clear=function(){this.__data__=new Ns},ru.prototype.delete=function(Ae){return this.__data__.delete(Ae)},ru.prototype.get=function(Ae){return this.__data__.get(Ae)},ru.prototype.has=function(Ae){return this.__data__.has(Ae)},ru.prototype.set=function(Ae,et){var Rt=this.__data__;if(Rt instanceof Ns){var Vt=Rt.__data__;if(!ia||Vt.length<199)return Vt.push([Ae,et]),this;Rt=this.__data__=new yl(Vt)}return Rt.set(Ae,et),this};var Lv=Ad?on(Ad,Object):function(){return[]},Uu=function(Ae){return ur.call(Ae)};function GE(Ae,et){return!!(et=et==null?r:et)&&(typeof Ae=="number"||ct.test(Ae))&&Ae>-1&&Ae%1==0&&Ae<et}function Jc(Ae){var et=Ae&&Ae.constructor;return Ae===(typeof et=="function"&&et.prototype||qn)}function Hu(Ae){if(Ae!=null){try{return Fn.call(Ae)}catch(et){}try{return Ae+""}catch(et){}}return""}function YE(Ae,et){return Ae===et||Ae!=Ae&&et!=et}(ml&&Uu(new ml(new ArrayBuffer(1)))!=S||ia&&Uu(new ia)!=l||oa&&Uu(oa.resolve())!=p||aa&&Uu(new aa)!=_||ha&&Uu(new ha)!=y)&&(Uu=function(Ae){var et=ur.call(Ae),Rt=et==d?Ae.constructor:void 0,Vt=Rt?Hu(Rt):void 0;if(Vt)switch(Vt){case Rs:return S;case Iv:return l;case Kc:return p;case vl:return _;case kp:return y}return et});var Se=Array.isArray;function Xe(Ae){return Ae!=null&&function(et){return typeof et=="number"&&et>-1&&et%1==0&&et<=r}(Ae.length)&&!rn(Ae)}var St=tu||function(){return!1};function rn(Ae){var et=Pr(Ae)?ur.call(Ae):"";return et==s||et==u}function Pr(Ae){var et=typeof Ae;return!!Ae&&(et=="object"||et=="function")}function Qn(Ae){return Xe(Ae)?Xc(Ae):function(et){if(!Jc(et))return Fu(et);var Rt=[];for(var Vt in Object(et))Ii.call(et,Vt)&&Vt!="constructor"&&Rt.push(Vt);return Rt}(Ae)}e.exports=function(Ae){return Pv(Ae,!0,!0)}});function U8(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var bX=0;function _X(e){return"__private_"+bX+++"_"+e}function EX(e,t,n){const r=[];return e.forEach(i=>typeof i!="string"?r.push(i):t[Symbol.split](i).forEach((o,a,s)=>{o!==""&&r.push(o),a<s.length-1&&r.push(n)})),r}/**
|
|
|
* Takes a string with placeholder variables like `%{smart_count} file selected`
|
|
|
* and replaces it with values from options `{smart_count: 5}`
|
|
|
*
|
|
|
* @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
|
|
|
* taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
|
|
|
*
|
|
|
* @param {string} phrase that needs interpolation, with placeholders
|
|
|
* @param {object} options with values that will be used to replace placeholders
|
|
|
* @returns {any[]} interpolated
|
|
|
*/function H8(e,t){const n=/\$/g;let r=[e];if(t==null)return r;for(const i of Object.keys(t))if(i!=="_"){let o=t[i];typeof o=="string"&&(o=n[Symbol.replace](o,"$$$$")),r=EX(r,new RegExp(`%\\{${i}\\}`,"g"),o)}return r}var W8=(uh=_X("apply"),class{constructor(e){Object.defineProperty(this,uh,{value:wX}),this.locale={strings:{},pluralize:t=>t===1?0:1},Array.isArray(e)?e.forEach(U8(this,uh)[uh],this):U8(this,uh)[uh](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){if(!function(r,i){return Object.prototype.hasOwnProperty.call(r,i)}(this.locale.strings,e))throw new Error(`missing string: ${e}`);const n=this.locale.strings[e];if(typeof n=="object"){if(t&&t.smart_count!==void 0)return H8(n[this.locale.pluralize(t.smart_count)],t);throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return H8(n,t)}});function wX(e){if(e==null||!e.strings)return;const t=this.locale;this.locale=at(at({},t),{strings:at(at({},t.strings),e.strings)}),this.locale.pluralize=e.pluralize||t.pluralize}var z8=function(){var e={},t=e._fns={};return e.emit=function(n,r,i,o,a,s,u){var l=function(c){for(var d=t[c]?t[c]:[],p=c.indexOf(":"),h=p===-1?[c]:[c.substring(0,p),c.substring(p+1)],_=Object.keys(t),m=0,v=_.length;m<v;m++){var y=_[m];if(y==="*"&&(d=d.concat(t[y])),h.length===2&&h[0]===y){d=d.concat(t[y]);break}}return d}(n);l.length&&function(c,d,p){for(var h=0,_=d.length;h<_&&d[h];h++)d[h].event=c,d[h].apply(d[h],p)}(n,l,[r,i,o,a,s,u])},e.on=function(n,r){t[n]||(t[n]=[]),t[n].push(r)},e.once=function(n,r){this.on(n,function i(){r.apply(this,arguments),e.off(n,i)})},e.off=function(n,r){var i=[];if(n&&r)for(var o=this._fns[n],a=0,s=o?o.length:0;a<s;a++)o[a]!==r&&i.push(o[a]);i.length?this._fns[n]=i:delete this._fns[n]},e},AX={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"};let{urlAlphabet:OX}=AX,V8=e=>crypto.getRandomValues(new Uint8Array(e)),G8=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,i=-~(1.6*r*t/e.length);return()=>{let o="";for(;;){let a=n(i),s=i;for(;s--;)if(o+=e[a[s]&r]||"",o.length===t)return o}}};var xX={nanoid:(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t},customAlphabet:(e,t)=>G8(e,t,V8),customRandom:G8,urlAlphabet:OX,random:V8},Jw=function(e){if(typeof e!="number"||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var i=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+i:(t?"-":"")+e.toFixed(1)+" "+i};function Y8(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}Y8.prototype.match=function(e){var t,n,r=!0,i=this.parts,o=i.length;if(typeof e=="string"||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<o;t++)i[t]!=="*"&&(r=t<n.length&&i[t]===n[t]);r=r&&n}else r=!1;else if(typeof e.splice=="function")for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if(typeof e=="object")for(var a in r={},e)this.match(a)&&(r[a]=e[a]);return r};var CX=/[\/\+\.]/,SX=function(e,t){function n(r){var i=function(o,a,s){var u=new Y8(o,s||/[\/\.]/);return a!==void 0?u.match(a):u}(r,e,CX);return i&&i.length>=2}return t?n(t.split(";")[0]):n},TX=0;function DX(e){return"__private_"+TX+++"_"+e}var Qw=DX("publish");class K8{constructor(){Object.defineProperty(this,Qw,{value:RX}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){const t=at({},this.state),n=at(at({},this.state),e);this.state=n,function(r,i){if(!Object.prototype.hasOwnProperty.call(r,i))throw new TypeError("attempted to use private field on non-instance");return r}(this,Qw)[Qw](t,n,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function RX(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.callbacks.forEach(r=>{r(...t)})}K8.VERSION="2.0.3";var X8=function(e){const t=e.lastIndexOf(".");return t===-1||t===e.length-1?{name:e,extension:void 0}:{name:e.slice(0,t),extension:e.slice(t+1)}},J8={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function Q8(e){let t="";return e.replace(/[^A-Z0-9]/gi,n=>(t+=`-${function(r){return r.charCodeAt(0).toString(32)}(n)}`,"/"))+t}var NX=function(e){if(e==null&&(e=typeof navigator!="undefined"?navigator.userAgent:null),!e)return!0;const t=/Edge\/(\d+\.\d+)/.exec(e);if(!t)return!0;const n=t[1];let[r,i]=n.split(".");return r=parseInt(r,10),i=parseInt(i,10),r<15||r===15&&i<15063||r>18||r===18&&i>=18218};function Zw(e){return e<10?`0${e}`:e.toString()}var Y1=function(){const e=new Date;return`${Zw(e.getHours())}:${Zw(e.getMinutes())}:${Zw(e.getSeconds())}`},Z8={justErrorsLogger:{debug:()=>{},warn:()=>{},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${Y1()}]`,...t)}},debugLogger:{debug:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.debug(`[Uppy] [${Y1()}]`,...t)},warn:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.warn(`[Uppy] [${Y1()}]`,...t)},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error(`[Uppy] [${Y1()}]`,...t)}}},IX={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",backToSearch:"Back to Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}},q8=xX;let $8,eN;function qt(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var PX=0;function no(e){return"__private_"+PX+++"_"+e}const{nanoid:LX}=q8,{justErrorsLogger:jX,debugLogger:MX}=Z8;class vu extends Error{constructor(){super(...arguments),this.isRestriction=!0}}typeof AggregateError=="undefined"&&(globalThis.AggregateError=class extends Error{constructor(e,t){super(t),this.errors=e}});class kX extends AggregateError{constructor(){super(...arguments),this.isRestriction=!0}}var Wo=no("plugins"),wg=no("storeUnsubscribe"),$u=no("emitter"),mf=no("preProcessors"),vf=no("uploaders"),el=no("postProcessors"),Ag=no("checkRestrictions"),qw=no("checkMinNumberOfFiles"),Og=no("checkRequiredMetaFieldsOnFile"),$w=no("checkRequiredMetaFields"),go=no("showOrLogErrorAndThrow"),xg=no("assertNewUploadAllowed"),Cg=no("checkAndCreateFileStateObject"),Sg=no("startIfAutoProceed"),e4=no("addListeners"),Hs=no("updateOnlineStatus"),tl=no("createUpload"),t4=no("getUpload"),yf=no("removeUpload"),nl=no("runUpload");$8=Symbol.for("uppy test: getPlugins"),eN=Symbol.for("uppy test: createUpload");class tN{constructor(e){Object.defineProperty(this,nl,{value:QX}),Object.defineProperty(this,yf,{value:JX}),Object.defineProperty(this,t4,{value:XX}),Object.defineProperty(this,tl,{value:KX}),Object.defineProperty(this,e4,{value:YX}),Object.defineProperty(this,Sg,{value:GX}),Object.defineProperty(this,Cg,{value:VX}),Object.defineProperty(this,xg,{value:zX}),Object.defineProperty(this,go,{value:WX}),Object.defineProperty(this,$w,{value:HX}),Object.defineProperty(this,Og,{value:UX}),Object.defineProperty(this,qw,{value:BX}),Object.defineProperty(this,Ag,{value:FX}),Object.defineProperty(this,Wo,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,wg,{writable:!0,value:void 0}),Object.defineProperty(this,$u,{writable:!0,value:z8()}),Object.defineProperty(this,mf,{writable:!0,value:new Set}),Object.defineProperty(this,vf,{writable:!0,value:new Set}),Object.defineProperty(this,el,{writable:!0,value:new Set}),Object.defineProperty(this,Hs,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=IX;const t={id:"uppy",autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:{maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]},meta:{},onBeforeFileAdded:n=>n,onBeforeUpload:n=>n,store:new K8,logger:jX,infoTimeout:5e3};if(this.opts=at(at(at({},t),e),{restrictions:at(at({},t.restrictions),e&&e.restrictions)}),e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e&&e.debug&&(this.opts.logger=MX),this.log(`Using Core v${this.constructor.VERSION}`),this.opts.restrictions.allowedFileTypes&&this.opts.restrictions.allowedFileTypes!==null&&!Array.isArray(this.opts.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");this.i18nInit(),this.calculateProgress=gf(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:NX(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:at({},this.opts.meta),info:[],recoveredState:null}),qt(this,wg)[wg]=this.store.subscribe((n,r,i)=>{this.emit("state-update",n,r,i),this.updateAll(r)}),this.opts.debug&&typeof window!="undefined"&&(window[this.opts.id]=this),qt(this,e4)[e4]()}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];qt(this,$u)[$u].emit(e,...n)}on(e,t){return qt(this,$u)[$u].on(e,t),this}once(e,t){return qt(this,$u)[$u].once(e,t),this}off(e,t){return qt(this,$u)[$u].off(e,t),this}updateAll(e){this.iteratePlugins(t=>{t.update(e)})}setState(e){this.store.setState(e)}getState(){return this.store.getState()}get state(){return this.getState()}setFileState(e,t){if(!this.getState().files[e])throw new Error(`Can\u2019t set state for ${e} (the file could have been removed)`);this.setState({files:at(at({},this.getState().files),{[e]:at(at({},this.getState().files[e]),t)})})}i18nInit(){const e=new W8([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale}setOptions(e){this.opts=at(at(at({},this.opts),e),{restrictions:at(at({},this.opts.restrictions),e&&e.restrictions)}),e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins(t=>{t.setOptions()}),this.setState()}resetProgress(){const e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},t=at({},this.getState().files),n={};Object.keys(t).forEach(r=>{const i=at({},t[r]);i.progress=at(at({},i.progress),e),n[r]=i}),this.setState({files:n,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(e){qt(this,mf)[mf].add(e)}removePreProcessor(e){return qt(this,mf)[mf].delete(e)}addPostProcessor(e){qt(this,el)[el].add(e)}removePostProcessor(e){return qt(this,el)[el].delete(e)}addUploader(e){qt(this,vf)[vf].add(e)}removeUploader(e){return qt(this,vf)[vf].delete(e)}setMeta(e){const t=at(at({},this.getState().meta),e),n=at({},this.getState().files);Object.keys(n).forEach(r=>{n[r]=at(at({},n[r]),{meta:at(at({},n[r].meta),e)})}),this.log("Adding metadata:"),this.log(e),this.setState({meta:t,files:n})}setFileMeta(e,t){const n=at({},this.getState().files);if(!n[e])return void this.log("Was trying to set metadata for a file that has been removed: ",e);const r=at(at({},n[e].meta),t);n[e]=at(at({},n[e]),{meta:r}),this.setState({files:n})}getFile(e){return this.getState().files[e]}getFiles(){const{files:e}=this.getState();return Object.values(e)}getObjectOfFilesPerState(){const{files:e,totalProgress:t,error:n}=this.getState(),r=Object.values(e),i=r.filter(h=>{let{progress:_}=h;return!_.uploadComplete&&_.uploadStarted}),o=r.filter(h=>!h.progress.uploadStarted),a=r.filter(h=>h.progress.uploadStarted||h.progress.preprocess||h.progress.postprocess),s=r.filter(h=>h.progress.uploadStarted),u=r.filter(h=>h.isPaused),l=r.filter(h=>h.progress.uploadComplete),c=r.filter(h=>h.error),d=i.filter(h=>!h.isPaused),p=r.filter(h=>h.progress.preprocess||h.progress.postprocess);return{newFiles:o,startedFiles:a,uploadStartedFiles:s,pausedFiles:u,completeFiles:l,erroredFiles:c,inProgressFiles:i,inProgressNotPausedFiles:d,processingFiles:p,isUploadStarted:s.length>0,isAllComplete:t===100&&l.length===r.length&&p.length===0,isAllErrored:!!n&&c.length===r.length,isAllPaused:i.length!==0&&u.length===i.length,isUploadInProgress:i.length>0,isSomeGhost:r.some(h=>h.isGhost)}}validateRestrictions(e,t){try{return qt(this,Ag)[Ag](e,t),{result:!0}}catch(n){return{result:!1,reason:n.message}}}checkIfFileAlreadyExists(e){const{files:t}=this.getState();return!(!t[e]||t[e].isGhost)}addFile(e){qt(this,xg)[xg](e);const{files:t}=this.getState();let n=qt(this,Cg)[Cg](t,e);return t[n.id]&&t[n.id].isGhost&&(n=at(at({},t[n.id]),{data:e.data,isGhost:!1}),this.log(`Replaced the blob in the restored ghost file: ${n.name}, ${n.id}`)),this.setState({files:at(at({},t),{[n.id]:n})}),this.emit("file-added",n),this.emit("files-added",[n]),this.log(`Added file: ${n.name}, ${n.id}, mime type: ${n.type}`),qt(this,Sg)[Sg](),n.id}addFiles(e){qt(this,xg)[xg]();const t=at({},this.getState().files),n=[],r=[];for(let i=0;i<e.length;i++)try{let o=qt(this,Cg)[Cg](t,e[i]);t[o.id]&&t[o.id].isGhost&&(o=at(at({},t[o.id]),{data:e[i].data,isGhost:!1}),this.log(`Replaced blob in a ghost file: ${o.name}, ${o.id}`)),t[o.id]=o,n.push(o)}catch(o){o.isRestriction||r.push(o)}if(this.setState({files:t}),n.forEach(i=>{this.emit("file-added",i)}),this.emit("files-added",n),n.length>5?this.log(`Added batch of ${n.length} files`):Object.keys(n).forEach(i=>{this.log(`Added file: ${n[i].name}
|
|
|
id: ${n[i].id}
|
|
|
type: ${n[i].type}`)}),n.length>0&&qt(this,Sg)[Sg](),r.length>0){let i=`Multiple errors occurred while adding files:
|
|
|
`;if(r.forEach(o=>{i+=`
|
|
|
* ${o.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:r.length}),details:i},"error",this.opts.infoTimeout),typeof AggregateError=="function")throw new AggregateError(r,i);{const o=new Error(i);throw o.errors=r,o}}}removeFiles(e,t){const{files:n,currentUploads:r}=this.getState(),i=at({},n),o=at({},r),a=Object.create(null);function s(c){return a[c]===void 0}e.forEach(c=>{n[c]&&(a[c]=n[c],delete i[c])}),Object.keys(o).forEach(c=>{const d=r[c].fileIDs.filter(s);d.length!==0?o[c]=at(at({},r[c]),{fileIDs:d}):delete o[c]});const u={currentUploads:o,files:i};Object.keys(i).length===0&&(u.allowNewUpload=!0,u.error=null,u.recoveredState=null),this.setState(u),this.calculateTotalProgress();const l=Object.keys(a);l.forEach(c=>{this.emit("file-removed",a[c],t)}),l.length>5?this.log(`Removed ${l.length} files`):this.log(`Removed files: ${l.join(", ")}`)}removeFile(e,t){t===void 0&&(t=null),this.removeFiles([e],t)}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).uploadComplete)return;const t=!(this.getFile(e).isPaused||!1);return this.setFileState(e,{isPaused:t}),this.emit("upload-pause",e,t),t}pauseAll(){const e=at({},this.getState().files);Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{const n=at(at({},e[t]),{isPaused:!0});e[t]=n}),this.setState({files:e}),this.emit("pause-all")}resumeAll(){const e=at({},this.getState().files);Object.keys(e).filter(t=>!e[t].progress.uploadComplete&&e[t].progress.uploadStarted).forEach(t=>{const n=at(at({},e[t]),{isPaused:!1,error:null});e[t]=n}),this.setState({files:e}),this.emit("resume-all")}retryAll(){const e=at({},this.getState().files),t=Object.keys(e).filter(r=>e[r].error);if(t.forEach(r=>{const i=at(at({},e[r]),{isPaused:!1,error:null});e[r]=i}),this.setState({files:e,error:null}),this.emit("retry-all",t),t.length===0)return Promise.resolve({successful:[],failed:[]});const n=qt(this,tl)[tl](t,{forceAllowNewUpload:!0});return qt(this,nl)[nl](n)}cancelAll(){this.emit("cancel-all");const{files:e}=this.getState(),t=Object.keys(e);t.length&&this.removeFiles(t,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null})}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit("upload-retry",e);const t=qt(this,tl)[tl]([e],{forceAllowNewUpload:!0});return qt(this,nl)[nl](t)}reset(){this.cancelAll()}logout(){this.iteratePlugins(e=>{e.provider&&e.provider.logout&&e.provider.logout()})}calculateProgress(e,t){if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const n=Number.isFinite(t.bytesTotal)&&t.bytesTotal>0;this.setFileState(e.id,{progress:at(at({},this.getFile(e.id).progress),{bytesUploaded:t.bytesUploaded,bytesTotal:t.bytesTotal,percentage:n?Math.round(t.bytesUploaded/t.bytesTotal*100):0})}),this.calculateTotalProgress()}calculateTotalProgress(){const e=this.getFiles().filter(s=>s.progress.uploadStarted||s.progress.preprocess||s.progress.postprocess);if(e.length===0)return this.emit("progress",0),void this.setState({totalProgress:0});const t=e.filter(s=>s.progress.bytesTotal!=null),n=e.filter(s=>s.progress.bytesTotal==null);if(t.length===0){const s=100*e.length,u=n.reduce((c,d)=>c+d.progress.percentage,0),l=Math.round(u/s*100);return void this.setState({totalProgress:l})}let r=t.reduce((s,u)=>s+u.progress.bytesTotal,0);const i=r/t.length;r+=i*n.length;let o=0;t.forEach(s=>{o+=s.progress.bytesUploaded}),n.forEach(s=>{o+=i*(s.progress.percentage||0)/100});let a=r===0?0:Math.round(o/r*100);a>100&&(a=100),this.setState({totalProgress:a}),this.emit("progress",a)}updateOnlineStatus(){window.navigator.onLine===void 0||window.navigator.onLine?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}getID(){return this.opts.id}use(e,t){if(typeof e!="function")throw new TypeError(`Expected a plugin class, but got ${e===null?"null":typeof e}. Please verify that the plugin was imported and spelled correctly.`);const n=new e(this,t),r=n.id;if(!r)throw new Error("Your plugin must have an id");if(!n.type)throw new Error("Your plugin must have a type");const i=this.getPlugin(r);if(i){const o=`Already found a plugin named '${i.id}'. Tried to use: '${r}'.
|
|
|
Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(o)}return e.VERSION&&this.log(`Using ${r} v${e.VERSION}`),n.type in qt(this,Wo)[Wo]?qt(this,Wo)[Wo][n.type].push(n):qt(this,Wo)[Wo][n.type]=[n],n.install(),this}getPlugin(e){for(const t of Object.values(qt(this,Wo)[Wo])){const n=t.find(r=>r.id===e);if(n!=null)return n}}[$8](e){return qt(this,Wo)[Wo][e]}iteratePlugins(e){Object.values(qt(this,Wo)[Wo]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();const t=qt(this,Wo)[Wo][e.type],n=t.findIndex(i=>i.id===e.id);n!==-1&&t.splice(n,1);const r={plugins:at(at({},this.getState().plugins),{[e.id]:void 0})};this.setState(r)}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),qt(this,wg)[wg](),this.iteratePlugins(e=>{this.removePlugin(e)}),typeof window!="undefined"&&window.removeEventListener&&(window.removeEventListener("online",qt(this,Hs)[Hs]),window.removeEventListener("offline",qt(this,Hs)[Hs]))}hideInfo(){const{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden")}info(e,t,n){t===void 0&&(t="info"),n===void 0&&(n=3e3);const r=typeof e=="object";this.setState({info:[...this.getState().info,{type:t,message:r?e.message:e,details:r?e.details:null}]}),setTimeout(()=>this.hideInfo(),n),this.emit("info-visible")}log(e,t){const{logger:n}=this.opts;switch(t){case"error":n.error(e);break;case"warning":n.warn(e);break;default:n.debug(e)}}restore(e){return this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e]?qt(this,nl)[nl](e):(qt(this,yf)[yf](e),Promise.reject(new Error("Nonexistent upload")))}[eN](){return qt(this,tl)[tl](...arguments)}addResultData(e,t){if(!qt(this,t4)[t4](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);const{currentUploads:n}=this.getState(),r=at(at({},n[e]),{result:at(at({},n[e].result),t)});this.setState({currentUploads:at(at({},n),{[e]:r})})}upload(){var e;(e=qt(this,Wo)[Wo].uploader)!=null&&e.length||this.log("No uploader type plugins are used","warning");let{files:t}=this.getState();const n=this.opts.onBeforeUpload(t);return n===!1?Promise.reject(new Error("Not starting the upload because onBeforeUpload returned false")):(n&&typeof n=="object"&&(t=n,this.setState({files:t})),Promise.resolve().then(()=>{qt(this,qw)[qw](t),qt(this,$w)[$w](t)}).catch(r=>{qt(this,go)[go](r)}).then(()=>{const{currentUploads:r}=this.getState(),i=Object.values(r).flatMap(s=>s.fileIDs),o=[];Object.keys(t).forEach(s=>{const u=this.getFile(s);u.progress.uploadStarted||i.indexOf(s)!==-1||o.push(u.id)});const a=qt(this,tl)[tl](o);return qt(this,nl)[nl](a)}).catch(r=>{qt(this,go)[go](r,{showInformer:!1})}))}}function FX(e,t){t===void 0&&(t=this.getFiles());const{maxFileSize:n,minFileSize:r,maxTotalFileSize:i,maxNumberOfFiles:o,allowedFileTypes:a}=this.opts.restrictions;if(o&&t.length+1>o)throw new vu(`${this.i18n("youCanOnlyUploadX",{smart_count:o})}`);if(a&&!a.some(s=>s.indexOf("/")>-1?!!e.type&&SX(e.type.replace(/;.*?$/,""),s):!(s[0]!=="."||!e.extension)&&e.extension.toLowerCase()===s.substr(1).toLowerCase())){const s=a.join(", ");throw new vu(this.i18n("youCanOnlyUploadFileTypes",{types:s}))}if(i&&e.size!=null){let s=0;if(s+=e.size,t.forEach(u=>{s+=u.size}),s>i)throw new vu(this.i18n("exceedsSize",{size:Jw(i),file:e.name}))}if(n&&e.size!=null&&e.size>n)throw new vu(this.i18n("exceedsSize",{size:Jw(n),file:e.name}));if(r&&e.size!=null&&e.size<r)throw new vu(this.i18n("inferiorSize",{size:Jw(r)}))}function BX(e){const{minNumberOfFiles:t}=this.opts.restrictions;if(Object.keys(e).length<t)throw new vu(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:t})}`)}function UX(e){const{requiredMetaFields:t}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],i=[];for(let o=0;o<t.length;o++)if(!n.call(e.meta,t[o])||e.meta[t[o]]===""){const a=new vu(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:e.name})}`);r.push(a),i.push(t[o]),qt(this,go)[go](a,{file:e,showInformer:!1,throwErr:!1})}return this.setFileState(e.id,{missingRequiredMetaFields:i}),r}function HX(e){const t=Object.keys(e).flatMap(n=>{const r=this.getFile(n);return qt(this,Og)[Og](r)});if(t.length)throw new kX(t,`${this.i18n("missingRequiredMetaField")}`)}function WX(e,t){let{showInformer:n=!0,file:r=null,throwErr:i=!0}=t===void 0?{}:t;const o=typeof e=="object"?e.message:e,a=typeof e=="object"&&e.details?e.details:"";let s=o;if(a&&(s+=` ${a}`),e.isRestriction?(this.log(s),this.emit("restriction-failed",r,e)):this.log(s,"error"),n&&this.info({message:o,details:a},"error",this.opts.infoTimeout),i)throw typeof e=="object"?e:new Error(e)}function zX(e){const{allowNewUpload:t}=this.getState();t===!1&&qt(this,go)[go](new vu(this.i18n("noMoreFilesAllowed")),{file:e})}function VX(e,t){const n=function(d){var p;if(d.type)return d.type;const h=d.name?(p=X8(d.name).extension)==null?void 0:p.toLowerCase():null;return h&&h in J8?J8[h]:"application/octet-stream"}(t),r=function(d,p){return p.name?p.name:d.split("/")[0]==="image"?`${d.split("/")[0]}.${d.split("/")[1]}`:"noname"}(n,t),i=X8(r).extension,o=Boolean(t.isRemote),a=function(d){let p="uppy";return typeof d.name=="string"&&(p+=`-${Q8(d.name.toLowerCase())}`),d.type!==void 0&&(p+=`-${d.type}`),d.meta&&typeof d.meta.relativePath=="string"&&(p+=`-${Q8(d.meta.relativePath.toLowerCase())}`),d.data.size!==void 0&&(p+=`-${d.data.size}`),d.data.lastModified!==void 0&&(p+=`-${d.data.lastModified}`),p}(at(at({},t),{type:n}));if(this.checkIfFileAlreadyExists(a)){const d=new vu(this.i18n("noDuplicates",{fileName:r}));qt(this,go)[go](d,{file:t})}const s=t.meta||{};s.name=r,s.type=n;const u=Number.isFinite(t.data.size)?t.data.size:null;let l={source:t.source||"",id:a,name:r,extension:i||"",meta:at(at({},this.getState().meta),s),type:n,data:t.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:u,uploadComplete:!1,uploadStarted:null},size:u,isRemote:o,remote:t.remote||"",preview:t.preview};const c=this.opts.onBeforeFileAdded(l,e);c===!1?qt(this,go)[go](new vu("Cannot add the file because onBeforeFileAdded returned false."),{showInformer:!1,fileDescriptor:t}):typeof c=="object"&&c!==null&&(l=c);try{const d=Object.keys(e).map(p=>e[p]);qt(this,Ag)[Ag](l,d)}catch(d){qt(this,go)[go](d,{file:l})}return l}function GX(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(e=>{e.isRestriction||this.log(e.stack||e.message||e)})},4))}function YX(){const e=(t,n,r)=>{let i=t.message||"Unknown error";t.details&&(i+=` ${t.details}`),this.setState({error:i}),n!=null&&n.id in this.getState().files&&this.setFileState(n.id,{error:i,response:r})};this.on("error",e),this.on("upload-error",(t,n,r)=>{if(e(n,t,r),typeof n=="object"&&n.message){const i=new Error(n.message);i.details=n.message,n.details&&(i.details+=` ${n.details}`),i.message=this.i18n("failedToUpload",{file:t.name}),qt(this,go)[go](i,{throwErr:!1})}else qt(this,go)[go](n,{throwErr:!1})}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",t=>{this.getFile(t.id)?this.setFileState(t.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:t.size}}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(t,n)=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);const r=this.getFile(t.id).progress;this.setFileState(t.id,{progress:at(at({},r),{postprocess:qt(this,el)[el].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:r.bytesTotal}),response:n,uploadURL:n.uploadURL,isPaused:!1}),t.size==null&&this.setFileState(t.id,{size:n.bytesUploaded||r.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(t,n)=>{this.getFile(t.id)?this.setFileState(t.id,{progress:at(at({},this.getFile(t.id).progress),{preprocess:n})}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("preprocess-complete",t=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);const n=at({},this.getState().files);n[t.id]=at(at({},n[t.id]),{progress:at({},n[t.id].progress)}),delete n[t.id].progress.preprocess,this.setState({files:n})}),this.on("postprocess-progress",(t,n)=>{this.getFile(t.id)?this.setFileState(t.id,{progress:at(at({},this.getState().files[t.id].progress),{postprocess:n})}):this.log(`Not setting progress for a file that has been removed: ${t.id}`)}),this.on("postprocess-complete",t=>{if(!this.getFile(t.id))return void this.log(`Not setting progress for a file that has been removed: ${t.id}`);const n=at({},this.getState().files);n[t.id]=at(at({},n[t.id]),{progress:at({},n[t.id].progress)}),delete n[t.id].progress.postprocess,this.setState({files:n})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",t=>{t&&qt(this,Og)[Og](t)}),typeof window!="undefined"&&window.addEventListener&&(window.addEventListener("online",qt(this,Hs)[Hs]),window.addEventListener("offline",qt(this,Hs)[Hs]),setTimeout(qt(this,Hs)[Hs],3e3))}function KX(e,t){t===void 0&&(t={});const{forceAllowNewUpload:n=!1}=t,{allowNewUpload:r,currentUploads:i}=this.getState();if(!r&&!n)throw new Error("Cannot create a new upload: already uploading.");const o=LX();return this.emit("upload",{id:o,fileIDs:e}),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:at(at({},i),{[o]:{fileIDs:e,step:0,result:{}}})}),o}function XX(e){const{currentUploads:t}=this.getState();return t[e]}function JX(e){const t=at({},this.getState().currentUploads);delete t[e],this.setState({currentUploads:t})}function QX(e){return Y3(this,null,function*(){let{currentUploads:t}=this.getState(),n=t[e];const r=n.step||0,i=[...qt(this,mf)[mf],...qt(this,vf)[vf],...qt(this,el)[el]];try{for(let a=r;a<i.length&&n;a++){const s=i[a],u=at(at({},n),{step:a});this.setState({currentUploads:at(at({},t),{[e]:u})}),yield s(u.fileIDs,e),t=this.getState().currentUploads,n=t[e]}}catch(a){throw this.emit("error",a),qt(this,yf)[yf](e),a}if(n){n.fileIDs.forEach(l=>{const c=this.getFile(l);c&&c.progress.postprocess&&this.emit("postprocess-complete",c)});const a=n.fileIDs.map(l=>this.getFile(l)),s=a.filter(l=>!l.error),u=a.filter(l=>l.error);yield this.addResultData(e,{successful:s,failed:u,uploadID:e}),t=this.getState().currentUploads,n=t[e]}let o;return n&&(o=n.result,this.emit("complete",o),qt(this,yf)[yf](e)),o==null&&this.log(`Not setting result for an upload that has been removed: ${e}`),o})}tN.VERSION="2.1.3";var nN=tN,ZX=Be(function(e,t){var n,r,i,o,a,s,u,l,c={},d=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(ye,re){for(var De in re)ye[De]=re[De];return ye}function _(ye){var re=ye.parentNode;re&&re.removeChild(ye)}function m(ye,re,De){var tt,wt,st,Bt={};for(st in re)st=="key"?tt=re[st]:st=="ref"?wt=re[st]:Bt[st]=re[st];if(arguments.length>2&&(Bt.children=arguments.length>3?n.call(arguments,2):De),typeof ye=="function"&&ye.defaultProps!=null)for(st in ye.defaultProps)Bt[st]===void 0&&(Bt[st]=ye.defaultProps[st]);return v(ye,Bt,tt,wt,null)}function v(ye,re,De,tt,wt){var st={type:ye,props:re,key:De,ref:tt,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:wt==null?++i:wt};return wt==null&&r.vnode!=null&&r.vnode(st),st}function y(ye){return ye.children}function g(ye,re){this.props=ye,this.context=re}function S(ye,re){if(re==null)return ye.__?S(ye.__,ye.__.__k.indexOf(ye)+1):null;for(var De;re<ye.__k.length;re++)if((De=ye.__k[re])!=null&&De.__e!=null)return De.__e;return typeof ye.type=="function"?S(ye):null}function R(ye){var re,De;if((ye=ye.__)!=null&&ye.__c!=null){for(ye.__e=ye.__c.base=null,re=0;re<ye.__k.length;re++)if((De=ye.__k[re])!=null&&De.__e!=null){ye.__e=ye.__c.base=De.__e;break}return R(ye)}}function U(ye){(!ye.__d&&(ye.__d=!0)&&a.push(ye)&&!Q.__r++||u!==r.debounceRendering)&&((u=r.debounceRendering)||s)(Q)}function Q(){for(var ye;Q.__r=a.length;)ye=a.sort(function(re,De){return re.__v.__b-De.__v.__b}),a=[],ye.some(function(re){var De,tt,wt,st,Bt,on;re.__d&&(Bt=(st=(De=re).__v).__e,(on=De.__P)&&(tt=[],(wt=h({},st)).__v=st.__v+1,lt(on,st,wt,De.__n,on.ownerSVGElement!==void 0,st.__h!=null?[Bt]:null,tt,Bt==null?S(st):Bt,st.__h),ct(tt,st),st.__e!=Bt&&R(st)))})}function X(ye,re,De,tt,wt,st,Bt,on,En,Ln){var ft,qn,kn,en,Fn,Ii,ur,Ir=tt&&tt.__k||d,li=Ir.length;for(De.__k=[],ft=0;ft<re.length;ft++)if((en=De.__k[ft]=(en=re[ft])==null||typeof en=="boolean"?null:typeof en=="string"||typeof en=="number"||typeof en=="bigint"?v(null,en,null,null,en):Array.isArray(en)?v(y,{children:en},null,null,null):en.__b>0?v(en.type,en.props,en.key,null,en.__v):en)!=null){if(en.__=De,en.__b=De.__b+1,(kn=Ir[ft])===null||kn&&en.key==kn.key&&en.type===kn.type)Ir[ft]=void 0;else for(qn=0;qn<li;qn++){if((kn=Ir[qn])&&en.key==kn.key&&en.type===kn.type){Ir[qn]=void 0;break}kn=null}lt(ye,en,kn=kn||c,wt,st,Bt,on,En,Ln),Fn=en.__e,(qn=en.ref)&&kn.ref!=qn&&(ur||(ur=[]),kn.ref&&ur.push(kn.ref,null,en),ur.push(qn,en.__c||Fn,en)),Fn!=null?(Ii==null&&(Ii=Fn),typeof en.type=="function"&&en.__k===kn.__k?en.__d=En=le(en,En,ye):En=xe(ye,en,kn,Ir,Fn,En),typeof De.type=="function"&&(De.__d=En)):En&&kn.__e==En&&En.parentNode!=ye&&(En=S(kn))}for(De.__e=Ii,ft=li;ft--;)Ir[ft]!=null&&(typeof De.type=="function"&&Ir[ft].__e!=null&&Ir[ft].__e==De.__d&&(De.__d=S(tt,ft+1)),Kt(Ir[ft],Ir[ft]));if(ur)for(ft=0;ft<ur.length;ft++)Pt(ur[ft],ur[++ft],ur[++ft])}function le(ye,re,De){for(var tt,wt=ye.__k,st=0;wt&&st<wt.length;st++)(tt=wt[st])&&(tt.__=ye,re=typeof tt.type=="function"?le(tt,re,De):xe(De,tt,tt,wt,tt.__e,re));return re}function xe(ye,re,De,tt,wt,st){var Bt,on,En;if(re.__d!==void 0)Bt=re.__d,re.__d=void 0;else if(De==null||wt!=st||wt.parentNode==null)e:if(st==null||st.parentNode!==ye)ye.appendChild(wt),Bt=null;else{for(on=st,En=0;(on=on.nextSibling)&&En<tt.length;En+=2)if(on==wt)break e;ye.insertBefore(wt,st),Bt=st}return Bt!==void 0?Bt:wt.nextSibling}function Qe(ye,re,De){re[0]==="-"?ye.setProperty(re,De):ye[re]=De==null?"":typeof De!="number"||p.test(re)?De:De+"px"}function it(ye,re,De,tt,wt){var st;e:if(re==="style")if(typeof De=="string")ye.style.cssText=De;else{if(typeof tt=="string"&&(ye.style.cssText=tt=""),tt)for(re in tt)De&&re in De||Qe(ye.style,re,"");if(De)for(re in De)tt&&De[re]===tt[re]||Qe(ye.style,re,De[re])}else if(re[0]==="o"&&re[1]==="n")st=re!==(re=re.replace(/Capture$/,"")),re=re.toLowerCase()in ye?re.toLowerCase().slice(2):re.slice(2),ye.l||(ye.l={}),ye.l[re+st]=De,De?tt||ye.addEventListener(re,st?vt:Ze,st):ye.removeEventListener(re,st?vt:Ze,st);else if(re!=="dangerouslySetInnerHTML"){if(wt)re=re.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(re!=="href"&&re!=="list"&&re!=="form"&&re!=="tabIndex"&&re!=="download"&&re in ye)try{ye[re]=De==null?"":De;break e}catch(Bt){}typeof De=="function"||(De!=null&&(De!==!1||re[0]==="a"&&re[1]==="r")?ye.setAttribute(re,De):ye.removeAttribute(re))}}function Ze(ye){this.l[ye.type+!1](r.event?r.event(ye):ye)}function vt(ye){this.l[ye.type+!0](r.event?r.event(ye):ye)}function lt(ye,re,De,tt,wt,st,Bt,on,En){var Ln,ft,qn,kn,en,Fn,Ii,ur,Ir,li,ra,ir=re.type;if(re.constructor!==void 0)return null;De.__h!=null&&(En=De.__h,on=re.__e=De.__e,re.__h=null,st=[on]),(Ln=r.__b)&&Ln(re);try{e:if(typeof ir=="function"){if(ur=re.props,Ir=(Ln=ir.contextType)&&tt[Ln.__c],li=Ln?Ir?Ir.props.value:Ln.__:tt,De.__c?Ii=(ft=re.__c=De.__c).__=ft.__E:("prototype"in ir&&ir.prototype.render?re.__c=ft=new ir(ur,li):(re.__c=ft=new g(ur,li),ft.constructor=ir,ft.render=Gt),Ir&&Ir.sub(ft),ft.props=ur,ft.state||(ft.state={}),ft.context=li,ft.__n=tt,qn=ft.__d=!0,ft.__h=[]),ft.__s==null&&(ft.__s=ft.state),ir.getDerivedStateFromProps!=null&&(ft.__s==ft.state&&(ft.__s=h({},ft.__s)),h(ft.__s,ir.getDerivedStateFromProps(ur,ft.__s))),kn=ft.props,en=ft.state,qn)ir.getDerivedStateFromProps==null&&ft.componentWillMount!=null&&ft.componentWillMount(),ft.componentDidMount!=null&&ft.__h.push(ft.componentDidMount);else{if(ir.getDerivedStateFromProps==null&&ur!==kn&&ft.componentWillReceiveProps!=null&&ft.componentWillReceiveProps(ur,li),!ft.__e&&ft.shouldComponentUpdate!=null&&ft.shouldComponentUpdate(ur,ft.__s,li)===!1||re.__v===De.__v){ft.props=ur,ft.state=ft.__s,re.__v!==De.__v&&(ft.__d=!1),ft.__v=re,re.__e=De.__e,re.__k=De.__k,re.__k.forEach(function(Ta){Ta&&(Ta.__=re)}),ft.__h.length&&Bt.push(ft);break e}ft.componentWillUpdate!=null&&ft.componentWillUpdate(ur,ft.__s,li),ft.componentDidUpdate!=null&&ft.__h.push(function(){ft.componentDidUpdate(kn,en,Fn)})}ft.context=li,ft.props=ur,ft.state=ft.__s,(Ln=r.__r)&&Ln(re),ft.__d=!1,ft.__v=re,ft.__P=ye,Ln=ft.render(ft.props,ft.state,ft.context),ft.state=ft.__s,ft.getChildContext!=null&&(tt=h(h({},tt),ft.getChildContext())),qn||ft.getSnapshotBeforeUpdate==null||(Fn=ft.getSnapshotBeforeUpdate(kn,en)),ra=Ln!=null&&Ln.type===y&&Ln.key==null?Ln.props.children:Ln,X(ye,Array.isArray(ra)?ra:[ra],re,De,tt,wt,st,Bt,on,En),ft.base=re.__e,re.__h=null,ft.__h.length&&Bt.push(ft),Ii&&(ft.__E=ft.__=null),ft.__e=!1}else st==null&&re.__v===De.__v?(re.__k=De.__k,re.__e=De.__e):re.__e=dt(De.__e,re,De,tt,wt,st,Bt,En);(Ln=r.diffed)&&Ln(re)}catch(Ta){re.__v=null,(En||st!=null)&&(re.__e=on,re.__h=!!En,st[st.indexOf(on)]=null),r.__e(Ta,re,De)}}function ct(ye,re){r.__c&&r.__c(re,ye),ye.some(function(De){try{ye=De.__h,De.__h=[],ye.some(function(tt){tt.call(De)})}catch(tt){r.__e(tt,De.__v)}})}function dt(ye,re,De,tt,wt,st,Bt,on){var En,Ln,ft,qn=De.props,kn=re.props,en=re.type,Fn=0;if(en==="svg"&&(wt=!0),st!=null){for(;Fn<st.length;Fn++)if((En=st[Fn])&&"setAttribute"in En==!!en&&(en?En.localName===en:En.nodeType===3)){ye=En,st[Fn]=null;break}}if(ye==null){if(en===null)return document.createTextNode(kn);ye=wt?document.createElementNS("http://www.w3.org/2000/svg",en):document.createElement(en,kn.is&&kn),st=null,on=!1}if(en===null)qn===kn||on&&ye.data===kn||(ye.data=kn);else{if(st=st&&n.call(ye.childNodes),Ln=(qn=De.props||c).dangerouslySetInnerHTML,ft=kn.dangerouslySetInnerHTML,!on){if(st!=null)for(qn={},Fn=0;Fn<ye.attributes.length;Fn++)qn[ye.attributes[Fn].name]=ye.attributes[Fn].value;(ft||Ln)&&(ft&&(Ln&&ft.__html==Ln.__html||ft.__html===ye.innerHTML)||(ye.innerHTML=ft&&ft.__html||""))}if(function(Ii,ur,Ir,li,ra){var ir;for(ir in Ir)ir==="children"||ir==="key"||ir in ur||it(Ii,ir,null,Ir[ir],li);for(ir in ur)ra&&typeof ur[ir]!="function"||ir==="children"||ir==="key"||ir==="value"||ir==="checked"||Ir[ir]===ur[ir]||it(Ii,ir,ur[ir],Ir[ir],li)}(ye,kn,qn,wt,on),ft)re.__k=[];else if(Fn=re.props.children,X(ye,Array.isArray(Fn)?Fn:[Fn],re,De,tt,wt&&en!=="foreignObject",st,Bt,st?st[0]:De.__k&&S(De,0),on),st!=null)for(Fn=st.length;Fn--;)st[Fn]!=null&&_(st[Fn]);on||("value"in kn&&(Fn=kn.value)!==void 0&&(Fn!==qn.value||Fn!==ye.value||en==="progress"&&!Fn)&&it(ye,"value",Fn,qn.value,!1),"checked"in kn&&(Fn=kn.checked)!==void 0&&Fn!==ye.checked&&it(ye,"checked",Fn,qn.checked,!1))}return ye}function Pt(ye,re,De){try{typeof ye=="function"?ye(re):ye.current=re}catch(tt){r.__e(tt,De)}}function Kt(ye,re,De){var tt,wt;if(r.unmount&&r.unmount(ye),(tt=ye.ref)&&(tt.current&&tt.current!==ye.__e||Pt(tt,null,re)),(tt=ye.__c)!=null){if(tt.componentWillUnmount)try{tt.componentWillUnmount()}catch(st){r.__e(st,re)}tt.base=tt.__P=null}if(tt=ye.__k)for(wt=0;wt<tt.length;wt++)tt[wt]&&Kt(tt[wt],re,typeof ye.type!="function");De||ye.__e==null||_(ye.__e),ye.__e=ye.__d=void 0}function Gt(ye,re,De){return this.constructor(ye,De)}function zt(ye,re,De){var tt,wt,st;r.__&&r.__(ye,re),wt=(tt=typeof De=="function")?null:De&&De.__k||re.__k,st=[],lt(re,ye=(!tt&&De||re).__k=m(y,null,[ye]),wt||c,c,re.ownerSVGElement!==void 0,!tt&&De?[De]:wt?null:re.firstChild?n.call(re.childNodes):null,st,!tt&&De?De:wt?wt.__e:re.firstChild,tt),ct(st,ye)}n=d.slice,r={__e:function(ye,re){for(var De,tt,wt;re=re.__;)if((De=re.__c)&&!De.__)try{if((tt=De.constructor)&&tt.getDerivedStateFromError!=null&&(De.setState(tt.getDerivedStateFromError(ye)),wt=De.__d),De.componentDidCatch!=null&&(De.componentDidCatch(ye),wt=De.__d),wt)return De.__E=De}catch(st){ye=st}throw ye}},i=0,o=function(ye){return ye!=null&&ye.constructor===void 0},g.prototype.setState=function(ye,re){var De;De=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=h({},this.state),typeof ye=="function"&&(ye=ye(h({},De),this.props)),ye&&h(De,ye),ye!=null&&this.__v&&(re&&this.__h.push(re),U(this))},g.prototype.forceUpdate=function(ye){this.__v&&(this.__e=!0,ye&&this.__h.push(ye),U(this))},g.prototype.render=y,a=[],s=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Q.__r=0,l=0,t.Component=g,t.Fragment=y,t.cloneElement=function(ye,re,De){var tt,wt,st,Bt=h({},ye.props);for(st in re)st=="key"?tt=re[st]:st=="ref"?wt=re[st]:Bt[st]=re[st];return arguments.length>2&&(Bt.children=arguments.length>3?n.call(arguments,2):De),v(ye.type,Bt,tt||ye.key,wt||ye.ref,null)},t.createContext=function(ye,re){var De={__c:re="__cC"+l++,__:ye,Consumer:function(tt,wt){return tt.children(wt)},Provider:function(tt){var wt,st;return this.getChildContext||(wt=[],(st={})[re]=this,this.getChildContext=function(){return st},this.shouldComponentUpdate=function(Bt){this.props.value!==Bt.value&&wt.some(U)},this.sub=function(Bt){wt.push(Bt);var on=Bt.componentWillUnmount;Bt.componentWillUnmount=function(){wt.splice(wt.indexOf(Bt),1),on&&on.call(Bt)}}),tt.children}};return De.Provider.__=De.Consumer.contextType=De},t.createElement=m,t.createRef=function(){return{current:null}},t.h=m,t.hydrate=function ye(re,De){zt(re,De,ye)},t.isValidElement=o,t.options=r,t.render=zt,t.toChildArray=function ye(re,De){return De=De||[],re==null||typeof re=="boolean"||(Array.isArray(re)?re.some(function(tt){ye(tt,De)}):De.push(re)),De}}),qX=function(e,t){return t===void 0&&(t=document),typeof e=="string"?t.querySelector(e):((n=e)==null?void 0:n.nodeType)===Node.ELEMENT_NODE?e:null;var n},n4=class{constructor(e,t){t===void 0&&(t={}),this.uppy=e,this.opts=t}getPluginState(){const{plugins:e}=this.uppy.getState();return e[this.id]||{}}setPluginState(e){const{plugins:t}=this.uppy.getState();this.uppy.setState({plugins:at(at({},t),{[this.id]:at(at({},t[this.id]),e)})})}setOptions(e){this.opts=at(at({},this.opts),e),this.setPluginState(),this.i18nInit()}i18nInit(){const e=new W8([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.setPluginState()}addTarget(){throw new Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw new Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}};function rN(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var $X=0;function eJ(e){return"__private_"+$X+++"_"+e}const{render:iN}=ZX;var Tg=eJ("updateUI");class oN extends n4{constructor(){super(...arguments),Object.defineProperty(this,Tg,{writable:!0,value:void 0})}mount(e,t){const n=t.id,r=qX(e);if(r){this.isTargetDOMEl=!0;const a=document.createDocumentFragment();return rN(this,Tg)[Tg]=function(s){let u=null,l=null;return function(){for(var c=arguments.length,d=new Array(c),p=0;p<c;p++)d[p]=arguments[p];return l=d,u||(u=Promise.resolve().then(()=>(u=null,s(...l)))),u}}(s=>{this.uppy.getPlugin(this.id)&&(iN(this.render(s),a),this.afterUpdate())}),this.uppy.log(`Installing ${n} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(r.innerHTML=""),iN(this.render(this.uppy.getState()),a),this.el=a.firstElementChild,r.appendChild(a),this.onMount(),this.el}let i;if(typeof e=="object"&&e instanceof oN)i=e;else if(typeof e=="function"){const a=e;this.uppy.iteratePlugins(s=>{if(s instanceof a)return i=s,!1})}if(i)return this.uppy.log(`Installing ${n} to ${i.id}`),this.parent=i,this.el=i.addTarget(t),this.onMount(),this.el;this.uppy.log(`Not installing ${n}`);let o=`Invalid target option given to ${n}.`;throw o+=typeof e=="function"?" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":"If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",new Error(o)}update(e){var t,n;this.el!=null&&((t=(n=rN(this,Tg))[Tg])==null||t.call(n,e))}unmount(){var e;this.isTargetDOMEl&&((e=this.el)==null||e.remove()),this.onUnmount()}onMount(){}onUnmount(){}}var tJ=oN;const{debugLogger:nJ}=Z8;var Dg=nN,rJ=nN,iJ=tJ,oJ=n4,aJ=nJ;Dg.Uppy=rJ,Dg.UIPlugin=iJ,Dg.BasePlugin=oJ,Dg.debugLogger=aJ;class sJ extends Error{constructor(e,t){t===void 0&&(t=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=t}}var r4=sJ,i4=function(){return fetch(...arguments).catch(e=>{throw e.name==="AbortError"?e:new r4(e)})};class uJ extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}var K1,Bl,yu,Ul,aN,lJ=uJ;function bu(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var cJ=0;function o4(e){return"__private_"+cJ+++"_"+e}function a4(e){return Y3(this,null,function*(){if(e.status===401)throw new lJ;const t=e.json();if(e.status<200||e.status>300){let n=`Failed request with status: ${e.status}. ${e.statusText}`;try{const r=yield t;n=r.message?`${n} message: ${r.message}`:n,n=r.requestId?`${n} request-Id: ${r.requestId}`:n}finally{throw new Error(n)}}return t})}var s4=(Bl=o4("getPostResponseFunc"),yu=o4("getUrl"),Ul=o4("errorHandler"),aN=K1=class e{constructor(t,n){Object.defineProperty(this,Ul,{value:dJ}),Object.defineProperty(this,yu,{value:fJ}),Object.defineProperty(this,Bl,{writable:!0,value:r=>i=>r?i:this.onReceiveResponse(i)}),this.uppy=t,this.opts=n,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1}get hostname(){const{companion:t}=this.uppy.getState(),n=this.opts.companionUrl;return(t&&t[n]?t[n]:n).replace(/\/$/,"")}headers(){const t=this.opts.companionHeaders||{};return Promise.resolve(at(at({},e.defaultHeaders),t))}onReceiveResponse(t){const n=this.uppy.getState().companion||{},r=this.opts.companionUrl,{headers:i}=t;return i.has("i-am")&&i.get("i-am")!==n[r]&&this.uppy.setState({companion:at(at({},n),{[r]:i.get("i-am")})}),t}preflight(t){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(bu(this,yu)[yu](t),{method:"OPTIONS"}).then(n=>(n.headers.has("access-control-allow-headers")&&(this.allowedHeaders=n.headers.get("access-control-allow-headers").split(",").map(r=>r.trim().toLowerCase())),this.preflightDone=!0,this.allowedHeaders.slice())).catch(n=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${n}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice()))}preflightAndHeaders(t){return Promise.all([this.preflight(t),this.headers()]).then(n=>{let[r,i]=n;return Object.keys(i).forEach(o=>{r.includes(o.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${o}`),delete i[o])}),i})}get(t,n){return this.preflightAndHeaders(t).then(r=>i4(bu(this,yu)[yu](t),{method:"get",headers:r,credentials:this.opts.companionCookiesRule||"same-origin"})).then(bu(this,Bl)[Bl](n)).then(a4).catch(bu(this,Ul)[Ul]("get",t))}post(t,n,r){const i="post";return this.preflightAndHeaders(t).then(o=>i4(bu(this,yu)[yu](t),{method:i,headers:o,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(n)})).then(bu(this,Bl)[Bl](r)).then(a4).catch(bu(this,Ul)[Ul](i,t))}delete(t,n,r){const i="delete";return this.preflightAndHeaders(t).then(o=>i4(`${this.hostname}/${t}`,{method:i,headers:o,credentials:this.opts.companionCookiesRule||"same-origin",body:n?JSON.stringify(n):null})).then(bu(this,Bl)[Bl](r)).then(a4).catch(bu(this,Ul)[Ul](i,t))}},K1.VERSION="2.0.4",K1.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${K1.VERSION}`},aN);function fJ(e){return/^(https?:|)\/\//.test(e)?e:`${this.hostname}/${e}`}function dJ(e,t){return n=>{var r;if((r=n)==null||!r.isAuthError){const i=new Error(`Could not ${e} ${bu(this,yu)[yu](t)}`);i.cause=n,n=i}return Promise.reject(n)}}var hJ={setItem:(e,t)=>new Promise(n=>{localStorage.setItem(e,t),n()}),getItem:e=>Promise.resolve(localStorage.getItem(e)),removeItem:e=>new Promise(t=>{localStorage.removeItem(e),t()})},_u,Hl,ds,qo,X1;let sN,uN;function ro(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var pJ=0;function Rg(e){return"__private_"+pJ+++"_"+e}var gJ=(_u=Rg("queued"),Hl=Rg("emitter"),ds=Rg("isOpen"),qo=Rg("socket"),X1=Rg("handleMessage"),sN=Symbol.for("uppy test: getSocket"),uN=Symbol.for("uppy test: getQueued"),class{constructor(e){Object.defineProperty(this,_u,{writable:!0,value:[]}),Object.defineProperty(this,Hl,{writable:!0,value:z8()}),Object.defineProperty(this,ds,{writable:!0,value:!1}),Object.defineProperty(this,qo,{writable:!0,value:void 0}),Object.defineProperty(this,X1,{writable:!0,value:t=>{try{const n=JSON.parse(t.data);this.emit(n.action,n.payload)}catch(n){console.log(n)}}}),this.opts=e,e&&e.autoOpen===!1||this.open()}get isOpen(){return ro(this,ds)[ds]}[sN](){return ro(this,qo)[qo]}[uN](){return ro(this,_u)[_u]}open(){ro(this,qo)[qo]=new WebSocket(this.opts.target),ro(this,qo)[qo].onopen=()=>{for(ro(this,ds)[ds]=!0;ro(this,_u)[_u].length>0&&ro(this,ds)[ds];){const e=ro(this,_u)[_u].shift();this.send(e.action,e.payload)}},ro(this,qo)[qo].onclose=()=>{ro(this,ds)[ds]=!1},ro(this,qo)[qo].onmessage=ro(this,X1)[X1]}close(){var e;(e=ro(this,qo)[qo])==null||e.close()}send(e,t){ro(this,ds)[ds]?ro(this,qo)[qo].send(JSON.stringify({action:e,payload:t})):ro(this,_u)[_u].push({action:e,payload:t})}on(e,t){ro(this,Hl)[Hl].on(e,t)}emit(e,t){ro(this,Hl)[Hl].emit(e,t)}once(e,t){ro(this,Hl)[Hl].once(e,t)}}),mJ={RequestClient:s4,Provider:class extends s4{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(n=>n.split("-").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "))(this.id),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then(e=>{let[t,n]=e;const r={};return n&&(r["uppy-auth-token"]=n),this.companionKeysParams&&(r["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),at(at({},t),r)})}onReceiveResponse(e){e=super.onReceiveResponse(e);const t=this.uppy.getPlugin(this.pluginId),n=t.getPluginState().authenticated?e.status!==401:e.status<400;return t.setPluginState({authenticated:n}),e}setAuthToken(e){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,e)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}authUrl(e){return e===void 0&&(e={}),this.preAuthToken&&(e.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(e)}`}fileUrl(e){return`${this.hostname}/${this.id}/get/${e}`}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then(e=>{this.preAuthToken=e.token}).catch(e=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${e}`,"warning")}):Promise.resolve()}list(e){return this.get(`${this.id}/list/${e||""}`)}logout(){return this.get(`${this.id}/logout`).then(e=>Promise.all([e,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(e=>{let[t]=e;return t})}static initPlugin(e,t,n){if(e.type="acquirer",e.files=[],n&&(e.opts=at(at({},n),t)),t.serverUrl||t.serverPattern)throw new Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(t.companionAllowedHosts){const r=t.companionAllowedHosts;if(!(typeof r=="string"||Array.isArray(r)||r instanceof RegExp))throw new TypeError(`${e.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);e.opts.companionAllowedHosts=r}else/^(?!https?:\/\/).*$/i.test(t.companionUrl)?e.opts.companionAllowedHosts=`https://${t.companionUrl.replace(/^\/\//,"")}`:e.opts.companionAllowedHosts=new URL(t.companionUrl).origin;e.storage=e.opts.storage||hJ}},SearchProvider:class extends s4{constructor(e,t){super(e,t),this.provider=t.provider,this.id=this.provider,this.name=this.opts.name||(n=>n.split("-").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "))(this.id),this.pluginId=this.opts.pluginId}fileUrl(e){return`${this.hostname}/search/${this.id}/get/${e}`}search(e,t){return t=t?`&${t}`:"",this.get(`search/${this.id}/list?q=${encodeURIComponent(e)}${t}`)}},Socket:gJ},Wl,lh,vJ=gf(function(e,t,n){const{progress:r,bytesUploaded:i,bytesTotal:o}=t;r&&(e.uppy.log(`Upload progress: ${r}`),e.uppy.emit("upload-progress",n,{uploader:e,bytesUploaded:i,bytesTotal:o}))},300,{leading:!0,trailing:!0});function Ng(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var yJ=0;function lN(e){return"__private_"+yJ+++"_"+e}var cN=(Wl=lN("emitter"),lh=lN("events"),class{constructor(e){Object.defineProperty(this,Wl,{writable:!0,value:void 0}),Object.defineProperty(this,lh,{writable:!0,value:[]}),Ng(this,Wl)[Wl]=e}on(e,t){return Ng(this,lh)[lh].push([e,t]),Ng(this,Wl)[Wl].on(e,t)}remove(){for(const[e,t]of Ng(this,lh)[lh].splice(0))Ng(this,Wl)[Wl].off(e,t)}});function hs(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var bJ=0;function J1(e){return"__private_"+bJ+++"_"+e}var rl=J1("aliveTimer"),bf=J1("isDone"),Ig=J1("onTimedOut"),_f=J1("timeout"),fN=class{constructor(e,t){Object.defineProperty(this,rl,{writable:!0,value:void 0}),Object.defineProperty(this,bf,{writable:!0,value:!1}),Object.defineProperty(this,Ig,{writable:!0,value:void 0}),Object.defineProperty(this,_f,{writable:!0,value:void 0}),hs(this,_f)[_f]=e,hs(this,Ig)[Ig]=t}progress(){hs(this,bf)[bf]||hs(this,_f)[_f]>0&&(clearTimeout(hs(this,rl)[rl]),hs(this,rl)[rl]=setTimeout(hs(this,Ig)[Ig],hs(this,_f)[_f]))}done(){hs(this,bf)[bf]||(clearTimeout(hs(this,rl)[rl]),hs(this,rl)[rl]=null,hs(this,bf)[bf]=!0)}};function io(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var _J=0;function Ef(e){return"__private_"+_J+++"_"+e}function EJ(){return new Error("Cancelled")}var Ua=Ef("activeRequests"),da=Ef("queuedHandlers"),Pg=Ef("call"),Lg=Ef("queueNext"),u4=Ef("next"),l4=Ef("queue"),c4=Ef("dequeue");function wJ(e){io(this,Ua)[Ua]+=1;let t,n=!1;try{t=e()}catch(r){throw io(this,Ua)[Ua]-=1,r}return{abort:()=>{n||(n=!0,io(this,Ua)[Ua]-=1,t(),io(this,Lg)[Lg]())},done:()=>{n||(n=!0,io(this,Ua)[Ua]-=1,io(this,Lg)[Lg]())}}}function AJ(){queueMicrotask(()=>io(this,u4)[u4]())}function OJ(){if(io(this,Ua)[Ua]>=this.limit)return;if(io(this,da)[da].length===0)return;const e=io(this,da)[da].shift(),t=io(this,Pg)[Pg](e.fn);e.abort=t.abort,e.done=t.done}function xJ(e,t){t===void 0&&(t={});const n={fn:e,priority:t.priority||0,abort:()=>{io(this,c4)[c4](n)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},r=io(this,da)[da].findIndex(i=>n.priority>i.priority);return r===-1?io(this,da)[da].push(n):io(this,da)[da].splice(r,0,n),n}function CJ(e){const t=io(this,da)[da].indexOf(e);t!==-1&&io(this,da)[da].splice(t,1)}var SJ={RateLimitedQueue:class{constructor(e){Object.defineProperty(this,c4,{value:CJ}),Object.defineProperty(this,l4,{value:xJ}),Object.defineProperty(this,u4,{value:OJ}),Object.defineProperty(this,Lg,{value:AJ}),Object.defineProperty(this,Pg,{value:wJ}),Object.defineProperty(this,Ua,{writable:!0,value:0}),Object.defineProperty(this,da,{writable:!0,value:[]}),this.limit=typeof e!="number"||e===0?1/0:e}run(e,t){return io(this,Ua)[Ua]<this.limit?io(this,Pg)[Pg](e):io(this,l4)[l4](e,t)}wrapPromiseFunction(e,t){var n=this;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];let a;const s=new Promise((u,l)=>{a=n.run(()=>{let c,d;try{d=Promise.resolve(e(...i))}catch(p){d=Promise.reject(p)}return d.then(p=>{c?l(c):(a.done(),u(p))},p=>{c?l(c):(a.done(),l(p))}),()=>{c=EJ()}},t)});return s.abort=()=>{a.abort()},s}}},internalRateLimitedQueue:Symbol("__queue")},dN,hN,pN=function(e){return!!e&&(e.readyState!==0&&e.readyState!==4||e.status===0)},TJ={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};const{nanoid:DJ}=q8,{Provider:RJ,RequestClient:NJ,Socket:IJ}=mJ,{RateLimitedQueue:PJ,internalRateLimitedQueue:f4}=SJ;function gN(e,t){let n=t;return n||(n=new Error("Upload error")),typeof n=="string"&&(n=new Error(n)),n instanceof Error||(n=Object.assign(new Error("Upload error"),{data:n})),pN(e)?(n=new r4(n,e),n):(n.request=e,n)}function mN(e){return e.data.slice(0,e.data.size,e.meta.type)}var LJ=(hN=dN=class extends n4{constructor(e,t){super(e,t),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=TJ;const n={formData:!0,fieldName:t.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:"",getResponseData(r){let i={};try{i=JSON.parse(r)}catch(o){e.log(o)}return i},getResponseError(r,i){let o=new Error("Upload error");return pN(i)&&(o=new r4(o,i)),o},validateStatus:r=>r>=200&&r<300};if(this.opts=at(at({},n),t),this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),f4 in this.opts?this.requests=this.opts[f4]:this.requests=new PJ(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null)}getOptions(e){const t=this.uppy.getState().xhrUpload,{headers:n}=this.opts,r=at(at(at(at({},this.opts),t||{}),e.xhrUpload||{}),{headers:{}});return typeof n=="function"?r.headers=n(e):Object.assign(r.headers,this.opts.headers),t&&Object.assign(r.headers,t.headers),e.xhrUpload&&Object.assign(r.headers,e.xhrUpload.headers),r}addMetadata(e,t,n){(Array.isArray(n.metaFields)?n.metaFields:Object.keys(t)).forEach(r=>{e.append(r,t[r])})}createFormDataUpload(e,t){const n=new FormData;this.addMetadata(n,e.meta,t);const r=mN(e);return e.name?n.append(t.fieldName,r,e.meta.name):n.append(t.fieldName,r),n}createBundledUpload(e,t){const n=new FormData,{meta:r}=this.uppy.getState();return this.addMetadata(n,r,t),e.forEach(i=>{const o=this.getOptions(i),a=mN(i);i.name?n.append(o.fieldName,a,i.name):n.append(o.fieldName,a)}),n}upload(e,t,n){const r=this.getOptions(e);return this.uppy.log(`uploading ${t} of ${n}`),new Promise((i,o)=>{this.uppy.emit("upload-started",e);const a=r.formData?this.createFormDataUpload(e,r):e.data,s=new XMLHttpRequest;this.uploaderEvents[e.id]=new cN(this.uppy);const u=new fN(r.timeout,()=>{s.abort(),c.done();const d=new Error(this.i18n("timedOut",{seconds:Math.ceil(r.timeout/1e3)}));this.uppy.emit("upload-error",e,d),o(d)}),l=DJ();s.upload.addEventListener("loadstart",()=>{this.uppy.log(`[XHRUpload] ${l} started`)}),s.upload.addEventListener("progress",d=>{this.uppy.log(`[XHRUpload] ${l} progress: ${d.loaded} / ${d.total}`),u.progress(),d.lengthComputable&&this.uppy.emit("upload-progress",e,{uploader:this,bytesUploaded:d.loaded,bytesTotal:d.total})}),s.addEventListener("load",d=>{if(this.uppy.log(`[XHRUpload] ${l} finished`),u.done(),c.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r.validateStatus(d.target.status,s.responseText,s)){const m=r.getResponseData(s.responseText,s),v=m[r.responseUrlFieldName],y={status:d.target.status,body:m,uploadURL:v};return this.uppy.emit("upload-success",e,y),v&&this.uppy.log(`Download ${e.name} from ${v}`),i(e)}const p=r.getResponseData(s.responseText,s),h=gN(s,r.getResponseError(s.responseText,s)),_={status:d.target.status,body:p};return this.uppy.emit("upload-error",e,h,_),o(h)}),s.addEventListener("error",()=>{this.uppy.log(`[XHRUpload] ${l} errored`),u.done(),c.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null);const d=gN(s,r.getResponseError(s.responseText,s));return this.uppy.emit("upload-error",e,d),o(d)}),s.open(r.method.toUpperCase(),r.endpoint,!0),s.withCredentials=r.withCredentials,r.responseType!==""&&(s.responseType=r.responseType);const c=this.requests.run(()=>{this.uppy.emit("upload-started",e);const d=this.getOptions(e);return Object.keys(d.headers).forEach(p=>{s.setRequestHeader(p,d.headers[p])}),s.send(a),()=>{u.done(),s.abort()}});this.onFileRemove(e.id,()=>{c.abort(),o(new Error("File removed"))}),this.onCancelAll(e.id,()=>{c.abort(),o(new Error("Upload cancelled"))})})}uploadRemote(e){const t=this.getOptions(e);return new Promise((n,r)=>{this.uppy.emit("upload-started",e);const i={};(Array.isArray(t.metaFields)?t.metaFields:Object.keys(e.meta)).forEach(o=>{i[o]=e.meta[o]}),new(e.remote.providerOptions.provider?RJ:NJ)(this.uppy,e.remote.providerOptions).post(e.remote.url,at(at({},e.remote.body),{endpoint:t.endpoint,size:e.data.size,fieldname:t.fieldName,metadata:i,httpMethod:t.method,useFormData:t.formData,headers:t.headers})).then(o=>{const{token:a}=o,s=function(c){const d=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(c)[1];return`${/^http:\/\//i.test(c)?"ws":"wss"}://${d}`}(e.remote.companionUrl),u=new IJ({target:`${s}/api/${a}`,autoOpen:!1});this.uploaderEvents[e.id]=new cN(this.uppy),this.onFileRemove(e.id,()=>{u.send("cancel",{}),l.abort(),n(`upload ${e.id} was removed`)}),this.onCancelAll(e.id,()=>{u.send("cancel",{}),l.abort(),n(`upload ${e.id} was canceled`)}),this.onRetry(e.id,()=>{u.send("pause",{}),u.send("resume",{})}),this.onRetryAll(e.id,()=>{u.send("pause",{}),u.send("resume",{})}),u.on("progress",c=>vJ(this,c,e)),u.on("success",c=>{const d=t.getResponseData(c.response.responseText,c.response),p=d[t.responseUrlFieldName],h={status:c.response.status,body:d,uploadURL:p};return this.uppy.emit("upload-success",e,h),l.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),n()}),u.on("error",c=>{const d=c.response,p=d?t.getResponseError(d.responseText,d):Object.assign(new Error(c.error.message),{cause:c.error});this.uppy.emit("upload-error",e,p),l.done(),this.uploaderEvents[e.id]&&(this.uploaderEvents[e.id].remove(),this.uploaderEvents[e.id]=null),r(p)});const l=this.requests.run(()=>(u.open(),e.isPaused&&u.send("pause",{}),()=>u.close()))}).catch(o=>{this.uppy.emit("upload-error",e,o),r(o)})})}uploadBundle(e){return new Promise((t,n)=>{const{endpoint:r}=this.opts,{method:i}=this.opts,o=this.uppy.getState().xhrUpload,a=this.createBundledUpload(e,at(at({},this.opts),o||{})),s=new XMLHttpRequest,u=new fN(this.opts.timeout,()=>{s.abort();const c=new Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));l(c),n(c)}),l=c=>{e.forEach(d=>{this.uppy.emit("upload-error",d,c)})};s.upload.addEventListener("loadstart",()=>{this.uppy.log("[XHRUpload] started uploading bundle"),u.progress()}),s.upload.addEventListener("progress",c=>{u.progress(),c.lengthComputable&&e.forEach(d=>{this.uppy.emit("upload-progress",d,{uploader:this,bytesUploaded:c.loaded/c.total*d.size,bytesTotal:d.size})})}),s.addEventListener("load",c=>{if(u.done(),this.opts.validateStatus(c.target.status,s.responseText,s)){const p=this.opts.getResponseData(s.responseText,s),h={status:c.target.status,body:p};return e.forEach(_=>{this.uppy.emit("upload-success",_,h)}),t()}const d=this.opts.getResponseError(s.responseText,s)||new Error("Upload error");return d.request=s,l(d),n(d)}),s.addEventListener("error",()=>{u.done();const c=this.opts.getResponseError(s.responseText,s)||new Error("Upload error");return l(c),n(c)}),this.uppy.on("cancel-all",()=>{u.done(),s.abort()}),s.open(i.toUpperCase(),r,!0),s.withCredentials=this.opts.withCredentials,this.opts.responseType!==""&&(s.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach(c=>{s.setRequestHeader(c,this.opts.headers[c])}),s.send(a),e.forEach(c=>{this.uppy.emit("upload-started",c)})})}uploadFiles(e){const t=e.map((n,r)=>{const i=parseInt(r,10)+1,o=e.length;return n.error?Promise.reject(new Error(n.error)):n.isRemote?this.uploadRemote(n,i,o):this.upload(n,i,o)});return function(n){const r=[],i=[];function o(s){r.push(s)}function a(s){i.push(s)}return Promise.all(n.map(s=>s.then(o,a))).then(()=>({successful:r,failed:i}))}(t)}onFileRemove(e,t){this.uploaderEvents[e].on("file-removed",n=>{e===n.id&&t(n.id)})}onRetry(e,t){this.uploaderEvents[e].on("upload-retry",n=>{e===n&&t()})}onRetryAll(e,t){this.uploaderEvents[e].on("retry-all",()=>{this.uppy.getFile(e)&&t()})}onCancelAll(e,t){this.uploaderEvents[e].on("cancel-all",()=>{this.uppy.getFile(e)&&t()})}handleUpload(e){if(e.length===0)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();this.opts.limit!==0||this.opts[f4]||this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");const t=e.map(n=>this.uppy.getFile(n));if(this.opts.bundle){if(t.some(n=>n.isRemote))throw new Error("Can\u2019t upload remote files when the `bundle: true` option is set");if(typeof this.opts.headers=="function")throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(t)}return this.uploadFiles(t).then(()=>null)}install(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:at(at({},e),{individualCancellation:!1})})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){const{capabilities:e}=this.uppy.getState();this.uppy.setState({capabilities:at(at({},e),{individualCancellation:!0})})}this.uppy.removeUploader(this.handleUpload)}},dN.VERSION="2.0.6",hN),vN=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof Oe!="undefined"?Oe:typeof self!="undefined"?self:{};function jg(e){var t={exports:{}};return e(t,t.exports),t.exports}var zl,Q1,Z1=function(e){return e&&e.Math==Math&&e},xt=Z1(typeof globalThis=="object"&&globalThis)||Z1(typeof window=="object"&&window)||Z1(typeof self=="object"&&self)||Z1(typeof vN=="object"&&vN)||function(){return this}()||Function("return this")(),jJ=Object.defineProperty,d4=function(e,t){try{jJ(xt,e,{value:t,configurable:!0,writable:!0})}catch(n){xt[e]=t}return t},Vl=xt["__core-js_shared__"]||d4("__core-js_shared__",{}),h4=jg(function(e){(e.exports=function(t,n){return Vl[t]||(Vl[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),yN=Function.prototype,p4=yN.bind,g4=yN.call,MJ=p4&&p4.bind(g4),$t=p4?function(e){return e&&MJ(g4,e)}:function(e){return e&&function(){return g4.apply(e,arguments)}},kJ=xt.TypeError,ps=function(e){if(e==null)throw kJ("Can't call method on "+e);return e},FJ=xt.Object,Gl=function(e){return FJ(ps(e))},BJ=$t({}.hasOwnProperty),Gi=Object.hasOwn||function(e,t){return BJ(Gl(e),t)},UJ=0,HJ=Math.random(),WJ=$t(1 .toString),m4=function(e){return"Symbol("+(e===void 0?"":e)+")_"+WJ(++UJ+HJ,36)},Rr=function(e){return typeof e=="function"},zJ=function(e){return Rr(e)?e:void 0},wf=function(e,t){return arguments.length<2?zJ(xt[e]):xt[e]&&xt[e][t]},ch=wf("navigator","userAgent")||"",bN=xt.process,_N=xt.Deno,EN=bN&&bN.versions||_N&&_N.version,wN=EN&&EN.v8;wN&&(Q1=(zl=wN.split("."))[0]>0&&zl[0]<4?1:+(zl[0]+zl[1])),!Q1&&ch&&(!(zl=ch.match(/Edge\/(\d+)/))||zl[1]>=74)&&(zl=ch.match(/Chrome\/(\d+)/))&&(Q1=+zl[1]);var Mg=Q1,_r=function(e){try{return!!e()}catch(t){return!0}},v4=!!Object.getOwnPropertySymbols&&!_r(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Mg&&Mg<41}),y4=v4&&!Symbol.sham&&typeof Symbol.iterator=="symbol",kg=h4("wks"),Af=xt.Symbol,AN=Af&&Af.for,VJ=y4?Af:Af&&Af.withoutSetter||m4,hi=function(e){if(!Gi(kg,e)||!v4&&typeof kg[e]!="string"){var t="Symbol."+e;v4&&Gi(Af,e)?kg[e]=Af[e]:kg[e]=y4&&AN?AN(t):VJ(t)}return kg[e]},ON={};ON[hi("toStringTag")]="z";var b4=String(ON)==="[object z]",xo=!_r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Gr=function(e){return typeof e=="object"?e!==null:Rr(e)},_4=xt.document,GJ=Gr(_4)&&Gr(_4.createElement),Fg=function(e){return GJ?_4.createElement(e):{}},xN=!xo&&!_r(function(){return Object.defineProperty(Fg("div"),"a",{get:function(){return 7}}).a!=7}),YJ=xt.String,KJ=xt.TypeError,Yi=function(e){if(Gr(e))return e;throw KJ(YJ(e)+" is not an object")},Bg=Function.prototype.call,ar=Bg.bind?Bg.bind(Bg):function(){return Bg.apply(Bg,arguments)},Of=$t({}.isPrototypeOf),XJ=xt.Object,E4=y4?function(e){return typeof e=="symbol"}:function(e){var t=wf("Symbol");return Rr(t)&&Of(t.prototype,XJ(e))},JJ=xt.String,q1=function(e){try{return JJ(e)}catch(t){return"Object"}},QJ=xt.TypeError,Yl=function(e){if(Rr(e))return e;throw QJ(q1(e)+" is not a function")},xf=function(e,t){var n=e[t];return n==null?void 0:Yl(n)},ZJ=xt.TypeError,qJ=xt.TypeError,$J=hi("toPrimitive"),w4=function(e){var t=function(n,r){if(!Gr(n)||E4(n))return n;var i,o=xf(n,$J);if(o){if(r===void 0&&(r="default"),i=ar(o,n,r),!Gr(i)||E4(i))return i;throw qJ("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&Rr(u=a.toString)&&!Gr(l=ar(u,a)))return l;if(Rr(u=a.valueOf)&&!Gr(l=ar(u,a)))return l;if(s!=="string"&&Rr(u=a.toString)&&!Gr(l=ar(u,a)))return l;throw ZJ("Can't convert object to primitive value")}(n,r)}(e,"string");return E4(t)?t:t+""},eQ=xt.TypeError,CN=Object.defineProperty,Ws={f:xo?CN:function(e,t,n){if(Yi(e),t=w4(t),Yi(n),xN)try{return CN(e,t,n)}catch(r){}if("get"in n||"set"in n)throw eQ("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},$1=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},zs=xo?function(e,t,n){return Ws.f(e,t,$1(1,n))}:function(e,t,n){return e[t]=n,e},tQ=$t(Function.toString);Rr(Vl.inspectSource)||(Vl.inspectSource=function(e){return tQ(e)});var ey,Ug,ty,ny=Vl.inspectSource,SN=xt.WeakMap,TN=Rr(SN)&&/native code/.test(ny(SN)),DN=h4("keys"),A4=function(e){return DN[e]||(DN[e]=m4(e))},ry={},O4=xt.TypeError,nQ=xt.WeakMap;if(TN||Vl.state){var Cf=Vl.state||(Vl.state=new nQ),rQ=$t(Cf.get),RN=$t(Cf.has),iQ=$t(Cf.set);ey=function(e,t){if(RN(Cf,e))throw new O4("Object already initialized");return t.facade=e,iQ(Cf,e,t),t},Ug=function(e){return rQ(Cf,e)||{}},ty=function(e){return RN(Cf,e)}}else{var fh=A4("state");ry[fh]=!0,ey=function(e,t){if(Gi(e,fh))throw new O4("Object already initialized");return t.facade=e,zs(e,fh,t),t},Ug=function(e){return Gi(e,fh)?e[fh]:{}},ty=function(e){return Gi(e,fh)}}var $o={set:ey,get:Ug,has:ty,enforce:function(e){return ty(e)?Ug(e):ey(e,{})},getterFor:function(e){return function(t){var n;if(!Gr(t)||(n=Ug(t)).type!==e)throw O4("Incompatible receiver, "+e+" required");return n}}},NN=Function.prototype,oQ=xo&&Object.getOwnPropertyDescriptor,x4=Gi(NN,"name"),dh={EXISTS:x4,PROPER:x4&&function(){}.name==="something",CONFIGURABLE:x4&&(!xo||xo&&oQ(NN,"name").configurable)},wa=jg(function(e){var t=dh.CONFIGURABLE,n=$o.get,r=$o.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Rr(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Gi(s,"name")||t&&s.name!==h)&&zs(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==xt?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:zs(o,a,s)):d?o[a]=s:d4(a,s)})(Function.prototype,"toString",function(){return Rr(this)&&n(this).source||ny(this)})}),aQ=$t({}.toString),sQ=$t("".slice),Vs=function(e){return sQ(aQ(e),8,-1)},uQ=hi("toStringTag"),lQ=xt.Object,cQ=Vs(function(){return arguments}())=="Arguments",iy=b4?Vs:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=lQ(e),uQ))=="string"?n:cQ?Vs(t):(r=Vs(t))=="Object"&&Rr(t.callee)?"Arguments":r},fQ=b4?{}.toString:function(){return"[object "+iy(this)+"]"};b4||wa(Object.prototype,"toString",fQ,{unsafe:!0});var oy={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},C4=Fg("span").classList,IN=C4&&C4.constructor&&C4.constructor.prototype,PN=IN===Object.prototype?void 0:IN,LN=$t($t.bind),Sf=function(e,t){return Yl(e),t===void 0?e:LN?LN(e,t):function(){return e.apply(t,arguments)}},S4=xt.Object,dQ=$t("".split),ay=_r(function(){return!S4("z").propertyIsEnumerable(0)})?function(e){return Vs(e)=="String"?dQ(e,""):S4(e)}:S4,hQ=Math.ceil,pQ=Math.floor,Hg=function(e){var t=+e;return t!=t||t===0?0:(t>0?pQ:hQ)(t)},gQ=Math.min,hh=function(e){return e>0?gQ(Hg(e),9007199254740991):0},Tf=function(e){return hh(e.length)},sy=Array.isArray||function(e){return Vs(e)=="Array"},jN=function(){},mQ=[],MN=wf("Reflect","construct"),T4=/^\s*(?:class|function)\b/,vQ=$t(T4.exec),yQ=!T4.exec(jN),Wg=function(e){if(!Rr(e))return!1;try{return MN(jN,mQ,e),!0}catch(t){return!1}},uy=!MN||_r(function(){var e;return Wg(Wg.call)||!Wg(Object)||!Wg(function(){e=!0})||e})?function(e){if(!Rr(e))return!1;switch(iy(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return yQ||!!vQ(T4,ny(e))}:Wg,bQ=hi("species"),kN=xt.Array,FN=function(e,t){return new(function(n){var r;return sy(n)&&(r=n.constructor,(uy(r)&&(r===kN||sy(r.prototype))||Gr(r)&&(r=r[bQ])===null)&&(r=void 0)),r===void 0?kN:r}(e))(t===0?0:t)},BN=$t([].push),Kl=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,_=Gl(u),m=ay(_),v=Sf(l,c),y=Tf(m),g=0,S=d||FN,R=t?S(u,y):n||a?S(u,0):void 0;y>g;g++)if((s||g in m)&&(h=v(p=m[g],g,_),e))if(t)R[g]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:BN(R,p)}else switch(e){case 4:return!1;case 7:BN(R,p)}return o?-1:r||i?i:R}},ph={forEach:Kl(0),map:Kl(1),filter:Kl(2),some:Kl(3),every:Kl(4),find:Kl(5),findIndex:Kl(6),filterReject:Kl(7)},UN=function(e,t){var n=[][e];return!!n&&_r(function(){n.call(null,t||function(){throw 1},1)})},_Q=ph.forEach,D4=UN("forEach")?[].forEach:function(e){return _Q(this,e,arguments.length>1?arguments[1]:void 0)},HN=function(e){if(e&&e.forEach!==D4)try{zs(e,"forEach",D4)}catch(t){e.forEach=D4}};for(var R4 in oy)oy[R4]&&HN(xt[R4]&&xt[R4].prototype);HN(PN);var WN={}.propertyIsEnumerable,zN=Object.getOwnPropertyDescriptor,EQ=zN&&!WN.call({1:2},1)?function(e){var t=zN(this,e);return!!t&&t.enumerable}:WN,VN={f:EQ},Xl=function(e){return ay(ps(e))},GN=Object.getOwnPropertyDescriptor,zg={f:xo?GN:function(e,t){if(e=Xl(e),t=w4(t),xN)try{return GN(e,t)}catch(n){}if(Gi(e,t))return $1(!ar(VN.f,e,t),e[t])}},wQ=Math.max,AQ=Math.min,gh=function(e,t){var n=Hg(e);return n<0?wQ(n+t,0):AQ(n,t)},YN=function(e){return function(t,n,r){var i,o=Xl(t),a=Tf(o),s=gh(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},KN={includes:YN(!0),indexOf:YN(!1)},OQ=KN.indexOf,XN=$t([].push),JN=function(e,t){var n,r=Xl(e),i=0,o=[];for(n in r)!Gi(ry,n)&&Gi(r,n)&&XN(o,n);for(;t.length>i;)Gi(r,n=t[i++])&&(~OQ(o,n)||XN(o,n));return o},ly=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xQ=ly.concat("length","prototype"),Vg={f:Object.getOwnPropertyNames||function(e){return JN(e,xQ)}},QN={f:Object.getOwnPropertySymbols},CQ=$t([].concat),SQ=wf("Reflect","ownKeys")||function(e){var t=Vg.f(Yi(e)),n=QN.f;return n?CQ(t,n(e)):t},TQ=function(e,t){for(var n=SQ(t),r=Ws.f,i=zg.f,o=0;o<n.length;o++){var a=n[o];Gi(e,a)||r(e,a,i(t,a))}},DQ=/#|\.prototype\./,Gg=function(e,t){var n=NQ[RQ(e)];return n==PQ||n!=IQ&&(Rr(t)?_r(t):!!t)},RQ=Gg.normalize=function(e){return String(e).replace(DQ,".").toLowerCase()},NQ=Gg.data={},IQ=Gg.NATIVE="N",PQ=Gg.POLYFILL="P",Yg=Gg,LQ=zg.f,pi=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?xt:l?xt[s]||d4(s,{}):(xt[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=LQ(n,r))&&a.value:n[r],!Yg(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;TQ(o,i)}(e.sham||i&&i.sham)&&zs(o,"sham",!0),wa(n,r,o,e)}},mh=Object.keys||function(e){return JN(e,ly)},jQ=_r(function(){mh(1)});/*!
|
|
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
|
*
|
|
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
|
* Released under the MIT License.
|
|
|
*/function ZN(e){return Object.prototype.toString.call(e)==="[object Object]"}pi({target:"Object",stat:!0,forced:jQ},{keys:function(e){return mh(Gl(e))}});var MQ={isHistory(e){return ZN(t=e)!==!1&&((n=t.constructor)===void 0||ZN(r=n.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(e.redos.length===0||jl.isOperationList(e.redos[0]))&&(e.undos.length===0||jl.isOperationList(e.undos[0]));var t,n,r}},N4=new WeakMap,I4=new WeakMap,vh={isHistoryEditor:e=>MQ.isHistory(e.history)&&B.isEditor(e),isMerging:e=>I4.get(e),isSaving:e=>N4.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=vh.isMerging(e);I4.set(e,!1),t(),I4.set(e,n)},withoutSaving(e,t){var n=vh.isSaving(e);N4.set(e,!1),t(),N4.set(e,n)}},kQ=xt.String,Br=function(e){if(iy(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return kQ(e)},P4=function(){var e=Yi(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},FQ=dh.PROPER,L4=RegExp.prototype,qN=L4.toString,BQ=$t(P4),UQ=_r(function(){return qN.call({source:"a",flags:"b"})!="/a/b"}),HQ=FQ&&qN.name!="toString";(UQ||HQ)&&wa(RegExp.prototype,"toString",function(){var e=Yi(this),t=Br(e.source),n=e.flags;return"/"+t+"/"+Br(n===void 0&&Of(L4,e)&&!("flags"in L4)?BQ(e):n)},{unsafe:!0});var cy,WQ=xo?Object.defineProperties:function(e,t){Yi(e);for(var n,r=Xl(t),i=mh(t),o=i.length,a=0;o>a;)Ws.f(e,n=i[a++],r[n]);return e},j4=wf("document","documentElement"),$N=A4("IE_PROTO"),M4=function(){},e6=function(e){return"<script>"+e+"</script>"},t6=function(e){e.write(e6("")),e.close();var t=e.parentWindow.Object;return e=null,t},fy=function(){try{cy=new ActiveXObject("htmlfile")}catch(r){}var e,t;fy=typeof document!="undefined"?document.domain&&cy?t6(cy):((t=Fg("iframe")).style.display="none",j4.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(e6("document.F=Object")),e.close(),e.F):t6(cy);for(var n=ly.length;n--;)delete fy.prototype[ly[n]];return fy()};ry[$N]=!0;var dy=Object.create||function(e,t){var n;return e!==null?(M4.prototype=Yi(e),n=new M4,M4.prototype=null,n[$N]=e):n=fy(),t===void 0?n:WQ(n,t)},k4=hi("unscopables"),F4=Array.prototype;F4[k4]==null&&Ws.f(F4,k4,{configurable:!0,value:dy(null)});var Kg=function(e){F4[k4][e]=!0},zQ=KN.includes;pi({target:"Array",proto:!0},{includes:function(e){return zQ(this,e,arguments.length>1?arguments[1]:void 0)}}),Kg("includes");var VQ=hi("match"),B4=function(e){var t;return Gr(e)&&((t=e[VQ])!==void 0?!!t:Vs(e)=="RegExp")},GQ=xt.TypeError,U4=function(e){if(B4(e))throw GQ("The method doesn't accept regular expressions");return e},YQ=hi("match"),H4=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[YQ]=!1,"/./"[e](t)}catch(r){}}return!1},KQ=$t("".indexOf);pi({target:"String",proto:!0,forced:!H4("includes")},{includes:function(e){return!!~KQ(Br(ps(this)),Br(U4(e)),arguments.length>1?arguments[1]:void 0)}});var XQ=/"/g,JQ=$t("".replace);pi({target:"String",proto:!0,forced:_r(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=Br(ps(this)),r="<a",(r+=' name="'+JQ(Br(t),XQ,""")+'"')+">"+n+"</a>";var t,n,r}});var W4=function(e,t,n){var r,i;Yi(e);try{if(!(r=xf(e,"return"))){if(t==="throw")throw n;return n}r=ar(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return Yi(r),n},QQ=function(e,t,n,r){try{return r?t(Yi(n)[0],n[1]):t(n)}catch(i){W4(e,"throw",i)}},yh={},ZQ=hi("iterator"),qQ=Array.prototype,n6=function(e){return e!==void 0&&(yh.Array===e||qQ[ZQ]===e)},Xg=function(e,t,n){var r=w4(t);r in e?Ws.f(e,r,$1(0,n)):e[r]=n},$Q=hi("iterator"),z4=function(e){if(e!=null)return xf(e,$Q)||xf(e,"@@iterator")||yh[iy(e)]},eZ=xt.TypeError,r6=function(e,t){var n=arguments.length<2?z4(e):t;if(Yl(n))return Yi(ar(n,e));throw eZ(q1(e)+" is not iterable")},i6=xt.Array,o6=hi("iterator"),a6=!1;try{var tZ=0,s6={next:function(){return{done:!!tZ++}},return:function(){a6=!0}};s6[o6]=function(){return this},Array.from(s6,function(){throw 2})}catch(e){}var V4=function(e,t){if(!t&&!a6)return!1;var n=!1;try{var r={};r[o6]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(i){}return n},nZ=!V4(function(e){Array.from(e)});pi({target:"Array",stat:!0,forced:nZ},{from:function(e){var t=Gl(e),n=uy(this),r=arguments.length,i=r>1?arguments[1]:void 0,o=i!==void 0;o&&(i=Sf(i,r>2?arguments[2]:void 0));var a,s,u,l,c,d,p=z4(t),h=0;if(!p||this==i6&&n6(p))for(a=Tf(t),s=n?new this(a):i6(a);a>h;h++)d=o?i(t[h],h):t[h],Xg(s,h,d);else for(c=(l=r6(t,p)).next,s=n?new this:[];!(u=ar(c,l)).done;h++)d=o?QQ(l,i,[u.value,h],!0):u.value,Xg(s,h,d);return s.length=h,s}});var Df,u6,l6,rZ=$t("".charAt),c6=$t("".charCodeAt),iZ=$t("".slice),f6=function(e){return function(t,n){var r,i,o=Br(ps(t)),a=Hg(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=c6(o,a))<55296||r>56319||a+1===s||(i=c6(o,a+1))<56320||i>57343?e?rZ(o,a):r:e?iZ(o,a,a+2):i-56320+(r-55296<<10)+65536}},d6={codeAt:f6(!1),charAt:f6(!0)},oZ=!_r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),h6=A4("IE_PROTO"),G4=xt.Object,aZ=G4.prototype,hy=oZ?G4.getPrototypeOf:function(e){var t=Gl(e);if(Gi(t,h6))return t[h6];var n=t.constructor;return Rr(n)&&t instanceof n?n.prototype:t instanceof G4?aZ:null},Y4=hi("iterator"),p6=!1;[].keys&&("next"in(l6=[].keys())?(u6=hy(hy(l6)))!==Object.prototype&&(Df=u6):p6=!0);var sZ=Df==null||_r(function(){var e={};return Df[Y4].call(e)!==e});sZ&&(Df={}),Rr(Df[Y4])||wa(Df,Y4,function(){return this});var K4={IteratorPrototype:Df,BUGGY_SAFARI_ITERATORS:p6},uZ=Ws.f,g6=hi("toStringTag"),py=function(e,t,n){e&&!Gi(e=n?e:e.prototype,g6)&&uZ(e,g6,{configurable:!0,value:t})},lZ=K4.IteratorPrototype,cZ=function(){return this},fZ=xt.String,dZ=xt.TypeError,bh=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=$t(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return Yi(r),function(o){if(typeof o=="object"||Rr(o))return o;throw dZ("Can't set "+fZ(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),hZ=dh.PROPER,pZ=dh.CONFIGURABLE,m6=K4.IteratorPrototype,gy=K4.BUGGY_SAFARI_ITERATORS,Jg=hi("iterator"),gZ=function(){return this},X4=function(e,t,n,r,i,o,a){!function(y,g,S,R){var U=g+" Iterator";y.prototype=dy(lZ,{next:$1(1,S)}),py(y,U,!1),yh[U]=cZ}(n,t,r);var s,u,l,c=function(y){if(y===i&&m)return m;if(!gy&&y in h)return h[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,_=h[Jg]||h["@@iterator"]||i&&h[i],m=!gy&&_||c(i),v=t=="Array"&&h.entries||_;if(v&&(s=hy(v.call(new e)))!==Object.prototype&&s.next&&(hy(s)!==m6&&(bh?bh(s,m6):Rr(s[Jg])||wa(s,Jg,gZ)),py(s,d,!0)),hZ&&i=="values"&&_&&_.name!=="values"&&(pZ?zs(h,"name","values"):(p=!0,m=function(){return ar(_,this)})),i)if(u={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(l in u)(gy||p||!(l in h))&&wa(h,l,u[l]);else pi({target:t,proto:!0,forced:gy||p},u);return h[Jg]!==m&&wa(h,Jg,m,{name:i}),yh[t]=m,u},mZ=d6.charAt,vZ=$o.set,yZ=$o.getterFor("String Iterator");X4(String,"String",function(e){vZ(this,{type:"String Iterator",string:Br(e),index:0})},function(){var e,t=yZ(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=mZ(n,r),t.index+=e.length,{value:e,done:!1})});var J4,bZ=zg.f,v6=$t("".endsWith),_Z=$t("".slice),EZ=Math.min,y6=H4("endsWith"),wZ=!(y6||(J4=bZ(String.prototype,"endsWith"),!J4||J4.writable));pi({target:"String",proto:!0,forced:!wZ&&!y6},{endsWith:function(e){var t=Br(ps(this));U4(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,i=n===void 0?r:EZ(hh(n),r),o=Br(e);return v6?v6(t,o,i):_Z(t,i-o.length,i)===o}});var AZ=$t([].join),OZ=ay!=Object,xZ=UN("join",",");pi({target:"Array",proto:!0,forced:OZ||!xZ},{join:function(e){return AZ(Xl(this),e===void 0?",":e)}});var CZ=hi("species"),my=function(e){return Mg>=51||!_r(function(){var t=[];return(t.constructor={})[CZ]=function(){return{foo:1}},t[e](Boolean).foo!==1})},SZ=ph.map,TZ=my("map");pi({target:"Array",proto:!0,forced:!TZ},{map:function(e){return SZ(this,e,arguments.length>1?arguments[1]:void 0)}});var Q4=xt.RegExp,Z4=_r(function(){var e=Q4("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),DZ=Z4||_r(function(){return!Q4("a","y").sticky}),vy={BROKEN_CARET:Z4||_r(function(){var e=Q4("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:DZ,UNSUPPORTED_Y:Z4},RZ=xt.RegExp,q4=_r(function(){var e=RZ(".","s");return!(e.dotAll&&e.exec(`
|
|
|
`)&&e.flags==="s")}),NZ=xt.RegExp,$4=_r(function(){var e=NZ("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),IZ=$o.get,PZ=h4("native-string-replace",String.prototype.replace),yy=RegExp.prototype.exec,eA=yy,LZ=$t("".charAt),jZ=$t("".indexOf),MZ=$t("".replace),tA=$t("".slice),nA=function(){var e=/a/,t=/b*/g;return ar(yy,e,"a"),ar(yy,t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),b6=vy.BROKEN_CARET,rA=/()??/.exec("")[1]!==void 0;(nA||rA||b6||q4||$4)&&(eA=function(e){var t,n,r,i,o,a,s,u=this,l=IZ(u),c=Br(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=ar(eA,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=b6&&u.sticky,_=ar(P4,u),m=u.source,v=0,y=c;if(h&&(_=MZ(_,"y",""),jZ(_,"g")===-1&&(_+="g"),y=tA(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&LZ(c,u.lastIndex-1)!==`
|
|
|
`)&&(m="(?: "+m+")",y=" "+y,v++),n=new RegExp("^(?:"+m+")",_)),rA&&(n=new RegExp("^"+m+"$(?!\\s)",_)),nA&&(r=u.lastIndex),i=ar(yy,h?n:u,y),h?i?(i.input=tA(i.input,v),i[0]=tA(i[0],v),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:nA&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),rA&&i&&i.length>1&&ar(PZ,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=dy(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var Qg=eA;pi({target:"RegExp",proto:!0,forced:/./.exec!==Qg},{exec:Qg});var iA=Function.prototype,_6=iA.apply,kZ=iA.bind,E6=iA.call,oA=typeof Reflect=="object"&&Reflect.apply||(kZ?E6.bind(_6):function(){return E6.apply(_6,arguments)}),FZ=hi("species"),aA=RegExp.prototype,sA=function(e,t,n,r){var i=hi(e),o=!_r(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!_r(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[FZ]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=$t(/./[i]),u=t(i,""[e],function(l,c,d,p,h){var _=$t(l),m=c.exec;return m===Qg||m===aA.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:_(d,c,p)}:{done:!1}});wa(String.prototype,e,u[0]),wa(aA,i,u[1])}r&&zs(aA[i],"sham",!0)},BZ=d6.charAt,uA=function(e,t,n){return t+(n?BZ(e,t).length:1)},UZ=Math.floor,lA=$t("".charAt),HZ=$t("".replace),cA=$t("".slice),WZ=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,zZ=/\$([$&'`]|\d{1,2})/g,VZ=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,u=zZ;return i!==void 0&&(i=Gl(i),u=WZ),HZ(o,u,function(l,c){var d;switch(lA(c,0)){case"$":return"$";case"&":return e;case"`":return cA(t,0,n);case"'":return cA(t,a);case"<":d=i[cA(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>s){var h=UZ(p/10);return h===0?l:h<=s?r[h-1]===void 0?lA(c,1):r[h-1]+lA(c,1):l}d=r[p-1]}return d===void 0?"":d})},GZ=xt.TypeError,Zg=function(e,t){var n=e.exec;if(Rr(n)){var r=ar(n,e,t);return r!==null&&Yi(r),r}if(Vs(e)==="RegExp")return ar(Qg,e,t);throw GZ("RegExp#exec called on incompatible receiver")},fA=hi("replace"),YZ=Math.max,KZ=Math.min,XZ=$t([].concat),dA=$t([].push),w6=$t("".indexOf),A6=$t("".slice),JZ="a".replace(/./,"$0")==="$0",O6=!!/./[fA]&&/./[fA]("a","$0")==="";sA("replace",function(e,t,n){var r=O6?"$":"$0";return[function(i,o){var a=ps(this),s=i==null?void 0:xf(i,fA);return s?ar(s,i,a,o):ar(t,Br(a),i,o)},function(i,o){var a=Yi(this),s=Br(i);if(typeof o=="string"&&w6(o,r)===-1&&w6(o,"$<")===-1){var u=n(t,a,s,o);if(u.done)return u.value}var l=Rr(o);l||(o=Br(o));var c=a.global;if(c){var d=a.unicode;a.lastIndex=0}for(var p=[];;){var h=Zg(a,s);if(h===null)break;if(dA(p,h),!c)break;Br(h[0])===""&&(a.lastIndex=uA(s,hh(a.lastIndex),d))}for(var _,m="",v=0,y=0;y<p.length;y++){for(var g=Br((h=p[y])[0]),S=YZ(KZ(Hg(h.index),s.length),0),R=[],U=1;U<h.length;U++)dA(R,(_=h[U])===void 0?_:String(_));var Q=h.groups;if(l){var X=XZ([g],R,S,s);Q!==void 0&&dA(X,Q);var le=Br(oA(o,void 0,X))}else le=VZ(g,s,S,R,Q,o);S>=v&&(m+=A6(s,v,S)+le,v=S+g.length)}return m+A6(s,v)}]},!!_r(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!JZ||O6);/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */var hA=function(e,t){return hA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},hA(e,t)};function _h(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}hA(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var gs=function(){return gs=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},gs.apply(this,arguments)};function ms(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function sr(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function pA(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e}var QZ=0,x6=function(){this.id=""+QZ++},ZZ=$o.set,qZ=$o.getterFor("Array Iterator"),qg=X4(Array,"Array",function(e,t){ZZ(this,{type:"Array Iterator",target:Xl(e),index:0,kind:t})},function(){var e=qZ(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");yh.Arguments=yh.Array,Kg("keys"),Kg("values"),Kg("entries");var Eh=function(e,t,n){for(var r in t)wa(e,r,t[r],n);return e},$Z=xt.Array,eq=Math.max,gA=function(e,t,n){for(var r=Tf(e),i=gh(t,r),o=gh(n===void 0?r:n,r),a=$Z(eq(o-i,0)),s=0;i<o;i++,s++)Xg(a,s,e[i]);return a.length=s,a},C6=Vg.f,S6=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],tq={f:function(e){return S6&&Vs(e)=="Window"?function(t){try{return C6(t)}catch(n){return gA(S6)}}(e):C6(Xl(e))}},T6=_r(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),by=Object.isExtensible,Rf=_r(function(){by(1)})||T6?function(e){return!!Gr(e)&&(!T6||Vs(e)!="ArrayBuffer")&&(!by||by(e))}:by,nq=!_r(function(){return Object.isExtensible(Object.preventExtensions({}))}),_y=jg(function(e){var t=Ws.f,n=!1,r=m4("meta"),i=0,o=function(s){t(s,r,{value:{objectID:"O"+i++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=Vg.f,u=$t([].splice),l={};l[r]=1,s(l).length&&(Vg.f=function(c){for(var d=s(c),p=0,h=d.length;p<h;p++)if(d[p]===r){u(d,p,1);break}return d},pi({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:tq.f}))},fastKey:function(s,u){if(!Gr(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!Gi(s,r)){if(!Rf(s))return"F";if(!u)return"E";o(s)}return s[r].objectID},getWeakData:function(s,u){if(!Gi(s,r)){if(!Rf(s))return!0;if(!u)return!1;o(s)}return s[r].weakData},onFreeze:function(s){return nq&&n&&Rf(s)&&!Gi(s,r)&&o(s),s}};ry[r]=!0}),rq=xt.TypeError,Ey=function(e,t){this.stopped=e,this.result=t},D6=Ey.prototype,$g=function(e,t,n){var r,i,o,a,s,u,l,c=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),_=Sf(t,c),m=function(y){return r&&W4(r,"normal",y),new Ey(!0,y)},v=function(y){return d?(Yi(y),h?_(y[0],y[1],m):_(y[0],y[1])):h?_(y,m):_(y)};if(p)r=e;else{if(!(i=z4(e)))throw rq(q1(e)+" is not iterable");if(n6(i)){for(o=0,a=Tf(e);a>o;o++)if((s=v(e[o]))&&Of(D6,s))return s;return new Ey(!1)}r=r6(e,i)}for(u=r.next;!(l=ar(u,r)).done;){try{s=v(l.value)}catch(y){W4(r,"throw",y)}if(typeof s=="object"&&s&&Of(D6,s))return s}return new Ey(!1)},iq=xt.TypeError,wy=function(e,t){if(Of(t,e))return e;throw iq("Incorrect invocation")},R6=function(e,t,n){var r,i;return bh&&Rr(r=t.constructor)&&r!==n&&Gr(i=r.prototype)&&i!==n.prototype&&bh(e,i),e},N6=function(e,t,n){var r=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=r?"set":"add",a=xt[e],s=a&&a.prototype,u=a,l={},c=function(v){var y=$t(s[v]);wa(s,v,v=="add"?function(g){return y(this,g===0?0:g),this}:v=="delete"?function(g){return!(i&&!Gr(g))&&y(this,g===0?0:g)}:v=="get"?function(g){return i&&!Gr(g)?void 0:y(this,g===0?0:g)}:v=="has"?function(g){return!(i&&!Gr(g))&&y(this,g===0?0:g)}:function(g,S){return y(this,g===0?0:g,S),this})};if(Yg(e,!Rr(a)||!(i||s.forEach&&!_r(function(){new a().entries().next()}))))u=n.getConstructor(t,e,r,o),_y.enable();else if(Yg(e,!0)){var d=new u,p=d[o](i?{}:-0,1)!=d,h=_r(function(){d.has(1)}),_=V4(function(v){new a(v)}),m=!i&&_r(function(){for(var v=new a,y=5;y--;)v[o](y,y);return!v.has(-0)});_||((u=t(function(v,y){wy(v,s);var g=R6(new a,v,u);return y!=null&&$g(y,g[o],{that:g,AS_ENTRIES:r}),g})).prototype=s,s.constructor=u),(h||m)&&(c("delete"),c("has"),r&&c("get")),(m||p)&&c(o),i&&s.clear&&delete s.clear}return l[e]=u,pi({global:!0,forced:u!=a},l),py(u,e),i||n.setStrong(u,e,r),u},Ay=_y.getWeakData,oq=$o.set,aq=$o.getterFor,sq=ph.find,uq=ph.findIndex,lq=$t([].splice),cq=0,Oy=function(e){return e.frozen||(e.frozen=new I6)},I6=function(){this.entries=[]},mA=function(e,t){return sq(e.entries,function(n){return n[0]===t})};I6.prototype={get:function(e){var t=mA(this,e);if(t)return t[1]},has:function(e){return!!mA(this,e)},set:function(e,t){var n=mA(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=uq(this.entries,function(n){return n[0]===e});return~t&&lq(this.entries,t,1),!!~t}};var em,P6={getConstructor:function(e,t,n,r){var i=e(function(u,l){wy(u,o),oq(u,{type:t,id:cq++,frozen:void 0}),l!=null&&$g(l,u[r],{that:u,AS_ENTRIES:n})}),o=i.prototype,a=aq(t),s=function(u,l,c){var d=a(u),p=Ay(Yi(l),!0);return p===!0?Oy(d).set(l,c):p[d.id]=c,u};return Eh(o,{delete:function(u){var l=a(this);if(!Gr(u))return!1;var c=Ay(u);return c===!0?Oy(l).delete(u):c&&Gi(c,l.id)&&delete c[l.id]},has:function(u){var l=a(this);if(!Gr(u))return!1;var c=Ay(u);return c===!0?Oy(l).has(u):c&&Gi(c,l.id)}}),Eh(o,n?{get:function(u){var l=a(this);if(Gr(u)){var c=Ay(u);return c===!0?Oy(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),i}},xy=$o.enforce,fq=!xt.ActiveXObject&&"ActiveXObject"in xt,L6=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},dq=N6("WeakMap",L6,P6);if(TN&&fq){em=P6.getConstructor(L6,"WeakMap",!0),_y.enable();var tm=dq.prototype,j6=$t(tm.delete),Cy=$t(tm.has),M6=$t(tm.get),k6=$t(tm.set);Eh(tm,{delete:function(e){if(Gr(e)&&!Rf(e)){var t=xy(this);return t.frozen||(t.frozen=new em),j6(this,e)||t.frozen.delete(e)}return j6(this,e)},has:function(e){if(Gr(e)&&!Rf(e)){var t=xy(this);return t.frozen||(t.frozen=new em),Cy(this,e)||t.frozen.has(e)}return Cy(this,e)},get:function(e){if(Gr(e)&&!Rf(e)){var t=xy(this);return t.frozen||(t.frozen=new em),Cy(this,e)?M6(this,e):t.frozen.get(e)}return M6(this,e)},set:function(e,t){if(Gr(e)&&!Rf(e)){var n=xy(this);n.frozen||(n.frozen=new em),Cy(this,e)?k6(this,e,t):n.frozen.set(e,t)}else k6(this,e,t);return this}})}var vA=hi("iterator"),F6=hi("toStringTag"),yA=qg.values,B6=function(e,t){if(e){if(e[vA]!==yA)try{zs(e,vA,yA)}catch(r){e[vA]=yA}if(e[F6]||zs(e,F6,t),oy[t]){for(var n in qg)if(e[n]!==qg[n])try{zs(e,n,qg[n])}catch(r){e[n]=qg[n]}}}};for(var bA in oy)B6(xt[bA]&&xt[bA].prototype,bA);B6(PN,"DOMTokenList");var _A=new WeakMap,EA=new WeakMap,wA=new WeakMap,Sy=new WeakMap,AA=new WeakMap,Ty=new WeakMap,OA=new WeakMap,xA=new WeakMap,Dy=new WeakMap,U6=new WeakMap,H6=new WeakMap,W6=new WeakMap,z6=new WeakMap,nm=new WeakMap,wh=new WeakMap,CA=new WeakMap,Ry=new WeakMap,SA=new WeakMap,Ny=new WeakMap,Iy=new WeakMap,V6=new WeakMap,Nf=new WeakMap,TA=new WeakMap,G6=new WeakMap,DA=new WeakMap,hq=ph.find,Y6=!0;"find"in[]&&Array(1).find(function(){Y6=!1}),pi({target:"Array",proto:!0,forced:Y6},{find:function(e){return hq(this,e,arguments.length>1?arguments[1]:void 0)}}),Kg("find"),pi({global:!0},{globalThis:xt});const pq=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];M1&&(ve.fn.css=M1),fs&&(ve.fn.append=fs),Qd&&(ve.fn.addClass=Qd),Zd&&(ve.fn.removeClass=Zd),qd&&(ve.fn.hasClass=qd),mu&&(ve.fn.on=mu),Fl&&(ve.fn.focus=Fl),cs&&(ve.fn.attr=cs),I1&&(ve.fn.removeAttr=I1),eh&&(ve.fn.hide=eh),j1&&(ve.fn.show=j1),Q7&&(ve.fn.offset=Q7),P1&&(ve.fn.width=P1),L1&&(ve.fn.height=L1),th&&(ve.fn.parent=th),B1&&(ve.fn.parents=B1),q7&&(ve.fn.is=q7),$d&&(ve.fn.dataset=$d),gu&&(ve.fn.val=gu),F1&&(ve.fn.text=F1),kl&&(ve.fn.html=kl),rh&&(ve.fn.children=rh),ih&&(ve.fn.remove=ih),nh&&(ve.fn.find=nh),k1&&(ve.fn.each=k1),oh&&(ve.fn.empty=oh);var Eu,ea,RA=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null},Gs=function(e){return If(e)&&e.nodeType===1},If=function(e){var t=RA(e);return!!t&&e instanceof t.Node},K6=function(e){var t=e&&e.anchorNode&&RA(e.anchorNode);return!!t&&e instanceof t.Selection},X6=function(e){return If(e)&&e.nodeType===3},NA=function(e){var t,n,r;return(t=window.document.getElementById(e))!==null&&t!==void 0?t:((r=(n=window.document.activeElement)===null||n===void 0?void 0:n.shadowRoot)===null||r===void 0?void 0:r.getElementById(e))||null},J6=function(e,t,n){for(var r,i=e.childNodes,o=i[t],a=t,s=!1,u=!1;(If(r=o)&&r.nodeType===8||Gs(o)&&o.childNodes.length===0||Gs(o)&&o.getAttribute("contenteditable")==="false")&&(!s||!u);)a>=i.length?(s=!0,a=t-1,n="backward"):a<0?(u=!0,a=t+1,n="forward"):(o=i[a],t=a,a+=n==="forward"?1:-1);return[o,t]},gq=function(e,t,n){return sr(J6(e,t,n),1)[0]},mq=function e(t){var n,r,i="";if(X6(t)&&t.nodeValue)return t.nodeValue;if(Gs(t)){try{for(var o=ms(Array.from(t.childNodes)),a=o.next();!a.done;a=o.next())i+=e(a.value)}catch(u){n={error:u}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}var s=getComputedStyle(t).getPropertyValue("display");s!=="block"&&s!=="list"&&s!=="table-row"&&t.tagName!=="BR"||(i+=`
|
|
|
`)}return i};function Q6(e,t){if(!(e instanceof HTMLElement&&e.dataset.slateVoid==="true"))for(var n=e.childNodes,r=n.length;r--;){var i=n[r],o=i.nodeType;o==3?t(i,e):o!=1&&o!=9&&o!=11||Q6(i,t)}}function Z6(e){if(e.length===0)return"";var t=e[0];return t.nodeType!==Eu.ELEMENT_NODE?"":t.tagName.toLowerCase()}(ea=Eu||(Eu={}))[ea.ELEMENT_NODE=1]="ELEMENT_NODE",ea[ea.TEXT_NODE=3]="TEXT_NODE",ea[ea.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",ea[ea.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",ea[ea.COMMENT_NODE=8]="COMMENT_NODE",ea[ea.DOCUMENT_NODE=9]="DOCUMENT_NODE",ea[ea.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",ea[ea.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",globalThis.navigator!==void 0&&globalThis.window!==void 0&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var IA=typeof navigator!="undefined"&&/Mac OS X/.test(navigator.userAgent),rm=typeof navigator!="undefined"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);typeof navigator!="undefined"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var im=typeof navigator!="undefined"&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),vq=typeof navigator!="undefined"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),yq=typeof navigator!="undefined"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),PA=typeof navigator!="undefined"&&/Chrome/i.test(navigator.userAgent);typeof navigator!="undefined"&&/.*QQBrowser/.test(navigator.userAgent);var om=!yq&&!vq&&typeof globalThis!="undefined"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",ae={getWindow:function(e){var t=V6.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey:function(e,t){var n=Iy.get(t);return n||(n=new x6,Iy.set(t,n)),n},setNewKey:function(e){var t=new x6;Iy.set(e,t)},findPath:function(e,t){for(var n=[],r=t;;){var i=wh.get(r);if(i==null){if(B.isEditor(r))return n;break}var o=nm.get(r);if(o==null)break;n.unshift(o),r=i}throw new Error("Unable to find the path for Slate node: "+JSON.stringify(t))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=ae.toDOMNode(e,e),n=t.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&n.getSelection!=null?n:t.ownerDocument},getParentNode:function(e,t){return wh.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&r!=null;){var i=ae.getParentNode(e,r);if(i==null)break;n.push(i),r=i}return n},getTopNode:function(e,t){var n=[ae.findPath(e,t)[0]];return Tt.get(e,n)},toDOMNode:function(e,t){var n;if(B.isEditor(t))n=CA.get(e);else{var r=ae.findKey(e,t);n=SA.get(r)}if(!n)throw new Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(t));return n},hasDOMNode:function(e,t,n){n===void 0&&(n={});var r,i=n.editable,o=i!==void 0&&i,a=ae.toDOMNode(e,e);try{r=Gs(t)?t:t.parentElement}catch(s){if(!s.message.includes('Permission denied to access property "nodeType"'))throw s}return!!r&&r.closest("[data-slate-editor]")===a&&(!o||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,i=Je.isBackward(t),o=ae.toDOMPoint(e,n),a=Je.isCollapsed(t)?o:ae.toDOMPoint(e,r),s=ae.getWindow(e).document.createRange(),u=sr(i?a:o,2),l=u[0],c=u[1],d=sr(i?o:a,2),p=d[0],h=d[1],_=!!(Gs(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),m=!!(Gs(p)?p:p.parentElement).getAttribute("data-slate-zero-width");return s.setStart(l,_?1:c),s.setEnd(p,m?1:h),s},toDOMPoint:function(e,t){var n,r,i,o=sr(B.node(e,t.path),1)[0],a=ae.toDOMNode(e,o);B.void(e,{at:t})&&(t={path:t.path,offset:0});var s=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),u=0;try{for(var l=ms(s),c=l.next();!c.done;c=l.next()){var d=c.value,p=d.childNodes[0];if(p!=null&&p.textContent!=null){var h=p.textContent.length,_=d.getAttribute("data-slate-length"),m=u+(_==null?h:parseInt(_,10));if(t.offset<=m){i=[p,Math.min(h,Math.max(0,t.offset-u))];break}u=m}}}catch(v){n={error:v}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(!i)throw new Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(t));return i},toSlateNode:function(e,t){var n=Gs(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Ry.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: "+n);return r},findEventRange:function(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var n=t.clientX,r=t.clientY,i=t.target;if(n==null||r==null)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);var o,a=ae.toSlateNode(e,t.target),s=ae.findPath(e,a);if(B.isVoid(e,a)){var u=i.getBoundingClientRect(),l=e.isInline(a)?n-u.left<u.left+u.width-n:r-u.top<u.top+u.height-r,c=B.point(e,s,{edge:l?"start":"end"}),d=l?B.before(e,c):B.after(e,c);if(d)return B.range(e,d)}var p=this.getWindow(e).document;if(p.caretRangeFromPoint)o=p.caretRangeFromPoint(n,r);else{var h=p.caretPositionFromPoint(n,r);h&&((o=p.createRange()).setStart(h.offsetNode,h.offset),o.setEnd(h.offsetNode,h.offset))}if(!o)throw new Error("Cannot resolve a Slate range from a DOM event: "+t);return ae.toSlateRange(e,o,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(e,t,n){var r,i,o,a,s,u=n.exactMatch,l=n.suppressThrow;if((K6(t)?t.anchorNode:t.startContainer)&&(K6(t)?(r=t.anchorNode,i=t.anchorOffset,o=t.focusNode,a=t.focusOffset,s=PA&&window.document.activeElement&&window.document.activeElement.shadowRoot?t.anchorNode===t.focusNode&&t.anchorOffset===t.focusOffset:t.isCollapsed):(r=t.startContainer,i=t.startOffset,o=t.endContainer,a=t.endOffset,s=t.collapsed)),r==null||o==null||i==null||a==null)throw new Error("Cannot resolve a Slate range from DOM range: "+t);var c=ae.toSlatePoint(e,[r,i],{exactMatch:u,suppressThrow:l});if(!c)return null;var d=s?c:ae.toSlatePoint(e,[o,a],{exactMatch:u,suppressThrow:l});if(!d)return null;var p={anchor:c,focus:d};return Je.isExpanded(p)&&Je.isForward(p)&&Gs(o)&&B.void(e,{at:p.focus,mode:"highest"})&&(p=B.unhangRange(e,p,{voids:!0})),p},toSlatePoint:function(e,t,n){var r,i=n.exactMatch,o=n.suppressThrow,a=sr(i?t:function(g){var S,R=sr(g,2),U=R[0],Q=R[1];if(Gs(U)&&U.childNodes.length){var X=Q===U.childNodes.length,le=X?Q-1:Q;for(U=(S=sr(J6(U,le,X?"backward":"forward"),2))[0],X=(le=S[1])<Q;Gs(U)&&U.childNodes.length;){var xe=X?U.childNodes.length-1:0;U=gq(U,xe,X?"backward":"forward")}Q=X&&U.textContent!=null?U.textContent.length:0}return[U,Q]}(t),2),s=a[0],u=a[1],l=s.parentNode,c=null,d=0;if(l){var p=l.closest('[data-slate-void="true"]'),h=l.closest("[data-slate-leaf]"),_=null;if(h){c=h.closest('[data-slate-node="text"]');var m=ae.getWindow(e).document.createRange();m.setStart(c,0),m.setEnd(s,u);var v=m.cloneContents();pA(pA([],sr(G7(v.querySelectorAll("[data-slate-zero-width]")))),sr(G7(v.querySelectorAll("[contenteditable=false]")))).forEach(function(g){g.parentNode.removeChild(g)}),d=v.textContent.length,_=c}else p&&((h=p.querySelector("[data-slate-leaf]"))?(c=h.closest('[data-slate-node="text"]'),d=(_=h).textContent.length,_.querySelectorAll("[data-slate-zero-width]").forEach(function(g){d-=g.textContent.length})):d=1);_&&d===_.textContent.length&&(l.hasAttribute("data-slate-zero-width")||rm&&((r=_.textContent)===null||r===void 0?void 0:r.endsWith(`
|
|
|
`)))&&d--}if(!c){if(o)return null;throw new Error("Cannot resolve a Slate point from DOM point: "+t)}var y=ae.toSlateNode(e,c);return{path:ae.findPath(e,y),offset:d}},hasRange:function(e,t){var n=t.anchor,r=t.focus;return B.hasPath(e,n.path)&&B.hasPath(e,r.path)},getNodeType:function(e){return Qt.isElement(e)?e.type:""},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map(function(t){return Tt.string(t)}).join("")},getSelectedElems:function(e){var t,n,r=[],i=B.nodes(e,{universal:!0});try{for(var o=ms(i),a=o.next();!a.done;a=o.next()){var s=sr(a.value,1)[0];Qt.isElement(s)&&r.push(s)}}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},getSelectedNodeByType:function(e,t){var n=this,r=sr(B.nodes(e,{match:function(o){return n.checkNodeType(o,t)},universal:!0}),1),i=r[0];return i==null?null:i[0]},getSelectedTextNode:function(e){var t=sr(B.nodes(e,{match:function(r){return kt.isText(r)},universal:!0}),1),n=t[0];return n==null?null:n[0]},isNodeSelected:function(e,t){var n=sr(B.nodes(e,{match:function(i){return i===t},universal:!0}),1),r=n[0];return r!=null&&sr(r,1)[0]===t},isSelectionAtLineEnd:function(e,t){var n=e.selection;return!!n&&(B.isEnd(e,n.anchor,t)||B.isEnd(e,n.focus,t))},getTextarea:function(e){var t=_A.get(e);if(t==null)throw new Error("Cannot find textarea instance by editor");return t},getToolbar:function(e){return Sy.get(e)||null},getHoverbar:function(e){return Ty.get(e)||null},normalizeContent:function(e){e.children.forEach(function(t,n){e.normalizeNode([t,[n]])})},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if(typeof n!="number"||n<=0)return 1/0;var i=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return i<=0&&r&&r(e),i},cleanExposedTexNodeInSelectionBlock:function(e){var t,n,r,i,o=ae.getTextarea(e).$textArea,a=o==null?void 0:o[0].childNodes;if(a)try{for(var s=ms(Array.from(a)),u=s.next();!u.done;u=s.next()){var l=u.value;if(l.nodeType!==3)break;l.remove()}}catch(m){t={error:m}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}var c=B.nodes(e,{match:function(m){return!(!Qt.isElement(m)||e.isInline(m))},universal:!0});try{for(var d=ms(c),p=d.next();!p.done;p=d.next()){var h=p.value;if(h!=null){var _=h[0];Q6(ae.toDOMNode(e,_),function(m,v){var y=ve(v);y.attr("data-slate-string")||y.attr("data-slate-zero-width")||y.attr("data-w-e-reserve")||v.removeChild(m)})}}}catch(m){r={error:m}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(e){var t,n,r=B.nodes(e,{match:function(s){return e.isVoid(s)}}),i=0;try{for(var o=ms(r),a=o.next();!a.done;a=o.next())a.value,i++}catch(s){t={error:s}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return i>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(t==null)return!1;if(Je.isExpanded(t))return!1;var n=ae.getSelectedNodeByType(e,"paragraph");if(n===null)return!1;var r=n.children;return r.length===1&&(r[0].text===""||void 0)},isEmptyPath:function(e,t){var n=B.node(e,t);if(n==null)return!1;var r=sr(n,1)[0].children;return r.length===1&&r[0].text===""}},bq=1,q6={},am={},_q=ph.filter,Eq=my("filter");pi({target:"Array",proto:!0,forced:!Eq},{filter:function(e){return _q(this,e,arguments.length>1?arguments[1]:void 0)}});var LA=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,$6=$t("".replace),Py="["+LA+"]",wq=RegExp("^"+Py+Py+"*"),Aq=RegExp(Py+Py+"*$"),jA=function(e){return function(t){var n=Br(ps(t));return 1&e&&(n=$6(n,wq,"")),2&e&&(n=$6(n,Aq,"")),n}},Oq={start:jA(1),end:jA(2),trim:jA(3)},xq=dh.PROPER,Cq=Oq.trim;pi({target:"String",proto:!0,forced:function(e){return _r(function(){return!!LA[e]()||"\u200B\x85\u180E"[e]()!=="\u200B\x85\u180E"||xq&&LA[e].name!==e})}("trim")},{trim:function(){return Cq(this)}});var MA=[],e9={};function Sq(e,t,n){var r=n.isInline(e)?"span":"div";return"<"+r+">"+t+"</"+r+">"}var sm,Ah,t9,kA,Ly=xt.Promise,n9=hi("species"),FA=function(e){var t=wf(e),n=Ws.f;xo&&t&&!t[n9]&&n(t,n9,{configurable:!0,get:function(){return this}})},Tq=xt.TypeError,Dq=hi("species"),r9=function(e,t){var n,r=Yi(e).constructor;return r===void 0||(n=Yi(r)[Dq])==null?t:function(i){if(uy(i))return i;throw Tq(q1(i)+" is not a constructor")}(n)},i9=$t([].slice),o9=/(?:ipad|iphone|ipod).*applewebkit/i.test(ch),Jl=Vs(xt.process)=="process",BA=xt.setImmediate,UA=xt.clearImmediate,Rq=xt.process,HA=xt.Dispatch,Nq=xt.Function,a9=xt.MessageChannel,Iq=xt.String,WA=0,um={};try{sm=xt.location}catch(e){}var zA=function(e){if(Gi(um,e)){var t=um[e];delete um[e],t()}},VA=function(e){return function(){zA(e)}},s9=function(e){zA(e.data)},u9=function(e){xt.postMessage(Iq(e),sm.protocol+"//"+sm.host)};BA&&UA||(BA=function(e){var t=i9(arguments,1);return um[++WA]=function(){oA(Rr(e)?e:Nq(e),void 0,t)},Ah(WA),WA},UA=function(e){delete um[e]},Jl?Ah=function(e){Rq.nextTick(VA(e))}:HA&&HA.now?Ah=function(e){HA.now(VA(e))}:a9&&!o9?(kA=(t9=new a9).port2,t9.port1.onmessage=s9,Ah=Sf(kA.postMessage,kA)):xt.addEventListener&&Rr(xt.postMessage)&&!xt.importScripts&&sm&&sm.protocol!=="file:"&&!_r(u9)?(Ah=u9,xt.addEventListener("message",s9,!1)):Ah="onreadystatechange"in Fg("script")?function(e){j4.appendChild(Fg("script")).onreadystatechange=function(){j4.removeChild(this),zA(e)}}:function(e){setTimeout(VA(e),0)});var lm,Pf,cm,Oh,GA,YA,KA,l9,c9={set:BA,clear:UA},Pq=/ipad|iphone|ipod/i.test(ch)&&xt.Pebble!==void 0,Lq=/web0s(?!.*chrome)/i.test(ch),jq=zg.f,XA=c9.set,f9=xt.MutationObserver||xt.WebKitMutationObserver,d9=xt.document,h9=xt.process,jy=xt.Promise,p9=jq(xt,"queueMicrotask"),g9=p9&&p9.value;g9||(lm=function(){var e,t;for(Jl&&(e=h9.domain)&&e.exit();Pf;){t=Pf.fn,Pf=Pf.next;try{t()}catch(n){throw Pf?Oh():cm=void 0,n}}cm=void 0,e&&e.enter()},o9||Jl||Lq||!f9||!d9?!Pq&&jy&&jy.resolve?((KA=jy.resolve(void 0)).constructor=jy,l9=Sf(KA.then,KA),Oh=function(){l9(lm)}):Jl?Oh=function(){h9.nextTick(lm)}:(XA=Sf(XA,xt),Oh=function(){XA(lm)}):(GA=!0,YA=d9.createTextNode(""),new f9(lm).observe(YA,{characterData:!0}),Oh=function(){YA.data=GA=!GA}));var JA,m9,v9,y9,b9=g9||function(e){var t={fn:e,next:void 0};cm&&(cm.next=t),Pf||(Pf=t,Oh()),cm=t},Mq=function(e){var t,n;this.promise=new e(function(r,i){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=i}),this.resolve=Yl(t),this.reject=Yl(n)},QA={f:function(e){return new Mq(e)}},ZA=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},kq=typeof window=="object",_9=c9.set,Fq=hi("species"),wu="Promise",E9=$o.getterFor(wu),Bq=$o.set,Uq=$o.getterFor(wu),Lf=Ly&&Ly.prototype,Au=Ly,fm=Lf,w9=xt.TypeError,qA=xt.document,$A=xt.process,xh=QA.f,Hq=xh,Wq=!!(qA&&qA.createEvent&&xt.dispatchEvent),A9=Rr(xt.PromiseRejectionEvent),O9=!1,dm=Yg(wu,function(){var e=ny(Au),t=e!==String(Au);if(!t&&Mg===66)return!0;if(Mg>=51&&/native code/.test(e))return!1;var n=new Au(function(i){i(1)}),r=function(i){i(function(){},function(){})};return(n.constructor={})[Fq]=r,!(O9=n.then(function(){})instanceof r)||!t&&kq&&!A9}),zq=dm||!V4(function(e){Au.all(e).catch(function(){})}),x9=function(e){var t;return!(!Gr(e)||!Rr(t=e.then))&&t},eO=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;b9(function(){for(var r=e.value,i=e.state==1,o=0;n.length>o;){var a,s,u,l=n[o++],c=i?l.ok:l.fail,d=l.resolve,p=l.reject,h=l.domain;try{c?(i||(e.rejection===2&&Gq(e),e.rejection=1),c===!0?a=r:(h&&h.enter(),a=c(r),h&&(h.exit(),u=!0)),a===l.promise?p(w9("Promise-chain cycle")):(s=x9(a))?ar(s,a,d,p):d(a)):p(r)}catch(_){h&&!u&&h.exit(),p(_)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Vq(e)})}},C9=function(e,t,n){var r,i;Wq?((r=qA.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),xt.dispatchEvent(r)):r={promise:t,reason:n},!A9&&(i=xt["on"+e])?i(r):e==="unhandledrejection"&&function(o,a){var s=xt.console;s&&s.error&&(arguments.length==1?s.error(o):s.error(o,a))}("Unhandled promise rejection",n)},Vq=function(e){ar(_9,xt,function(){var t,n=e.facade,r=e.value;if(S9(e)&&(t=ZA(function(){Jl?$A.emit("unhandledRejection",r,n):C9("unhandledrejection",n,r)}),e.rejection=Jl||S9(e)?2:1,t.error))throw t.value})},S9=function(e){return e.rejection!==1&&!e.parent},Gq=function(e){ar(_9,xt,function(){var t=e.facade;Jl?$A.emit("rejectionHandled",t):C9("rejectionhandled",t,e.value)})},Ch=function(e,t,n){return function(r){e(t,r,n)}},Sh=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,eO(e,!0))},tO=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw w9("Promise can't be resolved itself");var r=x9(t);r?b9(function(){var i={done:!1};try{ar(r,t,Ch(tO,i,e),Ch(Sh,i,e))}catch(o){Sh(i,o,e)}}):(e.value=t,e.state=1,eO(e,!1))}catch(i){Sh({done:!1},i,e)}}};if(dm&&(fm=(Au=function(e){wy(this,fm),Yl(e),ar(JA,this);var t=E9(this);try{e(Ch(tO,t),Ch(Sh,t))}catch(n){Sh(t,n)}}).prototype,(JA=function(e){Bq(this,{type:wu,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Eh(fm,{then:function(e,t){var n=Uq(this),r=n.reactions,i=xh(r9(this,Au));return i.ok=!Rr(e)||e,i.fail=Rr(t)&&t,i.domain=Jl?$A.domain:void 0,n.parent=!0,r[r.length]=i,n.state!=0&&eO(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),m9=function(){var e=new JA,t=E9(e);this.promise=e,this.resolve=Ch(tO,t),this.reject=Ch(Sh,t)},QA.f=xh=function(e){return e===Au||e===v9?new m9(e):Hq(e)},Rr(Ly)&&Lf!==Object.prototype)){y9=Lf.then,O9||(wa(Lf,"then",function(e,t){var n=this;return new Au(function(r,i){ar(y9,n,r,i)}).then(e,t)},{unsafe:!0}),wa(Lf,"catch",fm.catch,{unsafe:!0}));try{delete Lf.constructor}catch(e){}bh&&bh(Lf,fm)}pi({global:!0,wrap:!0,forced:dm},{Promise:Au}),py(Au,wu,!1),FA(wu),v9=wf(wu),pi({target:wu,stat:!0,forced:dm},{reject:function(e){var t=xh(this);return ar(t.reject,void 0,e),t.promise}}),pi({target:wu,stat:!0,forced:dm},{resolve:function(e){return function(t,n){if(Yi(t),Gr(n)&&n.constructor===t)return n;var r=QA.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),pi({target:wu,stat:!0,forced:zq},{all:function(e){var t=this,n=xh(t),r=n.resolve,i=n.reject,o=ZA(function(){var a=Yl(t.resolve),s=[],u=0,l=1;$g(e,function(c){var d=u++,p=!1;l++,ar(a,t,c).then(function(h){p||(p=!0,s[d]=h,--l||r(s))},i)}),--l||r(s)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=xh(t),r=n.reject,i=ZA(function(){var o=Yl(t.resolve);$g(e,function(a){ar(o,t,a).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}});var Th=vy.UNSUPPORTED_Y,Yq=Math.min,T9=[].push,Kq=$t(/./.exec),Dh=$t(T9),hm=$t("".slice);function vs(e){Promise.resolve().then(e)}function D9(e,t){return Qt.isElement(e)?function(n,r){var i=n.type,o=i===void 0?"":i,a=n.children,s=a===void 0?[]:a,u=B.isVoid(r,n),l="";u||(l=s.map(function(y){return D9(y,r)}).join(""));var c=function(y){return e9[y]||Sq}(o),d=c(n,l,r),p="";if(p=typeof d=="string"?d:d.html||"",u||MA.forEach(function(y){return p=y(n,p)}),typeof d=="string")return p;var h=d.prefix,_=h===void 0?"":h,m=d.suffix,v=m===void 0?"":m;return _&&(p=_+p),v&&(p+=v),p}(e,t):function(n,r){var i=n.text;if(i==null)throw new Error("Current node is not slate Text "+JSON.stringify(n));var o=i;o=function(u){return u.replace(/ {2}/g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™")}(o);var a=ae.getParentsNodes(r,n).some(function(u){return ae.getNodeType(u)==="pre"});if(a||(o=o.replace(/\r\n|\r|\n/g,"<br>")),a&&(o=o.replace(/ /g," ")),o===""){var s=ae.getParentNode(null,n);if(!s||s.children.length!==0)return o;o="<br>"}return MA.forEach(function(u){return o=u(n,o)}),o}(e,t)}function R9(e){return"w-e-element-"+e}sA("split",function(e,t,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(i,o){var a=Br(ps(this)),s=o===void 0?4294967295:o>>>0;if(s===0)return[];if(i===void 0)return[a];if(!B4(i))return ar(t,a,i,s);for(var u,l,c,d=[],p=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(i.sticky?"y":""),h=0,_=new RegExp(i.source,p+"g");(u=ar(Qg,_,a))&&!((l=_.lastIndex)>h&&(Dh(d,hm(a,h,u.index)),u.length>1&&u.index<a.length&&oA(T9,d,gA(u,1)),c=u[0].length,h=l,d.length>=s));)_.lastIndex===u.index&&_.lastIndex++;return h===a.length?!c&&Kq(_,"")||Dh(d,""):Dh(d,hm(a,h)),d.length>s?gA(d,0,s):d}:"0".split(void 0,0).length?function(i,o){return i===void 0&&o===0?[]:ar(t,this,i,o)}:t,[function(i,o){var a=ps(this),s=i==null?void 0:xf(i,e);return s?ar(s,i,a,o):ar(r,Br(a),i,o)},function(i,o){var a=Yi(this),s=Br(i),u=n(r,a,s,o,r!==t);if(u.done)return u.value;var l=r9(a,RegExp),c=a.unicode,d=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Th?"g":"y"),p=new l(Th?"^(?:"+a.source+")":a,d),h=o===void 0?4294967295:o>>>0;if(h===0)return[];if(s.length===0)return Zg(p,s)===null?[s]:[];for(var _=0,m=0,v=[];m<s.length;){p.lastIndex=Th?0:m;var y,g=Zg(p,Th?hm(s,m):s);if(g===null||(y=Yq(hh(p.lastIndex+(Th?m:0)),s.length))===_)m=uA(s,m,c);else{if(Dh(v,hm(s,_,m)),v.length===h)return v;for(var S=1;S<=g.length-1;S++)if(Dh(v,g[S]),v.length===h)return v;m=_=y}}return Dh(v,hm(s,_)),v}]},!!_r(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Th);var N9=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},I9=function(e,t,n){var r=ae.toDOMRange(e,t).getBoundingClientRect(),i=ae.toDOMRange(e,n).getBoundingClientRect();return N9(r,i)&&N9(i,r)},P9=["span","b","strong","i","em","s","strike","u","font","sub","sup"],L9=[],nO=[],My={},Xq=Ws.f,Jq=Vg.f,Qq=$o.enforce,Zq=hi("match"),il=xt.RegExp,Rh=il.prototype,qq=xt.SyntaxError,$q=$t(P4),e$=$t(Rh.exec),ky=$t("".charAt),j9=$t("".replace),M9=$t("".indexOf),t$=$t("".slice),n$=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,jf=/a/g,rO=/a/g,r$=new il(jf)!==jf,k9=vy.MISSED_STICKY,i$=vy.UNSUPPORTED_Y,o$=xo&&(!r$||k9||q4||$4||_r(function(){return rO[Zq]=!1,il(jf)!=jf||il(rO)==rO||il(jf,"i")!="/a/i"}));if(Yg("RegExp",o$)){for(var Ql=function(e,t){var n,r,i,o,a,s,u=Of(Rh,this),l=B4(e),c=t===void 0,d=[],p=e;if(!u&&l&&c&&e.constructor===Ql)return e;if((l||Of(Rh,e))&&(e=e.source,c&&(t="flags"in p?p.flags:$q(p))),e=e===void 0?"":Br(e),t=t===void 0?"":Br(t),p=e,q4&&"dotAll"in jf&&(r=!!t&&M9(t,"s")>-1)&&(t=j9(t,/s/g,"")),n=t,k9&&"sticky"in jf&&(i=!!t&&M9(t,"y")>-1)&&i$&&(t=j9(t,/y/g,"")),$4&&(o=function(h){for(var _,m=h.length,v=0,y="",g=[],S={},R=!1,U=!1,Q=0,X="";v<=m;v++){if((_=ky(h,v))==="\\")_+=ky(h,++v);else if(_==="]")R=!1;else if(!R)switch(!0){case _==="[":R=!0;break;case _==="(":e$(n$,t$(h,v+1))&&(v+=2,U=!0),y+=_,Q++;continue;case(_===">"&&U):if(X===""||Gi(S,X))throw new qq("Invalid capture group name");S[X]=!0,g[g.length]=[X,Q],U=!1,X="";continue}U?X+=_:y+=_}return[y,g]}(e),e=o[0],d=o[1]),a=R6(il(e,t),u?this:Rh,Ql),(r||i||d.length)&&(s=Qq(a),r&&(s.dotAll=!0,s.raw=Ql(function(h){for(var _,m=h.length,v=0,y="",g=!1;v<=m;v++)(_=ky(h,v))!=="\\"?g||_!=="."?(_==="["?g=!0:_==="]"&&(g=!1),y+=_):y+="[\\s\\S]":y+=_+ky(h,++v);return y}(e),n)),i&&(s.sticky=!0),d.length&&(s.groups=d)),e!==p)try{zs(a,"source",p===""?"(?:)":p)}catch(h){}return a},a$=function(e){e in Ql||Xq(Ql,e,{configurable:!0,get:function(){return il[e]},set:function(t){il[e]=t}})},F9=Jq(il),B9=0;F9.length>B9;)a$(F9[B9++]);Rh.constructor=Ql,Ql.prototype=Rh,wa(xt,"RegExp",Ql)}FA("RegExp");var s$=new RegExp(String.fromCharCode(160),"g");function U9(e){return e.replace(s$," ")}function H9(e,t){var n=e.length;if(n){var r=e[n-1];if(kt.isText(r)){var i=Object.keys(r);if(i.length===1&&i[0]==="text")return r.text=r.text+t,!0}}return!1}function u$(e,t,n){return{type:"paragraph",children:[{text:ve(e).text().replace(/\s+/gm," ")}]}}function iO(e,t){var n=function(o,a){var s=[];if(o.attr("data-w-e-is-void")!=null)return s;var u=o[0].childNodes;return u.length===1&&u[0].nodeName==="BR"?(s.push({text:""}),s):(u.forEach(function(l){if(l.nodeType!==Eu.ELEMENT_NODE){if(!(l.nodeType!==Eu.TEXT_NODE)){var c=l.textContent||"";if(c.trim()===""&&c.indexOf(`
|
|
|
`)>=0)return;c&&(c=U9(c),H9(s,c)||s.push({text:c}))}}else{if(l.nodeName==="BR")return void(H9(s,`
|
|
|
`)||s.push({text:`
|
|
|
`}));var d=aO(ve(l),a);Array.isArray(d)?d.forEach(function(p){return s.push(p)}):s.push(d)}}),s)}(e,t),r=function(o){for(var a in My)if(o[0].matches(a))return My[a];return u$}(e),i=r(e[0],n,t);return Array.isArray(i)||(i=[i]),i.forEach(function(o){B.isVoid(t,o)||(n.length===0&&(o.children=[{text:e.text().replace(/\s+/gm," ")}]),nO.forEach(function(a){o=a(e[0],o,t)}))}),i}function oO(e,t){e.parents("pre").length===0&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,`
|
|
|
`));var n=e[0].textContent||"";n=function(i){return i.replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"\xAE").replace(/©/g,"\xA9").replace(/™/g,"\u2122").replace(/"/g,'"')}(n);var r={text:n=U9(n)};return nO.forEach(function(i){r=i(e[0],r,t)}),r}function aO(e,t){L9.forEach(function(r){var i=r.selector,o=r.preParseHtml;e[0].matches(i)&&(e=ve(o(e[0])))});var n=Z6(e);return n==="span"?e.attr("data-w-e-type")?iO(e,t):oO(e,t):n==="code"?Z6(e.parent())==="pre"?iO(e,t):oO(e,t):P9.includes(n)?oO(e,t):iO(e,t)}function W9(e,t,n){var r=ve(n);return!!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",function(){r.removeAttr(t)}),!1)}function z9(e,t){t===void 0&&(t="");var n=[];t===""&&(t="<p><br></p>"),t.indexOf("<")!==0&&(t=t.split(/\n/).map(function(i){return"<p>"+i+"</p>"}).join(""));var r=ve("<div>"+t+"</div>");return Array.from(r.children()).forEach(function(i){var o=aO(ve(i),e);Array.isArray(o)?o.forEach(function(a){return n.push(a)}):n.push(o)}),n}var l$=Ws.f,V9=_y.fastKey,G9=$o.set,sO=$o.getterFor,c$={getConstructor:function(e,t,n,r){var i=e(function(l,c){wy(l,o),G9(l,{type:t,index:dy(null),first:void 0,last:void 0,size:0}),xo||(l.size=0),c!=null&&$g(c,l[r],{that:l,AS_ENTRIES:n})}),o=i.prototype,a=sO(t),s=function(l,c,d){var p,h,_=a(l),m=u(l,c);return m?m.value=d:(_.last=m={index:h=V9(c,!0),key:c,value:d,previous:p=_.last,next:void 0,removed:!1},_.first||(_.first=m),p&&(p.next=m),xo?_.size++:l.size++,h!=="F"&&(_.index[h]=m)),l},u=function(l,c){var d,p=a(l),h=V9(c);if(h!=="F")return p.index[h];for(d=p.first;d;d=d.next)if(d.key==c)return d};return Eh(o,{clear:function(){for(var l=a(this),c=l.index,d=l.first;d;)d.removed=!0,d.previous&&(d.previous=d.previous.next=void 0),delete c[d.index],d=d.next;l.first=l.last=void 0,xo?l.size=0:this.size=0},delete:function(l){var c=this,d=a(c),p=u(c,l);if(p){var h=p.next,_=p.previous;delete d.index[p.index],p.removed=!0,_&&(_.next=h),h&&(h.previous=_),d.first==p&&(d.first=h),d.last==p&&(d.last=_),xo?d.size--:c.size--}return!!p},forEach:function(l){for(var c,d=a(this),p=Sf(l,arguments.length>1?arguments[1]:void 0);c=c?c.next:d.first;)for(p(c.value,c.key,this);c&&c.removed;)c=c.previous},has:function(l){return!!u(this,l)}}),Eh(o,n?{get:function(l){var c=u(this,l);return c&&c.value},set:function(l,c){return s(this,l===0?0:l,c)}}:{add:function(l){return s(this,l=l===0?0:l,l)}}),xo&&l$(o,"size",{get:function(){return a(this).size}}),i},setStrong:function(e,t,n){var r=t+" Iterator",i=sO(t),o=sO(r);X4(e,t,function(a,s){G9(this,{type:r,target:a,state:i(a),kind:s,last:void 0})},function(){for(var a=o(this),s=a.kind,u=a.last;u&&u.removed;)u=u.previous;return a.target&&(a.last=u=u?u.next:a.state.first)?s=="keys"?{value:u.key,done:!1}:s=="values"?{value:u.value,done:!1}:{value:[u.key,u.value],done:!1}:(a.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),FA(t)}};N6("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},c$);var Y9=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function K9(e,t){e.isInline(t)?(e.insertNode(t),t.type==="link"&&e.insertFragment([{text:""}])):Me.insertNodes(e,t,{mode:"highest"})}var f$=function(e){var t=e,n=t.insertText;return t.insertFragment,t.setFragmentData=function(r){var i=t.selection;if(i){var o=sr(Je.edges(i),2),a=o[0],s=o[1],u=B.void(t,{at:a.path}),l=B.void(t,{at:s.path});if(!Je.isCollapsed(i)||u){var c=ae.toDOMRange(t,i),d=c.cloneContents(),p=d.childNodes[0];if(d.childNodes.forEach(function(U){U.textContent&&U.textContent.trim()!==""&&(p=U)}),l){var h=sr(l,1)[0],_=c.cloneRange(),m=ae.toDOMNode(t,h);_.setEndAfter(m),d=_.cloneContents()}if(u&&(p=d.querySelector("[data-slate-spacer]")),Array.from(d.querySelectorAll("[data-slate-zero-width]")).forEach(function(U){var Q=U.getAttribute("data-slate-zero-width")==="n";U.textContent=Q?`
|
|
|
`:""}),X6(p)){var v=p.ownerDocument.createElement("span");v.style.whiteSpace="pre",v.appendChild(p),d.appendChild(v),p=v}var y=t.getFragment(),g=JSON.stringify(y),S=window.btoa(encodeURIComponent(g));p.setAttribute("data-slate-fragment",S),r.setData("application/x-slate-fragment",S);var R=d.ownerDocument.createElement("div");return R.appendChild(d),R.setAttribute("hidden","true"),d.ownerDocument.body.appendChild(R),r.setData("text/html",R.innerHTML),r.setData("text/plain",mq(R)),d.ownerDocument.body.removeChild(R),r}}},t.insertData=function(r){var i,o,a=r.getData("application/x-slate-fragment");if(a){var s=decodeURIComponent(window.atob(a)),u=JSON.parse(s);t.insertFragment(u)}else{var l=r.getData("text/plain"),c=r.getData("text/html");if(c)t.dangerouslyInsertHtml(c);else if(l){var d=l.split(/\r\n|\r|\n/),p=!1;try{for(var h=ms(d),_=h.next();!_.done;_=h.next()){var m=_.value;p&&Me.splitNodes(t,{always:!0}),n(m),p=!0}}catch(v){i={error:v}}finally{try{_&&!_.done&&(o=h.return)&&o.call(h)}finally{if(i)throw i.error}}}}},t},pm=function(e){return e!=null},d$={object:!0,function:!0,undefined:!0},h$=/^\s*class[\s{/}]/,p$=Function.prototype.toString,X9=function(e){return!!function(t){if(typeof t!="function")return!1;if(!hasOwnProperty.call(t,"length"))return!1;try{if(typeof t.length!="number")return!1;if(typeof t.call!="function")return!1;if(typeof t.apply!="function")return!1}catch(n){return!1}return!function(n){if(!function(r){return!!pm(r)&&hasOwnProperty.call(d$,typeof r)}(n))return!1;try{return!!n.constructor&&n.constructor.prototype===n}catch(r){return!1}}(t)}(e)&&!h$.test(p$.call(e))},uO=function(e){return e!=null},g$=Object.keys,m$=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}()?Object.keys:function(e){return g$(uO(e)?Object(e):e)},v$=function(e){if(!uO(e))throw new TypeError("Cannot use null or undefined");return e},y$=Math.max,J9=function(){var e,t=Object.assign;return typeof t=="function"&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,i,o=y$(arguments.length,2);for(e=Object(v$(e)),i=function(a){try{e[a]=t[a]}catch(s){n||(n=s)}},r=1;r<o;++r)m$(t=arguments[r]).forEach(i);if(n!==void 0)throw n;return e},b$=Array.prototype.forEach,_$=Object.create,E$=function(e,t){var n;for(n in e)t[n]=e[n]},Q9=function(e){var t=_$(null);return b$.call(arguments,function(n){uO(n)&&E$(Object(n),t)}),t},lO="razdwatrzy",w$=String.prototype.indexOf,gm=typeof lO.contains=="function"&&lO.contains("dwa")===!0&&lO.contains("foo")===!1?String.prototype.contains:function(e){return w$.call(this,e,arguments[1])>-1},Fy=jg(function(e){var t=e.exports=function(n,r){var i,o,a,s,u;return arguments.length<2||typeof n!="string"?(s=r,r=n,n=null):s=arguments[2],pm(n)?(i=gm.call(n,"c"),o=gm.call(n,"e"),a=gm.call(n,"w")):(i=a=!0,o=!1),u={value:r,configurable:i,enumerable:o,writable:a},s?J9(Q9(s),u):u};t.gs=function(n,r,i){var o,a,s,u;return typeof n!="string"?(s=i,i=r,r=n,n=null):s=arguments[3],pm(r)?X9(r)?pm(i)?X9(i)||(s=i,i=void 0):i=void 0:(s=r,r=i=void 0):r=void 0,pm(n)?(o=gm.call(n,"c"),a=gm.call(n,"e")):(o=!0,a=!1),u={get:r,set:i,configurable:o,enumerable:a},s?J9(Q9(s),u):u}}),cO=function(e){if(typeof e!="function")throw new TypeError(e+" is not a function");return e},A$=jg(function(e,t){var n,r,i,o,a,s,u,l=Function.prototype.apply,c=Function.prototype.call,d=Object.create,p=Object.defineProperty,h=Object.defineProperties,_=Object.prototype.hasOwnProperty,m={configurable:!0,enumerable:!1,writable:!0};n=function(v,y){var g;return cO(y),_.call(this,"__ee__")?g=this.__ee__:(g=m.value=d(null),p(this,"__ee__",m),m.value=null),g[v]?typeof g[v]=="object"?g[v].push(y):g[v]=[g[v],y]:g[v]=y,this},r=function(v,y){var g,S;return cO(y),S=this,n.call(this,v,g=function(){i.call(S,v,g),l.call(y,this,arguments)}),g.__eeOnceListener__=y,this},i=function(v,y){var g,S,R,U;if(cO(y),!_.call(this,"__ee__"))return this;if(!(g=this.__ee__)[v])return this;if(typeof(S=g[v])=="object")for(U=0;R=S[U];++U)R!==y&&R.__eeOnceListener__!==y||(S.length===2?g[v]=S[U?0:1]:S.splice(U,1));else S!==y&&S.__eeOnceListener__!==y||delete g[v];return this},o=function(v){var y,g,S,R,U;if(_.call(this,"__ee__")&&(R=this.__ee__[v]))if(typeof R=="object"){for(g=arguments.length,U=new Array(g-1),y=1;y<g;++y)U[y-1]=arguments[y];for(R=R.slice(),y=0;S=R[y];++y)l.call(S,this,U)}else switch(arguments.length){case 1:c.call(R,this);break;case 2:c.call(R,this,arguments[1]);break;case 3:c.call(R,this,arguments[1],arguments[2]);break;default:for(g=arguments.length,U=new Array(g-1),y=1;y<g;++y)U[y-1]=arguments[y];l.call(R,this,U)}},a={on:n,once:r,off:i,emit:o},s={on:Fy(n),once:Fy(r),off:Fy(i),emit:Fy(o)},u=h({},s),e.exports=t=function(v){return v==null?d(u):h(Object(v),s)},t.methods=a});function By(e){var t=G6.get(e);return t==null&&(t=A$(),G6.set(e,t)),t}var Uy=new WeakMap;function Z9(e,t){var n=Uy.get(e);n==null&&(n=new Set,Uy.set(e,n)),n.add(t)}function O$(e){return Uy.get(e)||new Set}function x$(e){Uy.set(e,new Set)}function fO(e){var t=ae.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),i=t.offset();return{top:i.top,left:i.left,width:n,height:r}}function dO(e){var t={top:"0",left:"0"},n=e.selection;if(n==null)return t;var r=fO(e);if(r==null)return t;var i=r.top,o=r.left,a=r.width,s=r.height,u=ae.toDOMRange(e,n).getClientRects()[0];if(u==null)return t;u.width;var l=u.height,c={},d=u.top-i,p=u.left-o;if(p>a/2){var h=a-p;c.right=h+5+"px"}else c.left=p+5+"px";if(d>s/2){var _=s-d;c.bottom=_+5+"px"}else{var m=d+l;m<0&&(m=0),c.top=m+5+"px"}return c}function hO(e,t,n){n===void 0&&(n="modal");var r={top:"0",left:"0"};if(e.selection==null)return r;var i=Qt.isElement(t)&&e.isVoid(t),o=Qt.isElement(t)&&e.isInline(t),a=Ny.get(t);if(a==null)return r;var s=a.getBoundingClientRect(),u=s.top,l=s.left,c=s.height,d=s.width;if(i){var p=function(X){var le=[];le.push(X);for(var xe=0;le.length>0;){var Qe=le.pop();if(Qe==null)break;if(++xe>1e4)break;var it=Qe.nodeName;if(Qe.nodeType===1){var Ze=it.toLowerCase();if(pq.includes(Ze)||Ze==="iframe"||Ze==="video")return Qe;var vt=Qe.children||[],lt=vt.length;if(lt)for(var ct=lt-1;ct>=0;ct--)le.push(vt[ct])}}return null}(a);if(p!=null){var h=p.getBoundingClientRect();u=h.top,c=h.height}}var _=fO(e);if(_==null)return r;var m,v=_.top,y=_.left,g=_.width,S=_.height,R={},U=u-v,Q=l-y;if(n==="bar")return R.left=Q+"px",U>40?R.bottom=S-U+5+"px":R.top=U+c+5+"px",R;if(n==="modal")return i?o?Q>(g-d)/2?R.right=g-Q+5+"px":R.left=Q+d+5+"px":R.left="20px":R.left=Q+"px",i?((m=U)<0&&(m=0),R.top=m+"px"):U>(S-c)/2?R.bottom=S-U+5+"px":((m=U+c)<0&&(m=0),R.top=m+5+"px"),R;throw new Error("type '"+n+"' is invalid")}function pO(e,t){vs(function(){var n=fO(e);if(n!=null){var r,i=n.top,o=n.left,a=n.width,s=n.height,u=t.offset(),l=u.top,c=u.left,d=t.width(),p=t.height(),h=l-i,_=c-o,m=t.attr("style");if(m.indexOf("top")>=0&&(r=h+p-s)>0){var v=t.css("top"),y=parseInt(v.toString())-r;y<0&&(y=0),t.css("top",y+"px")}if(m.indexOf("bottom")>=0&&l<0){var g=t.css("bottom"),S=parseInt(g.toString())-Math.abs(l);t.css("bottom",S+"px")}if(m.indexOf("left")>=0&&(r=_+d-a)>0){var R=t.css("left"),U=parseInt(R.toString())-r;U<0&&(U=0),t.css("left",U+"px")}if(m.indexOf("right")>=0&&c<0){var Q=t.css("right"),X=parseInt(Q.toString())-Math.abs(c);t.css("right",X+"px")}}})}var C$=my("slice"),S$=hi("species"),gO=xt.Array,T$=Math.max;pi({target:"Array",proto:!0,forced:!C$},{slice:function(e,t){var n,r,i,o=Xl(this),a=Tf(o),s=gh(e,a),u=gh(t===void 0?a:t,a);if(sy(o)&&(n=o.constructor,(uy(n)&&(n===gO||sy(n.prototype))||Gr(n)&&(n=n[S$])===null)&&(n=void 0),n===gO||n===void 0))return i9(o,s,u);for(r=new(n===void 0?gO:n)(T$(u-s,0)),i=0;s<u;s++,i++)s in o&&Xg(r,i,o[s]);return r.length=i,r}});var D$=zg.f,q9=$t("".startsWith),R$=$t("".slice),N$=Math.min,$9=H4("startsWith"),I$=!$9&&!!function(){var e=D$(String.prototype,"startsWith");return e&&!e.writable}();pi({target:"String",proto:!0,forced:!I$&&!$9},{startsWith:function(e){var t=Br(ps(this));U4(e);var n=hh(N$(arguments.length>1?arguments[1]:void 0,t.length)),r=Br(e);return q9?q9(t,r,n):R$(t,n,n+r.length)===r}});var Nh=Object.assign,eI=Object.defineProperty,P$=$t([].concat),tI=!Nh||_r(function(){if(xo&&Nh({b:1},Nh(eI({},"a",{enumerable:!0,get:function(){eI(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(i){t[i]=i}),Nh({},e)[n]!=7||mh(Nh({},t)).join("")!=r})?function(e,t){for(var n=Gl(e),r=arguments.length,i=1,o=QN.f,a=VN.f;r>i;)for(var s,u=ay(arguments[i++]),l=o?P$(mh(u),o(u)):mh(u),c=l.length,d=0;c>d;)s=l[d++],xo&&!ar(a,u,s)||(n[s]=u[s]);return n}:Nh;pi({target:"Object",stat:!0,forced:Object.assign!==tI},{assign:tI});var L$=["props","attrs","style","dataset","on","hook"];function nI(e){var t=e.data,n=t===void 0?{}:t,r=e.children,i=r===void 0?[]:r;Object.keys(n).forEach(function(o){var a,s,u=n[o];if(o!=="key"){if(!L$.includes(o)){if(o.startsWith("data-")){var l=o.slice(5);return l=iX(l),function(c,d){c.data==null&&(c.data={});var p=c.data;p.dataset==null&&(p.dataset={}),Object.assign(p.dataset,d)}(e,((a={})[l]=u,a)),void delete n[o]}!function(c,d){c.data==null&&(c.data={});var p=c.data;p.props==null&&(p.props={}),Object.assign(p.props,d)}(e,(s={},s[o]=u,s)),delete n[o]}}else e.key=u}),i.length>0&&i.forEach(function(o){typeof o!="string"&&nI(o)})}var mO=[],rI={};function j$(e,t,n){return An(n.isInline(e)?"span":"div",null,t)}function iI(e,t){return t===void 0&&(t=!1),An("span",{"data-slate-string":!0},t?e+`
|
|
|
`:e)}function vO(e,t){return e===void 0&&(e=0),t===void 0&&(t=!1),An("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\uFEFF",t?An("br",null):null)}function yO(e,t,n,r){return nm.set(e,t),wh.set(e,n),Qt.isElement(e)?function(i,o){var a,s=ae.findKey(o,i),u=o.isInline(i),l=B.isVoid(o,i),c=R9(s.id),d={id:c,key:s.id,"data-slate-node":"element","data-slate-inline":u},p=i.type,h=i.children,_=h===void 0?[]:h,m=function(U){return rI[U]||j$}(p);a=l?null:_.map(function(U,Q){return yO(U,Q,i,o)});var v=m(i,a,o);if(l){d["data-slate-void"]=!0;var y=u?"span":"div",g=sr(Tt.texts(i),1),S=sr(g[0],1)[0],R=An(y,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},yO(S,0,i,o));v=An(y,{style:{position:"relative"}},v,R),nm.set(S,0),wh.set(S,i)}return v.data==null&&(v.data={}),Object.assign(v.data,d),l||u||(v=function(U,Q){var X=Q;return mO.forEach(function(le){X=le(U,Q)}),X}(i,v)),vs(function(){var U=NA(c);U!=null&&(SA.set(s,U),Ny.set(i,U),Ry.set(U,i))}),v}(e,r):function(i,o,a){if(i.text==null)throw new Error("Current node is not slate Text "+JSON.stringify(i));var s=ae.findKey(a,i),u=a.getConfig().decorate;if(u==null)throw new Error("Can not get config.decorate");var l=ae.findPath(a,i),c=u([i,l]),d=kt.decorations(i,c),p=d.map(function(m,v){var y=function(g,S,R,U,Q){S===void 0&&(S=!1);var X=g.text,le=ae.findPath(Q,R),xe=Ne.parent(le);if(B.isEditor(U))throw new Error("Text node "+JSON.stringify(R)+" parent is Editor");return Q.isVoid(U)?vO(Tt.string(U).length):X!==""||U.children[U.children.length-1]!==R||Q.isInline(U)||B.string(Q,xe)!==""?X===""?vO():S&&X.slice(-1)===`
|
|
|
`?iI(X,!0):iI(X):vO(0,!0)}(m,v===d.length-1,i,o,a);return y=function(g,S){var R=S;return mO.forEach(function(U){R=U(g,R)}),R}(m,y),An("span",{"data-slate-leaf":!0},y)}),h=function(m){return"w-e-text-"+m}(s.id),_=An("span",{"data-slate-node":"text",id:h,key:s.id},p);return vs(function(){var m=NA(h);m!=null&&(SA.set(s,m),Ny.set(i,m),Ry.set(m,i))}),_}(e,n,r)}function M$(e,t){var n,r=e.$scroll,i=function(m){return"w-e-textarea-"+m}(e.id),o=t.getConfig(),a=o.readOnly,s=o.autoFocus,u=function(m,v){return v===void 0&&(v=!1),ah("div#"+m,{props:{contentEditable:!v}})}(i,a),l=t.children||[];u.children=l.map(function(m,v){var y=yO(m,v,t,t);return nI(y),y});var c=H6.get(e);if(c==null&&(c=!0),c){var d=function(m,v){return ve(`<div
|
|
|
id="`+m+`"
|
|
|
data-slate-editor
|
|
|
data-slate-node="value"
|
|
|
suppressContentEditableWarning
|
|
|
role="textarea"
|
|
|
spellCheck="true"
|
|
|
autoCorrect="true"
|
|
|
autoCapitalize="true"
|
|
|
></div>`)}(i);r.append(d),e.$textArea=d,n=d[0],(h=CK([TK,IK,LK,DK,NK,SK]))(n,u),H6.set(e,!1),W6.set(e,h)}else{var p=z6.get(e),h=W6.get(e);if(p==null||h==null)return;n=p.elm,h(p,u)}if(n!=null||(n=NA(i))!=null){if((c?s:t.isFocused())&&n.focus({preventScroll:!0}),c){var _=RA(n);_&&V6.set(t,_)}CA.set(t,n),Ny.set(t,n),Ry.set(n,t),z6.set(e,u)}}function oI(e){return typeof e=="object"&&e!=null&&e.nodeType===1}function aI(e,t){return(!t||e!=="hidden")&&e!=="visible"&&e!=="clip"}function bO(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return aI(n.overflowY,t)||aI(n.overflowX,t)||function(r){var i=function(o){if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch(a){return null}}(r);return!!i&&(i.clientHeight<r.scrollHeight||i.clientWidth<r.scrollWidth)}(e)}return!1}function Hy(e,t,n,r,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0}function sI(e,t){var n=window,r=t.scrollMode,i=t.block,o=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,u=typeof a=="function"?a:function(Ln){return Ln!==a};if(!oI(e))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],d=e;oI(d)&&u(d);){if((d=d.parentElement)===l){c.push(d);break}d!=null&&d===document.body&&bO(d)&&!bO(document.documentElement)||d!=null&&bO(d,s)&&c.push(d)}for(var p=n.visualViewport?n.visualViewport.width:innerWidth,h=n.visualViewport?n.visualViewport.height:innerHeight,_=window.scrollX||pageXOffset,m=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),y=v.height,g=v.width,S=v.top,R=v.right,U=v.bottom,Q=v.left,X=i==="start"||i==="nearest"?S:i==="end"?U:S+y/2,le=o==="center"?Q+g/2:o==="end"?R:Q,xe=[],Qe=0;Qe<c.length;Qe++){var it=c[Qe],Ze=it.getBoundingClientRect(),vt=Ze.height,lt=Ze.width,ct=Ze.top,dt=Ze.right,Pt=Ze.bottom,Kt=Ze.left;if(r==="if-needed"&&S>=0&&Q>=0&&U<=h&&R<=p&&S>=ct&&U<=Pt&&Q>=Kt&&R<=dt)return xe;var Gt=getComputedStyle(it),zt=parseInt(Gt.borderLeftWidth,10),ye=parseInt(Gt.borderTopWidth,10),re=parseInt(Gt.borderRightWidth,10),De=parseInt(Gt.borderBottomWidth,10),tt=0,wt=0,st="offsetWidth"in it?it.offsetWidth-it.clientWidth-zt-re:0,Bt="offsetHeight"in it?it.offsetHeight-it.clientHeight-ye-De:0;if(l===it)tt=i==="start"?X:i==="end"?X-h:i==="nearest"?Hy(m,m+h,h,ye,De,m+X,m+X+y,y):X-h/2,wt=o==="start"?le:o==="center"?le-p/2:o==="end"?le-p:Hy(_,_+p,p,zt,re,_+le,_+le+g,g),tt=Math.max(0,tt+m),wt=Math.max(0,wt+_);else{tt=i==="start"?X-ct-ye:i==="end"?X-Pt+De+Bt:i==="nearest"?Hy(ct,Pt,vt,ye,De+Bt,X,X+y,y):X-(ct+vt/2)+Bt/2,wt=o==="start"?le-Kt-zt:o==="center"?le-(Kt+lt/2)+st/2:o==="end"?le-dt+re+st:Hy(Kt,dt,lt,zt,re+st,le,le+g,g);var on=it.scrollLeft,En=it.scrollTop;X+=En-(tt=Math.max(0,Math.min(En+tt,it.scrollHeight-vt+Bt))),le+=on-(wt=Math.max(0,Math.min(on+wt,it.scrollWidth-lt+st)))}xe.push({el:it,top:tt,left:wt})}return xe}function uI(e){return e===Object(e)&&Object.keys(e).length!==0}function ys(e,t){return If(t)&&ae.hasDOMNode(e,t,{editable:!0})}function lI(e,t){if(e.getConfig().readOnly)return!1;var n=Ih(e,t)&&ae.toSlateNode(e,t);return B.isVoid(e,n)}function Ih(e,t){return If(t)&&ae.hasDOMNode(e,t)}function cI(e,t,n){n===void 0&&(n=!1);var r=t.selection,i=t.getConfig(),o=ae.findDocumentOrShadowRoot(t).getSelection();if(o&&(!e.isComposing||n)&&t.isFocused()){var a=o.type!=="None";if(r||a){var s=CA.get(t),u=!1;if(s.contains(o.anchorNode)&&s.contains(o.focusNode)&&(u=!0),a&&u&&r){var l=ae.toSlateRange(t,o,{exactMatch:!0,suppressThrow:!0});if(l&&Je.equals(l,r)){var c=!0;if(Je.isCollapsed(r)){var d=o.anchorNode,p=o.anchorOffset;if(d===s){var h=s.childNodes,_=void 0;(_=h[p])&&_.matches("table")&&(c=!1),(_=h[p-1])&&_.matches("table")&&(c=!1)}}if(c)return}}if(!r||ae.hasRange(t,r)){e.isUpdatingSelection=!0;var m=r&&ae.toDOMRange(t,r);if(m){Je.isBackward(r)?o.setBaseAndExtent(m.endContainer,m.endOffset,m.startContainer,m.startOffset):o.setBaseAndExtent(m.startContainer,m.startOffset,m.endContainer,m.endOffset);var v=m.startContainer.parentElement;if(!v.closest("[data-slate-spacer]")){v.getBoundingClientRect=m.getBoundingClientRect.bind(m);var y=document.body;(function(g,S){var R=!g.ownerDocument.documentElement.contains(g);if(uI(S)&&typeof S.behavior=="function")return S.behavior(R?[]:sI(g,S));if(!R){var U=function(Q){return Q===!1?{block:"end",inline:"nearest"}:uI(Q)?Q:{block:"start",inline:"nearest"}}(S);(function(Q,X){X===void 0&&(X="auto");var le="scrollBehavior"in document.body.style;Q.forEach(function(xe){var Qe=xe.el,it=xe.top,Ze=xe.left;Qe.scroll&&le?Qe.scroll({top:it,left:Ze,behavior:X}):(Qe.scrollTop=it,Qe.scrollLeft=Ze)})})(sI(g,U),U.behavior)}})(v,{scrollMode:"if-needed",boundary:i.scroll?s.parentElement:y,block:"end",behavior:"smooth"}),delete v.getBoundingClientRect}}else o.removeAllRanges();setTimeout(function(){m&&rm&&s.focus(),e.isUpdatingSelection=!1})}else t.selection=ae.toSlateRange(t,o,{exactMatch:!1,suppressThrow:!1})}}}var _O=new WeakMap,fI=new WeakMap,k$={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z",tab:"tab",selectAll:"mod+a"},F$={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},B$={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},si=function(e){var t=k$[e],n=F$[e],r=B$[e],i=t&&Yw(t),o=n&&Yw(n),a=r&&Yw(r);return function(s){return!(!i||!i(s))||!!(IA&&o&&o(s))||!(IA||!a||!a(s))}},gi={isBold:si("bold"),isCompose:si("compose"),isMoveBackward:si("moveBackward"),isMoveForward:si("moveForward"),isDeleteBackward:si("deleteBackward"),isDeleteForward:si("deleteForward"),isDeleteLineBackward:si("deleteLineBackward"),isDeleteLineForward:si("deleteLineForward"),isDeleteWordBackward:si("deleteWordBackward"),isDeleteWordForward:si("deleteWordForward"),isExtendBackward:si("extendBackward"),isExtendForward:si("extendForward"),isExtendLineBackward:si("extendLineBackward"),isExtendLineForward:si("extendLineForward"),isItalic:si("italic"),isMoveLineBackward:si("moveLineBackward"),isMoveLineForward:si("moveLineForward"),isMoveWordBackward:si("moveWordBackward"),isMoveWordForward:si("moveWordForward"),isRedo:si("redo"),isSplitBlock:si("splitBlock"),isTransposeCharacter:si("transposeCharacter"),isUndo:si("undo"),isTab:si("tab"),isSelectAll:si("selectAll")};function oo(e){e.preventDefault()}var U$={beforeinput:function(e,t,n){var r=e,i=n.getConfig().readOnly;if(om&&!i&&ys(n,r.target)){var o=n.selection,a=r.inputType,s=r.dataTransfer||r.data||void 0;if(a!=="insertCompositionText"&&a!=="deleteCompositionText"){if(r.preventDefault(),!a.startsWith("delete")||a.startsWith("deleteBy")){var u=sr(r.getTargetRanges(),1)[0];if(u){var l=ae.toSlateRange(n,u,{exactMatch:!1,suppressThrow:!1});o&&Je.equals(o,l)||Me.select(n,l)}}if(o&&Je.isExpanded(o)&&a.startsWith("delete")){var c=a.endsWith("Backward")?"backward":"forward";B.deleteFragment(n,{direction:c})}else switch(a){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":B.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":B.deleteForward(n);break;case"deleteContentBackward":B.deleteBackward(n);break;case"deleteEntireSoftLine":B.deleteBackward(n,{unit:"line"}),B.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":B.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":B.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":B.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":B.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":B.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":B.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":B.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if(a==="insertFromPaste"&&!DA.get(n))break;s instanceof DataTransfer?n.insertData(s):typeof s=="string"&&B.insertText(n,s)}}}},blur:function(e,t,n){var r=e,i=t.isUpdatingSelection,o=t.latestElement;if(!n.getConfig().readOnly&&!i&&ys(n,r.target)){var a=ae.findDocumentOrShadowRoot(n);if(o!==a.activeElement){var s=r.relatedTarget;if(!(s===ae.toDOMNode(n,n)||Gs(s)&&s.hasAttribute("data-slate-spacer"))){if(s!=null&&If(s)&&ae.hasDOMNode(n,s)){var u=ae.toSlateNode(n,s);if(Qt.isElement(u)&&!n.isVoid(u))return}if(im){var l=a.getSelection();l==null||l.removeAllRanges()}Nf.delete(n)}}}},focus:function(e,t,n){var r=ae.toDOMNode(n,n),i=ae.findDocumentOrShadowRoot(n);t.latestElement=i.activeElement,rm&&e.target!==r?r.focus():Nf.set(n,!0)},click:function(e,t,n){if(!n.getConfig().readOnly&&Ih(n,e.target)&&If(e.target)){var r=ae.toSlateNode(n,e.target),i=ae.findPath(n,r);if(B.hasPath(n,i)&&Tt.get(n,i)===r){var o=B.start(n,i),a=B.end(n,i),s=B.void(n,{at:o}),u=B.void(n,{at:a});if(s&&u&&Ne.equals(s[1],u[1])){var l=B.range(n,o);Me.select(n,l)}}}},compositionstart:function(e,t,n){if(ys(n,e.target)){var r=n.selection;if(r&&Je.isExpanded(r)&&(B.deleteFragment(n),Promise.resolve().then(function(){cI(t,n,!0)})),r&&Je.isCollapsed(r)){var i=ae.toDOMRange(n,r).startContainer,o=i.textContent||"";_O.set(n,o),fI.set(n,i)}t.isComposing=!0,function(a,s){var u;s.getConfig().placeholder&&s.isEmpty()&&a.showPlaceholder&&((u=a.$placeholder)===null||u===void 0||u.hide(),a.showPlaceholder=!1)}(t,n)}},compositionend:function(e,t,n){var r=e;if(ys(n,r.target)){t.isComposing=!1;var i=n.selection;if(i!=null){(PA||rm)&&ae.cleanExposedTexNodeInSelectionBlock(n);for(var o=Je.isBackward(i)?i.focus:i.anchor,a=sr(B.node(n,[o.path[0]]),1)[0],s=0;s<o.path.length;s++){var u=sr(B.node(n,o.path.slice(0,s+1)),1)[0];if(Qt.isElement(u)&&((im||rm)&&u.type==="link"||u.type==="code")){ae.setNewKey(a);break}}var l=r.data;if(l){if(n.getConfig().maxLength){var c=ae.getLeftLengthOfMaxLength(n);c<l.length?(ae.toDOMRange(n,i).startContainer.textContent=_O.get(n)||"",c>0&&B.insertText(n,l.slice(0,c)),t.changeViewState()):B.insertText(n,l)}else B.insertText(n,l);im||setTimeout(function(){var d=n.selection;if(d!=null){var p=fI.get(n);p!=null&&ae.toDOMRange(n,d).startContainer!==p&&(p.textContent=_O.get(n)||"")}})}}}},compositionupdate:function(e,t,n){ys(n,e.target)&&(t.isComposing=!0)},keydown:function(e,t,n){var r=e,i=n.selection;if(!n.getConfig().readOnly&&!t.isComposing&&ys(n,r.target)){if(function(a,s){var u=Sy.get(a),l=u&&u.getMenus(),c=Ty.get(a),d=c&&c.getMenus(),p=gs(gs({},l),d);for(var h in p){var _=p[h],m=_.hotkey;if(m&&sX(m,s)&&!_.isDisabled(a)){var v=_.getValue(a);_.exec(a,v)}}}(n,r),gi.isTab(r))return oo(r),void n.handleTab();if(gi.isRedo(r))return oo(r),void(typeof n.redo=="function"&&n.redo());if(gi.isUndo(r))return oo(r),void(typeof n.undo=="function"&&n.undo());if(gi.isMoveLineBackward(r))return oo(r),void Me.move(n,{unit:"line",reverse:!0});if(gi.isMoveLineForward(r))return oo(r),void Me.move(n,{unit:"line"});if(gi.isExtendLineBackward(r))return oo(r),void Me.move(n,{unit:"line",edge:"focus",reverse:!0});if(gi.isExtendLineForward(r))return oo(r),void Me.move(n,{unit:"line",edge:"focus"});if(gi.isMoveBackward(r))return oo(r),void(i&&Je.isCollapsed(i)?Me.move(n,{reverse:!0}):Me.collapse(n,{edge:"start"}));if(gi.isMoveForward(r))return oo(r),void(i&&Je.isCollapsed(i)?Me.move(n):Me.collapse(n,{edge:"end"}));if(gi.isMoveWordBackward(r))return oo(r),i&&Je.isExpanded(i)&&Me.collapse(n,{edge:"focus"}),void Me.move(n,{unit:"word",reverse:!0});if(gi.isMoveWordForward(r))return oo(r),i&&Je.isExpanded(i)&&Me.collapse(n,{edge:"focus"}),void Me.move(n,{unit:"word"});if(gi.isSelectAll(r))return oo(r),void n.selectAll();if(om){if((PA||im)&&i&&(gi.isDeleteBackward(r)||gi.isDeleteForward(r))&&Je.isCollapsed(i)){var o=Tt.parent(n,i.anchor.path);if(Qt.isElement(o)&&B.isVoid(n,o)&&B.isInline(n,o))return r.preventDefault(),void Me.delete(n,{unit:"block"})}}else{if(gi.isBold(r)||gi.isItalic(r)||gi.isTransposeCharacter(r))return void oo(r);if(gi.isSplitBlock(r))return oo(r),void B.insertBreak(n);if(gi.isDeleteBackward(r))return oo(r),void(i&&Je.isExpanded(i)?B.deleteFragment(n,{direction:"backward"}):B.deleteBackward(n));if(gi.isDeleteForward(r))return oo(r),void(i&&Je.isExpanded(i)?B.deleteFragment(n,{direction:"forward"}):B.deleteForward(n));if(gi.isDeleteLineBackward(r))return oo(r),void(i&&Je.isExpanded(i)?B.deleteFragment(n,{direction:"backward"}):B.deleteBackward(n,{unit:"line"}));if(gi.isDeleteLineForward(r))return oo(r),void(i&&Je.isExpanded(i)?B.deleteFragment(n,{direction:"forward"}):B.deleteForward(n,{unit:"line"}));if(gi.isDeleteWordBackward(r))return oo(r),void(i&&Je.isExpanded(i)?B.deleteFragment(n,{direction:"backward"}):B.deleteBackward(n,{unit:"word"}));if(gi.isDeleteWordForward(r))return oo(r),void(i&&Je.isExpanded(i)?B.deleteFragment(n,{direction:"forward"}):B.deleteForward(n,{unit:"word"}))}}},keypress:function(e,t,n){if(!om&&!n.getConfig().readOnly&&ys(n,e.target)){e.preventDefault();var r=e.key;B.insertText(n,r)}},copy:function(e,t,n){var r=e;if(ys(n,r.target)){r.preventDefault();var i=r.clipboardData;i!=null&&n.setFragmentData(i)}},cut:function(e,t,n){var r=e,i=n.selection;if(!n.getConfig().readOnly&&ys(n,r.target)){r.preventDefault();var o=r.clipboardData;if(o!=null&&(n.setFragmentData(o),i))if(Je.isExpanded(i))B.deleteFragment(n);else{var a=Tt.parent(n,i.anchor.path);B.isVoid(n,a)&&Me.delete(n)}}},paste:function(e,t,n){DA.set(n,!0);var r=e;if(!n.getConfig().readOnly&&ys(n,r.target)){var i=n.getConfig().customPaste;if(i&&i(n,r)===!1)return void DA.set(n,!1);if(!om||function(a){return a.clipboardData&&a.clipboardData.getData("text/plain")!==""&&a.clipboardData.types.length===1}(r)){r.preventDefault();var o=r.clipboardData;o!=null&&n.insertData(o)}}},dragover:function(e,t,n){if(Ih(n,e.target)){var r=ae.toSlateNode(n,e.target);B.isVoid(n,r)&&e.preventDefault()}},dragstart:function(e,t,n){var r=e;if(Ih(n,r.target)&&!n.getConfig().readOnly){var i=ae.toSlateNode(n,r.target),o=ae.findPath(n,i);if(B.isVoid(n,i)||B.void(n,{at:o,voids:!0})){var a=B.range(n,o);Me.select(n,a)}var s=r.dataTransfer;s!=null&&(t.isDraggingInternally=!0,n.setFragmentData(s))}},dragend:function(e,t,n){var r=e;n.getConfig().readOnly||t.isDraggingInternally&&Ih(n,r.target)&&(t.isDraggingInternally=!1)},drop:function(e,t,n){var r=e,i=r.dataTransfer;if(!n.getConfig().readOnly&&Ih(n,r.target)&&i!=null&&!(om&&im&&i.files.length>0)){r.preventDefault();var o=n.selection,a=ae.findEventRange(n,r);Me.select(n,a),t.isDraggingInternally&&(o&&Me.delete(n,{at:o}),t.isDraggingInternally=!1),n.insertData(i),n.isFocused()||n.focus()}}},H$=1,W$=function(){function e(t){var n=this;this.id=H$++,this.$textArea=null,this.$progressBar=ve('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=ve('<div class="w-e-max-length-info"></div>'),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=gf(function(){var a=n.editorInstance;!function(s,u){var l=s.isComposing,c=s.isUpdatingSelection,d=s.isDraggingInternally;if(!(u.getConfig().readOnly||l||c||d)){var p=ae.findDocumentOrShadowRoot(u),h=p.activeElement,_=ae.toDOMNode(u,u),m=p.getSelection();if(h===_?(s.latestElement=h,Nf.set(u,!0)):Nf.delete(u),!m)return Me.deselect(u);var v=m.anchorNode,y=m.focusNode,g=ys(u,v)||lI(u,v),S=ys(u,y)||lI(u,y);if(g&&S){var R=ae.toSlateRange(u,m,{exactMatch:!1,suppressThrow:!1});Me.select(u,R)}else Me.deselect(u)}}(n,a)},100);var r=ve(t);if(r.length===0)throw new Error("Cannot find textarea DOM by selector '"+t+"'");this.$box=r;var i=ve('<div class="w-e-text-container"></div>');i.append(this.$progressBar),i.append(this.$maxLengthInfo),r.append(i);var o=ve('<div class="w-e-scroll"></div>');i.append(o),this.$scroll=o,this.$textAreaContainer=i,vs(function(){var a=n.editorInstance,s=ae.getWindow(a);s.document.addEventListener("selectionchange",n.onDOMSelectionChange),a.on("destroyed",function(){s.document.removeEventListener("selectionchange",n.onDOMSelectionChange)}),i.on("click",function(){return a.hidePanelOrModal()}),a.on("change",n.changeViewState.bind(n));var u=a.getConfig().onChange;u&&a.on("change",function(){return u(a)}),n.onFocusAndOnBlur(),a.on("change",n.changeMaxLengthInfo.bind(n)),n.bindEvent()})}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var t=EA.get(this);if(t==null)throw new Error("Can not get editor instance");return t},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var t=this,n=this.$textArea,r=this.$scroll,i=this.editorInstance;n!=null&&(Lw(U$,function(o,a){n.on(a,function(s){o(s,t,i)})}),i.getConfig().scroll&&(r.css("overflow-y","auto"),r.on("scroll",gf(function(){i.emit("scroll")},100))))},e.prototype.onFocusAndOnBlur=function(){var t=this,n=this.editorInstance,r=n.getConfig(),i=r.onBlur,o=r.onFocus;this.latestEditorSelection=n.selection,n.on("change",function(){t.latestEditorSelection==null&&n.selection!=null?setTimeout(function(){return o&&o(n)}):t.latestEditorSelection!=null&&n.selection==null&&setTimeout(function(){return i&&i(n)}),t.latestEditorSelection=n.selection})},e.prototype.changeMaxLengthInfo=function(){var t=this.editorInstance,n=t.getConfig().maxLength;if(n){var r=n-ae.getLeftLengthOfMaxLength(t);this.$maxLengthInfo[0].innerHTML=r+"/"+n}},e.prototype.changeProgress=function(t){var n=this.$progressBar;n.css("width",t+"%"),t>=100&&setTimeout(function(){n.hide(),n.css("width","0"),n.show()},1e3)},e.prototype.changeViewState=function(){var t=this,n=this.editorInstance;M$(this,n),function(r,i){var o,a=i.getConfig().placeholder;if(a){var s=i.isEmpty();if(s&&!r.showPlaceholder&&!r.isComposing){if(r.$placeholder==null){var u=ve('<div class="w-e-text-placeholder">'+a+"</div>");r.$textAreaContainer.append(u),r.$placeholder=u}return r.$placeholder.show(),void(r.showPlaceholder=!0)}!s&&r.showPlaceholder&&((o=r.$placeholder)===null||o===void 0||o.hide(),r.showPlaceholder=!1)}}(this,n),vs(function(){cI(t,n)})},e.prototype.destroy=function(){this.$textAreaContainer.remove()},e}();function EO(e){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&EO(t)}function wO(){return ve('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>')}function dI(){return ve('<div class="w-e-bar-divider"></div>')}function hI(e,t,n,r,i){if(i===void 0&&(i=!1),t){if(r){var o=IA?"cmd":"ctrl";r=r.replace("mod",o)}if(i)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else{var a=r?n+`
|
|
|
`+r:n;e.attr("data-tooltip",a),e.addClass("w-e-menu-tooltip-v5")}}}sA("match",function(e,t,n){return[function(r){var i=ps(this),o=r==null?void 0:xf(r,e);return o?ar(o,r,i):new RegExp(r)[e](Br(i))},function(r){var i=Yi(this),o=Br(r),a=n(t,i,o);if(a.done)return a.value;if(!i.global)return Zg(i,o);var s=i.unicode;i.lastIndex=0;for(var u,l=[],c=0;(u=Zg(i,o))!==null;){var d=Br(u[0]);l[c]=d,d===""&&(i.lastIndex=uA(o,hh(i.lastIndex),s)),c++}return c===0?null:l}]});var AO=function(){function e(t,n,r){var i=this;r===void 0&&(r=!1),this.$elem=ve('<div class="w-e-bar-item"></div>'),this.$button=ve('<button type="button"></button>'),this.disabled=!1,this.menu=n;var o=n.tag,a=n.width;if(o!=="button")throw new Error("Invalid tag '"+o+"', expected 'button'");var s=n.title,u=n.hotkey,l=u===void 0?"":u,c=n.iconSvg,d=c===void 0?"":c,p=this.$button;if(d){var h=ve(d);EO(h),p.append(h)}else p.text(s);hI(p,d,s,l,r),r&&d&&p.append(ve('<span class="title">'+s+"</span>")),a&&p.css("width",a+"px"),p.attr("data-menu-key",t),this.$elem.append(p),vs(function(){return i.init()})}return e.prototype.init=function(){var t=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(n){n.preventDefault(),Wa(t).hidePanelOrModal(),t.disabled||(t.exec(),t.onButtonClick())})},e.prototype.exec=function(){var t=Wa(this),n=this.menu,r=n.getValue(t);n.exec(t,r)},e.prototype.setActive=function(){var t=Wa(this),n=this.$button,r="active";this.menu.isActive(t)?n.addClass(r):n.removeClass(r)},e.prototype.setDisabled=function(){var t=Wa(this),n=this.$button,r=this.menu.isDisabled(t);(t.selection==null||t.isDisabled())&&(r=!0),this.menu.alwaysEnable&&(r=!1);var i="disabled";r?n.addClass(i):n.removeClass(i),this.disabled=r},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},e}(),z$=function(e){function t(n,r,i){return i===void 0&&(i=!1),e.call(this,n,r,i)||this}return _h(t,e),t.prototype.onButtonClick=function(){},t}(AO),OO=function(){function e(t){this.isShow=!1,this.showTime=0,this.record(t)}return e.prototype.record=function(t){var n=xA.get(t);n==null&&(n=new Set,xA.set(t,n)),n.add(this),Dy.set(this,t)},e.prototype.renderContent=function(t){var n=this.$elem;n.empty(),n.append(t);var r=this.genSelfElem();r&&n.append(r)},e.prototype.appendTo=function(t){var n=this.$elem;t.append(n)},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var t=Dy.get(this);t&&t.emit("modalOrPanelShow",this)}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var t=Dy.get(this);t&&t.emit("modalOrPanelHide")}},e}(),V$=function(e){function t(n){var r=e.call(this,n)||this;return r.type="dropPanel",r.$elem=ve('<div class="w-e-drop-panel"></div>'),r}return _h(t,e),t.prototype.genSelfElem=function(){return null},t}(OO),G$=function(e){function t(n,r,i){i===void 0&&(i=!1);var o=e.call(this,n,r,i)||this;if(o.dropPanel=null,o.menu=r,r.showDropPanel){var a=wO();o.$button.append(a)}return o}return _h(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},t.prototype.handleDropPanel=function(){var n=this.menu;if(n.getPanelContentElem!=null){var r=Wa(this);if(this.dropPanel==null){var i=new V$(r),o=n.getPanelContentElem(r);i.renderContent(o),i.appendTo(this.$elem),i.show(),this.dropPanel=i}else{var a=this.dropPanel;a.isShow?a.hide():(o=n.getPanelContentElem(r),a.renderContent(o),a.show())}var s=this.dropPanel;if(s.isShow){var u=this.$elem,l=u.offset().left,c=u.parents(".w-e-bar");l-c.offset().left>=c.width()/2?s.$elem.css({left:"none",right:"0"}):s.$elem.css({left:"0",right:"none"})}}},t}(AO),Y$=function(e){function t(n,r){r===void 0&&(r=0);var i=e.call(this,n)||this;i.type="modal",i.$elem=ve('<div class="w-e-modal"></div>'),i.width=0,r&&(i.width=r);var o=i.$elem;return o.on("click",function(a){return a.stopPropagation()}),o.on("keyup",function(a){a.code==="Escape"&&(i.hide(),n.restoreSelection())}),i}return _h(t,e),t.prototype.genSelfElem=function(){var n=this,r=ve('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),i=Dy.get(this);return r.on("click",function(){n.hide(),i==null||i.restoreSelection()}),r},t.prototype.setStyle=function(n){var r=this.width,i=this.$elem;i.attr("style",""),r&&i.css("width",r+"px"),i.css(n)},t}(OO);function Ha(e,t,n){var r=ve('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var i=ve('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(i),[r[0],i[0]]}function H1e(e,t,n){var r=ve('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var i=ve('<textarea type="text" id="'+t+'" placeholder="'+(n||"")+'"></textarea>');return r.append(i),[r[0],i[0]]}function Ph(e,t){var n=ve('<div class="button-container"></div>'),r=ve('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var K$=function(e){function t(n,r,i){i===void 0&&(i=!1);var o=e.call(this,n,r,i)||this;return o.$body=ve("body"),o.modal=null,o.menu=r,o}return _h(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},t.prototype.getPosition=function(){var n=Wa(this),r=this.menu.getModalPositionNode(n);return Qt.isElement(r)?hO(n,r,"modal"):dO(n)},t.prototype.handleModal=function(){var n=Wa(this),r=this.menu;if(this.modal==null){var i=new Y$(n,r.modalWidth);this.renderAndShowModal(i,!0),this.modal=i}else(i=this.modal).isShow?i.hide():this.renderAndShowModal(i,!1)},t.prototype.renderAndShowModal=function(n,r){r===void 0&&(r=!1);var i=Wa(this),o=this.menu;if(o.getModalContentElem!=null){var a=ae.getTextarea(i),s=ae.getToolbar(i),u=((s==null?void 0:s.getConfig())||{}).modalAppendToBody,l=o.getModalContentElem(i);if(n.renderContent(l),u)n.setStyle({left:"0",right:"0"});else{var c=this.getPosition();n.setStyle(c)}r&&(u?n.appendTo(this.$body):n.appendTo(a.$textAreaContainer)),n.show(),u||pO(i,n.$elem),setTimeout(function(){i.blur()})}},t}(AO),X$=function(e){function t(n,r){var i=e.call(this,n)||this;return i.type="selectList",i.$elem=ve('<div class="w-e-select-list"></div>'),r&&i.$elem.css("width",r+"px"),i.$elem.on("click",function(o){o.stopPropagation()}),i}return _h(t,e),t.prototype.renderList=function(n){var r=this.$elem;r.empty();var i=ve("<ul></ul>");n.forEach(function(o){var a=o.value,s=o.text,u=o.selected,l=o.styleForRenderMenuList,c=ve('<li data-value="'+a+'"></li>');if(l&&c.css(l),u){var d=ve('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');c.append(d),c.addClass("selected")}c.append(ve('<span data-value="'+a+'">'+s+"</span>")),c.attr("title",s),i.append(c)}),r.append(i)},t.prototype.genSelfElem=function(){return null},t}(OO),J$=function(){function e(t,n,r){var i=this;r===void 0&&(r=!1),this.$elem=ve('<div class="w-e-bar-item"></div>'),this.$button=ve('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=n.tag,a=n.title,s=n.width,u=n.iconSvg,l=u===void 0?"":u,c=n.hotkey,d=c===void 0?"":c;if(o!=="select")throw new Error("Invalid tag '"+o+"', expected 'select'");var p=this.$button;s&&p.css("width",s+"px"),p.attr("data-menu-key",t),hI(p,l,a,d,r),this.$elem.append(p),this.menu=n,vs(function(){return i.init()})}return e.prototype.init=function(){var t=this;this.setSelectedValue(),this.$button.on("click",function(n){n.preventDefault(),Wa(t).hidePanelOrModal(),t.trigger()})},e.prototype.trigger=function(){var t=this,n=Wa(this);if(!n.isDisabled()&&!this.disabled){var r=this.menu;if(this.selectList==null){this.selectList=new X$(n,r.selectPanelWidth);var i=this.selectList,o=r.getOptions(n);i.renderList(o),i.appendTo(this.$elem),i.show(),i.$elem.on("click","li",function(a){var s=a.target;if(s!=null){a.preventDefault();var u=ve(s).attr("data-value");t.onChange(u)}})}else(i=this.selectList).isShow?i.hide():(o=r.getOptions(n),i.renderList(o),i.show())}},e.prototype.onChange=function(t){var n=Wa(this),r=this.menu;r.exec&&r.exec(n,t)},e.prototype.setSelectedValue=function(){var t=Wa(this),n=this.menu,r=n.getValue(t),i=function(s,u){for(var l=s.length,c="",d=0;d<l;d++){var p=s[d];if(p.value===u){c=p.text;break}}return c}(n.getOptions(t),r.toString()),o=this.$button,a=wO();o.empty(),o.text(i),o.append(a)},e.prototype.setDisabled=function(){var t=Wa(this),n=this.menu.isDisabled(t),r=this.$button;(t.selection==null||t.isDisabled())&&(n=!0);var i="disabled";n?r.addClass(i):r.removeClass(i),this.disabled=n},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},e}(),pI=function(){function e(t){this.$elem=ve('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=ve('<div class="w-e-bar-item-menus-container"></div>'),this.$button=ve('<button type="button"></button>');var n=t.key,r=t.iconSvg,i=t.title,o=this.$elem,a=this.$button;if(r){var s=ve(r);EO(s),a.append(s)}else a.text(i);a.attr("data-menu-key",n);var u=wO();a.append(u),o.append(a);var l=this.$container;o.append(l);var c=this.createObserver();this.observe(c)}return e.prototype.appendBarItem=function(t){var n=t.$elem;this.$container.append(n)},e.prototype.observe=function(t){var n=this.$container;t.observe(n[0],{childList:!0,subtree:!0,attributes:!0})},e.prototype.createObserver=function(){var t=this,n=this.$container,r=this.$button,i=new MutationObserver(function(){var o=n.find("button"),a=o.length;if(a!==0){var s=0;o.each(function(u){ve(u).hasClass("disabled")&&s++}),i.disconnect(),s===a?r.addClass("disabled"):r.removeClass("disabled"),t.observe(i)}});return i},e}(),gI=new WeakMap;function Wa(e){var t=OA.get(e);if(t==null)throw new Error("Can not get editor instance");return t}function mI(e,t,n){n===void 0&&(n=!1);var r=gI.get(t);if(r)return r;var i=t.tag;if(i==="button"){var o=t.showDropPanel,a=t.showModal;r=o?new G$(e,t,n):a?new K$(e,t,n):new z$(e,t,n)}if(i==="select"&&(r=new J$(e,t,n)),r==null)throw new Error("Invalid tag in menu "+JSON.stringify(t));return gI.set(t,r),r}function Q$(e,t){var n=e.selection;return n!=null&&!Je.isCollapsed(n)&&!ae.getSelectedElems(e).some(function(r){if(e.isVoid(r))return!0;var i=r.type;return!!["pre","code","table"].includes(i)||void 0})&&!!kt.isText(t)}var Z$=function(){function e(){var t=this;this.$elem=ve('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=F8(function(){var n=t.isShow,r=t.getSelectedNodeAndMenuKeys()||{},i=r.node,o=i===void 0?null:i,a=r.menuKeys,s=a===void 0?[]:a;o!=null&&t.changeItemsState(),o&&Qt.isElement(o)&&n&&t.isSamePath(o,t.prevSelectedNode)||(t.hideAndClean(),o!=null&&(t.registerItems(s),t.setPosition(o),t.show()),t.prevSelectedNode=o)},200),vs(function(){var n=t.getEditorInstance(),r=t.$elem;r.on("mousedown",function(o){return o.preventDefault()},{passive:!1}),ae.getTextarea(n).$textAreaContainer.append(r),n.on("change",t.changeHoverbarState);var i=t.hideAndClean.bind(t);n.on("scroll",i),n.on("fullScreen",i),n.on("unFullScreen",i)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var t=this.$elem;t.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],t.empty(),this.isShow=!1},e.prototype.checkPositionBottom=function(){var t=this.$elem,n=!1,r=window.innerHeight;r&&r>=360&&r-t[0].getBoundingClientRect().bottom<360&&(n=!0),n?t.addClass("w-e-bar-bottom"):t.removeClass("w-e-bar-bottom")},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},e.prototype.changeItemsState=function(){var t=this;vs(function(){t.hoverbarItems.forEach(function(n){n.changeMenuState()})})},e.prototype.registerItems=function(t){var n=this,r=this.$elem;t.forEach(function(i){if(i!=="|")n.registerSingleItem(i);else{var o=dI();r.append(o)}})},e.prototype.registerSingleItem=function(t){var n=this.getEditorInstance(),r=this.menus,i=r[t];if(i==null){var o=am[t];if(o==null)throw new Error("Not found menu item factory by key '"+t+"'");if(typeof o!="function")throw new Error("Menu item factory (key='"+t+"') is not a function");i=o(),r[t]=i}var a=mI(t,i);this.hoverbarItems.push(a),OA.set(a,n),this.$elem.append(a.$elem)},e.prototype.setPosition=function(t){var n=this.getEditorInstance(),r=this.$elem;if(r.attr("style",""),Qt.isElement(t)){var i=hO(n,t,"bar");return r.css(i),void pO(n,r)}if(kt.isText(t))return i=dO(n),r.css(i),void pO(n,r);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},e.prototype.getSelectedNodeAndMenuKeys=function(){var t=this.getEditorInstance();if(t.selection==null)return null;var n=this.getHoverbarKeysConf(),r=null,i=[],o=function(s){var u=n[s],l=u.match,c=u.menuKeys,d=c===void 0?[]:c,p=l||function(m,v){return ae.checkNodeType(v,s)},h=sr(B.nodes(t,{match:function(m){return p(t,m)},universal:!0}),1),_=h[0];if(_!=null)return r=_[0],i=d,"break"};for(var a in n)if(o(a)==="break")break;return r==null||i.length===0?null:{node:r,menuKeys:i}},e.prototype.getEditorInstance=function(){var t=AA.get(this);if(t==null)throw new Error("Can not get editor instance");return t},e.prototype.getHoverbarKeysConf=function(){var t=this.getEditorInstance().getConfig().hoverbarKeys,n=t===void 0?{}:t,r=n.text;return r&&r.match==null&&(r.match=Q$),n},e.prototype.isSamePath=function(t,n){if(t==null||n==null)return!1;var r=ae.findPath(null,t),i=ae.findPath(null,n);return Ne.equals(r,i)},e.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},e}();function vI(e,t,n,r){if(nm.set(e,t),wh.set(e,n),Qt.isElement(e)){var i=e.children;if((i===void 0?[]:i).forEach(function(s,u){return vI(s,u,e,r)}),B.isVoid(r,e)){var o=sr(Tt.texts(e),1),a=sr(o[0],1)[0];nm.set(a,0),wh.set(a,e)}}}function q$(e){var t=e.selector,n=t===void 0?"":t,r=e.config,i=r===void 0?{}:r,o=e.content,a=e.html,s=e.plugins,u=s===void 0?[]:s,l=(y=>{var g=y,{apply:S}=g;return g.history={undos:[],redos:[]},g.redo=()=>{var{history:R}=g,{redos:U}=R;if(U.length>0){var Q=U[U.length-1];vh.withoutSaving(g,()=>{B.withoutNormalizing(g,()=>{for(var X of Q)g.apply(X)})}),R.redos.pop(),R.undos.push(Q)}},g.undo=()=>{var{history:R}=g,{undos:U}=R;if(U.length>0){var Q=U[U.length-1];vh.withoutSaving(g,()=>{B.withoutNormalizing(g,()=>{var X=Q.map(jl.inverse).reverse();for(var le of X)g.apply(le)})}),R.redos.push(Q),R.undos.pop()}},g.apply=R=>{var{operations:U,history:Q}=g,{undos:X}=Q,le=X[X.length-1],xe=le&&le[le.length-1],Qe=((lt,ct)=>!(!ct||lt.type!=="set_selection"||ct.type!=="set_selection"))(R,xe),it=vh.isSaving(g),Ze=vh.isMerging(g);if(it==null&&(it=((lt,ct)=>lt.type!=="set_selection"||lt.properties!=null&<.newProperties!=null)(R)),it){if(Ze==null&&(Ze=le!=null&&(U.length!==0||((lt,ct)=>lt.type==="set_selection"||!(!ct||lt.type!=="insert_text"||ct.type!=="insert_text"||lt.offset!==ct.offset+ct.text.length||!Ne.equals(lt.path,ct.path))||!(!ct||lt.type!=="remove_text"||ct.type!=="remove_text"||lt.offset+lt.text.length!==ct.offset||!Ne.equals(lt.path,ct.path)))(R,xe)||Qe)),le&&Ze)Qe&&le.pop(),le.push(R);else{var vt=[R];X.push(vt)}for(;X.length>100;)X.shift();(lt=>lt.type!=="set_selection")(R)&&(Q.redos=[])}S(R)},g})(function(y){var g=y,S=g.insertText,R=g.insertNode,U=g.insertFragment,Q=g.dangerouslyInsertHtml;return g.insertText=function(X){if(g.getConfig().maxLength){var le=ae.getLeftLengthOfMaxLength(g);le<=0||(le<X.length?S(X.slice(0,le)):S(X))}else S(X)},g.insertNode=function(X){if(g.getConfig().maxLength){var le=ae.getLeftLengthOfMaxLength(g);le<=0||le<Tt.string(X).length||R(X)}else R(X)},g.insertFragment=function(X){if(g.getConfig().maxLength)if(X.length!==1)X.forEach(function(xe){g.insertNode(xe)});else{var le=X[0];if(ae.getLeftLengthOfMaxLength(g)<Tt.string(le).length)return;U(X)}else U(X)},g.dangerouslyInsertHtml=function(X,le){if(X===void 0&&(X=""),le===void 0&&(le=!1),X)if(g.getConfig().maxLength){var xe=ae.getLeftLengthOfMaxLength(g);if(!(xe<=0)){var Qe=document.createElement("div");Qe.innerHTML=X;var it=Array.from(Qe.childNodes).reduce(function(Ze,vt){var lt=vt.nodeType,ct=vt.nodeName;return vt?lt===Eu.TEXT_NODE?Ze+(vt.textContent||""):lt===Eu.ELEMENT_NODE?Y9.has(ct.toLowerCase())?Ze:Ze+(vt.textContent||""):Ze:Ze},"");xe<it.length||Q(X,le)}}else Q(X,le)},g}(function(y){var g=y;return g.on=function(S,R){var U=By(g);if(U.on(S,R),S==="destroyed"&&Z9(g,R),S!=="destroyed"){var Q=function(){return U.off(S,R)};U.on("destroyed",Q),Z9(g,Q)}},g.once=function(S,R){By(g).once(S,R)},g.off=function(S,R){By(g).off(S,R)},g.emit=function(S){for(var R=[],U=1;U<arguments.length;U++)R[U-1]=arguments[U];var Q=By(g);Q.emit.apply(Q,pA([S],sr(R))),S==="destroyed"&&(O$(g).forEach(function(X){return Q.off("destroyed",X)}),x$(g))},g}(function(y){var g=y;return g.select=function(S){Me.select(g,S)},g.deselect=function(){var S=g.selection,R=ae.findDocumentOrShadowRoot(g).getSelection();R&&R.rangeCount>0&&R.removeAllRanges(),S&&Me.deselect(y)},g.move=function(S,R){R===void 0&&(R=!1),S&&(S<0||Me.move(y,{distance:S,unit:"character",reverse:R}))},g.moveReverse=function(S){g.move(S,!0)},g.restoreSelection=function(){var S=TA.get(g);S!=null&&(g.focus(),Me.select(g,S))},g.getSelectionPosition=function(){return dO(g)},g.getNodePosition=function(S){return hO(g,S)},g.isSelectedAll=function(){var S=g.selection;if(S==null)return!1;var R=sr(Je.edges(S),2),U=R[0],Q=R[1],X=sr(B.edges(g,[]),2),le=X[0],xe=X[1];return!(!Wn.equals(U,le)||!Wn.equals(Q,xe))},g.selectAll=function(){var S=B.start(g,[]),R=B.end(g,[]);Me.select(g,{anchor:S,focus:R})},g}(function(y){var g=y,S=g.onChange,R=g.insertText,U=g.apply,Q=g.deleteBackward;return g.insertText=function(X){g.getConfig().readOnly||R(X)},g.apply=function(X){var le,xe,Qe,it,Ze,vt,lt,ct,dt=[];switch(X.type){case"insert_text":case"remove_text":case"set_node":try{for(var Pt=ms(B.levels(g,{at:X.path})),Kt=Pt.next();!Kt.done;Kt=Pt.next()){var Gt=sr(Kt.value,2),zt=Gt[0],ye=Gt[1],re=ae.findKey(g,zt);dt.push([ye,re])}}catch(qn){le={error:qn}}finally{try{Kt&&!Kt.done&&(xe=Pt.return)&&xe.call(Pt)}finally{if(le)throw le.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var De=ms(B.levels(g,{at:Ne.parent(X.path)})),tt=De.next();!tt.done;tt=De.next()){var wt=sr(tt.value,2);zt=wt[0],ye=wt[1],re=ae.findKey(g,zt),dt.push([ye,re])}}catch(qn){Qe={error:qn}}finally{try{tt&&!tt.done&&(it=De.return)&&it.call(De)}finally{if(Qe)throw Qe.error}}break;case"move_node":try{for(var st=ms(B.levels(g,{at:Ne.common(Ne.parent(X.path),Ne.parent(X.newPath))})),Bt=st.next();!Bt.done;Bt=st.next()){var on=sr(Bt.value,2);zt=on[0],ye=on[1],re=ae.findKey(g,zt),dt.push([ye,re])}}catch(qn){Ze={error:qn}}finally{try{Bt&&!Bt.done&&(vt=st.return)&&vt.call(st)}finally{if(Ze)throw Ze.error}}}U(X);try{for(var En=ms(dt),Ln=En.next();!Ln.done;Ln=En.next()){var ft=sr(Ln.value,2);ye=ft[0],re=ft[1],zt=sr(B.node(g,ye),1)[0],Iy.set(zt,re)}}catch(qn){lt={error:qn}}finally{try{Ln&&!Ln.done&&(ct=En.return)&&ct.call(En)}finally{if(lt)throw lt.error}}},g.deleteBackward=function(X){if(X!=="line")return Q(X);if(y.selection&&Je.isCollapsed(y.selection)){var le=B.above(y,{match:function(Ze){return B.isBlock(y,Ze)},at:y.selection});if(le){var xe=sr(le,2)[1],Qe=B.range(y,xe,y.selection.anchor),it=function(Ze,vt){var lt=B.range(Ze,Je.end(vt)),ct=Array.from(B.positions(Ze,{at:vt})),dt=0,Pt=ct.length,Kt=Math.floor(Pt/2);if(I9(Ze,B.range(Ze,ct[dt]),lt))return B.range(Ze,ct[dt],lt);if(ct.length<2)return B.range(Ze,ct[ct.length-1],lt);for(;Kt!==ct.length&&Kt!==dt;)I9(Ze,B.range(Ze,ct[Kt]),lt)?Pt=Kt:dt=Kt,Kt=Math.floor((dt+Pt)/2);return B.range(Ze,ct[Pt],lt)}(g,Qe);Je.isCollapsed(it)||Me.delete(y,{at:it})}}},g.onChange=function(){var X=g.selection;X!=null&&TA.set(g,X),g.emit("change"),S()},g.handleTab=function(){g.insertText(" ")},g.getHtml=function(){var X=g.children;return(X===void 0?[]:X).map(function(le){return D9(le,g)}).join("")},g.getText=function(){var X=g.children;return(X===void 0?[]:X).map(function(le){return Tt.string(le)}).join(`
|
|
|
`)},g.getSelectionText=function(){var X=g.selection;return X==null?"":B.string(y,X)},g.getElemsByType=function(X,le){var xe,Qe;le===void 0&&(le=!1);var it=[],Ze=B.nodes(g,{at:[],universal:!0});try{for(var vt=ms(Ze),lt=vt.next();!lt.done;lt=vt.next()){var ct=sr(lt.value,1)[0];if(Qt.isElement(ct)&&(le?ct.type.indexOf(X)>=0:ct.type===X)){var dt=R9(ae.findKey(g,ct).id);it.push(gs(gs({},ct),{id:dt}))}}}catch(Pt){xe={error:Pt}}finally{try{lt&&!lt.done&&(Qe=vt.return)&&Qe.call(vt)}finally{if(xe)throw xe.error}}return it},g.getElemsByTypePrefix=function(X){return g.getElemsByType(X,!0)},g.isEmpty=function(){var X=g.children,le=X===void 0?[]:X;if(le.length>1)return!1;var xe=le[0];if(xe==null)return!0;if(Qt.isElement(xe)&&xe.type==="paragraph"){var Qe=xe.children,it=Qe===void 0?[]:Qe;if(it.length>1)return!1;var Ze=it[0];if(Ze==null)return!0;if(kt.isText(Ze)&&Ze.text==="")return!0}return!1},g.clear=function(){Me.delete(g,{at:{anchor:B.start(g,[]),focus:B.end(g,[])}}),g.children.length===0&&Me.insertNodes(g,[{type:"paragraph",children:[{text:""}]}])},g.getParentNode=function(X){return ae.getParentNode(g,X)},g.dangerouslyInsertHtml=function(X,le){if(X===void 0&&(X=""),le===void 0&&(le=!1),X){var xe=document.createElement("div");xe.innerHTML=X;var Qe=Array.from(xe.childNodes);if(Qe=Qe.filter(function(lt){var ct=lt.nodeType,dt=lt.nodeName;return ct===Eu.TEXT_NODE||ct===Eu.ELEMENT_NODE&&!Y9.has(dt.toLowerCase())}),Qe.length!==0){var it=g.selection;if(it!=null){var Ze=null;ae.isSelectedEmptyParagraph(g)&&!le&&(Ze=[it.focus.path[0]]),xe.setAttribute("hidden","true"),document.body.appendChild(xe);var vt=0;Qe.forEach(function(lt){var ct=lt.nodeType,dt=lt.nodeName,Pt=lt.textContent,Kt=Pt===void 0?"":Pt;if(ct!==Eu.TEXT_NODE)if(dt!=="BR"){var Gt=lt,zt=!1;if(P9.includes(dt.toLowerCase()))zt=!0;else for(var ye in My)if(Gt.matches(ye)){zt=!0;break}if(zt){var re=aO(ve(Gt),g);return Array.isArray(re)?(re.forEach(function(tt){return K9(g,tt)}),vt++):(K9(g,re),vt++),void(ae.isSelectedVoidNode(g)&&g.move(1))}var De=window.getComputedStyle(Gt).display;ae.isSelectedEmptyParagraph(g)||De.indexOf("inline")<0&&g.insertBreak(),g.dangerouslyInsertHtml(Gt.innerHTML,!0)}else g.insertText(`
|
|
|
`);else{if(!Kt||!Kt.trim())return;g.insertNode({text:Kt})}}),vt&&Ze&&ae.isEmptyPath(g,Ze)&&Me.removeNodes(g,{at:Ze}),xe.remove()}}}},g.setHtml=function(X){X===void 0&&(X="");var le=g.isDisabled(),xe=g.isFocused(),Qe=JSON.stringify(g.selection);g.enable(),g.focus(),g.clear();var it=z9(g,X);if(Me.insertFragment(g,it),xe||(g.deselect(),g.blur()),le&&(g.deselect(),g.disable()),g.isFocused())try{g.select(JSON.parse(Qe))}catch(Ze){g.select(B.start(g,[]))}},g}(function(y){var g=y;return g.getAllMenuKeys=function(){var S=[];for(var R in am)S.push(R);return S},g.getConfig=function(){var S=U6.get(g);if(S==null)throw new Error("Can not get editor config");return S},g.getMenuConfig=function(S){var R=g.getConfig().MENU_CONF;return(R===void 0?{}:R)[S]||{}},g.alert=function(S,R){R===void 0&&(R="info");var U=g.getConfig().customAlert;U&&U(S,R)},g}(function(y){var g=f$(LG());return g.id="wangEditor-"+bq++,g.isDestroyed=!1,g.isFullScreen=!1,g.focus=function(S){if(ae.toDOMNode(g,g).focus({preventScroll:!0}),Nf.set(g,!0),S){var R=B.end(g,[]);Me.select(g,R)}else{var U=TA.get(g);U?Me.select(g,U):Me.select(g,B.start(g,[]))}},g.isFocused=function(){return!!Nf.get(g)},g.blur=function(){ae.toDOMNode(g,g).blur(),Me.deselect(g),Nf.set(g,!1)},g.updateView=function(){ae.getTextarea(g).changeViewState();var S=ae.getToolbar(g);S&&S.changeToolbarState();var R=ae.getHoverbar(g);R&&R.changeHoverbarState()},g.destroy=function(){if(!g.isDestroyed){var S=ae.getTextarea(g);S.destroy(),_A.delete(g),EA.delete(S);var R=ae.getToolbar(g);R&&(R.destroy(),Sy.delete(g),wA.delete(R));var U=ae.getHoverbar(g);U&&(U.destroy(),Ty.delete(g),AA.delete(U)),g.isDestroyed=!0,g.emit("destroyed")}},g.scrollToElem=function(S){if(!g.getConfig().scroll){var R="\u7F16\u8F91\u5668\u7981\u7528\u4E86 scroll \uFF0C\u7F16\u8F91\u5668\u5185\u5BB9\u65E0\u6CD5\u6EDA\u52A8\uFF0C\u8BF7\u81EA\u884C\u5B9E\u73B0\u8BE5\u529F\u80FD";return R+=`
|
|
|
You has disabled editor scroll, please do this yourself`,void console.warn(R)}var U=ve("#"+S);if(U.length!==0){var Q=U[0];if(!ae.hasDOMNode(g,Q))return R="Element (found by id is '"+S+"') is not in editor DOM",R+=`
|
|
|
\u901A\u8FC7 id '`+S+"' \u627E\u5230\u7684 element \u4E0D\u5728 editor DOM \u4E4B\u5185",void console.error(R,Q);var X=ae.getTextarea(g),le=X.$textAreaContainer,xe=X.$scroll,Qe=U.offset().top,it=le.offset().top;xe[0].scrollBy({top:Qe-it,behavior:"smooth"})}},g.showProgressBar=function(S){S<1||ae.getTextarea(g).changeProgress(S)},g.hidePanelOrModal=function(){var S=xA.get(g);S!=null&&S.forEach(function(R){return R.hide()})},g.enable=function(){g.getConfig().readOnly=!1,g.updateView()},g.disable=function(){g.getConfig().readOnly=!0,g.updateView()},g.isDisabled=function(){return g.getConfig().readOnly},g.toDOMNode=function(S){return ae.toDOMNode(g,S)},g.fullScreen=function(){if(!g.isFullScreen){var S=null,R=ae.getToolbar(g);R&&(S=R.$box);var U=ae.getTextarea(g).$box.parent();if(S&&S.parent()[0]!==U[0])throw new Error(`Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent
|
|
|
\u4E0D\u80FD\u8BBE\u7F6E\u5168\u5C4F\uFF0C\u56E0\u4E3A toolbar DOM \u7236\u8282\u70B9\u548C textarea DOM \u7236\u8282\u70B9\u4E0D\u4E00\u81F4`);U.addClass("w-e-full-screen-container");var Q=U.css("z-index");U.attr("data-z-index",Q.toString()),g.isFullScreen=!0,g.emit("fullScreen")}},g.unFullScreen=function(){if(g.isFullScreen){var S=ae.getTextarea(g).$box.parent();setTimeout(function(){S.removeClass("w-e-full-screen-container"),g.isFullScreen=!1,g.emit("unFullScreen")},200)}},g.getEditableContainer=function(){return ae.getTextarea(g).$textAreaContainer[0]},g}()))))));if(n&&function(y,g){return W9(y,"data-w-e-textarea",g)}(l,n))throw new Error("Repeated create editor by selector '"+n+"'");var c=function(y){y===void 0&&(y={});var g=B8(q6),S={},R=y.MENU_CONF,U=R===void 0?{}:R;return Lw(g,function(Q,X){S[X]=gs(gs({},Q),U[X]||{})}),delete y.MENU_CONF,gs({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:S,hoverbarKeys:{},customAlert:function(Q,X){window.alert(X+`:
|
|
|
`+Q)}},y)}(i);U6.set(l,c);var d=c.hoverbarKeys,p=d===void 0?{}:d;if(u.forEach(function(y){l=y(l)}),a!=null&&(l.children=z9(l,a)),o&&o.length&&(l.children=o),l.children.length===0&&(l.children=[{type:"paragraph",children:[{text:""}]}]),ae.normalizeContent(l),n){var h=new W$(n);_A.set(l,h),EA.set(h,l),h.changeViewState(),vs(function(){var y=h.$scroll;y!=null&&y.height()<300&&console.warn(`\u7F16\u8F91\u533A\u57DF\u9AD8\u5EA6 < 300px \u8FD9\u53EF\u80FD\u4F1A\u5BFC\u81F4 modal hoverbar \u5B9A\u4F4D\u5F02\u5E38
|
|
|
Textarea height < 300px . This may be cause modal and hoverbar position error`,y)});var _=void 0;Object.keys(p).length>0&&(_=new Z$,AA.set(_,l),Ty.set(l,_)),l.on("change",function(){l.hidePanelOrModal()}),l.on("scroll",function(){l.hidePanelOrModal()})}else l.children.forEach(function(y,g){return vI(y,g,l,l)});var m=c.onCreated,v=c.onDestroyed;return m&&l.on("created",function(){return m(l)}),v&&l.on("destroyed",function(){return v(l)}),vs(function(){return l.emit("created")}),l}var $$=my("splice"),eee=xt.TypeError,tee=Math.max,nee=Math.min;pi({target:"Array",proto:!0,forced:!$$},{splice:function(e,t){var n,r,i,o,a,s,u=Gl(this),l=Tf(u),c=gh(e,l),d=arguments.length;if(d===0?n=r=0:d===1?(n=0,r=l-c):(n=d-2,r=nee(tee(Hg(t),0),l-c)),l+n-r>9007199254740991)throw eee("Maximum allowed length exceeded");for(i=FN(u,r),o=0;o<r;o++)(a=c+o)in u&&Xg(i,o,u[a]);if(i.length=r,n<r){for(o=c;o<l-r;o++)s=o+n,(a=o+r)in u?u[s]=u[a]:delete u[s];for(o=l;o>l-r+n;o--)delete u[o-1]}else if(n>r)for(o=l-r;o>c;o--)s=o+n-1,(a=o+r-1)in u?u[s]=u[a]:delete u[s];for(o=0;o<n;o++)u[o+c]=arguments[o+2];return u.length=l-r+n,i}});var ree=function(){function e(t,n){var r=this;this.$toolbar=ve('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=F8(function(){r.toolbarItems.forEach(function(a){a.changeMenuState()})},200),this.config=n;var i=ve(t);if(i.length===0)throw new Error("Cannot find toolbar DOM by selector '"+t+"'");this.$box=i;var o=this.$toolbar;o.on("mousedown",function(a){return a.preventDefault()},{passive:!1}),i.append(o),vs(function(){r.registerItems(),r.changeToolbarState(),r.getEditorInstance().on("change",r.changeToolbarState)})}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.registerItems=function(){var t=this,n="",r=this.$toolbar,i=this.config,o=i.toolbarKeys,a=o===void 0?[]:o,s=i.insertKeys,u=s===void 0?{index:0,keys:[]}:s,l=i.excludeKeys,c=l===void 0?[]:l,d=B8(a);u.keys.length>0&&(typeof u.keys=="string"&&(u.keys=[u.keys]),u.keys.forEach(function(_,m){d.splice(u.index+m,0,_)}));var p=d.filter(function(_){if(typeof _=="string"){if(c.includes(_))return!1}else if(c.includes(_.key))return!1;return!0}),h=p.length;p.forEach(function(_,m){if(_==="|"){if(m===0)return;if(m+1===h)return;if(n==="|")return;var v=dI();return r.append(v),void(n=_)}if(typeof _=="string")return t.registerSingleItem(_,t),void(n=_);t.registerGroup(_),n="group"})},e.prototype.registerGroup=function(t){var n=this,r=this.$toolbar,i=function(l){return new pI(l)}(t),o=t.menuKeys,a=o===void 0?[]:o,s=this.config.excludeKeys,u=s===void 0?[]:s;a.forEach(function(l){u.includes(l)||n.registerSingleItem(l,i)}),r.append(i.$elem)},e.prototype.registerSingleItem=function(t,n){var r=this.getEditorInstance(),i=n instanceof pI,o=this.menus,a=o[t];if(a==null){var s=am[t];if(s==null)throw new Error("Not found menu item factory by key '"+t+"'");if(typeof s!="function")throw new Error("Menu item factory (key='"+t+"') is not a function");a=s(),o[t]=a}else console.warn("Duplicated toolbar menu key '"+t+`'
|
|
|
\u91CD\u590D\u6CE8\u518C\u4E86\u83DC\u5355\u680F menu '`+t+"'");var u=mI(t,a,i);this.toolbarItems.push(u),OA.set(u,r),i?n.appendBarItem(u):n.$toolbar.append(u.$elem)},e.prototype.getEditorInstance=function(){var t=wA.get(this);if(t==null)throw new Error("Can not get editor instance");return t},e.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[]},e}(),iee=dh.EXISTS,oee=Ws.f,yI=Function.prototype,aee=$t(yI.toString),bI=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,see=$t(bI.exec);function _I(e){var t=e.server,n=t===void 0?"":t,r=e.fieldName,i=r===void 0?"":r,o=e.maxFileSize,a=o===void 0?10485760:o,s=e.maxNumberOfFiles,u=s===void 0?100:s,l=e.meta,c=l===void 0?{}:l,d=e.metaWithUrl,p=d!==void 0&&d,h=e.headers,_=h===void 0?{}:h,m=e.withCredentials,v=m!==void 0&&m,y=e.timeout,g=y===void 0?1e4:y,S=e.onBeforeUpload,R=S===void 0?function(vt){return vt}:S,U=e.onSuccess,Q=U===void 0?function(vt,lt){}:U,X=e.onError,le=X===void 0?function(vt,lt,ct){console.error(vt.name+" upload error",lt,ct)}:X,xe=e.onProgress,Qe=xe===void 0?function(vt){}:xe;if(!n)throw new Error(`Cannot get upload server address
|
|
|
\u6CA1\u6709\u914D\u7F6E\u4E0A\u4F20\u5730\u5740`);if(!i)throw new Error(`Cannot get fieldName
|
|
|
\u6CA1\u6709\u914D\u7F6E fieldName`);var it=n;p&&(it=function(vt,lt){var ct=sr(vt.split("#"),2),dt=ct[0],Pt=ct[1],Kt=[];Lw(lt,function(zt,ye){Kt.push(ye+"="+zt)});var Gt=Kt.join("&");return dt=dt.indexOf("?")>0?dt+"&"+Gt:dt+"?"+Gt,Pt?dt+"#"+Pt:dt}(it,c));var Ze=new Dg({onBeforeUpload:R,restrictions:{maxFileSize:a,maxNumberOfFiles:u},meta:c}).use(LJ,{endpoint:it,headers:_,formData:!0,fieldName:i,bundle:!0,withCredentials:v,timeout:g});return Ze.on("upload-success",function(vt,lt){var ct=lt.body,dt=ct===void 0?{}:ct;try{Q(vt,dt)}catch(Pt){console.error("wangEditor upload file - onSuccess error",Pt)}Ze.removeFile(vt.id)}),Ze.on("progress",function(vt){vt<1||Qe(vt)}),Ze.on("upload-error",function(vt,lt,ct){try{le(vt,lt,ct)}catch(dt){console.error("wangEditor upload file - onError error",dt)}Ze.removeFile(vt.id)}),Ze.on("restriction-failed",function(vt,lt){try{le(vt,lt)}catch(ct){console.error("wangEditor upload file - onError error",ct)}Ze.removeFile(vt.id)}),Ze}function Zl(e){return Zl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zl(e)}function uee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ao(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?Object(arguments[t]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),r.forEach(function(i){uee(e,i,n[i])})}return e}function ol(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EI(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function al(e,t,n){return t&&EI(e.prototype,t),n&&EI(e,n),e}function Mf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mm(e,t){if(t&&(Zl(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mf(e)}function Lh(e){return Lh=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Lh(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},xO(e,t)}function Wy(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xO(e,t)}xo&&!iee&&oee(yI,"name",{configurable:!0,get:function(){try{return see(bI,aee(this))[1]}catch(e){return""}}});var lee={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},sl=new(function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ol(this,e),this.init(t,n)}return al(e,[{key:"init",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||lee,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(t){this.debug=t}},{key:"log",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(t,n,r,i){return i&&!this.debug?null:(typeof t[0]=="string"&&(t[0]="".concat(r).concat(this.prefix," ").concat(t[0])),this.logger[n](t))}},{key:"create",value:function(t){return new e(this.logger,ao({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),ql=function(){function e(){ol(this,e),this.observers={}}return al(e,[{key:"on",value:function(t,n){var r=this;return t.split(" ").forEach(function(i){r.observers[i]=r.observers[i]||[],r.observers[i].push(n)}),this}},{key:"off",value:function(t,n){this.observers[t]&&(n?this.observers[t]=this.observers[t].filter(function(r){return r!==n}):delete this.observers[t])}},{key:"emit",value:function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];if(this.observers[t]){var o=[].concat(this.observers[t]);o.forEach(function(s){s.apply(void 0,r)})}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach(function(s){s.apply(s,[t].concat(r))})}}}]),e}();function vm(){var e,t,n=new Promise(function(r,i){e=r,t=i});return n.resolve=e,n.reject=t,n}function wI(e){return e==null?"":""+e}function cee(e,t,n){e.forEach(function(r){t[r]&&(n[r]=t[r])})}function CO(e,t,n){function r(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var o=typeof t!="string"?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return i()?{}:{obj:e,k:r(o.shift())}}function AI(e,t,n){var r=CO(e,t,Object);r.obj[r.k]=n}function zy(e,t){var n=CO(e,t),r=n.obj,i=n.k;if(r)return r[i]}function OI(e,t,n){var r=zy(e,n);return r!==void 0?r:zy(t,n)}function xI(e,t,n){for(var r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):xI(e[r],t[r],n):e[r]=t[r]);return e}function jh(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var fee={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function dee(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,function(t){return fee[t]}):e}var Vy=typeof window!="undefined"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function CI(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),i=e,o=0;o<r.length;++o){if(!i)return;if(typeof i[r[o]]=="string"&&o+1<r.length)return;if(i[r[o]]===void 0){for(var a=2,s=r.slice(o,o+a).join(n),u=i[s];u===void 0&&r.length>o+a;)a++,u=i[s=r.slice(o,o+a).join(n)];if(u===void 0)return;if(typeof u=="string")return u;if(s&&typeof u[s]=="string")return u[s];var l=r.slice(o+a).join(n);return l?CI(u,l,n):void 0}i=i[r[o]]}return i}}var hee=function(e){function t(n){var r,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return ol(this,t),r=mm(this,Lh(t).call(this)),Vy&&ql.call(Mf(r)),r.data=n||{},r.options=i,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.options.ignoreJSONStructure===void 0&&(r.options.ignoreJSONStructure=!0),r}return Wy(t,ql),al(t,[{key:"addNamespaces",value:function(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}},{key:"removeNamespaces",value:function(n){var r=this.options.ns.indexOf(n);r>-1&&this.options.ns.splice(r,1)}},{key:"getResource",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,s=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure,u=[n,r];i&&typeof i!="string"&&(u=u.concat(i)),i&&typeof i=="string"&&(u=u.concat(a?i.split(a):i)),n.indexOf(".")>-1&&(u=n.split("."));var l=zy(this.data,u);return l||!s||typeof i!="string"?l:CI(this.data&&this.data[n]&&this.data[n][r],i,a)}},{key:"addResource",value:function(n,r,i,o){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},s=this.options.keySeparator;s===void 0&&(s=".");var u=[n,r];i&&(u=u.concat(s?i.split(s):i)),n.indexOf(".")>-1&&(o=r,r=(u=n.split("."))[1]),this.addNamespaces(r),AI(this.data,u,o),a.silent||this.emit("added",n,r,i,o)}},{key:"addResources",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in i)typeof i[a]!="string"&&Object.prototype.toString.apply(i[a])!=="[object Array]"||this.addResource(n,r,a,i[a],{silent:!0});o.silent||this.emit("added",n,r,i)}},{key:"addResourceBundle",value:function(n,r,i,o,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},u=[n,r];n.indexOf(".")>-1&&(o=i,i=r,r=(u=n.split("."))[1]),this.addNamespaces(r);var l=zy(this.data,u)||{};o?xI(l,i,a):l=ao({},l,i),AI(this.data,u,l),s.silent||this.emit("added",n,r,i)}},{key:"removeResourceBundle",value:function(n,r){this.hasResourceBundle(n,r)&&delete this.data[n][r],this.removeNamespaces(r),this.emit("removed",n,r)}},{key:"hasResourceBundle",value:function(n,r){return this.getResource(n,r)!==void 0}},{key:"getResourceBundle",value:function(n,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?ao({},{},this.getResource(n,r)):this.getResource(n,r)}},{key:"getDataByLanguage",value:function(n){return this.data[n]}},{key:"toJSON",value:function(){return this.data}}]),t}(),SI={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach(function(a){o.processors[a]&&(t=o.processors[a].process(t,n,r,i))}),t}},TI={},DI=function(e){function t(n){var r,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ol(this,t),r=mm(this,Lh(t).call(this)),Vy&&ql.call(Mf(r)),cee(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,Mf(r)),r.options=i,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.logger=sl.create("translator"),r}return Wy(t,ql),al(t,[{key:"changeLanguage",value:function(n){n&&(this.language=n)}},{key:"exists",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(n==null)return!1;var i=this.resolve(n,r);return i&&i.res!==void 0}},{key:"extractFromKey",value:function(n,r){var i=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");var o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,a=r.ns||this.options.defaultNS;if(i&&n.indexOf(i)>-1){var s=n.match(this.interpolator.nestingRegexp);if(s&&s.length>0)return{key:n,namespaces:a};var u=n.split(i);(i!==o||i===o&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),n=u.join(o)}return typeof a=="string"&&(a=[a]),{key:n,namespaces:a}}},{key:"translate",value:function(n,r,i){var o=this;if(Zl(r)!=="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),r||(r={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);var a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,s=this.extractFromKey(n[n.length-1],r),u=s.key,l=s.namespaces,c=l[l.length-1],d=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&d.toLowerCase()==="cimode"){if(p){var h=r.nsSeparator||this.options.nsSeparator;return c+h+u}return u}var _=this.resolve(n,r),m=_&&_.res,v=_&&_.usedKey||u,y=_&&_.exactUsedKey||u,g=Object.prototype.toString.apply(m),S=["[object Number]","[object Function]","[object RegExp]"],R=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,U=!this.i18nFormat||this.i18nFormat.handleAsObject,Q=typeof m!="string"&&typeof m!="boolean"&&typeof m!="number";if(U&&m&&Q&&S.indexOf(g)<0&&(typeof R!="string"||g!=="[object Array]")){if(!r.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,m,ao({},r,{ns:l})):"key '".concat(u," (").concat(this.language,")' returned an object instead of string.");if(a){var X=g==="[object Array]",le=X?[]:{},xe=X?y:v;for(var Qe in m)if(Object.prototype.hasOwnProperty.call(m,Qe)){var it="".concat(xe).concat(a).concat(Qe);le[Qe]=this.translate(it,ao({},r,{joinArrays:!1,ns:l})),le[Qe]===it&&(le[Qe]=m[Qe])}m=le}}else if(U&&typeof R=="string"&&g==="[object Array]")(m=m.join(R))&&(m=this.extendTranslation(m,n,r,i));else{var Ze=!1,vt=!1,lt=r.count!==void 0&&typeof r.count!="string",ct=t.hasDefaultValue(r),dt=lt?this.pluralResolver.getSuffix(d,r.count):"",Pt=r["defaultValue".concat(dt)]||r.defaultValue;!this.isValidLookup(m)&&ct&&(Ze=!0,m=Pt),this.isValidLookup(m)||(vt=!0,m=u);var Kt=r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Gt=Kt&&vt?void 0:m,zt=ct&&Pt!==m&&this.options.updateMissing;if(vt||Ze||zt){if(this.logger.log(zt?"updateKey":"missingKey",d,c,u,zt?Pt:m),a){var ye=this.resolve(u,ao({},r,{keySeparator:!1}));ye&&ye.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var re=[],De=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&De&&De[0])for(var tt=0;tt<De.length;tt++)re.push(De[tt]);else this.options.saveMissingTo==="all"?re=this.languageUtils.toResolveHierarchy(r.lng||this.language):re.push(r.lng||this.language);var wt=function(st,Bt,on){o.options.missingKeyHandler?o.options.missingKeyHandler(st,c,Bt,zt?on:Gt,zt,r):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(st,c,Bt,zt?on:Gt,zt,r),o.emit("missingKey",st,c,Bt,m)};this.options.saveMissing&&(this.options.saveMissingPlurals&<?re.forEach(function(st){o.pluralResolver.getSuffixes(st).forEach(function(Bt){wt([st],u+Bt,r["defaultValue".concat(Bt)]||Pt)})}):wt(re,u,Pt))}m=this.extendTranslation(m,n,r,_,i),vt&&m===u&&this.options.appendNamespaceToMissingKey&&(m="".concat(c,":").concat(u)),(vt||Ze)&&this.options.parseMissingKeyHandler&&(m=this.options.parseMissingKeyHandler(m))}return m}},{key:"extendTranslation",value:function(n,r,i,o,a){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)n=this.i18nFormat.parse(n,i,o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init(ao({},i,{interpolation:ao({},this.options.interpolation,i.interpolation)}));var u,l=i.interpolation&&i.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(l){var c=n.match(this.interpolator.nestingRegexp);u=c&&c.length}var d=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(d=ao({},this.options.interpolation.defaultVariables,d)),n=this.interpolator.interpolate(n,d,i.lng||this.language,i),l){var p=n.match(this.interpolator.nestingRegexp);u<(p&&p.length)&&(i.nest=!1)}i.nest!==!1&&(n=this.interpolator.nest(n,function(){for(var m=arguments.length,v=new Array(m),y=0;y<m;y++)v[y]=arguments[y];return a&&a[0]===v[0]&&!i.context?(s.logger.warn("It seems you are nesting recursively key: ".concat(v[0]," in key: ").concat(r[0])),null):s.translate.apply(s,v.concat([r]))},i)),i.interpolation&&this.interpolator.reset()}var h=i.postProcess||this.options.postProcess,_=typeof h=="string"?[h]:h;return n!=null&&_&&_.length&&i.applyPostProcessor!==!1&&(n=SI.handle(_,n,r,this.options&&this.options.postProcessPassResolved?ao({i18nResolved:o},i):i,this)),n}},{key:"resolve",value:function(n){var r,i,o,a,s,u=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof n=="string"&&(n=[n]),n.forEach(function(c){if(!u.isValidLookup(r)){var d=u.extractFromKey(c,l),p=d.key;i=p;var h=d.namespaces;u.options.fallbackNS&&(h=h.concat(u.options.fallbackNS));var _=l.count!==void 0&&typeof l.count!="string",m=l.context!==void 0&&(typeof l.context=="string"||typeof l.context=="number")&&l.context!=="",v=l.lngs?l.lngs:u.languageUtils.toResolveHierarchy(l.lng||u.language,l.fallbackLng);h.forEach(function(y){u.isValidLookup(r)||(s=y,!TI["".concat(v[0],"-").concat(y)]&&u.utils&&u.utils.hasLoadedNamespace&&!u.utils.hasLoadedNamespace(s)&&(TI["".concat(v[0],"-").concat(y)]=!0,u.logger.warn('key "'.concat(i,'" for languages "').concat(v.join(", "),`" won't get resolved as namespace "`).concat(s,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),v.forEach(function(g){if(!u.isValidLookup(r)){a=g;var S,R,U=p,Q=[U];for(u.i18nFormat&&u.i18nFormat.addLookupKeys?u.i18nFormat.addLookupKeys(Q,p,g,y,l):(_&&(S=u.pluralResolver.getSuffix(g,l.count)),_&&m&&Q.push(U+S),m&&Q.push(U+="".concat(u.options.contextSeparator).concat(l.context)),_&&Q.push(U+=S));R=Q.pop();)u.isValidLookup(r)||(o=R,r=u.getResource(g,y,R,l))}}))})}}),{res:r,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}},{key:"isValidLookup",value:function(n){return!(n===void 0||!this.options.returnNull&&n===null||!this.options.returnEmptyString&&n==="")}},{key:"getResource",value:function(n,r,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(n,r,i,o):this.resourceStore.getResource(n,r,i,o)}}],[{key:"hasDefaultValue",value:function(n){var r="defaultValue";for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&r===i.substring(0,r.length)&&n[i]!==void 0)return!0;return!1}}]),t}();function SO(e){return e.charAt(0).toUpperCase()+e.slice(1)}var pee=function(){function e(t){ol(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=sl.create("languageUtils")}return al(e,[{key:"getScriptPartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return null;var n=t.split("-");return n.length===2?null:(n.pop(),n[n.length-1].toLowerCase()==="x"?null:this.formatLanguageCode(n.join("-")))}},{key:"getLanguagePartFromCode",value:function(t){if(!t||t.indexOf("-")<0)return t;var n=t.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(t){if(typeof t=="string"&&t.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],r=t.split("-");return this.options.lowerCaseLng?r=r.map(function(i){return i.toLowerCase()}):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=SO(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=SO(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=SO(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}},{key:"isWhitelisted",value:function(t){return this.logger.deprecate("languageUtils.isWhitelisted",`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(t)}},{key:"isSupportedCode",value:function(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}},{key:"getBestMatchFromCodes",value:function(t){var n,r=this;return t?(t.forEach(function(i){if(!n){var o=r.formatLanguageCode(i);r.options.supportedLngs&&!r.isSupportedCode(o)||(n=o)}}),!n&&this.options.supportedLngs&&t.forEach(function(i){if(!n){var o=r.getLanguagePartFromCode(i);if(r.isSupportedCode(o))return n=o;n=r.options.supportedLngs.find(function(a){if(a.indexOf(o)===0)return a})}}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n):null}},{key:"getFallbackCodes",value:function(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];var r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}},{key:"toResolveHierarchy",value:function(t,n){var r=this,i=this.getFallbackCodes(n||this.options.fallbackLng||[],t),o=[],a=function(s){s&&(r.isSupportedCode(s)?o.push(s):r.logger.warn("rejecting language code not found in supportedLngs: ".concat(s)))};return typeof t=="string"&&t.indexOf("-")>-1?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):typeof t=="string"&&a(this.formatLanguageCode(t)),i.forEach(function(s){o.indexOf(s)<0&&a(r.formatLanguageCode(s))}),o}}]),e}(),gee=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],mee={1:function(e){return Number(e>1)},2:function(e){return Number(e!=1)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(e==1?0:e>=2&&e<=4?1:2)},7:function(e){return Number(e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(e==1?0:e==2?1:e!=8&&e!=11?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(e==1?0:e==2?1:e<7?2:e<11?3:4)},11:function(e){return Number(e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(e!==0)},14:function(e){return Number(e==1?0:e==2?1:e==3?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:e!==0?1:2)},17:function(e){return Number(e==1||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(e==0?0:e==1?1:2)},19:function(e){return Number(e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(e==1?0:e==0||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3)}};function vee(){var e={};return gee.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:mee[t.fc]}})}),e}var yee=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};ol(this,e),this.languageUtils=t,this.options=n,this.logger=sl.create("pluralResolver"),this.rules=vee()}return al(e,[{key:"addRule",value:function(t,n){this.rules[t]=n}},{key:"getRule",value:function(t){return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}},{key:"needsPlural",value:function(t){var n=this.getRule(t);return n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(t,n){return this.getSuffixes(t).map(function(r){return n+r})}},{key:"getSuffixes",value:function(t){var n=this,r=this.getRule(t);return r?r.numbers.map(function(i){return n.getSuffix(t,i)}):[]}},{key:"getSuffix",value:function(t,n){var r=this,i=this.getRule(t);if(i){var o=i.noAbs?i.plurals(n):i.plurals(Math.abs(n)),a=i.numbers[o];this.options.simplifyPluralSuffix&&i.numbers.length===2&&i.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var s=function(){return r.options.prepend&&a.toString()?r.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&i.numbers.length===2&&i.numbers[0]===1?s():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(t)),""}}]),e}(),bee=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ol(this,e),this.logger=sl.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(n){return n},this.init(t)}return al(e,[{key:"init",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});var n=t.interpolation;this.escape=n.escape!==void 0?n.escape:dee,this.escapeValue=n.escapeValue===void 0||n.escapeValue,this.useRawValueToEscape=n.useRawValueToEscape!==void 0&&n.useRawValueToEscape,this.prefix=n.prefix?jh(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?jh(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?jh(n.nestingPrefix):n.nestingPrefixEscaped||jh("$t("),this.nestingSuffix=n.nestingSuffix?jh(n.nestingSuffix):n.nestingSuffixEscaped||jh(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0&&n.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(r,"g")}},{key:"interpolate",value:function(t,n,r,i){var o,a,s,u=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(m){return m.replace(/\$/g,"$$$$")}var d=function(m){if(m.indexOf(u.formatSeparator)<0){var v=OI(n,l,m);return u.alwaysFormat?u.format(v,void 0,r,ao({},i,n,{interpolationkey:m})):v}var y=m.split(u.formatSeparator),g=y.shift().trim(),S=y.join(u.formatSeparator).trim();return u.format(OI(n,l,g),S,r,ao({},i,n,{interpolationkey:g}))};this.resetRegExp();var p=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,h=i&&i.interpolation&&i.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,_=[{regex:this.regexpUnescape,safeValue:function(m){return c(m)}},{regex:this.regexp,safeValue:function(m){return u.escapeValue?c(u.escape(m)):c(m)}}];return _.forEach(function(m){for(s=0;o=m.regex.exec(t);){if((a=d(o[1].trim()))===void 0)if(typeof p=="function"){var v=p(t,o,i);a=typeof v=="string"?v:""}else{if(h){a=o[0];continue}u.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(t)),a=""}else typeof a=="string"||u.useRawValueToEscape||(a=wI(a));var y=m.safeValue(a);if(t=t.replace(o[0],y),h?(m.regex.lastIndex+=y.length,m.regex.lastIndex-=o[0].length):m.regex.lastIndex=0,++s>=u.maxReplaces)break}}),t}},{key:"nest",value:function(t,n){var r,i,o=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=ao({},a);function u(p,h){var _=this.nestingOptionsSeparator;if(p.indexOf(_)<0)return p;var m=p.split(new RegExp("".concat(_,"[ ]*{"))),v="{".concat(m[1]);p=m[0],v=(v=this.interpolate(v,s)).replace(/'/g,'"');try{s=JSON.parse(v),h&&(s=ao({},h,s))}catch(y){return this.logger.warn("failed parsing options string in nesting for key ".concat(p),y),"".concat(p).concat(_).concat(v)}return delete s.defaultValue,p}for(s.applyPostProcessor=!1,delete s.defaultValue;r=this.nestingRegexp.exec(t);){var l=[],c=!1;if(r[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(r[1])){var d=r[1].split(this.formatSeparator).map(function(p){return p.trim()});r[1]=d.shift(),l=d,c=!0}if((i=n(u.call(this,r[1].trim(),s),s))&&r[0]===t&&typeof i!="string")return i;typeof i!="string"&&(i=wI(i)),i||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(t)),i=""),c&&(i=l.reduce(function(p,h){return o.format(p,h,a.lng,ao({},a,{interpolationkey:r[1].trim()}))},i.trim())),t=t.replace(r[0],i),this.regexp.lastIndex=0}return t}}]),e}(),_ee=function(e){function t(n,r,i){var o,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return ol(this,t),o=mm(this,Lh(t).call(this)),Vy&&ql.call(Mf(o)),o.backend=n,o.store=r,o.services=i,o.languageUtils=i.languageUtils,o.options=a,o.logger=sl.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(i,a.backend,a),o}return Wy(t,ql),al(t,[{key:"queueLoad",value:function(n,r,i,o){var a=this,s=[],u=[],l=[],c=[];return n.forEach(function(d){var p=!0;r.forEach(function(h){var _="".concat(d,"|").concat(h);!i.reload&&a.store.hasResourceBundle(d,h)?a.state[_]=2:a.state[_]<0||(a.state[_]===1?u.indexOf(_)<0&&u.push(_):(a.state[_]=1,p=!1,u.indexOf(_)<0&&u.push(_),s.indexOf(_)<0&&s.push(_),c.indexOf(h)<0&&c.push(h)))}),p||l.push(d)}),(s.length||u.length)&&this.queue.push({pending:u,loaded:{},errors:[],callback:o}),{toLoad:s,pending:u,toLoadLanguages:l,toLoadNamespaces:c}}},{key:"loaded",value:function(n,r,i){var o=n.split("|"),a=o[0],s=o[1];r&&this.emit("failedLoading",a,s,r),i&&this.store.addResourceBundle(a,s,i),this.state[n]=r?-1:2;var u={};this.queue.forEach(function(l){!function(c,d,p,h){var _=CO(c,d,Object),m=_.obj,v=_.k;m[v]=m[v]||[],m[v].push(p)}(l.loaded,[a],s),function(c,d){for(var p=c.indexOf(d);p!==-1;)c.splice(p,1),p=c.indexOf(d)}(l.pending,n),r&&l.errors.push(r),l.pending.length!==0||l.done||(Object.keys(l.loaded).forEach(function(c){u[c]||(u[c]=[]),l.loaded[c].length&&l.loaded[c].forEach(function(d){u[c].indexOf(d)<0&&u[c].push(d)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(function(l){return!l.done})}},{key:"read",value:function(n,r,i){var o=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,u=arguments.length>5?arguments[5]:void 0;return n.length?this.backend[i](n,r,function(l,c){l&&c&&a<5?setTimeout(function(){o.read.call(o,n,r,i,a+1,2*s,u)},s):u(l,c)}):u(null,{})}},{key:"prepareLoading",value:function(n,r){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof n=="string"&&(n=this.languageUtils.toResolveHierarchy(n)),typeof r=="string"&&(r=[r]);var s=this.queueLoad(n,r,o,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(function(u){i.loadOne(u)})}},{key:"load",value:function(n,r,i){this.prepareLoading(n,r,{},i)}},{key:"reload",value:function(n,r,i){this.prepareLoading(n,r,{reload:!0},i)}},{key:"loadOne",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=n.split("|"),a=o[0],s=o[1];this.read(a,s,"read",void 0,void 0,function(u,l){u&&r.logger.warn("".concat(i,"loading namespace ").concat(s," for language ").concat(a," failed"),u),!u&&l&&r.logger.log("".concat(i,"loaded namespace ").concat(s," for language ").concat(a),l),r.loaded(n,u,l)})}},{key:"saveMissing",value:function(n,r,i,o,a){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)?this.logger.warn('did not save key "'.concat(i,'" as the namespace "').concat(r,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):i!=null&&i!==""&&(this.backend&&this.backend.create&&this.backend.create(n,r,i,o,null,ao({},s,{isUpdate:a})),n&&n[0]&&this.store.addResource(n[0],r,i,o))}}]),t}();function Eee(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if(Zl(e[1])==="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),Zl(e[2])==="object"||Zl(e[3])==="object"){var n=e[3]||e[2];Object.keys(n).forEach(function(r){t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function RI(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Gy(){}var wee=function(e){function t(){var n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if(ol(this,t),n=mm(this,Lh(t).call(this)),Vy&&ql.call(Mf(n)),n.options=RI(r),n.services={},n.logger=sl,n.modules={external:[]},i&&!n.isInitialized&&!r.isClone){if(!n.options.initImmediate)return n.init(r,i),mm(n,Mf(n));setTimeout(function(){n.init(r,i)},0)}return n}return Wy(t,ql),al(t,[{key:"init",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;function o(h){return h?typeof h=="function"?new h:h:null}if(typeof r=="function"&&(i=r,r={}),r.whitelist&&!r.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),r.nonExplicitWhitelist&&!r.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=ao({},Eee(),this.options,RI(r)),this.format=this.options.interpolation.format,i||(i=Gy),!this.options.isClone){this.modules.logger?sl.init(o(this.modules.logger),this.options):sl.init(null,this.options);var a=new pee(this.options);this.store=new hee(this.options.resources,this.options);var s=this.services;s.logger=sl,s.resourceStore=this.store,s.languageUtils=a,s.pluralResolver=new yee(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),s.interpolator=new bee(this.options),s.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},s.backendConnector=new _ee(o(this.modules.backend),s.resourceStore,s,this.options),s.backendConnector.on("*",function(h){for(var _=arguments.length,m=new Array(_>1?_-1:0),v=1;v<_;v++)m[v-1]=arguments[v];n.emit.apply(n,[h].concat(m))}),this.modules.languageDetector&&(s.languageDetector=o(this.modules.languageDetector),s.languageDetector.init(s,this.options.detection,this.options)),this.modules.i18nFormat&&(s.i18nFormat=o(this.modules.i18nFormat),s.i18nFormat.init&&s.i18nFormat.init(this)),this.translator=new DI(this.services,this.options),this.translator.on("*",function(h){for(var _=arguments.length,m=new Array(_>1?_-1:0),v=1;v<_;v++)m[v-1]=arguments[v];n.emit.apply(n,[h].concat(m))}),this.modules.external.forEach(function(h){h.init&&h.init(n)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var l=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];l.forEach(function(h){n[h]=function(){var _;return(_=n.store)[h].apply(_,arguments)}});var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach(function(h){n[h]=function(){var _;return(_=n.store)[h].apply(_,arguments),n}});var d=vm(),p=function(){var h=function(_,m){n.isInitialized&&!n.initializedStoreOnce&&n.logger.warn("init: i18next is already initialized. You should call init just once!"),n.isInitialized=!0,n.options.isClone||n.logger.log("initialized",n.options),n.emit("initialized",n.options),d.resolve(m),i(_,m)};if(n.languages&&n.options.compatibilityAPI!=="v1"&&!n.isInitialized)return h(null,n.t.bind(n));n.changeLanguage(n.options.lng,h)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),d}},{key:"loadResources",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gy,o=i,a=typeof n=="string"?n:this.language;if(typeof n=="function"&&(o=n),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return o();var s=[],u=function(c){c&&r.services.languageUtils.toResolveHierarchy(c).forEach(function(d){s.indexOf(d)<0&&s.push(d)})};if(a)u(a);else{var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.forEach(function(c){return u(c)})}this.options.preload&&this.options.preload.forEach(function(c){return u(c)}),this.services.backendConnector.load(s,this.options.ns,o)}else o(null)}},{key:"reloadResources",value:function(n,r,i){var o=vm();return n||(n=this.languages),r||(r=this.options.ns),i||(i=Gy),this.services.backendConnector.reload(n,r,function(a){o.resolve(),i(a)}),o}},{key:"use",value:function(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&SI.addPostProcessor(n),n.type==="3rdParty"&&this.modules.external.push(n),this}},{key:"changeLanguage",value:function(n,r){var i=this;this.isLanguageChangingTo=n;var o=vm();this.emit("languageChanging",n);var a=function(s){n||s||!i.services.languageDetector||(s=[]);var u=typeof s=="string"?s:i.services.languageUtils.getBestMatchFromCodes(s);u&&(i.language||(i.language=u,i.languages=i.services.languageUtils.toResolveHierarchy(u)),i.translator.language||i.translator.changeLanguage(u),i.services.languageDetector&&i.services.languageDetector.cacheUserLanguage(u)),i.loadResources(u,function(l){!function(c,d){d?(i.language=d,i.languages=i.services.languageUtils.toResolveHierarchy(d),i.translator.changeLanguage(d),i.isLanguageChangingTo=void 0,i.emit("languageChanged",d),i.logger.log("languageChanged",d)):i.isLanguageChangingTo=void 0,o.resolve(function(){return i.t.apply(i,arguments)}),r&&r(c,function(){return i.t.apply(i,arguments)})}(l,u)})};return n||!this.services.languageDetector||this.services.languageDetector.async?!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(n):a(this.services.languageDetector.detect()),o}},{key:"getFixedT",value:function(n,r,i){var o=this,a=function s(u,l){var c;if(Zl(l)!=="object"){for(var d=arguments.length,p=new Array(d>2?d-2:0),h=2;h<d;h++)p[h-2]=arguments[h];c=o.options.overloadTranslationOptionHandler([u,l].concat(p))}else c=ao({},l);c.lng=c.lng||s.lng,c.lngs=c.lngs||s.lngs,c.ns=c.ns||s.ns;var _=o.options.keySeparator||".",m=i?"".concat(i).concat(_).concat(u):u;return o.t(m,c)};return typeof n=="string"?a.lng=n:a.lngs=n,a.ns=r,a.keyPrefix=i,a}},{key:"t",value:function(){var n;return this.translator&&(n=this.translator).translate.apply(n,arguments)}},{key:"exists",value:function(){var n;return this.translator&&(n=this.translator).exists.apply(n,arguments)}},{key:"setDefaultNamespace",value:function(n){this.options.defaultNS=n}},{key:"hasLoadedNamespace",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var o=this.languages[0],a=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if(o.toLowerCase()==="cimode")return!0;var u=function(c,d){var p=r.services.backendConnector.state["".concat(c,"|").concat(d)];return p===-1||p===2};if(i.precheck){var l=i.precheck(this,u);if(l!==void 0)return l}return!!this.hasResourceBundle(o,n)||!this.services.backendConnector.backend||!(!u(o,n)||a&&!u(s,n))}},{key:"loadNamespaces",value:function(n,r){var i=this,o=vm();return this.options.ns?(typeof n=="string"&&(n=[n]),n.forEach(function(a){i.options.ns.indexOf(a)<0&&i.options.ns.push(a)}),this.loadResources(function(a){o.resolve(),r&&r(a)}),o):(r&&r(),Promise.resolve())}},{key:"loadLanguages",value:function(n,r){var i=vm();typeof n=="string"&&(n=[n]);var o=this.options.preload||[],a=n.filter(function(s){return o.indexOf(s)<0});return a.length?(this.options.preload=o.concat(a),this.loadResources(function(s){i.resolve(),r&&r(s)}),i):(r&&r(),Promise.resolve())}},{key:"dir",value:function(n){return n||(n=this.languages&&this.languages.length>0?this.languages[0]:this.language),n?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(n))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new t(n,r)}},{key:"cloneInstance",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Gy,o=ao({},this.options,r,{isClone:!0}),a=new t(o),s=["store","services","language"];return s.forEach(function(u){a[u]=n[u]}),a.services=ao({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new DI(a.services,a.options),a.translator.on("*",function(u){for(var l=arguments.length,c=new Array(l>1?l-1:0),d=1;d<l;d++)c[d-1]=arguments[d];a.emit.apply(a,[u].concat(c))}),a.init(o,i),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),t}(),Mh=new wee;function Aa(e,t){Mh.addResourceBundle(e,"translation",t,!0,!0)}function W1e(e){Mh.changeLanguage(e)}function z1e(e){return Mh.getResourceBundle(e,"translation")}Mh.init({lng:"zh-CN",resources:{}});var Dt=Mh.t.bind(Mh);Aa("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),Aa("zh-CN",{editor:{more:"\u66F4\u591A",justify:"\u5BF9\u9F50",indent:"\u7F29\u8FDB",image:"\u56FE\u7247",video:"\u89C6\u9891"}});var Aee=E2?{}.toString:function(){return"[object "+s1(this)+"]"};E2||Rl(Object.prototype,"toString",Aee,{unsafe:!0});var NI=Array.isArray||function(e){return du(e)=="Array"},II=function(){},Oee=[],PI=hu("Reflect","construct"),TO=/^\s*(?:class|function)\b/,xee=xr(TO.exec),Cee=!TO.exec(II),ym=function(e){if(!Ai(e))return!1;try{return PI(II,Oee,e),!0}catch(t){return!1}},See=!PI||wi(function(){var e;return ym(ym.call)||!ym(Object)||!ym(function(){e=!0})||e})?function(e){if(!Ai(e))return!1;switch(s1(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Cee||!!xee(TO,ng(e))}:ym,Tee=Ao("species"),LI=yn.Array,Dee=function(e,t){return new(function(n){var r;return NI(n)&&(r=n.constructor,(See(r)&&(r===LI||NI(r.prototype))||La(r)&&(r=r[Tee])===null)&&(r=void 0)),r===void 0?LI:r}(e))(t===0?0:t)},jI=xr([].push),$l=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,_=Hd(u),m=zv(_),v=dR(l,c),y=i1(m),g=0,S=d||Dee,R=t?S(u,y):n||a?S(u,0):void 0;y>g;g++)if((s||g in m)&&(h=v(p=m[g],g,_),e))if(t)R[g]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:jI(R,p)}else switch(e){case 4:return!1;case 7:jI(R,p)}return o?-1:r||i?i:R}},Ree={forEach:$l(0),map:$l(1),filter:$l(2),some:$l(3),every:$l(4),find:$l(5),findIndex:$l(6),filterReject:$l(7)}.forEach,Nee=function(e,t){var n=[][e];return!!n&&wi(function(){n.call(null,t||function(){throw 1},1)})}("forEach"),DO=Nee?[].forEach:function(e){return Ree(this,e,arguments.length>1?arguments[1]:void 0)},MI=function(e){if(e&&e.forEach!==DO)try{Oo(e,"forEach",DO)}catch(t){e.forEach=DO}};for(var RO in p1)p1[RO]&&MI(yn[RO]&&yn[RO].prototype);MI(OR),Aa("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),Aa("zh-CN",{common:{ok:"\u786E\u5B9A",delete:"\u5220\u9664",enter:"\u56DE\u8F66"},blockQuote:{title:"\u5F15\u7528"},codeBlock:{title:"\u4EE3\u7801\u5757"},color:{color:"\u6587\u5B57\u989C\u8272",bgColor:"\u80CC\u666F\u8272",default:"\u9ED8\u8BA4\u989C\u8272",clear:"\u6E05\u9664\u80CC\u666F\u8272"},divider:{title:"\u5206\u5272\u7EBF"},emotion:{title:"\u8868\u60C5"},fontSize:{title:"\u5B57\u53F7",default:"\u9ED8\u8BA4\u5B57\u53F7"},fontFamily:{title:"\u5B57\u4F53",default:"\u9ED8\u8BA4\u5B57\u4F53"},fullScreen:{title:"\u5168\u5C4F"},header:{title:"\u6807\u9898",text:"\u6B63\u6587"},image:{netImage:"\u7F51\u7EDC\u56FE\u7247",delete:"\u5220\u9664\u56FE\u7247",edit:"\u7F16\u8F91\u56FE\u7247",viewLink:"\u67E5\u770B\u94FE\u63A5",src:"\u56FE\u7247\u5730\u5740",desc:"\u56FE\u7247\u63CF\u8FF0",link:"\u56FE\u7247\u94FE\u63A5"},indent:{decrease:"\u51CF\u5C11\u7F29\u8FDB",increase:"\u589E\u52A0\u7F29\u8FDB"},justify:{left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",center:"\u5C45\u4E2D\u5BF9\u9F50",justify:"\u4E24\u7AEF\u5BF9\u9F50"},lineHeight:{title:"\u884C\u9AD8",default:"\u9ED8\u8BA4\u884C\u9AD8"},link:{insert:"\u63D2\u5165\u94FE\u63A5",text:"\u94FE\u63A5\u6587\u672C",url:"\u94FE\u63A5\u5730\u5740",unLink:"\u53D6\u6D88\u94FE\u63A5",edit:"\u4FEE\u6539\u94FE\u63A5",view:"\u67E5\u770B\u94FE\u63A5"},textStyle:{bold:"\u7C97\u4F53",clear:"\u6E05\u9664\u683C\u5F0F",code:"\u884C\u5185\u4EE3\u7801",italic:"\u659C\u4F53",sub:"\u4E0B\u6807",sup:"\u4E0A\u6807",through:"\u5220\u9664\u7EBF",underline:"\u4E0B\u5212\u7EBF"},undo:{undo:"\u64A4\u9500",redo:"\u91CD\u505A"},todo:{todo:"\u5F85\u529E"}});var Iee={type:"paragraph",renderElem:function(e,t,n){return An("p",null,t)}},Yy=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof Oe!="undefined"?Oe:typeof self!="undefined"?self:{};function Ky(e){var t={exports:{}};return e(t,t.exports),t.exports}var ec,Xy,Jy=function(e){return e&&e.Math==Math&&e},Mn=Jy(typeof globalThis=="object"&&globalThis)||Jy(typeof window=="object"&&window)||Jy(typeof self=="object"&&self)||Jy(typeof Yy=="object"&&Yy)||function(){return this}()||Function("return this")(),mi=function(e){try{return!!e()}catch(t){return!0}},Ys=!mi(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),bm=Function.prototype.call,Ri=bm.bind?bm.bind(bm):function(){return bm.apply(bm,arguments)},kI={}.propertyIsEnumerable,FI=Object.getOwnPropertyDescriptor,Pee=FI&&!kI.call({1:2},1)?function(e){var t=FI(this,e);return!!t&&t.enumerable}:kI,BI={f:Pee},NO=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},UI=Function.prototype,IO=UI.bind,PO=UI.call,Lee=IO&&IO.bind(PO),_n=IO?function(e){return e&&Lee(PO,e)}:function(e){return e&&function(){return PO.apply(e,arguments)}},jee=_n({}.toString),Mee=_n("".slice),tc=function(e){return Mee(jee(e),8,-1)},LO=Mn.Object,kee=_n("".split),Qy=mi(function(){return!LO("z").propertyIsEnumerable(0)})?function(e){return tc(e)=="String"?kee(e,""):LO(e)}:LO,Fee=Mn.TypeError,bs=function(e){if(e==null)throw Fee("Can't call method on "+e);return e},kh=function(e){return Qy(bs(e))},zo=function(e){return typeof e=="function"},_s=function(e){return typeof e=="object"?e!==null:zo(e)},Bee=function(e){return zo(e)?e:void 0},_m=function(e,t){return arguments.length<2?Bee(Mn[e]):Mn[e]&&Mn[e][t]},HI=_n({}.isPrototypeOf),jO=_m("navigator","userAgent")||"",WI=Mn.process,zI=Mn.Deno,VI=WI&&WI.versions||zI&&zI.version,GI=VI&&VI.v8;GI&&(Xy=(ec=GI.split("."))[0]>0&&ec[0]<4?1:+(ec[0]+ec[1])),!Xy&&jO&&(!(ec=jO.match(/Edge\/(\d+)/))||ec[1]>=74)&&(ec=jO.match(/Chrome\/(\d+)/))&&(Xy=+ec[1]);var MO=Xy,kO=!!Object.getOwnPropertySymbols&&!mi(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&MO&&MO<41}),FO=kO&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Uee=Mn.Object,BO=FO?function(e){return typeof e=="symbol"}:function(e){var t=_m("Symbol");return zo(t)&&HI(t.prototype,Uee(e))},Hee=Mn.String,YI=function(e){try{return Hee(e)}catch(t){return"Object"}},Wee=Mn.TypeError,KI=function(e){if(zo(e))return e;throw Wee(YI(e)+" is not a function")},Zy=function(e,t){var n=e[t];return n==null?void 0:KI(n)},zee=Mn.TypeError,Vee=Object.defineProperty,UO=function(e,t){try{Vee(Mn,e,{value:t,configurable:!0,writable:!0})}catch(n){Mn[e]=t}return t},nc=Mn["__core-js_shared__"]||UO("__core-js_shared__",{}),HO=Ky(function(e){(e.exports=function(t,n){return nc[t]||(nc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Gee=Mn.Object,Em=function(e){return Gee(bs(e))},Yee=_n({}.hasOwnProperty),Es=Object.hasOwn||function(e,t){return Yee(Em(e),t)},Kee=0,Xee=Math.random(),Jee=_n(1 .toString),XI=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Jee(++Kee+Xee,36)},wm=HO("wks"),kf=Mn.Symbol,JI=kf&&kf.for,Qee=FO?kf:kf&&kf.withoutSetter||XI,za=function(e){if(!Es(wm,e)||!kO&&typeof wm[e]!="string"){var t="Symbol."+e;kO&&Es(kf,e)?wm[e]=kf[e]:wm[e]=FO&&JI?JI(t):Qee(t)}return wm[e]},Zee=Mn.TypeError,qee=za("toPrimitive"),WO=function(e){var t=function(n,r){if(!_s(n)||BO(n))return n;var i,o=Zy(n,qee);if(o){if(r===void 0&&(r="default"),i=Ri(o,n,r),!_s(i)||BO(i))return i;throw Zee("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&zo(u=a.toString)&&!_s(l=Ri(u,a)))return l;if(zo(u=a.valueOf)&&!_s(l=Ri(u,a)))return l;if(s!=="string"&&zo(u=a.toString)&&!_s(l=Ri(u,a)))return l;throw zee("Can't convert object to primitive value")}(n,r)}(e,"string");return BO(t)?t:t+""},zO=Mn.document,$ee=_s(zO)&&_s(zO.createElement),VO=function(e){return $ee?zO.createElement(e):{}},QI=!Ys&&!mi(function(){return Object.defineProperty(VO("div"),"a",{get:function(){return 7}}).a!=7}),ZI=Object.getOwnPropertyDescriptor,GO={f:Ys?ZI:function(e,t){if(e=kh(e),t=WO(t),QI)try{return ZI(e,t)}catch(n){}if(Es(e,t))return NO(!Ri(BI.f,e,t),e[t])}},ete=Mn.String,tte=Mn.TypeError,Va=function(e){if(_s(e))return e;throw tte(ete(e)+" is not an object")},nte=Mn.TypeError,qI=Object.defineProperty,Fh={f:Ys?qI:function(e,t,n){if(Va(e),t=WO(t),Va(n),QI)try{return qI(e,t,n)}catch(r){}if("get"in n||"set"in n)throw nte("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Bh=Ys?function(e,t,n){return Fh.f(e,t,NO(1,n))}:function(e,t,n){return e[t]=n,e},rte=_n(Function.toString);zo(nc.inspectSource)||(nc.inspectSource=function(e){return rte(e)});var qy,Am,$y,YO=nc.inspectSource,$I=Mn.WeakMap,ite=zo($I)&&/native code/.test(YO($I)),eP=HO("keys"),tP=function(e){return eP[e]||(eP[e]=XI(e))},KO={},XO=Mn.TypeError,ote=Mn.WeakMap;if(ite||nc.state){var Ff=nc.state||(nc.state=new ote),ate=_n(Ff.get),nP=_n(Ff.has),ste=_n(Ff.set);qy=function(e,t){if(nP(Ff,e))throw new XO("Object already initialized");return t.facade=e,ste(Ff,e,t),t},Am=function(e){return ate(Ff,e)||{}},$y=function(e){return nP(Ff,e)}}else{var Uh=tP("state");KO[Uh]=!0,qy=function(e,t){if(Es(e,Uh))throw new XO("Object already initialized");return t.facade=e,Bh(e,Uh,t),t},Am=function(e){return Es(e,Uh)?e[Uh]:{}},$y=function(e){return Es(e,Uh)}}var JO={set:qy,get:Am,has:$y,enforce:function(e){return $y(e)?Am(e):qy(e,{})},getterFor:function(e){return function(t){var n;if(!_s(t)||(n=Am(t)).type!==e)throw XO("Incompatible receiver, "+e+" required");return n}}},rP=Function.prototype,ute=Ys&&Object.getOwnPropertyDescriptor,QO=Es(rP,"name"),eb={EXISTS:QO,PROPER:QO&&function(){}.name==="something",CONFIGURABLE:QO&&(!Ys||Ys&&ute(rP,"name").configurable)},Om=Ky(function(e){var t=eb.CONFIGURABLE,n=JO.get,r=JO.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;zo(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Es(s,"name")||t&&s.name!==h)&&Bh(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==Mn?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Bh(o,a,s)):d?o[a]=s:UO(a,s)})(Function.prototype,"toString",function(){return zo(this)&&n(this).source||YO(this)})}),lte=Math.ceil,cte=Math.floor,Hh=function(e){var t=+e;return t!=t||t===0?0:(t>0?cte:lte)(t)},fte=Math.max,dte=Math.min,xm=function(e,t){var n=Hh(e);return n<0?fte(n+t,0):dte(n,t)},hte=Math.min,Cm=function(e){return e>0?hte(Hh(e),9007199254740991):0},tb=function(e){return Cm(e.length)},iP=function(e){return function(t,n,r){var i,o=kh(t),a=tb(o),s=xm(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},oP={includes:iP(!0),indexOf:iP(!1)},pte=oP.indexOf,aP=_n([].push),sP=function(e,t){var n,r=kh(e),i=0,o=[];for(n in r)!Es(KO,n)&&Es(r,n)&&aP(o,n);for(;t.length>i;)Es(r,n=t[i++])&&(~pte(o,n)||aP(o,n));return o},nb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],gte=nb.concat("length","prototype"),mte={f:Object.getOwnPropertyNames||function(e){return sP(e,gte)}},uP={f:Object.getOwnPropertySymbols},vte=_n([].concat),yte=_m("Reflect","ownKeys")||function(e){var t=mte.f(Va(e)),n=uP.f;return n?vte(t,n(e)):t},bte=function(e,t){for(var n=yte(t),r=Fh.f,i=GO.f,o=0;o<n.length;o++){var a=n[o];Es(e,a)||r(e,a,i(t,a))}},_te=/#|\.prototype\./,Sm=function(e,t){var n=wte[Ete(e)];return n==Ote||n!=Ate&&(zo(t)?mi(t):!!t)},Ete=Sm.normalize=function(e){return String(e).replace(_te,".").toLowerCase()},wte=Sm.data={},Ate=Sm.NATIVE="N",Ote=Sm.POLYFILL="P",xte=Sm,Cte=GO.f,mo=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?Mn:l?Mn[s]||UO(s,{}):(Mn[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Cte(n,r))&&a.value:n[r],!xte(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;bte(o,i)}(e.sham||i&&i.sham)&&Bh(o,"sham",!0),Om(n,r,o,e)}},lP=_n(_n.bind),rb=Array.isArray||function(e){return tc(e)=="Array"},cP={};cP[za("toStringTag")]="z";var ZO=String(cP)==="[object z]",Ste=za("toStringTag"),Tte=Mn.Object,Dte=tc(function(){return arguments}())=="Arguments",qO=ZO?tc:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=Tte(e),Ste))=="string"?n:Dte?tc(t):(r=tc(t))=="Object"&&zo(t.callee)?"Arguments":r},fP=function(){},Rte=[],dP=_m("Reflect","construct"),$O=/^\s*(?:class|function)\b/,Nte=_n($O.exec),Ite=!$O.exec(fP),Tm=function(e){if(!zo(e))return!1;try{return dP(fP,Rte,e),!0}catch(t){return!1}},ex=!dP||mi(function(){var e;return Tm(Tm.call)||!Tm(Object)||!Tm(function(){e=!0})||e})?function(e){if(!zo(e))return!1;switch(qO(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Ite||!!Nte($O,YO(e))}:Tm,Pte=za("species"),hP=Mn.Array,Lte=function(e,t){return new(function(n){var r;return rb(n)&&(r=n.constructor,(ex(r)&&(r===hP||rb(r.prototype))||_s(r)&&(r=r[Pte])===null)&&(r=void 0)),r===void 0?hP:r}(e))(t===0?0:t)},pP=_n([].push),rc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,_=Em(u),m=Qy(_),v=function(U,Q){return KI(U),Q===void 0?U:lP?lP(U,Q):function(){return U.apply(Q,arguments)}}(l,c),y=tb(m),g=0,S=d||Lte,R=t?S(u,y):n||a?S(u,0):void 0;y>g;g++)if((s||g in m)&&(h=v(p=m[g],g,_),e))if(t)R[g]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:pP(R,p)}else switch(e){case 4:return!1;case 7:pP(R,p)}return o?-1:r||i?i:R}},ib={forEach:rc(0),map:rc(1),filter:rc(2),some:rc(3),every:rc(4),find:rc(5),findIndex:rc(6),filterReject:rc(7)},jte=za("species"),tx=function(e){return MO>=51||!mi(function(){var t=[];return(t.constructor={})[jte]=function(){return{foo:1}},t[e](Boolean).foo!==1})},Mte=ib.filter;mo({target:"Array",proto:!0,forced:!tx("filter")},{filter:function(e){return Mte(this,e,arguments.length>1?arguments[1]:void 0)}});var kte=ZO?{}.toString:function(){return"[object "+qO(this)+"]"};ZO||Om(Object.prototype,"toString",kte,{unsafe:!0});var ob,Fte=Mn.String,vi=function(e){if(qO(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Fte(e)},gP=function(){var e=Va(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},nx=Mn.RegExp,rx=mi(function(){var e=nx("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),Bte=rx||mi(function(){return!nx("a","y").sticky}),mP={BROKEN_CARET:rx||mi(function(){var e=nx("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:Bte,UNSUPPORTED_Y:rx},Wh=Object.keys||function(e){return sP(e,nb)},Ute=Ys?Object.defineProperties:function(e,t){Va(e);for(var n,r=kh(t),i=Wh(t),o=i.length,a=0;o>a;)Fh.f(e,n=i[a++],r[n]);return e},Hte=_m("document","documentElement"),vP=tP("IE_PROTO"),ix=function(){},yP=function(e){return"<script>"+e+"</script>"},bP=function(e){e.write(yP("")),e.close();var t=e.parentWindow.Object;return e=null,t},ab=function(){try{ob=new ActiveXObject("htmlfile")}catch(r){}var e,t;ab=typeof document!="undefined"?document.domain&&ob?bP(ob):((t=VO("iframe")).style.display="none",Hte.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(yP("document.F=Object")),e.close(),e.F):bP(ob);for(var n=nb.length;n--;)delete ab.prototype[nb[n]];return ab()};KO[vP]=!0;var _P,ox,EP=Object.create||function(e,t){var n;return e!==null?(ix.prototype=Va(e),n=new ix,ix.prototype=null,n[vP]=e):n=ab(),t===void 0?n:Ute(n,t)},Wte=Mn.RegExp,zte=mi(function(){var e=Wte(".","s");return!(e.dotAll&&e.exec(`
|
|
|
`)&&e.flags==="s")}),Vte=Mn.RegExp,Gte=mi(function(){var e=Vte("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Yte=JO.get,Kte=HO("native-string-replace",String.prototype.replace),sb=RegExp.prototype.exec,ax=sb,Xte=_n("".charAt),Jte=_n("".indexOf),Qte=_n("".replace),sx=_n("".slice),ux=(ox=/b*/g,Ri(sb,_P=/a/,"a"),Ri(sb,ox,"a"),_P.lastIndex!==0||ox.lastIndex!==0),wP=mP.BROKEN_CARET,lx=/()??/.exec("")[1]!==void 0;(ux||lx||wP||zte||Gte)&&(ax=function(e){var t,n,r,i,o,a,s,u=this,l=Yte(u),c=vi(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=Ri(ax,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=wP&&u.sticky,_=Ri(gP,u),m=u.source,v=0,y=c;if(h&&(_=Qte(_,"y",""),Jte(_,"g")===-1&&(_+="g"),y=sx(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&Xte(c,u.lastIndex-1)!==`
|
|
|
`)&&(m="(?: "+m+")",y=" "+y,v++),n=new RegExp("^(?:"+m+")",_)),lx&&(n=new RegExp("^"+m+"$(?!\\s)",_)),ux&&(r=u.lastIndex),i=Ri(sb,h?n:u,y),h?i?(i.input=sx(i.input,v),i[0]=sx(i[0],v),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:ux&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),lx&&i&&i.length>1&&Ri(Kte,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=EP(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var Dm=ax;mo({target:"RegExp",proto:!0,forced:/./.exec!==Dm},{exec:Dm});var cx=Function.prototype,AP=cx.apply,Zte=cx.bind,OP=cx.call,xP=typeof Reflect=="object"&&Reflect.apply||(Zte?OP.bind(AP):function(){return OP.apply(AP,arguments)}),qte=za("species"),fx=RegExp.prototype,dx=function(e,t,n,r){var i=za(e),o=!mi(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!mi(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[qte]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=_n(/./[i]),u=t(i,""[e],function(l,c,d,p,h){var _=_n(l),m=c.exec;return m===Dm||m===fx.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:_(d,c,p)}:{done:!1}});Om(String.prototype,e,u[0]),Om(fx,i,u[1])}r&&Bh(fx[i],"sham",!0)},$te=_n("".charAt),CP=_n("".charCodeAt),ene=_n("".slice),SP=function(e){return function(t,n){var r,i,o=vi(bs(t)),a=Hh(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=CP(o,a))<55296||r>56319||a+1===s||(i=CP(o,a+1))<56320||i>57343?e?$te(o,a):r:e?ene(o,a,a+2):i-56320+(r-55296<<10)+65536}},tne=(SP(!1),SP(!0)),hx=function(e,t,n){return t+(n?tne(e,t).length:1)},nne=Math.floor,px=_n("".charAt),rne=_n("".replace),gx=_n("".slice),ine=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,one=/\$([$&'`]|\d{1,2})/g,ane=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,u=one;return i!==void 0&&(i=Em(i),u=ine),rne(o,u,function(l,c){var d;switch(px(c,0)){case"$":return"$";case"&":return e;case"`":return gx(t,0,n);case"'":return gx(t,a);case"<":d=i[gx(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>s){var h=nne(p/10);return h===0?l:h<=s?r[h-1]===void 0?px(c,1):r[h-1]+px(c,1):l}d=r[p-1]}return d===void 0?"":d})},sne=Mn.TypeError,Rm=function(e,t){var n=e.exec;if(zo(n)){var r=Ri(n,e,t);return r!==null&&Va(r),r}if(tc(e)==="RegExp")return Ri(Dm,e,t);throw sne("RegExp#exec called on incompatible receiver")},mx=za("replace"),une=Math.max,lne=Math.min,cne=_n([].concat),vx=_n([].push),TP=_n("".indexOf),DP=_n("".slice),fne="a".replace(/./,"$0")==="$0",RP=!!/./[mx]&&/./[mx]("a","$0")==="";dx("replace",function(e,t,n){var r=RP?"$":"$0";return[function(i,o){var a=bs(this),s=i==null?void 0:Zy(i,mx);return s?Ri(s,i,a,o):Ri(t,vi(a),i,o)},function(i,o){var a=Va(this),s=vi(i);if(typeof o=="string"&&TP(o,r)===-1&&TP(o,"$<")===-1){var u=n(t,a,s,o);if(u.done)return u.value}var l=zo(o);l||(o=vi(o));var c=a.global;if(c){var d=a.unicode;a.lastIndex=0}for(var p=[];;){var h=Rm(a,s);if(h===null)break;if(vx(p,h),!c)break;vi(h[0])===""&&(a.lastIndex=hx(s,Cm(a.lastIndex),d))}for(var _,m="",v=0,y=0;y<p.length;y++){for(var g=vi((h=p[y])[0]),S=une(lne(Hh(h.index),s.length),0),R=[],U=1;U<h.length;U++)vx(R,(_=h[U])===void 0?_:String(_));var Q=h.groups;if(l){var X=cne([g],R,S,s);Q!==void 0&&vx(X,Q);var le=vi(xP(o,void 0,X))}else le=ane(g,s,S,R,Q,o);S>=v&&(m+=DP(s,v,S)+le,v=S+g.length)}return m+DP(s,v)}]},!!mi(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!fne||RP);var yx=za("unscopables"),bx=Array.prototype;bx[yx]==null&&Fh.f(bx,yx,{configurable:!0,value:EP(null)});var NP=function(e){bx[yx][e]=!0},dne=ib.find,IP=!0;"find"in[]&&Array(1).find(function(){IP=!1}),mo({target:"Array",proto:!0,forced:IP},{find:function(e){return dne(this,e,arguments.length>1?arguments[1]:void 0)}}),NP("find");var hne=za("match"),PP=function(e){var t;return _s(e)&&((t=e[hne])!==void 0?!!t:tc(e)=="RegExp")},pne=Mn.TypeError,gne=za("species"),LP=function(e,t,n){var r=WO(t);r in e?Fh.f(e,r,NO(0,n)):e[r]=n},mne=Mn.Array,vne=Math.max,jP=function(e,t,n){for(var r=tb(e),i=xm(t,r),o=xm(n===void 0?r:n,r),a=mne(vne(o-i,0)),s=0;i<o;i++,s++)LP(a,s,e[i]);return a.length=s,a},zh=mP.UNSUPPORTED_Y,yne=Math.min,MP=[].push,bne=_n(/./.exec),Vh=_n(MP),Nm=_n("".slice);dx("split",function(e,t,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(i,o){var a=vi(bs(this)),s=o===void 0?4294967295:o>>>0;if(s===0)return[];if(i===void 0)return[a];if(!PP(i))return Ri(t,a,i,s);for(var u,l,c,d=[],p=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(i.sticky?"y":""),h=0,_=new RegExp(i.source,p+"g");(u=Ri(Dm,_,a))&&!((l=_.lastIndex)>h&&(Vh(d,Nm(a,h,u.index)),u.length>1&&u.index<a.length&&xP(MP,d,jP(u,1)),c=u[0].length,h=l,d.length>=s));)_.lastIndex===u.index&&_.lastIndex++;return h===a.length?!c&&bne(_,"")||Vh(d,""):Vh(d,Nm(a,h)),d.length>s?jP(d,0,s):d}:"0".split(void 0,0).length?function(i,o){return i===void 0&&o===0?[]:Ri(t,this,i,o)}:t,[function(i,o){var a=bs(this),s=i==null?void 0:Zy(i,e);return s?Ri(s,i,a,o):Ri(r,vi(a),i,o)},function(i,o){var a=Va(this),s=vi(i),u=n(r,a,s,o,r!==t);if(u.done)return u.value;var l=function(R,U){var Q,X=Va(R).constructor;return X===void 0||(Q=Va(X)[gne])==null?U:function(le){if(ex(le))return le;throw pne(YI(le)+" is not a constructor")}(Q)}(a,RegExp),c=a.unicode,d=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(zh?"g":"y"),p=new l(zh?"^(?:"+a.source+")":a,d),h=o===void 0?4294967295:o>>>0;if(h===0)return[];if(s.length===0)return Rm(p,s)===null?[s]:[];for(var _=0,m=0,v=[];m<s.length;){p.lastIndex=zh?0:m;var y,g=Rm(p,zh?Nm(s,m):s);if(g===null||(y=yne(Cm(p.lastIndex+(zh?m:0)),s.length))===_)m=hx(s,m,c);else{if(Vh(v,Nm(s,_,m)),v.length===h)return v;for(var S=1;S<=g.length-1;S++)if(Vh(v,g[S]),v.length===h)return v;m=_=y}}return Vh(v,Nm(s,_)),v}]},!!mi(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),zh);var _x=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,kP=_n("".replace),ub="["+_x+"]",_ne=RegExp("^"+ub+ub+"*"),Ene=RegExp(ub+ub+"*$"),Ex=function(e){return function(t){var n=vi(bs(t));return 1&e&&(n=kP(n,_ne,"")),2&e&&(n=kP(n,Ene,"")),n}},wne={start:Ex(1),end:Ex(2),trim:Ex(3)},Ane=eb.PROPER,One=wne.trim;function wx(e){return ve("<div>"+e+"</div>").children().filter(function(t){return t.tagName!=="BR"}).length===0}function Gh(e){return e.length===0?"":e[0].outerHTML}function Yh(e){return e.length?e[0].tagName.toLowerCase():""}function Ks(e,t){for(var n="",r=(e.attr("style")||"").split(";"),i=r.length,o=0;o<i;o++){var a=r[o];if(a){var s=a.split(":");s[0].trim()===t&&(n=s[1].trim())}}return n}mo({target:"String",proto:!0,forced:mi(function(){return!!_x.trim()||"\u200B\x85\u180E".trim()!=="\u200B\x85\u180E"||Ane&&_x.trim.name!=="trim"})},{trim:function(){return One(this)}}),mo({global:!0},{globalThis:Mn}),M1&&(ve.fn.css=M1),fs&&(ve.fn.append=fs),$7&&(ve.fn.prepend=$7),Qd&&(ve.fn.addClass=Qd),Zd&&(ve.fn.removeClass=Zd),qd&&(ve.fn.hasClass=qd),mu&&(ve.fn.on=mu),J7&&(ve.fn.off=J7),Fl&&(ve.fn.focus=Fl),cs&&(ve.fn.attr=cs),I1&&(ve.fn.removeAttr=I1),eh&&(ve.fn.hide=eh),j1&&(ve.fn.show=j1),B1&&(ve.fn.parents=B1),$d&&(ve.fn.dataset=$d),gu&&(ve.fn.val=gu),F1&&(ve.fn.text=F1),kl&&(ve.fn.html=kl),rh&&(ve.fn.children=rh),ih&&(ve.fn.remove=ih),nh&&(ve.fn.find=nh),P1&&(ve.fn.width=P1),L1&&(ve.fn.height=L1),Z7&&(ve.fn.filter=Z7),oh&&(ve.fn.empty=oh);var xne={selector:"p:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=ve(e);return(t=t.filter(function(i){return!!kt.isText(i)||!!n.isInline(i)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:t}}},Ax=function(e,t){return Ax=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Ax(e,t);/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */};function ui(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ax(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var ic=function(){return ic=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ic.apply(this,arguments)};function oc(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(l){try{u(r.next(l))}catch(c){o(c)}}function s(l){try{u(r.throw(l))}catch(c){o(c)}}function u(l){var c;l.done?i(l.value):(c=l.value,c instanceof n?c:new n(function(d){d(c)})).then(a,s)}u((r=r.apply(e,t||[])).next())})}function ac(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(c[0]===6&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(d){c=[6,d],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([u,l])}}}function FP(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function cr(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function BP(e){var t=cr(B.nodes(e,{match:function(o){return e.children[0]===o},mode:"highest"}),1)[0];if(t==null)return!1;var n=t[0];if(!Qt.isElement(n))return!1;if(n.type==="paragraph")return!1;if(Tt.string(n)!=="")return!1;var r=n.children,i=r===void 0?[]:r;return!!kt.isText(i[0])&&(Me.setNodes(e,{type:"paragraph"}),!0)}var Cne={renderElems:[Iee],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return t===""?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[xne],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(i){BP(r)||t(i)},r.deleteForward=function(i){BP(r)||n(i)},r}},Sne=/"/g,Tne=_n("".replace),Im=function(e,t,n,r){var i=vi(bs(e)),o="<"+t;return n!==""&&(o+=" "+n+'="'+Tne(vi(r),Sne,""")+'"'),o+">"+i+"</"+t+">"},Pm=function(e){return mi(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})};function Ox(e,t){var n=t,r=e,i=r.bold,o=r.italic,a=r.underline;return i&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),o&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function Bf(e,t){return e.length!==0&&(!!e[0].matches(t)||e.find(t).length>0)}mo({target:"String",proto:!0,forced:Pm("bold")},{bold:function(){return Im(this,"b","","")}}),mo({target:"String",proto:!0,forced:Pm("italics")},{italics:function(){return Im(this,"i","","")}}),mo({target:"String",proto:!0,forced:Pm("sub")},{sub:function(){return Im(this,"sub","","")}}),mo({target:"String",proto:!0,forced:Pm("sup")},{sup:function(){return Im(this,"sup","","")}});var UP={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},xx=VO("span").classList,HP=xx&&xx.constructor&&xx.constructor.prototype,Dne=HP===Object.prototype?void 0:HP,WP=function(e,t){var n=[][e];return!!n&&mi(function(){n.call(null,t||function(){throw 1},1)})},Rne=ib.forEach,Cx=WP("forEach")?[].forEach:function(e){return Rne(this,e,arguments.length>1?arguments[1]:void 0)},zP=function(e){if(e&&e.forEach!==Cx)try{Bh(e,"forEach",Cx)}catch(t){e.forEach=Cx}};for(var Sx in UP)UP[Sx]&&zP(Mn[Sx]&&Mn[Sx].prototype);function VP(e,t){return e.selection==null||!!cr(B.nodes(e,{match:function(n){return ae.getNodeType(n)==="pre"||!!B.isVoid(e,n)},universal:!0}),1)[0]}function Nne(e,t){Object.keys(t).forEach(function(n){n!=="text"&&B.removeMark(e,n)})}zP(Dne),mo({target:"Object",stat:!0,forced:mi(function(){Wh(1)})},{keys:function(e){return Wh(Em(e))}});var Uf=function(){function e(){this.marksNeedToRemove=[],this.tag="button"}return e.prototype.getValue=function(t){var n=this.mark,r=B.marks(t);return r?r[n]:!!cr(B.nodes(t,{match:function(i){return i[n]===!0}}),1)[0]},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){return VP(t,this.mark)},e.prototype.exec=function(t,n){var r=this.mark,i=this.marksNeedToRemove;n?t.removeMark(r):(t.addMark(r,!0),i&&i.forEach(function(o){return t.removeMark(o)}))},e}(),Ine='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',Pne='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',Lne='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',jne='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',Mne='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',GP='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',YP='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',kne='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',Fne='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',Bne='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',Une='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',Hne='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',Wne='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',zne='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Vne='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Gne='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Yne='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',Kne='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',Xne='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',Jne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="bold",n.title=Dt("textStyle.bold"),n.iconSvg=Ine,n.hotkey="mod+b",n}return ui(t,e),t}(Uf),Qne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="code",n.title=Dt("textStyle.code"),n.iconSvg=Mne,n.hotkey="mod+e",n}return ui(t,e),t}(Uf),Zne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="italic",n.title=Dt("textStyle.italic"),n.iconSvg=Lne,n.hotkey="mod+i",n}return ui(t,e),t}(Uf),qne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="through",n.title=Dt("textStyle.through"),n.iconSvg=jne,n.hotkey="mod+shift+x",n}return ui(t,e),t}(Uf),$ne=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="underline",n.title=Dt("textStyle.underline"),n.iconSvg=Pne,n.hotkey="mod+u",n}return ui(t,e),t}(Uf),ere=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sub",n.marksNeedToRemove=["sup"],n.title=Dt("textStyle.sub"),n.iconSvg=Xne,n.hotkey="",n}return ui(t,e),t}(Uf),tre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.mark="sup",n.marksNeedToRemove=["sub"],n.title=Dt("textStyle.sup"),n.iconSvg=Kne,n.hotkey="",n}return ui(t,e),t}(Uf),nre=function(){function e(){this.title=Dt("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return VP(t)},e.prototype.exec=function(t,n){var r,i,o=B.nodes(t,{match:function(u){return kt.isText(u)},universal:!0});try{for(var a=FP(o),s=a.next();!s.done;s=a.next())Nne(t,s.value[0])}catch(u){r={error:u}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}},e}(),rre={renderStyle:function(e,t){var n=e,r=n.bold,i=n.italic,o=n.underline,a=n.code,s=n.through,u=n.sub,l=n.sup,c=t;return r&&(c=An("strong",null,c)),a&&(c=An("code",null,c)),i&&(c=An("em",null,c)),o&&(c=An("u",null,c)),s&&(c=An("s",null,c)),u&&(c=An("sub",null,c)),l&&(c=An("sup",null,c)),c},menus:[{key:"bold",factory:function(){return new Jne}},{key:"underline",factory:function(){return new $ne}},{key:"italic",factory:function(){return new Zne}},{key:"through",factory:function(){return new qne}},{key:"code",factory:function(){return new Qne}},{key:"sub",factory:function(){return new ere}},{key:"sup",factory:function(){return new tre}},{key:"clearStyle",factory:function(){return new nre}}],styleToHtml:function(e,t){if(!kt.isText(e))return t;if(wx(t))return Ox(e,t);var n=ve(t);if(Yh(n)==="br")return Ox(e,"<br>");var r=n.html();return r=Ox(e,r),n.html(r),Gh(n)},parseStyleHtml:function(e,t,n){var r=ve(e);if(!kt.isText(t))return t;var i=t;return Bf(r,"b,strong")&&(i.bold=!0),Bf(r,"i,em")&&(i.italic=!0),Bf(r,"u")&&(i.underline=!0),Bf(r,"s,strike")&&(i.through=!0),Bf(r,"sub")&&(i.sub=!0),Bf(r,"sup")&&(i.sup=!0),Bf(r,"code")&&(i.code=!0),i}};function Lm(e){return function(t,n,r){return An("h"+e,null,n)}}var ire={type:"header1",renderElem:Lm(1)},ore={type:"header2",renderElem:Lm(2)},are={type:"header3",renderElem:Lm(3)},sre={type:"header4",renderElem:Lm(4)},ure={type:"header5",renderElem:Lm(5)},lre=eb.PROPER,Tx=RegExp.prototype,KP=Tx.toString,cre=_n(gP),fre=mi(function(){return KP.call({source:"a",flags:"b"})!="/a/b"}),dre=lre&&KP.name!="toString";(fre||dre)&&Om(RegExp.prototype,"toString",function(){var e=Va(this),t=vi(e.source),n=e.flags;return"/"+t+"/"+vi(n===void 0&&HI(Tx,e)&&!("flags"in Tx)?cre(e):n)},{unsafe:!0});var Dx,hre=Mn.TypeError,XP=function(e){if(PP(e))throw hre("The method doesn't accept regular expressions");return e},pre=za("match"),JP=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[pre]=!1,"/./"[e](t)}catch(r){}}return!1},gre=GO.f,QP=_n("".startsWith),mre=_n("".slice),vre=Math.min,ZP=JP("startsWith");function qP(e){var t=cr(B.nodes(e,{match:function(i){return ae.getNodeType(i).startsWith("header")},universal:!0}),1),n=t[0];if(n==null)return"paragraph";var r=cr(n,1)[0];return ae.getNodeType(r)}function $P(e){return e.selection==null||!cr(B.nodes(e,{match:function(t){var n=ae.getNodeType(t);return n==="paragraph"||!!n.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function eL(e,t){t&&Me.setNodes(e,{type:t})}mo({target:"String",proto:!0,forced:!(!ZP&&(Dx=gre(String.prototype,"startsWith"),Dx&&!Dx.writable)||ZP)},{startsWith:function(e){var t=vi(bs(this));XP(e);var n=Cm(vre(arguments.length>1?arguments[1]:void 0,t.length)),r=vi(e);return QP?QP(t,r,n):mre(t,n,n+r.length)===r}});var yre=function(){function e(){this.title=Dt("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60}return e.prototype.getOptions=function(t){var n=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:Dt("header.text")}],r=this.getValue(t).toString();return n.forEach(function(i){i.value===r?i.selected=!0:delete i.selected}),n},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){return qP(t)},e.prototype.isDisabled=function(t){return $P(t)},e.prototype.exec=function(t,n){eL(t,n.toString())},e}(),jm=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return qP(t)},e.prototype.isActive=function(t){return this.getValue(t)===this.type},e.prototype.isDisabled=function(t){return $P(t)},e.prototype.exec=function(t,n){var r=this.type;eL(t,n===r?"paragraph":r)},e}(),bre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H1",n.type="header1",n}return ui(t,e),t}(jm),_re=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H2",n.type="header2",n}return ui(t,e),t}(jm),Ere=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H3",n.type="header3",n}return ui(t,e),t}(jm),wre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H4",n.type="header4",n}return ui(t,e),t}(jm),Are=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="H5",n.type="header5",n}return ui(t,e),t}(jm),Ore={key:"headerSelect",factory:function(){return new yre}},xre={key:"header1",factory:function(){return new bre}},Cre={key:"header2",factory:function(){return new _re}},Sre={key:"header3",factory:function(){return new Ere}},Tre={key:"header4",factory:function(){return new wre}},Dre={key:"header5",factory:function(){return new Are}};function Mm(e){return function(t,n){return"<h"+e+">"+n+"</h"+e+">"}}function km(e){return function(t,n,r){var i=ve(t);return(n=n.filter(function(o){return!!kt.isText(o)||!!r.isInline(o)})).length===0&&(n=[{text:i.text().replace(/\s+/gm," ")}]),{type:"header"+e,children:n}}}var Rre={renderElems:[ire,ore,are,sre,ure],elemsToHtml:[{type:"header1",elemToHtml:Mm(1)},{type:"header2",elemToHtml:Mm(2)},{type:"header3",elemToHtml:Mm(3)},{type:"header4",elemToHtml:Mm(4)},{type:"header5",elemToHtml:Mm(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:km(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:km(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:km(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:km(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:km(5)}],menus:[Ore,xre,Cre,Sre,Tre,Dre],editorPlugin:function(e){var t=e.insertBreak;e.insertNode;var n=e;return n.insertBreak=function(){var r=cr(B.nodes(n,{match:function(i){return ae.getNodeType(i).startsWith("header")},universal:!0}),1)[0];r&&ae.isSelectionAtLineEnd(e,r[1])?Me.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):t()},n}},Kh=Object.assign,tL=Object.defineProperty,Nre=_n([].concat),nL=!Kh||mi(function(){if(Ys&&Kh({b:1},Kh(tL({},"a",{enumerable:!0,get:function(){tL(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(i){t[i]=i}),Kh({},e)[n]!=7||Wh(Kh({},t)).join("")!=r})?function(e,t){for(var n=Em(e),r=arguments.length,i=1,o=uP.f,a=BI.f;r>i;)for(var s,u=Qy(arguments[i++]),l=o?Nre(Wh(u),o(u)):Wh(u),c=l.length,d=0;c>d;)s=l[d++],Ys&&!Ri(a,u,s)||(n[s]=u[s]);return n}:Kh;function Hf(e,t){e.data==null&&(e.data={});var n=e.data;n.style==null&&(n.style={}),Object.assign(n.style,t)}mo({target:"Object",stat:!0,forced:Object.assign!==nL},{assign:nL});var Ire={selector:"font",preParseHtml:function(e){var t=ve(e);if(Yh(t)!=="font")return e;var n=t.attr("color")||"";return n&&(t.removeAttr("color"),t.css("color",n)),t[0]}},rL=function(){function e(){this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(t,n){},e.prototype.getValue=function(t){var n=this.mark,r=B.marks(t);return r&&r[n]?r[n]:""},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){return t.selection==null||!!cr(B.nodes(t,{match:function(n){return ae.getNodeType(n)==="pre"||!!B.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){var n=this.mark;if(this.$content==null){var r=ve('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",function(l){var c=l.target;if(c!=null&&(l.preventDefault(),t.selection!=null)){var d=ve(c).attr("data-value");d==="0"?B.removeMark(t,n):B.addMark(t,n,d)}}),this.$content=r}var i=this.$content;if(i==null)return document.createElement("ul");i.empty();var o=this.getValue(t),a=t.getMenuConfig(n).colors;(a===void 0?[]:a).forEach(function(l){var c=ve('<div class="color-block" data-value="'+l+'"></div>');c.css("background-color",l);var d=ve('<li data-value="'+l+'"></li>');o===l&&d.addClass("active"),d.append(c),i.append(d)});var s="";n==="color"&&(s=Dt("color.default")),n==="bgColor"&&(s=Dt("color.clear"));var u=ve(`
|
|
|
<li data-value="0" class="clear">
|
|
|
<svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>
|
|
|
`+s+`
|
|
|
</li>
|
|
|
`);return i.prepend(u),i[0]},e}(),Pre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Dt("color.color"),n.iconSvg=kne,n.mark="color",n}return ui(t,e),t}(rL),Lre=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Dt("color.bgColor"),n.iconSvg=Fne,n.mark="bgColor",n}return ui(t,e),t}(rL),iL=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],jre={renderStyle:function(e,t){var n=e,r=n.color,i=n.bgColor,o=t;return r&&Hf(o,{color:r}),i&&Hf(o,{backgroundColor:i}),o},styleToHtml:function(e,t){if(!kt.isText(e))return t;var n,r=e,i=r.color,o=r.bgColor;return i||o?((wx(t)||Yh(n=ve(t))!=="span")&&(n=ve("<span>"+t+"</span>")),i&&n.css("color",i),o&&n.css("background-color",o),Gh(n)):t},preParseHtml:[Ire],parseStyleHtml:function(e,t,n){var r=ve(e);if(!kt.isText(t))return t;var i=t,o=Ks(r,"color");o&&(i.color=o);var a=Ks(r,"background-color");return a||(a=Ks(r,"background")),a&&(i.bgColor=a),i},menus:[{key:"color",factory:function(){return new Pre},config:{colors:iL}},{key:"bgColor",factory:function(){return new Lre},config:{colors:iL}}]},Mre=/^(?:\w+:)?\/\/(\S+)$/,kre=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,Fre=/^[^\s\.]+\.\S{2,}$/,Bre=oP.includes;function lb(e){return e===void 0&&(e="r"),e+"-"+a8()}function Rx(e){return e.replace(/</g,"<").replace(/>/g,">")}function oL(e,t,n,r){return oc(this,void 0,void 0,function(){var i,o;return ac(this,function(a){switch(a.label){case 0:return(i=t.getMenuConfig(e).checkLink)?[4,i(n,r)]:[3,2];case 1:if(typeof(o=a.sent())=="string")return t.alert(o,"error"),[2,!1];if(o==null)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function aL(e,t,n){return oc(this,void 0,void 0,function(){var r;return ac(this,function(i){switch(i.label){case 0:return(r=t.getMenuConfig(e).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,i.sent()];case 2:return[2,n]}})})}function Nx(e){return e.selection==null||!!ae.getSelectedElems(e).some(function(t){var n=t.type;return!!e.isVoid(t)||!!["pre","code","link"].includes(n)||void 0})}function Ix(e,t){return{type:"link",url:Rx(e),children:t?[{text:t}]:[]}}function sL(e,t,n){return oc(this,void 0,void 0,function(){var r,i,o;return ac(this,function(a){switch(a.label){case 0:return n?(t||(t=n),e.restoreSelection(),Nx(e)?[2]:[4,oL("insertLink",e,t,n)]):[2];case 1:return a.sent()?[4,aL("insertLink",e,n)]:[2];case 2:return r=a.sent(),(i=e.selection)==null||(Je.isCollapsed(i)?(e.insertText(" "),o=Ix(r,t),Me.insertNodes(e,o),e.insertFragment([{text:" "}])):B.string(e,i)!==t?(e.deleteFragment(),o=Ix(r,t),Me.insertNodes(e,o)):(o=Ix(r),Me.wrapNodes(e,o,{split:!0}),Me.collapse(e,{edge:"end"}))),[2]}})})}mo({target:"Array",proto:!0},{includes:function(e){return Bre(this,e,arguments.length>1?arguments[1]:void 0)}}),NP("includes");var Ure={type:"link",renderElem:function(e,t,n){var r=e,i=r.url,o=r.target;return An("a",{href:i,target:o===void 0?"_blank":o},t)}},Hre={selector:"a:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=ve(e);return(t=t.filter(function(i){return!!kt.isText(i)||!!n.isInline(i)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:t}}};function Px(){return lb("w-e-insert-link")}var Wre=function(){function e(){this.title=Dt("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=Px(),this.urlInputId=Px(),this.buttonId=Px()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return Nx(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=t.selection,r=this,i=r.textInputId,o=r.urlInputId,a=r.buttonId,s=cr(Ha(Dt("link.text"),i),2),u=s[0],l=ve(s[1]),c=cr(Ha(Dt("link.url"),o),2),d=c[0],p=ve(c[1]),h=cr(Ph(a,Dt("common.ok")),1)[0];if(this.$content==null){var _=ve("<div></div>");_.on("click","#"+a,function(y){y.preventDefault();var g=_.find("#"+i).val(),S=_.find("#"+o).val();sL(t,g,S),t.hidePanelOrModal()}),this.$content=_}var m=this.$content;if(m.empty(),m.append(u),m.append(d),m.append(h),n==null||Je.isCollapsed(n))l.val("");else{var v=B.string(t,n);l.val(v)}return p.val(""),setTimeout(function(){l.focus()}),m[0]},e}();function uL(){return lb("w-e-update-link")}var zre=function(){function e(){this.title=Dt("link.edit"),this.iconSvg=GP,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=uL(),this.buttonId=uL()}return e.prototype.getSelectedLinkElem=function(t){var n=ae.getSelectedNodeByType(t,"link");return n==null?null:n},e.prototype.getValue=function(t){var n=this.getSelectedLinkElem(t);return n&&n.url||""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedLinkElem(t)==null},e.prototype.getModalPositionNode=function(t){return ae.getSelectedNodeByType(t,"link")},e.prototype.getModalContentElem=function(t){var n=this.urlInputId,r=this.buttonId,i=cr(Ha(Dt("link.url"),n),2),o=i[0],a=ve(i[1]),s=cr(Ph(r,Dt("common.ok")),1)[0];if(this.$content==null){var u=ve("<div></div>");u.on("click","button",function(d){d.preventDefault(),t.restoreSelection();var p=ae.getSelectedNodeByType(t,"link"),h=p?Tt.string(p):"",_=u.find("#"+n).val();!function(m,v,y){oc(this,void 0,void 0,function(){var g,S;return ac(this,function(R){switch(R.label){case 0:return y?[4,oL("editLink",m,v,y)]:[2];case 1:return R.sent()?[4,aL("editLink",m,y)]:[2];case 2:return g=R.sent(),S={url:Rx(g)},Me.setNodes(m,S,{match:function(U){return ae.checkNodeType(U,"link")}}),[2]}})})}(t,h,_),t.hidePanelOrModal()}),this.$content=u}var l=this.$content;l.empty(),l.append(o),l.append(s);var c=this.getValue(t);return a.val(c),setTimeout(function(){a.focus()}),l[0]},e}(),Vre=function(){function e(){this.title=Dt("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||ae.getSelectedNodeByType(t,"link")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||Me.unwrapNodes(t,{match:function(r){return ae.checkNodeType(r,"link")}})},e}(),Gre=function(){function e(){this.title=Dt("link.view"),this.iconSvg=YP,this.tag="button"}return e.prototype.getSelectedLinkElem=function(t){var n=ae.getSelectedNodeByType(t,"link");return n==null?null:n},e.prototype.getValue=function(t){var n=this.getSelectedLinkElem(t);return n&&n.url||""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedLinkElem(t)==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){if(!n||typeof n!="string")throw new Error("View link failed, link url is '"+n+"'");window.open(n,"_blank")}},e}(),lL={checkLink:function(e,t){return!0},parseLinkUrl:function(e){return e}},Yre={renderElems:[Ure],elemsToHtml:[{type:"link",elemToHtml:function(e,t){var n=e,r=n.url,i=n.target;return'<a href="'+r+'" target="'+(i===void 0?"_blank":i)+'">'+t+"</a>"}}],parseElemsHtml:[Hre],menus:[{key:"insertLink",factory:function(){return new Wre},config:lL},{key:"editLink",factory:function(){return new zre},config:lL},{key:"unLink",factory:function(){return new Vre}},{key:"viewLink",factory:function(){return new Gre}}],editorPlugin:function(e){var t=e.isInline,n=e.insertData,r=e.normalizeNode;e.insertNode,e.insertText;var i=e;return i.isInline=function(o){return o.type==="link"||t(o)},i.insertData=function(o){var a=o.getData("text/plain");if(function(l){if(typeof l!="string")return!1;var c=l.match(Mre);if(!c)return!1;var d=c[1];return!(!d||!kre.test(d)&&!Fre.test(d))}(a)){if(!Nx(i)){var s=i.selection;if(s!=null){var u=B.string(i,s);sL(i,u,a)}}}else n(o)},i.normalizeNode=function(o){var a=cr(o,2),s=a[0],u=a[1];return ae.getNodeType(s)!=="link"?r([s,u]):Tt.string(s)===""?Me.removeNodes(i,{at:u}):r([s,u])},i}},Kre=_n(1 .valueOf),Xre=Mn.RangeError,Jre=Mn.RangeError,cL=Mn.String,fL=Math.floor,Lx=_n(function(e){var t=vi(bs(this)),n="",r=Hh(e);if(r<0||r==1/0)throw Xre("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(t+=t))1&r&&(n+=t);return n}),dL=_n("".slice),Fm=_n(1 .toFixed),Xh=function(e,t,n){return t===0?n:t%2==1?Xh(e,t-1,n*e):Xh(e*e,t/2,n)},Jh=function(e,t,n){for(var r=-1,i=n;++r<6;)i+=t*e[r],e[r]=i%1e7,i=fL(i/1e7)},jx=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=fL(r/t),r=r%t*1e7},hL=function(e){for(var t=6,n="";--t>=0;)if(n!==""||t===0||e[t]!==0){var r=cL(e[t]);n=n===""?r:n+Lx("0",7-r.length)+r}return n};function pL(e,t){return"w-e-image-container-"+ae.findKey(e,t).id}mo({target:"Number",proto:!0,forced:mi(function(){return Fm(8e-5,3)!=="0.000"||Fm(.9,0)!=="1"||Fm(1.255,2)!=="1.25"||Fm(1000000000000000100,0)!=="1000000000000000128"})||!mi(function(){Fm({})})},{toFixed:function(e){var t,n,r,i,o=Kre(this),a=Hh(e),s=[0,0,0,0,0,0],u="",l="0";if(a<0||a>20)throw Jre("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return cL(o);if(o<0&&(u="-",o=-o),o>1e-21)if(n=(t=function(c){for(var d=0,p=c;p>=4096;)d+=12,p/=4096;for(;p>=2;)d+=1,p/=2;return d}(o*Xh(2,69,1))-69)<0?o*Xh(2,-t,1):o/Xh(2,t,1),n*=4503599627370496,(t=52-t)>0){for(Jh(s,0,n),r=a;r>=7;)Jh(s,1e7,0),r-=7;for(Jh(s,Xh(10,r,1),0),r=t-1;r>=23;)jx(s,1<<23),r-=23;jx(s,1<<r),Jh(s,1,1),jx(s,2),l=hL(s)}else Jh(s,0,n),Jh(s,1<<-t,0),l=hL(s)+Lx("0",a);return a>0?u+((i=l.length)<=a?"0."+Lx("0",a-i)+l:dL(l,0,i-a)+"."+dL(l,i-a)):u+l}});var Qre={type:"image",renderElem:function(e,t,n){var r=e,i=r.src,o=r.alt,a=o===void 0?"":o,s=r.href,u=s===void 0?"":s,l=r.style,c=l===void 0?{}:l,d=c.width,p=d===void 0?"":d,h=c.height,_=h===void 0?"":h,m=ae.isNodeSelected(n,e),v={};p&&(v.width="100%"),_&&(v.height="100%");var y=An("img",{style:v,src:i,alt:a,"data-href":u}),g=n.isDisabled();return m&&!g?function(S,R,U,Q){var X=ve("body"),le=pL(S,R),xe=Q.width,Qe=Q.height,it=0,Ze=0,vt=0,lt=!1,ct=null;function dt(zt){ct=function(){var De=ve("#"+le);if(De.length===0)throw new Error("Cannot find image container elem");return De}(),it=zt;var ye=ct.find("img");if(ye.length===0)throw new Error("Cannot find image elem");Ze=ye.width(),vt=ye.height(),X.on("mousemove",Pt),X.on("mouseup",Kt);var re=ae.getHoverbar(S);re&&re.hideAndClean()}var Pt=gf(function(zt){zt.preventDefault();var ye=zt.clientX,re=Ze+(lt?it-ye:ye-it),De=vt*(re/Ze);ct!=null&&(re<=15||De<=15||(ct.css("width",re+"px"),ct.css("height",De+"px")))},100);function Kt(zt){if(X.off("mousemove",Pt),ct!=null){var ye=ct.width().toFixed(2),re=ct.height().toFixed(2),De={style:ic(ic({},R.style),{width:ye+"px",height:re+"px"})};Me.setNodes(S,De,{at:ae.findPath(S,R)}),X.off("mouseup",Kt)}}var Gt={};return xe&&(Gt.width=xe),Qe&&(Gt.height=Qe),An("div",{id:le,style:Gt,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(zt){var ye=ve(zt.target);ye.hasClass("w-e-image-dragger")&&(zt.preventDefault(),(ye.hasClass("left-top")||ye.hasClass("left-bottom"))&&(lt=!0),dt(zt.clientX))}}},U,An("div",{className:"w-e-image-dragger left-top"}),An("div",{className:"w-e-image-dragger right-top"}),An("div",{className:"w-e-image-dragger left-bottom"}),An("div",{className:"w-e-image-dragger right-bottom"}))}(n,e,y,{width:p,height:_}):function(S,R,U,Q){var X=Q.width,le=Q.height,xe={};return X&&(xe.width=X),le&&(xe.height=le),An("div",{id:pL(S,R),style:xe,className:"w-e-image-container"},U)}(n,e,y,{width:p,height:_})}},Zre={selector:"img:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=ve(e),i=r.attr("data-href")||"";return i=decodeURIComponent(i),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:i,style:{width:Ks(r,"width"),height:Ks(r,"height")},children:[{text:""}]}}};function gL(e,t,n,r,i){return r===void 0&&(r=""),i===void 0&&(i=""),oc(this,void 0,void 0,function(){var o,a;return ac(this,function(s){switch(s.label){case 0:return(o=t.getMenuConfig(e).checkImage)?[4,o(n,r,i)]:[3,2];case 1:if(typeof(a=s.sent())=="string")return t.alert(a,"error"),[2,!1];if(a==null)return[2,!1];s.label=2;case 2:return[2,!0]}})})}function mL(e,t,n){return oc(this,void 0,void 0,function(){var r;return ac(this,function(i){switch(i.label){case 0:return(r=t.getMenuConfig(e).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,i.sent()];case 2:return[2,n]}})})}function Wf(e,t,n,r){return n===void 0&&(n=""),r===void 0&&(r=""),oc(this,void 0,void 0,function(){var i,o,a;return ac(this,function(s){switch(s.label){case 0:return[4,gL("insertImage",e,t,n,r)];case 1:return s.sent()?[4,mL("insertImage",e,t)]:[2];case 2:return i=s.sent(),o={type:"image",src:Rx(i),href:r,alt:n,style:{},children:[{text:""}]},e.selection===null&&e.restoreSelection(),ae.getSelectedNodeByType(e,"image")&&e.move(1),cb(e)||(Me.insertNodes(e,o),(a=e.getMenuConfig("insertImage").onInsertedImage)&&a(o)),[2]}})})}function cb(e){var t=e.selection;return t==null||!Je.isCollapsed(t)||!!cr(B.nodes(e,{match:function(n){var r=ae.getNodeType(n);return r==="code"||r==="pre"||r==="link"||r==="list-item"||!!r.startsWith("header")||r==="blockquote"||!!B.isVoid(e,n)},universal:!0}),1)[0]}function fb(){return lb("w-e-insert-image")}var qre=function(){function e(){this.title=Dt("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=fb(),this.altInputId=fb(),this.hrefInputId=fb(),this.buttonId=fb()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return cb(t)},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,i=r.srcInputId,o=r.altInputId,a=r.hrefInputId,s=r.buttonId,u=cr(Ha(Dt("image.src"),i),2),l=u[0],c=ve(u[1]),d=cr(Ha(Dt("image.desc"),o),2),p=d[0],h=ve(d[1]),_=cr(Ha(Dt("image.link"),a),2),m=_[0],v=ve(_[1]),y=cr(Ph(s,Dt("common.ok")),1)[0];if(this.$content==null){var g=ve("<div></div>");g.on("click","#"+s,function(R){R.preventDefault();var U=g.find("#"+i).val().trim(),Q=g.find("#"+o).val().trim(),X=g.find("#"+a).val().trim();n.insertImage(t,U,Q,X),t.hidePanelOrModal()}),this.$content=g}var S=this.$content;return S.empty(),S.append(l),S.append(p),S.append(m),S.append(y),c.val(""),h.val(""),v.val(""),setTimeout(function(){c.focus()}),S[0]},e.prototype.insertImage=function(t,n,r,i){r===void 0&&(r=""),i===void 0&&(i=""),n&&(t.restoreSelection(),this.isDisabled(t)||Wf(t,n,r,i))},e}(),$re=function(){function e(){this.title=Dt("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||ae.getSelectedNodeByType(t,"image")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||Me.removeNodes(t,{match:function(r){return ae.checkNodeType(r,"image")}})},e}();function db(){return lb("w-e-edit-image")}var eie=function(){function e(){this.title=Dt("image.edit"),this.iconSvg=GP,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=db(),this.altInputId=db(),this.hrefInputId=db(),this.buttonId=db()}return e.prototype.getValue=function(t){return""},e.prototype.getImageNode=function(t){return ae.getSelectedNodeByType(t,"image")},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!Je.isCollapsed(n)||ae.getSelectedNodeByType(t,"image")==null},e.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},e.prototype.getModalContentElem=function(t){var n=this,r=this,i=r.srcInputId,o=r.altInputId,a=r.hrefInputId,s=r.buttonId,u=this.getImageNode(t);if(u==null)throw new Error("Not found selected image node");var l=cr(Ha(Dt("image.src"),i),2),c=l[0],d=ve(l[1]),p=cr(Ha(Dt("image.desc"),o),2),h=p[0],_=ve(p[1]),m=cr(Ha(Dt("image.link"),a),2),v=m[0],y=ve(m[1]),g=cr(Ph(s,Dt("common.ok")),1)[0];if(this.$content==null){var S=ve("<div></div>");S.on("click","#"+s,function(it){it.preventDefault();var Ze=S.find("#"+i).val(),vt=S.find("#"+o).val(),lt=S.find("#"+a).val();n.updateImage(t,Ze,vt,lt),t.hidePanelOrModal()}),this.$content=S}var R=this.$content;R.empty(),R.append(c),R.append(h),R.append(v),R.append(g);var U=u,Q=U.src,X=U.alt,le=X===void 0?"":X,xe=U.href,Qe=xe===void 0?"":xe;return d.val(Q),_.val(le),y.val(Qe),setTimeout(function(){d.focus()}),R[0]},e.prototype.updateImage=function(t,n,r,i,o){r===void 0&&(r=""),i===void 0&&(i=""),o===void 0&&(o={}),n&&(t.restoreSelection(),this.isDisabled(t)||function(a,s,u,l,c){u===void 0&&(u=""),l===void 0&&(l=""),c===void 0&&(c={}),oc(this,void 0,void 0,function(){var d,p,h,_,m,v;return ac(this,function(y){switch(y.label){case 0:return[4,gL("editImage",a,s,u,l)];case 1:return y.sent()?[4,mL("editImage",a,s)]:[2];case 2:return d=y.sent(),(p=ae.getSelectedNodeByType(a,"image"))==null||(h=p.style,_={src:d,alt:u,href:l,style:ic(ic({},h===void 0?{}:h),c)},Me.setNodes(a,_,{match:function(g){return ae.checkNodeType(g,"image")}}),m=ae.getSelectedNodeByType(a,"image"),(v=a.getMenuConfig("editImage").onUpdatedImage)&&v(m)),[2]}})})}(t,n,r,i,o))},e}(),tie=function(){function e(){this.title=Dt("image.viewLink"),this.iconSvg=YP,this.tag="button"}return e.prototype.getValue=function(t){var n=ae.getSelectedNodeByType(t,"image");return n&&n.href||""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!this.getValue(t)},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){if(!n||typeof n!="string")throw new Error("View image link failed, image.href is '"+n+"'");window.open(n,"_blank")}},e}(),Mx=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.getSelectedNode=function(t){return ae.getSelectedNodeByType(t,"image")},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedNode(t)==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.getSelectedNode(t);if(r!=null){var i=ae.getHoverbar(t);i&&i.hideAndClean();var o=r.style,a={style:ic(ic({},o===void 0?{}:o),{width:this.value,height:""})};Me.setNodes(t,a,{match:function(s){return ae.checkNodeType(s,"image")}})}}},e}(),nie=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="30%",n.value="30%",n}return ui(t,e),t}(Mx),rie=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="50%",n.value="50%",n}return ui(t,e),t}(Mx),iie=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title="100%",n.value="100%",n}return ui(t,e),t}(Mx),vL={onInsertedImage:function(e){},onUpdatedImage:function(e){},checkImage:function(e,t,n){return!0},parseImageSrc:function(e){return e}},oie={renderElems:[Qre],elemsToHtml:[{type:"image",elemToHtml:function(e,t){var n=e,r=n.src,i=n.alt,o=i===void 0?"":i,a=n.href,s=a===void 0?"":a,u=n.style,l=u===void 0?{}:u,c=l.width,d=c===void 0?"":c,p=l.height,h=p===void 0?"":p,_="";return d&&(_+="width: "+d+";"),h&&(_+="height: "+h+";"),'<img src="'+r+'" alt="'+o+'" data-href="'+s+'" style="'+_+'"/>'}}],parseElemsHtml:[Zre],menus:[{key:"insertImage",factory:function(){return new qre},config:vL},{key:"deleteImage",factory:function(){return new $re}},{key:"editImage",factory:function(){return new eie},config:vL},{key:"viewImageLink",factory:function(){return new tie}},{key:"imageWidth30",factory:function(){return new nie}},{key:"imageWidth50",factory:function(){return new rie}},{key:"imageWidth100",factory:function(){return new iie}}],editorPlugin:function(e){var t=e.isInline,n=e.isVoid;e.insertNode;var r=e;return r.isInline=function(i){return i.type==="image"||t(i)},r.isVoid=function(i){return i.type==="image"||n(i)},r}},aie={type:"todo",renderElem:function(e,t,n){var r=!1;n.isDisabled()&&(r=!0);var i=An("div",{style:{margin:"5px 0"}},An("span",{contentEditable:!1,style:{marginRight:"0.5em"}},An("input",{type:"checkbox",checked:e.checked,disabled:r,on:{change:function(o){var a=ae.findPath(n,e),s={checked:o.target.checked};Me.setNodes(n,s,{at:a})}}})),An("span",null,t));return i}},sie=function(){function e(){this.title=Dt("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!!ae.getSelectedNodeByType(t,"todo")},e.prototype.isDisabled=function(t){return t.selection==null||!!ae.getSelectedElems(t).some(function(n){if(B.isVoid(t,n)&&B.isBlock(t,n))return!0;var r=n.type;return!!["pre","table","list-item"].includes(r)||void 0})},e.prototype.exec=function(t,n){var r=this.isActive(t);Me.setNodes(t,{type:r?"paragraph":"todo"})},e}(),uie={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(e,t,n){var r=ve(e);(t=t.filter(function(o){return!!kt.isText(o)||!!n.isInline(o)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var i=!1;return r.find('input[type="checkbox"]').attr("checked")!=null&&(i=!0),{type:"todo",checked:i,children:t}}},lie={renderElems:[aie],elemsToHtml:[{type:"todo",elemToHtml:function(e,t){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(e.checked?"checked":"")+">"+t+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(e){var t=ve(e).find("li"),n=ve('<div data-w-e-type="todo"></div>'),r=t.find("input[type]");return n.append(r),t.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+t[0].innerHTML,n[0]}}],parseElemsHtml:[uie],menus:[{key:"todo",factory:function(){return new sie}}],editorPlugin:function(e){var t=e.deleteBackward,n=e;return n.deleteBackward=function(r){var i=e.selection;if(i&&Je.isCollapsed(i)){var o=ae.getSelectedNodeByType(e,"todo");if(o&&Tt.string(o).length===0)return void Me.setNodes(e,{type:"paragraph"},{mode:"highest"})}t(r)},n}},cie={type:"blockquote",renderElem:function(e,t,n){return An("blockquote",null,t)}},fie={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=ve(e);return(t=t.filter(function(i){return!!kt.isText(i)||!!n.isInline(i)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:t}}},die=function(){function e(){this.title=Dt("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!!ae.getSelectedNodeByType(t,"blockquote")},e.prototype.isDisabled=function(t){return t.selection==null||!cr(B.nodes(t,{match:function(n){var r=ae.getNodeType(n);return r==="paragraph"||r==="blockquote"},universal:!0,mode:"highest"}),1)[0]},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.isActive(t)?"paragraph":"blockquote";Me.setNodes(t,{type:r},{mode:"highest"})}},e}(),hie={key:"blockquote",factory:function(){return new die}},pie=_n([].slice),gie=tx("slice"),mie=za("species"),kx=Mn.Array,vie=Math.max;mo({target:"Array",proto:!0,forced:!gie},{slice:function(e,t){var n,r,i,o=kh(this),a=tb(o),s=xm(e,a),u=xm(t===void 0?a:t,a);if(rb(o)&&(n=o.constructor,(ex(n)&&(n===kx||rb(n.prototype))||_s(n)&&(n=n[mie])===null)&&(n=void 0),n===kx||n===void 0))return pie(o,s,u);for(r=new(n===void 0?kx:n)(vie(u-s,0)),i=0;s<u;s++,i++)s in o&&LP(r,i,o[s]);return r.length=i,r}});var yie={renderElems:[cie],elemsToHtml:[{type:"blockquote",elemToHtml:function(e,t){return"<blockquote>"+t+"</blockquote>"}}],parseElemsHtml:[fie],menus:[hie],editorPlugin:function(e){var t=e.insertBreak,n=e.insertText,r=e;return r.insertBreak=function(){var i=r.selection;if(i==null)return t();var o=cr(B.nodes(e,{match:function(c){return ae.checkNodeType(c,"blockquote")},universal:!0}),1)[0];if(!o)return t();var a=o[0],s=ae.findPath(e,a),u=B.end(e,s);if(Wn.equals(u,i.focus)){var l=Tt.string(a);if(l&&l.slice(-1)===`
|
|
|
`)return e.deleteBackward("character"),void Me.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}n(`
|
|
|
`)},r}},bie=function(){function e(){this.title=Dt("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.exec=function(t,n){},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!!cr(B.nodes(t,{match:function(n){return ae.getNodeType(n)==="pre"||!!B.isVoid(t,n)},universal:!0}),1)[0]},e.prototype.getPanelContentElem=function(t){if(this.$content==null){var n=ve('<ul class="w-e-panel-content-emotion"></ul>');n.on("click","li",function(o){var a=o.target;if(a!=null){o.preventDefault();var s=ve(a).text();t.insertText(s)}}),this.$content=n}var r=this.$content;if(r==null)return document.createElement("ul");r.empty();var i=t.getMenuConfig("emotion").emotions;return(i===void 0?[]:i).forEach(function(o){var a=ve("<li>"+o+"</li>");r.append(a)}),r[0]},e}(),_ie={menus:[{key:"emotion",factory:function(){return new bie},config:{emotions:"\u{1F600} \u{1F603} \u{1F604} \u{1F601} \u{1F606} \u{1F605} \u{1F602} \u{1F923} \u{1F60A} \u{1F607} \u{1F642} \u{1F643} \u{1F609} \u{1F60C} \u{1F60D} \u{1F618} \u{1F617} \u{1F619} \u{1F61A} \u{1F60B} \u{1F61B} \u{1F61D} \u{1F61C} \u{1F913} \u{1F60E} \u{1F60F} \u{1F612} \u{1F61E} \u{1F614} \u{1F61F} \u{1F615} \u{1F641} \u{1F623} \u{1F616} \u{1F62B} \u{1F629} \u{1F622} \u{1F62D} \u{1F624} \u{1F620} \u{1F621} \u{1F633} \u{1F631} \u{1F628} \u{1F917} \u{1F914} \u{1F636} \u{1F611} \u{1F62C} \u{1F644} \u{1F62F} \u{1F634} \u{1F637} \u{1F911} \u{1F608} \u{1F921} \u{1F4A9} \u{1F47B} \u{1F480} \u{1F440} \u{1F463} \u{1F450} \u{1F64C} \u{1F44F} \u{1F91D} \u{1F44D} \u{1F44E} \u{1F44A} \u270A \u{1F91B} \u{1F91C} \u{1F91E} \u270C\uFE0F \u{1F918} \u{1F44C} \u{1F448} \u{1F449} \u{1F446} \u{1F447} \u261D\uFE0F \u270B \u{1F91A} \u{1F590} \u{1F596} \u{1F44B} \u{1F919} \u{1F4AA} \u{1F595} \u270D\uFE0F \u{1F64F}".split(" ")}}]},Eie={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},wie={selector:"font",preParseHtml:function(e){var t=ve(e);if(Yh(t)!=="font")return e;var n=t.attr("size")||"";n&&(t.removeAttr("size"),t.css("font-size",Eie[n]));var r=t.attr("face")||"";return r&&(t.removeAttr("face"),t.css("font-family",r)),t[0]}},Aie=_n("".indexOf);mo({target:"String",proto:!0,forced:!JP("includes")},{includes:function(e){return!!~Aie(vi(bs(this)),vi(XP(e)),arguments.length>1?arguments[1]:void 0)}});var sc,hb,pb=function(e){return e&&e.Math==Math&&e},Gn=pb(typeof globalThis=="object"&&globalThis)||pb(typeof window=="object"&&window)||pb(typeof self=="object"&&self)||pb(typeof Yy=="object"&&Yy)||function(){return this}()||Function("return this")(),Fx=Function.prototype,yL=Fx.apply,Oie=Fx.bind,bL=Fx.call,_L=typeof Reflect=="object"&&Reflect.apply||(Oie?bL.bind(yL):function(){return bL.apply(yL,arguments)}),EL=Function.prototype,Bx=EL.bind,Ux=EL.call,xie=Bx&&Bx.bind(Ux),Ni=Bx?function(e){return e&&xie(Ux,e)}:function(e){return e&&function(){return Ux.apply(e,arguments)}},Vo=function(e){return typeof e=="function"},Ga=function(e){try{return!!e()}catch(t){return!0}},Oa=!Ga(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Bm=Function.prototype.call,Xs=Bm.bind?Bm.bind(Bm):function(){return Bm.apply(Bm,arguments)},wL={}.propertyIsEnumerable,AL=Object.getOwnPropertyDescriptor,Cie=AL&&!wL.call({1:2},1)?function(e){var t=AL(this,e);return!!t&&t.enumerable}:wL,Hx={f:Cie},zf=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Sie=Ni({}.toString),Tie=Ni("".slice),Vf=function(e){return Tie(Sie(e),8,-1)},Wx=Gn.Object,Die=Ni("".split),OL=Ga(function(){return!Wx("z").propertyIsEnumerable(0)})?function(e){return Vf(e)=="String"?Die(e,""):Wx(e)}:Wx,Rie=Gn.TypeError,zx=function(e){if(e==null)throw Rie("Can't call method on "+e);return e},Ou=function(e){return OL(zx(e))},ws=function(e){return typeof e=="object"?e!==null:Vo(e)},As={},xL=function(e){return Vo(e)?e:void 0},Um=function(e,t){return arguments.length<2?xL(As[e])||xL(Gn[e]):As[e]&&As[e][t]||Gn[e]&&Gn[e][t]},CL=Ni({}.isPrototypeOf),Vx=Um("navigator","userAgent")||"",SL=Gn.process,TL=Gn.Deno,DL=SL&&SL.versions||TL&&TL.version,RL=DL&&DL.v8;RL&&(hb=(sc=RL.split("."))[0]>0&&sc[0]<4?1:+(sc[0]+sc[1])),!hb&&Vx&&(!(sc=Vx.match(/Edge\/(\d+)/))||sc[1]>=74)&&(sc=Vx.match(/Chrome\/(\d+)/))&&(hb=+sc[1]);var gb=hb,xu=!!Object.getOwnPropertySymbols&&!Ga(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&gb&&gb<41}),Gx=xu&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Nie=Gn.Object,Qh=Gx?function(e){return typeof e=="symbol"}:function(e){var t=Um("Symbol");return Vo(t)&&CL(t.prototype,Nie(e))},Iie=Gn.String,Pie=Gn.TypeError,NL=function(e){if(Vo(e))return e;throw Pie(function(t){try{return Iie(t)}catch(n){return"Object"}}(e)+" is not a function")},Lie=Gn.TypeError,jie=Object.defineProperty,uc=Gn["__core-js_shared__"]||function(e,t){try{jie(Gn,e,{value:t,configurable:!0,writable:!0})}catch(n){Gn[e]=t}return t}("__core-js_shared__",{}),Gf=Ky(function(e){(e.exports=function(t,n){return uc[t]||(uc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Mie=Gn.Object,Hm=function(e){return Mie(zx(e))},kie=Ni({}.hasOwnProperty),fr=Object.hasOwn||function(e,t){return kie(Hm(e),t)},Fie=0,Bie=Math.random(),Uie=Ni(1 .toString),mb=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Uie(++Fie+Bie,36)},Wm=Gf("wks"),Yf=Gn.Symbol,IL=Yf&&Yf.for,Hie=Gx?Yf:Yf&&Yf.withoutSetter||mb,Ya=function(e){if(!fr(Wm,e)||!xu&&typeof Wm[e]!="string"){var t="Symbol."+e;xu&&fr(Yf,e)?Wm[e]=Yf[e]:Wm[e]=Gx&&IL?IL(t):Hie(t)}return Wm[e]},Wie=Gn.TypeError,zie=Ya("toPrimitive"),Zh=function(e){var t=function(n,r){if(!ws(n)||Qh(n))return n;var i,o,a=(i=n[zie])==null?void 0:NL(i);if(a){if(r===void 0&&(r="default"),o=Xs(a,n,r),!ws(o)||Qh(o))return o;throw Wie("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(s,u){var l,c;if(u==="string"&&Vo(l=s.toString)&&!ws(c=Xs(l,s)))return c;if(Vo(l=s.valueOf)&&!ws(c=Xs(l,s)))return c;if(u!=="string"&&Vo(l=s.toString)&&!ws(c=Xs(l,s)))return c;throw Lie("Can't convert object to primitive value")}(n,r)}(e,"string");return Qh(t)?t:t+""},Yx=Gn.document,Vie=ws(Yx)&&ws(Yx.createElement),PL=function(e){return Vie?Yx.createElement(e):{}},LL=!Oa&&!Ga(function(){return Object.defineProperty(PL("div"),"a",{get:function(){return 7}}).a!=7}),jL=Object.getOwnPropertyDescriptor,Kx={f:Oa?jL:function(e,t){if(e=Ou(e),t=Zh(t),LL)try{return jL(e,t)}catch(n){}if(fr(e,t))return zf(!Xs(Hx.f,e,t),e[t])}},Gie=/#|\.prototype\./,zm=function(e,t){var n=Kie[Yie(e)];return n==Jie||n!=Xie&&(Vo(t)?Ga(t):!!t)},Yie=zm.normalize=function(e){return String(e).replace(Gie,".").toLowerCase()},Kie=zm.data={},Xie=zm.NATIVE="N",Jie=zm.POLYFILL="P",Qie=zm,ML=Ni(Ni.bind),kL=function(e,t){return NL(e),t===void 0?e:ML?ML(e,t):function(){return e.apply(t,arguments)}},Zie=Gn.String,qie=Gn.TypeError,Kf=function(e){if(ws(e))return e;throw qie(Zie(e)+" is not an object")},$ie=Gn.TypeError,FL=Object.defineProperty,Xf={f:Oa?FL:function(e,t,n){if(Kf(e),t=Zh(t),Kf(n),LL)try{return FL(e,t,n)}catch(r){}if("get"in n||"set"in n)throw $ie("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Cu=Oa?function(e,t,n){return Xf.f(e,t,zf(1,n))}:function(e,t,n){return e[t]=n,e},eoe=Kx.f,toe=function(e){var t=function(n,r,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,r)}return new e(n,r,i)}return _L(e,this,arguments)};return t.prototype=e.prototype,t},lc=function(e,t){var n,r,i,o,a,s,u,l,c=e.target,d=e.global,p=e.stat,h=e.proto,_=d?Gn:p?Gn[c]:(Gn[c]||{}).prototype,m=d?As:As[c]||Cu(As,c,{})[c],v=m.prototype;for(i in t)n=!Qie(d?i:c+(p?".":"#")+i,e.forced)&&_&&fr(_,i),a=m[i],n&&(s=e.noTargetGet?(l=eoe(_,i))&&l.value:_[i]),o=n&&s?s:t[i],n&&typeof a==typeof o||(u=e.bind&&n?kL(o,Gn):e.wrap&&n?toe(o):h&&Vo(o)?Ni(o):o,(e.sham||o&&o.sham||a&&a.sham)&&Cu(u,"sham",!0),Cu(m,i,u),h&&(fr(As,r=c+"Prototype")||Cu(As,r,{}),Cu(As[r],i,o),e.real&&v&&!v[i]&&Cu(v,i,o)))},vb=Array.isArray||function(e){return Vf(e)=="Array"},noe=Math.ceil,roe=Math.floor,Xx=function(e){var t=+e;return t!=t||t===0?0:(t>0?roe:noe)(t)},ioe=Math.min,yb=function(e){return(t=e.length)>0?ioe(Xx(t),9007199254740991):0;var t},Jx=function(e,t,n){var r=Zh(t);r in e?Xf.f(e,r,zf(0,n)):e[r]=n},BL={};BL[Ya("toStringTag")]="z";var Qx=String(BL)==="[object z]",ooe=Ya("toStringTag"),aoe=Gn.Object,soe=Vf(function(){return arguments}())=="Arguments",bb=Qx?Vf:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=aoe(e),ooe))=="string"?n:soe?Vf(t):(r=Vf(t))=="Object"&&Vo(t.callee)?"Arguments":r},uoe=Ni(Function.toString);Vo(uc.inspectSource)||(uc.inspectSource=function(e){return uoe(e)});var UL=uc.inspectSource,HL=function(){},loe=[],WL=Um("Reflect","construct"),Zx=/^\s*(?:class|function)\b/,coe=Ni(Zx.exec),foe=!Zx.exec(HL),Vm=function(e){if(!Vo(e))return!1;try{return WL(HL,loe,e),!0}catch(t){return!1}},doe=!WL||Ga(function(){var e;return Vm(Vm.call)||!Vm(Object)||!Vm(function(){e=!0})||e})?function(e){if(!Vo(e))return!1;switch(bb(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return foe||!!coe(Zx,UL(e))}:Vm,hoe=Ya("species"),zL=Gn.Array,VL=function(e,t){return new(function(n){var r;return vb(n)&&(r=n.constructor,(doe(r)&&(r===zL||vb(r.prototype))||ws(r)&&(r=r[hoe])===null)&&(r=void 0)),r===void 0?zL:r}(e))(t===0?0:t)},poe=Ya("species"),GL=Ya("isConcatSpreadable"),YL=Gn.TypeError,goe=gb>=51||!Ga(function(){var e=[];return e[GL]=!1,e.concat()[0]!==e}),moe=gb>=51||!Ga(function(){var e=[];return(e.constructor={})[poe]=function(){return{foo:1}},e.concat(Boolean).foo!==1}),voe=function(e){if(!ws(e))return!1;var t=e[GL];return t!==void 0?!!t:vb(e)};lc({target:"Array",proto:!0,forced:!goe||!moe},{concat:function(e){var t,n,r,i,o,a=Hm(this),s=VL(a,0),u=0;for(t=-1,r=arguments.length;t<r;t++)if(voe(o=t===-1?a:arguments[t])){if(u+(i=yb(o))>9007199254740991)throw YL("Maximum allowed index exceeded");for(n=0;n<i;n++,u++)n in o&&Jx(s,u,o[n])}else{if(u>=9007199254740991)throw YL("Maximum allowed index exceeded");Jx(s,u++,o)}return s.length=u,s}});var _b,yoe=Gn.String,Eb=function(e){if(bb(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return yoe(e)},boe=Math.max,_oe=Math.min,qx=function(e,t){var n=Xx(e);return n<0?boe(n+t,0):_oe(n,t)},KL=function(e){return function(t,n,r){var i,o=Ou(t),a=yb(o),s=qx(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Eoe={includes:KL(!0),indexOf:KL(!1)},Gm={},woe=Eoe.indexOf,XL=Ni([].push),JL=function(e,t){var n,r=Ou(e),i=0,o=[];for(n in r)!fr(Gm,n)&&fr(r,n)&&XL(o,n);for(;t.length>i;)fr(r,n=t[i++])&&(~woe(o,n)||XL(o,n));return o},wb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$x=Object.keys||function(e){return JL(e,wb)},Aoe=Oa?Object.defineProperties:function(e,t){Kf(e);for(var n,r=Ou(t),i=$x(t),o=i.length,a=0;o>a;)Xf.f(e,n=i[a++],r[n]);return e},Ooe=Um("document","documentElement"),QL=Gf("keys"),Ab=function(e){return QL[e]||(QL[e]=mb(e))},ZL=Ab("IE_PROTO"),eC=function(){},qL=function(e){return"<script>"+e+"</script>"},$L=function(e){e.write(qL("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ob=function(){try{_b=new ActiveXObject("htmlfile")}catch(r){}var e,t;Ob=typeof document!="undefined"?document.domain&&_b?$L(_b):((t=PL("iframe")).style.display="none",Ooe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(qL("document.F=Object")),e.close(),e.F):$L(_b);for(var n=wb.length;n--;)delete Ob.prototype[wb[n]];return Ob()};Gm[ZL]=!0;var xb,Ym,Cb,Jf=Object.create||function(e,t){var n;return e!==null?(eC.prototype=Kf(e),n=new eC,eC.prototype=null,n[ZL]=e):n=Ob(),t===void 0?n:Aoe(n,t)},xoe=wb.concat("length","prototype"),ej={f:Object.getOwnPropertyNames||function(e){return JL(e,xoe)}},Coe=Gn.Array,Soe=Math.max,tj=ej.f,nj=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],rj={f:function(e){return nj&&Vf(e)=="Window"?function(t){try{return tj(t)}catch(n){return function(r,i,o){for(var a=yb(r),s=qx(void 0,a),u=qx(a,a),l=Coe(Soe(u-s,0)),c=0;s<u;s++,c++)Jx(l,c,r[s]);return l.length=c,l}(nj)}}(e):tj(Ou(e))}},tC={f:Object.getOwnPropertySymbols},Toe=Ni([].slice),qh=function(e,t,n,r){r&&r.enumerable?e[t]=n:Cu(e,t,n)},nC={f:Ya},Doe=Xf.f,Ki=function(e){var t=As.Symbol||(As.Symbol={});fr(t,e)||Doe(t,e,{value:nC.f(e)})},Roe=Qx?{}.toString:function(){return"[object "+bb(this)+"]"},Noe=Xf.f,ij=Ya("toStringTag"),Sb=function(e,t,n,r){if(e){var i=n?e:e.prototype;fr(i,ij)||Noe(i,ij,{configurable:!0,value:t}),r&&!Qx&&Cu(i,"toString",Roe)}},oj=Gn.WeakMap,Ioe=Vo(oj)&&/native code/.test(UL(oj)),rC=Gn.TypeError,Poe=Gn.WeakMap;if(Ioe||uc.state){var Qf=uc.state||(uc.state=new Poe),Loe=Ni(Qf.get),aj=Ni(Qf.has),joe=Ni(Qf.set);xb=function(e,t){if(aj(Qf,e))throw new rC("Object already initialized");return t.facade=e,joe(Qf,e,t),t},Ym=function(e){return Loe(Qf,e)||{}},Cb=function(e){return aj(Qf,e)}}else{var $h=Ab("state");Gm[$h]=!0,xb=function(e,t){if(fr(e,$h))throw new rC("Object already initialized");return t.facade=e,Cu(e,$h,t),t},Ym=function(e){return fr(e,$h)?e[$h]:{}},Cb=function(e){return fr(e,$h)}}var ep={set:xb,get:Ym,has:Cb,enforce:function(e){return Cb(e)?Ym(e):xb(e,{})},getterFor:function(e){return function(t){var n;if(!ws(t)||(n=Ym(t)).type!==e)throw rC("Incompatible receiver, "+e+" required");return n}}},sj=Ni([].push),cc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,_=Hm(u),m=OL(_),v=kL(l,c),y=yb(m),g=0,S=d||VL,R=t?S(u,y):n||a?S(u,0):void 0;y>g;g++)if((s||g in m)&&(h=v(p=m[g],g,_),e))if(t)R[g]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:sj(R,p)}else switch(e){case 4:return!1;case 7:sj(R,p)}return o?-1:r||i?i:R}},Tb=[cc(0),cc(1),cc(2),cc(3),cc(4),cc(5),cc(6),cc(7)][0],xa=Ab("hidden"),uj=Ya("toPrimitive"),Moe=ep.set,lj=ep.getterFor("Symbol"),Js=Object.prototype,fc=Gn.Symbol,dc=fc&&fc.prototype,cj=Gn.TypeError,iC=Gn.QObject,Km=Um("JSON","stringify"),fj=Kx.f,hc=Xf.f,dj=rj.f,koe=Hx.f,hj=Ni([].push),ul=Gf("symbols"),Xm=Gf("op-symbols"),oC=Gf("string-to-symbol-registry"),aC=Gf("symbol-to-string-registry"),Foe=Gf("wks"),sC=!iC||!iC.prototype||!iC.prototype.findChild,uC=Oa&&Ga(function(){return Jf(hc({},"a",{get:function(){return hc(this,"a",{value:7}).a}})).a!=7})?function(e,t,n){var r=fj(Js,t);r&&delete Js[t],hc(e,t,n),r&&e!==Js&&hc(Js,t,r)}:hc,lC=function(e,t){var n=ul[e]=Jf(dc);return Moe(n,{type:"Symbol",tag:e,description:t}),Oa||(n.description=t),n},Db=function(e,t,n){e===Js&&Db(Xm,t,n),Kf(e);var r=Zh(t);return Kf(n),fr(ul,r)?(n.enumerable?(fr(e,xa)&&e[xa][r]&&(e[xa][r]=!1),n=Jf(n,{enumerable:zf(0,!1)})):(fr(e,xa)||hc(e,xa,zf(1,{})),e[xa][r]=!0),uC(e,r,n)):hc(e,r,n)},pj=function(e,t){Kf(e);var n=Ou(t),r=$x(n).concat(cC(n));return Tb(r,function(i){Oa&&!Xs(gj,n,i)||Db(e,i,n[i])}),e},gj=function(e){var t=Zh(e),n=Xs(koe,this,t);return!(this===Js&&fr(ul,t)&&!fr(Xm,t))&&(!(n||!fr(this,t)||!fr(ul,t)||fr(this,xa)&&this[xa][t])||n)},mj=function(e,t){var n=Ou(e),r=Zh(t);if(n!==Js||!fr(ul,r)||fr(Xm,r)){var i=fj(n,r);return!i||!fr(ul,r)||fr(n,xa)&&n[xa][r]||(i.enumerable=!0),i}},vj=function(e){var t=dj(Ou(e)),n=[];return Tb(t,function(r){fr(ul,r)||fr(Gm,r)||hj(n,r)}),n},cC=function(e){var t=e===Js,n=dj(t?Xm:Ou(e)),r=[];return Tb(n,function(i){!fr(ul,i)||t&&!fr(Js,i)||hj(r,ul[i])}),r};if(xu||(dc=(fc=function(){if(CL(dc,this))throw cj("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==void 0?Eb(arguments[0]):void 0,t=mb(e),n=function(r){this===Js&&Xs(n,Xm,r),fr(this,xa)&&fr(this[xa],t)&&(this[xa][t]=!1),uC(this,t,zf(1,r))};return Oa&&sC&&uC(Js,t,{configurable:!0,set:n}),lC(t,e)}).prototype,qh(dc,"toString",function(){return lj(this).tag}),qh(fc,"withoutSetter",function(e){return lC(mb(e),e)}),Hx.f=gj,Xf.f=Db,Kx.f=mj,ej.f=rj.f=vj,tC.f=cC,nC.f=function(e){return lC(Ya(e),e)},Oa&&hc(dc,"description",{configurable:!0,get:function(){return lj(this).description}})),lc({global:!0,wrap:!0,forced:!xu,sham:!xu},{Symbol:fc}),Tb($x(Foe),function(e){Ki(e)}),lc({target:"Symbol",stat:!0,forced:!xu},{for:function(e){var t=Eb(e);if(fr(oC,t))return oC[t];var n=fc(t);return oC[t]=n,aC[n]=t,n},keyFor:function(e){if(!Qh(e))throw cj(e+" is not a symbol");if(fr(aC,e))return aC[e]},useSetter:function(){sC=!0},useSimple:function(){sC=!1}}),lc({target:"Object",stat:!0,forced:!xu,sham:!Oa},{create:function(e,t){return t===void 0?Jf(e):pj(Jf(e),t)},defineProperty:Db,defineProperties:pj,getOwnPropertyDescriptor:mj}),lc({target:"Object",stat:!0,forced:!xu},{getOwnPropertyNames:vj,getOwnPropertySymbols:cC}),lc({target:"Object",stat:!0,forced:Ga(function(){tC.f(1)})},{getOwnPropertySymbols:function(e){return tC.f(Hm(e))}}),Km){var Boe=!xu||Ga(function(){var e=fc();return Km([e])!="[null]"||Km({a:e})!="{}"||Km(Object(e))!="{}"});lc({target:"JSON",stat:!0,forced:Boe},{stringify:function(e,t,n){var r=Toe(arguments),i=t;if((ws(t)||e!==void 0)&&!Qh(e))return vb(t)||(t=function(o,a){if(Vo(i)&&(a=Xs(i,this,o,a)),!Qh(a))return a}),r[1]=t,_L(Km,null,r)}})}if(!dc[uj]){var Uoe=dc.valueOf;qh(dc,uj,function(e){return Xs(Uoe,this)})}Sb(fc,"Symbol"),Gm[xa]=!0,Ki("asyncIterator"),Ki("hasInstance"),Ki("isConcatSpreadable"),Ki("iterator"),Ki("match"),Ki("matchAll"),Ki("replace"),Ki("search"),Ki("species"),Ki("split"),Ki("toPrimitive"),Ki("toStringTag"),Ki("unscopables"),Sb(Gn.JSON,"JSON",!0);var pc,yj,bj,Hoe=As.Symbol,Zf={},_j=Function.prototype,Woe=Oa&&Object.getOwnPropertyDescriptor,fC=fr(_j,"name"),zoe={EXISTS:fC,PROPER:fC&&function(){}.name==="something",CONFIGURABLE:fC&&(!Oa||Oa&&Woe(_j,"name").configurable)},Voe=!Ga(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Ej=Ab("IE_PROTO"),dC=Gn.Object,Goe=dC.prototype,hC=Voe?dC.getPrototypeOf:function(e){var t=Hm(e);if(fr(t,Ej))return t[Ej];var n=t.constructor;return Vo(n)&&t instanceof n?n.prototype:t instanceof dC?Goe:null},pC=Ya("iterator"),wj=!1;[].keys&&("next"in(bj=[].keys())?(yj=hC(hC(bj)))!==Object.prototype&&(pc=yj):wj=!0);var Yoe=pc==null||Ga(function(){var e={};return pc[pC].call(e)!==e});pc=Yoe?{}:Jf(pc),Vo(pc[pC])||qh(pc,pC,function(){return this});var Aj={IteratorPrototype:pc,BUGGY_SAFARI_ITERATORS:wj},Koe=Aj.IteratorPrototype,Xoe=function(){return this};Gn.String,Gn.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var e={};try{Ni(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(e,[]),e instanceof Array}catch(t){}}();var Joe=zoe.PROPER,Rb=Aj.BUGGY_SAFARI_ITERATORS,gC=Ya("iterator"),Qoe=function(){return this},Oj=function(e,t,n,r,i,o,a){!function(y,g,S,R){var U=g+" Iterator";y.prototype=Jf(Koe,{next:zf(1,S)}),Sb(y,U,!1,!0),Zf[U]=Xoe}(n,t,r);var s,u,l,c=function(y){if(y===i&&m)return m;if(!Rb&&y in h)return h[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,_=h[gC]||h["@@iterator"]||i&&h[i],m=!Rb&&_||c(i),v=t=="Array"&&h.entries||_;if(v&&(s=hC(v.call(new e)))!==Object.prototype&&s.next&&(Sb(s,d,!0,!0),Zf[d]=Qoe),Joe&&i=="values"&&_&&_.name!=="values"&&(p=!0,m=function(){return Xs(_,this)}),i)if(u={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(l in u)(Rb||p||!(l in h))&&qh(h,l,u[l]);else lc({target:t,proto:!0,forced:Rb||p},u);return a&&h[gC]!==m&&qh(h,gC,m,{name:i}),Zf[t]=m,u},Zoe=ep.set,qoe=ep.getterFor("Array Iterator");Oj(Array,"Array",function(e,t){Zoe(this,{type:"Array Iterator",target:Ou(e),index:0,kind:t})},function(){var e=qoe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),Zf.Arguments=Zf.Array;var xj=Ya("toStringTag");for(var mC in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Cj=Gn[mC],vC=Cj&&Cj.prototype;vC&&bb(vC)!==xj&&Cu(vC,xj,mC),Zf[mC]=Zf.Array}var $oe=Hoe;Ki("asyncDispose"),Ki("dispose"),Ki("matcher"),Ki("metadata"),Ki("observable"),Ki("patternMatch"),Ki("replaceAll");var Nb=$oe,eae=Ni("".charAt),Sj=Ni("".charCodeAt),tae=Ni("".slice),Tj=function(e){return function(t,n){var r,i,o=Eb(zx(t)),a=Xx(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=Sj(o,a))<55296||r>56319||a+1===s||(i=Sj(o,a+1))<56320||i>57343?e?eae(o,a):r:e?tae(o,a,a+2):i-56320+(r-55296<<10)+65536}},nae=(Tj(!1),Tj(!0)),rae=ep.set,iae=ep.getterFor("String Iterator");Oj(String,"String",function(e){rae(this,{type:"String Iterator",string:Eb(e),index:0})},function(){var e,t=iae(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=nae(n,r),t.index+=e.length,{value:e,done:!1})});var oae=nC.f("iterator"),aae=Ky(function(e){function t(n){return typeof Nb=="function"&&typeof oae=="symbol"?(e.exports=t=function(r){return typeof r},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(r){return r&&typeof Nb=="function"&&r.constructor===Nb&&r!==Nb.prototype?"symbol":typeof r},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}),Dj=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(aae),sae=eb.EXISTS,uae=Fh.f,Rj=Function.prototype,lae=_n(Rj.toString),Nj=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,cae=_n(Nj.exec);Ys&&!sae&&uae(Rj,"name",{configurable:!0,get:function(){try{return cae(Nj,lae(this))[1]}catch(e){return""}}});var Ij=function(){function e(){this.tag="select",this.width=80}return e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.mark,r=B.marks(t);return r&&r[n]?r[n]:""},e.prototype.isDisabled=function(t){return t.selection==null||(this.mark,!!cr(B.nodes(t,{match:function(n){return ae.getNodeType(n)==="pre"||!!B.isVoid(t,n)},universal:!0}),1)[0])},e.prototype.exec=function(t,n){var r=this.mark;n?t.addMark(r,n):t.removeMark(r)},e}(),fae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Dt("fontSize.title"),n.iconSvg=Bne,n.mark="fontSize",n}return ui(t,e),t.prototype.getOptions=function(n){var r=[],i=n.getMenuConfig(this.mark).fontSizeList,o=i===void 0?[]:i;r.push({text:Dt("fontSize.default"),value:""}),o.forEach(function(s){if(typeof s=="string")r.push({text:s,value:s});else if(Dj(s)==="object"){var u=s.name,l=s.value;r.push({text:u,value:l})}});var a=this.getValue(n);return r.forEach(function(s){s.value===a?s.selected=!0:delete s.selected}),r},t}(Ij),dae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Dt("fontFamily.title"),n.iconSvg=Une,n.mark="fontFamily",n.selectPanelWidth=150,n}return ui(t,e),t.prototype.getOptions=function(n){var r=[],i=n.getMenuConfig(this.mark).fontFamilyList,o=i===void 0?[]:i;r.push({text:Dt("fontFamily.default"),value:""}),o.forEach(function(s){if(typeof s=="string")r.push({text:s,value:s,styleForRenderMenuList:{"font-family":s}});else if(Dj(s)==="object"){var u=s.name,l=s.value;r.push({text:u,value:l,styleForRenderMenuList:{"font-family":l}})}});var a=this.getValue(n);return r.forEach(function(s){s.value===a?s.selected=!0:delete s.selected}),r},t}(Ij),hae={renderStyle:function(e,t){var n=e,r=n.fontSize,i=n.fontFamily,o=t;return r&&Hf(o,{fontSize:r}),i&&Hf(o,{fontFamily:i}),o},styleToHtml:function(e,t){if(!kt.isText(e))return t;var n,r=e,i=r.fontSize,o=r.fontFamily;return i||o?((wx(t)||Yh(n=ve(t))!=="span")&&(n=ve("<span>"+t+"</span>")),i&&n.css("font-size",i),o&&n.css("font-family",o),Gh(n)):t},preParseHtml:[wie],parseStyleHtml:function(e,t,n){var r=ve(e);if(!kt.isText(t))return t;var i=t,o=n.getMenuConfig("fontSize").fontSizeList,a=o===void 0?[]:o,s=Ks(r,"font-size"),u=a.find(function(h){return h.value&&h.value===s})||a.includes(s);s&&u&&(i.fontSize=s);var l=n.getMenuConfig("fontFamily").fontFamilyList,c=l===void 0?[]:l,d=Ks(r,"font-family").replace(/"/g,""),p=c.find(function(h){return h.value&&h.value===d})||c.includes(d);return d&&p&&(i.fontFamily=d),i},menus:[{key:"fontSize",factory:function(){return new fae},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new dae},config:{fontFamilyList:["\u9ED1\u4F53",{name:"\u4EFF\u5B8B",value:"\u4EFF\u5B8B"},"\u6977\u4F53","\u6807\u6977\u4F53","\u534E\u6587\u4EFF\u5B8B","\u534E\u6587\u6977\u4F53",{name:"\u5B8B\u4F53",value:"\u5B8B\u4F53"},"\u5FAE\u8F6F\u96C5\u9ED1","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},pae={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(e){var t=ve(e),n=Ks(t,"padding-left");return/\dem/.test(n)&&t.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&t.css("text-indent","2em"),t[0]}},Pj=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){var n=cr(B.nodes(t,{match:function(i){return!!i.indent},universal:!0}),1),r=n[0];return r==null?"":cr(r,1)[0].indent||""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=cr(B.nodes(t,{match:function(r){var i=ae.getNodeType(r);return i==="paragraph"||!!i.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e}(),gae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Dt("indent.decrease"),n.iconSvg=Hne,n}return ui(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!r.indent},t.prototype.exec=function(n,r){Me.setNodes(n,{indent:null},{match:function(i){return Qt.isElement(i)}})},t}(Pj),mae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Dt("indent.increase"),n.iconSvg=Wne,n}return ui(t,e),t.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!!r.indent},t.prototype.exec=function(n,r){Me.setNodes(n,{indent:"2em"},{match:function(i){return Qt.isElement(i)},mode:"highest"})},t}(Pj),vae={renderStyle:function(e,t){if(!Qt.isElement(e))return t;var n=e.indent,r=t;return n&&Hf(r,{textIndent:n}),r},styleToHtml:function(e,t){if(!Qt.isElement(e))return t;var n=e.indent;if(!n)return t;var r=ve(t);return r.css("text-indent",n),Gh(r)},preParseHtml:[pae],parseStyleHtml:function(e,t,n){var r=ve(e);if(!Qt.isElement(t))return t;var i=t,o=Ks(r,"text-indent"),a=parseInt(o,10);return o&&a>0&&(i.indent=o),i},menus:[{key:"indent",factory:function(){return new mae}},{key:"delIndent",factory:function(){return new gae}}]},Ib=function(){function e(){this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.getMatchNode=function(t){var n=cr(B.nodes(t,{match:function(r){var i=ae.getNodeType(r);return i==="paragraph"||i==="blockquote"||!!i.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e.prototype.isDisabled=function(t){return t.selection==null||!!ae.getSelectedElems(t).some(function(n){if(B.isVoid(t,n)&&B.isBlock(t,n))return!0;var r=n.type;return!!["pre","code"].includes(r)||void 0})},e}(),yae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Dt("justify.left"),n.iconSvg=zne,n}return ui(t,e),t.prototype.exec=function(n,r){Me.setNodes(n,{textAlign:"left"},{match:function(i){return Qt.isElement(i)&&!n.isInline(i)}})},t}(Ib),bae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Dt("justify.right"),n.iconSvg=Vne,n}return ui(t,e),t.prototype.exec=function(n,r){Me.setNodes(n,{textAlign:"right"},{match:function(i){return Qt.isElement(i)&&!n.isInline(i)}})},t}(Ib),_ae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Dt("justify.center"),n.iconSvg=Gne,n}return ui(t,e),t.prototype.exec=function(n,r){Me.setNodes(n,{textAlign:"center"},{match:function(i){return Qt.isElement(i)&&!n.isInline(i)}})},t}(Ib),Eae=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.title=Dt("justify.justify"),n.iconSvg=Yne,n}return ui(t,e),t.prototype.exec=function(n,r){Me.setNodes(n,{textAlign:"justify"},{match:function(i){return Qt.isElement(i)&&!n.isInline(i)}})},t}(Ib),wae={renderStyle:function(e,t){if(!Qt.isElement(e))return t;var n=e.textAlign,r=t;return n&&Hf(r,{textAlign:n}),r},styleToHtml:function(e,t){if(!Qt.isElement(e))return t;var n=e.textAlign;if(!n)return t;var r=ve(t);return r.css("text-align",n),Gh(r)},parseStyleHtml:function(e,t,n){var r=ve(e);if(!Qt.isElement(t))return t;var i=t,o=Ks(r,"text-align");return o&&(i.textAlign=o),i},menus:[{key:"justifyLeft",factory:function(){return new yae}},{key:"justifyRight",factory:function(){return new bae}},{key:"justifyCenter",factory:function(){return new _ae}},{key:"justifyJustify",factory:function(){return new Eae}}]},Aae=function(){function e(){this.title=Dt("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80}return e.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig("lineHeight").lineHeightList,i=r===void 0?[]:r;n.push({text:Dt("lineHeight.default"),value:""}),i.forEach(function(a){n.push({text:a,value:a})});var o=this.getValue(t);return n.forEach(function(a){a.value===o?a.selected=!0:delete a.selected}),n},e.prototype.getMatchNode=function(t){var n=cr(B.nodes(t,{match:function(r){var i=ae.getNodeType(r);return!!i.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(i)},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.getMatchNode(t);return n==null?"":Qt.isElement(n)&&n.lineHeight||""},e.prototype.isDisabled=function(t){return t.selection==null||this.getMatchNode(t)==null},e.prototype.exec=function(t,n){Me.setNodes(t,{lineHeight:n.toString()},{mode:"highest"})},e}(),Oae={renderStyle:function(e,t){if(!Qt.isElement(e))return t;var n=e.lineHeight,r=t;return n&&Hf(r,{lineHeight:n}),r},styleToHtml:function(e,t){if(!Qt.isElement(e))return t;var n=e.lineHeight;if(!n)return t;var r=ve(t);return r.css("line-height",n),Gh(r)},parseStyleHtml:function(e,t,n){var r=ve(e);if(!Qt.isElement(t))return t;var i=t,o=n.getMenuConfig("lineHeight").lineHeightList,a=o===void 0?[]:o,s=Ks(r,"line-height");return s&&a.includes(s)&&(i.lineHeight=s),i},menus:[{key:"lineHeight",factory:function(){return new Aae},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},xae=function(){function e(){this.title=Dt("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null},e.prototype.exec=function(t,n){typeof t.redo=="function"&&t.redo()},e}(),Cae=function(){function e(){this.title=Dt("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null},e.prototype.exec=function(t,n){typeof t.undo=="function"&&t.undo()},e}(),Sae={menus:[{key:"redo",factory:function(){return new xae}},{key:"undo",factory:function(){return new Cae}}]},Tae={type:"divider",renderElem:function(e,t,n){return ah("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:ae.isNodeSelected(n,e)?"true":""},style:{},on:{mousedown:function(r){return r.preventDefault()}}},[ah("hr")])}},Dae=function(){function e(){this.title=Dt("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||!!ae.getSelectedElems(t).some(function(n){if(t.isVoid(n))return!0;var r=ae.getNodeType(n);return r==="table"||r==="pre"||void 0})},e.prototype.exec=function(t,n){Me.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"})},e}(),Rae={renderElems:[Tae],elemsToHtml:[{type:"divider",elemToHtml:function(e,t){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new Dae}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(i){return i.type==="divider"||t(i)},r.normalizeNode=function(i){var o=cr(i,2),a=o[0],s=o[1];if(ae.getNodeType(a)!=="divider")return n([a,s]);ae.isLastNode(r,a)&&Me.insertNodes(r,ae.genEmptyParagraph(),{at:[s[0]+1]})},r}},Nae=ib.map;mo({target:"Array",proto:!0,forced:!tx("map")},{map:function(e){return Nae(this,e,arguments.length>1?arguments[1]:void 0)}});var Iae=_n([].join),Pae=Qy!=Object,Lae=WP("join",",");mo({target:"Array",proto:!0,forced:Pae||!Lae},{join:function(e){return Iae(kh(this),e===void 0?",":e)}});var jae=function(){function e(){this.title=Dt("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button"}return e.prototype.getSelectCodeElem=function(t){var n=ae.getSelectedNodeByType(t,"code");if(n==null)return null;var r=ae.getParentNode(t,n);return r==null||ae.getNodeType(r)!=="pre"?null:n},e.prototype.getValue=function(t){var n=this.getSelectCodeElem(t);return n==null?"":n.language||""},e.prototype.isActive=function(t){return!!this.getSelectCodeElem(t)},e.prototype.isDisabled=function(t){if(t.selection==null)return!0;var n=ae.getSelectedElems(t);return!!n.some(function(r){return t.isVoid(r)})||!n.some(function(r){var i=ae.getNodeType(r);if(i==="pre"||i==="paragraph")return!0})},e.prototype.exec=function(t,n){this.isActive(t)?this.changeToPlainText(t):this.changeToCodeBlock(t,n.toString())},e.prototype.changeToPlainText=function(t){var n=this.getSelectCodeElem(t);if(n!=null){var r=Tt.string(n);Me.removeNodes(t,{mode:"highest"});var i=r.split(`
|
|
|
`).map(function(o){return{type:"paragraph",children:[{text:o}]}});Me.insertNodes(t,i,{mode:"highest"})}},e.prototype.changeToCodeBlock=function(t,n){var r,i,o=[],a=B.nodes(t,{match:function(d){return t.children.includes(d)},universal:!0});try{for(var s=FP(a),u=s.next();!u.done;u=s.next()){var l=cr(u.value,1)[0];l&&o.push(Tt.string(l))}}catch(d){r={error:d}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}Me.removeNodes(t,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:n,children:[{text:o.join(`
|
|
|
`)}]}]};Me.insertNodes(t,c,{mode:"highest"})},e}(),Mae={key:"codeBlock",factory:function(){return new jae}};mo({target:"String",proto:!0,forced:Pm("anchor")},{anchor:function(e){return Im(this,"a","name",e)}}),dx("match",function(e,t,n){return[function(r){var i=bs(this),o=r==null?void 0:Zy(r,e);return o?Ri(o,r,i):new RegExp(r)[e](vi(i))},function(r){var i=Va(this),o=vi(r),a=n(t,i,o);if(a.done)return a.value;if(!i.global)return Rm(i,o);var s=i.unicode;i.lastIndex=0;for(var u,l=[],c=0;(u=Rm(i,o))!==null;){var d=vi(u[0]);l[c]=d,d===""&&(i.lastIndex=hx(o,Cm(i.lastIndex),s)),c++}return c===0?null:l}]});var kae={type:"pre",renderElem:function(e,t,n){return An("pre",null,t)}},Fae={type:"code",renderElem:function(e,t,n){return An("code",null,t)}},Bae={selector:"pre:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=ve(e);return(t=t.filter(function(i){return ae.getNodeType(i)==="code"})).length===0&&(t=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:t.filter(function(i){return ae.getNodeType(i)==="code"})}}},Uae={menus:[Mae],editorPlugin:function(e){var t=e.insertBreak,n=e.normalizeNode,r=e.insertData;e.insertNode;var i=e;return i.insertBreak=function(){var o=ae.getSelectedNodeByType(i,"code");if(o!=null){var a=function(l,c){var d=c.selection;if(d==null)return"";var p=Tt.string(l),h=d.anchor.offset,_=p.slice(0,h).split(`
|
|
|
`),m=_.length;return m===0?"":_[m-1]}(o,i);if(a){var s=a.match(/^\s+/);if(s!=null&&s[0]!=null){var u=s[0];return void i.insertText(`
|
|
|
`+u)}}i.insertText(`
|
|
|
`)}else t()},i.normalizeNode=function(o){var a=cr(o,2),s=a[0],u=a[1],l=ae.getNodeType(s);return l==="code"&&u.length<=1&&Me.setNodes(i,{type:"paragraph"},{at:u}),l==="pre"&&(ae.isLastNode(i,s)&&Me.insertNodes(i,ae.genEmptyParagraph(),{at:[u[0]+1]}),ae.getNodeType(s.children[0])!=="code"&&(Me.unwrapNodes(i),Me.setNodes(i,{type:"paragraph"},{mode:"highest"}))),n([s,u])},i.insertData=function(o){if(ae.getSelectedNodeByType(i,"code")!=null){var a=o.getData("text/plain");B.insertText(i,a)}else r(o)},i},renderElems:[kae,Fae],elemsToHtml:[{type:"code",elemToHtml:function(e,t){return"<code>"+t+"</code>"}},{type:"pre",elemToHtml:function(e,t){return"<pre>"+t+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(e){var t=ve(e);if(Yh(t)!=="code")return e;var n=t.find("xmp");if(n.length===0)return e;var r=n.text();return n.remove(),t.text(r),t[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(e,t,n){return{type:"code",language:"",children:[{text:ve(e)[0].textContent||""}]}}},Bae]},Hae=function(){function e(){this.title=Dt("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return t.isFullScreen},e.prototype.isDisabled=function(t){return!1},e.prototype.exec=function(t,n){t.isFullScreen?t.unFullScreen():t.fullScreen()},e}(),Wae={menus:[{key:"fullScreen",factory:function(){return new Hae}}]},zae=function(){function e(){this.title=Dt("common.enter"),this.iconSvg='<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!!Je.isExpanded(n)},e.prototype.exec=function(t,n){var r=t.selection;if(r!=null){var i=[r.anchor.path[0]];Me.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:i}),t.select(B.start(t,i))}},e}(),Vae=[rre,jre,hae,vae,wae,Oae,oie,Rae,_ie,Yre,Uae,yie,Rre,Cne,lie,Sae,Wae,{menus:[{key:"enter",factory:function(){return new zae}}]}];Aa("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Aa("zh-CN",{listModule:{unOrderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868"}});var Lj=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof Oe!="undefined"?Oe:typeof self!="undefined"?self:{};function yC(e){var t={exports:{}};return e(t,t.exports),t.exports}var gc,Pb,Lb=function(e){return e&&e.Math==Math&&e},On=Lb(typeof globalThis=="object"&&globalThis)||Lb(typeof window=="object"&&window)||Lb(typeof self=="object"&&self)||Lb(typeof Lj=="object"&&Lj)||function(){return this}()||Function("return this")(),jj=Function.prototype,bC=jj.bind,_C=jj.call,Gae=bC&&bC.bind(_C),Xn=bC?function(e){return e&&Gae(_C,e)}:function(e){return e&&function(){return _C.apply(e,arguments)}},Oi=function(e){try{return!!e()}catch(t){return!0}},Yae=Xn({}.toString),Kae=Xn("".slice),ll=function(e){return Kae(Yae(e),8,-1)},EC=On.Object,Xae=Xn("".split),Mj=Oi(function(){return!EC("z").propertyIsEnumerable(0)})?function(e){return ll(e)=="String"?Xae(e,""):EC(e)}:EC,Jae=On.TypeError,jb=function(e){if(e==null)throw Jae("Can't call method on "+e);return e},tp=function(e){return Mj(jb(e))},Qae=Object.defineProperty,wC=function(e,t){try{Qae(On,e,{value:t,configurable:!0,writable:!0})}catch(n){On[e]=t}return t},mc=On["__core-js_shared__"]||wC("__core-js_shared__",{}),AC=yC(function(e){(e.exports=function(t,n){return mc[t]||(mc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Zae=On.Object,Jm=function(e){return Zae(jb(e))},qae=Xn({}.hasOwnProperty),vo=Object.hasOwn||function(e,t){return qae(Jm(e),t)},$ae=0,ese=Math.random(),tse=Xn(1 .toString),OC=function(e){return"Symbol("+(e===void 0?"":e)+")_"+tse(++$ae+ese,36)},xi=function(e){return typeof e=="function"},nse=function(e){return xi(e)?e:void 0},Qm=function(e,t){return arguments.length<2?nse(On[e]):On[e]&&On[e][t]},xC=Qm("navigator","userAgent")||"",kj=On.process,Fj=On.Deno,Bj=kj&&kj.versions||Fj&&Fj.version,Uj=Bj&&Bj.v8;Uj&&(Pb=(gc=Uj.split("."))[0]>0&&gc[0]<4?1:+(gc[0]+gc[1])),!Pb&&xC&&(!(gc=xC.match(/Edge\/(\d+)/))||gc[1]>=74)&&(gc=xC.match(/Chrome\/(\d+)/))&&(Pb=+gc[1]);var Mb,CC=Pb,SC=!!Object.getOwnPropertySymbols&&!Oi(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&CC&&CC<41}),TC=SC&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Zm=AC("wks"),qf=On.Symbol,Hj=qf&&qf.for,rse=TC?qf:qf&&qf.withoutSetter||OC,Go=function(e){if(!vo(Zm,e)||!SC&&typeof Zm[e]!="string"){var t="Symbol."+e;SC&&vo(qf,e)?Zm[e]=qf[e]:Zm[e]=TC&&Hj?Hj(t):rse(t)}return Zm[e]},Ci=function(e){return typeof e=="object"?e!==null:xi(e)},ise=On.String,ose=On.TypeError,Ca=function(e){if(Ci(e))return e;throw ose(ise(e)+" is not an object")},vc=!Oi(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),DC=On.document,ase=Ci(DC)&&Ci(DC.createElement),RC=function(e){return ase?DC.createElement(e):{}},Wj=!vc&&!Oi(function(){return Object.defineProperty(RC("div"),"a",{get:function(){return 7}}).a!=7}),qm=Function.prototype.call,yo=qm.bind?qm.bind(qm):function(){return qm.apply(qm,arguments)},kb=Xn({}.isPrototypeOf),sse=On.Object,NC=TC?function(e){return typeof e=="symbol"}:function(e){var t=Qm("Symbol");return xi(t)&&kb(t.prototype,sse(e))},use=On.String,IC=function(e){try{return use(e)}catch(t){return"Object"}},lse=On.TypeError,PC=function(e){if(xi(e))return e;throw lse(IC(e)+" is not a function")},$m=function(e,t){var n=e[t];return n==null?void 0:PC(n)},cse=On.TypeError,fse=On.TypeError,dse=Go("toPrimitive"),LC=function(e){var t=function(n,r){if(!Ci(n)||NC(n))return n;var i,o=$m(n,dse);if(o){if(r===void 0&&(r="default"),i=yo(o,n,r),!Ci(i)||NC(i))return i;throw fse("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&xi(u=a.toString)&&!Ci(l=yo(u,a)))return l;if(xi(u=a.valueOf)&&!Ci(l=yo(u,a)))return l;if(s!=="string"&&xi(u=a.toString)&&!Ci(l=yo(u,a)))return l;throw cse("Can't convert object to primitive value")}(n,r)}(e,"string");return NC(t)?t:t+""},hse=On.TypeError,zj=Object.defineProperty,$f={f:vc?zj:function(e,t,n){if(Ca(e),t=LC(t),Ca(n),Wj)try{return zj(e,t,n)}catch(r){}if("get"in n||"set"in n)throw hse("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},pse=Math.ceil,gse=Math.floor,e0=function(e){var t=+e;return t!=t||t===0?0:(t>0?gse:pse)(t)},mse=Math.max,vse=Math.min,jC=function(e,t){var n=e0(e);return n<0?mse(n+t,0):vse(n,t)},yse=Math.min,Vj=function(e){return e>0?yse(e0(e),9007199254740991):0},np=function(e){return Vj(e.length)},Gj=function(e){return function(t,n,r){var i,o=tp(t),a=np(o),s=jC(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Yj={includes:Gj(!0),indexOf:Gj(!1)},Fb={},bse=Yj.indexOf,Kj=Xn([].push),Xj=function(e,t){var n,r=tp(e),i=0,o=[];for(n in r)!vo(Fb,n)&&vo(r,n)&&Kj(o,n);for(;t.length>i;)vo(r,n=t[i++])&&(~bse(o,n)||Kj(o,n));return o},Bb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_se=Object.keys||function(e){return Xj(e,Bb)},Ese=vc?Object.defineProperties:function(e,t){Ca(e);for(var n,r=tp(t),i=_se(t),o=i.length,a=0;o>a;)$f.f(e,n=i[a++],r[n]);return e},wse=Qm("document","documentElement"),Jj=AC("keys"),MC=function(e){return Jj[e]||(Jj[e]=OC(e))},Qj=MC("IE_PROTO"),kC=function(){},Zj=function(e){return"<script>"+e+"</script>"},qj=function(e){e.write(Zj("")),e.close();var t=e.parentWindow.Object;return e=null,t},Ub=function(){try{Mb=new ActiveXObject("htmlfile")}catch(r){}var e,t;Ub=typeof document!="undefined"?document.domain&&Mb?qj(Mb):((t=RC("iframe")).style.display="none",wse.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Zj("document.F=Object")),e.close(),e.F):qj(Mb);for(var n=Bb.length;n--;)delete Ub.prototype[Bb[n]];return Ub()};Fb[Qj]=!0;var FC=Object.create||function(e,t){var n;return e!==null?(kC.prototype=Ca(e),n=new kC,kC.prototype=null,n[Qj]=e):n=Ub(),t===void 0?n:Ese(n,t)},BC=Go("unscopables"),UC=Array.prototype;UC[BC]==null&&$f.f(UC,BC,{configurable:!0,value:FC(null)});var t0=function(e){UC[BC][e]=!0},rp={},Ase=Xn(Function.toString);xi(mc.inspectSource)||(mc.inspectSource=function(e){return Ase(e)});var Hb,n0,Wb,HC=mc.inspectSource,$j=On.WeakMap,eM=xi($j)&&/native code/.test(HC($j)),zb=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},yc=vc?function(e,t,n){return $f.f(e,t,zb(1,n))}:function(e,t,n){return e[t]=n,e},WC=On.TypeError,Ose=On.WeakMap;if(eM||mc.state){var ed=mc.state||(mc.state=new Ose),xse=Xn(ed.get),tM=Xn(ed.has),Cse=Xn(ed.set);Hb=function(e,t){if(tM(ed,e))throw new WC("Object already initialized");return t.facade=e,Cse(ed,e,t),t},n0=function(e){return xse(ed,e)||{}},Wb=function(e){return tM(ed,e)}}else{var ip=MC("state");Fb[ip]=!0,Hb=function(e,t){if(vo(e,ip))throw new WC("Object already initialized");return t.facade=e,yc(e,ip,t),t},n0=function(e){return vo(e,ip)?e[ip]:{}},Wb=function(e){return vo(e,ip)}}var td,nM,rM,Su={set:Hb,get:n0,has:Wb,enforce:function(e){return Wb(e)?n0(e):Hb(e,{})},getterFor:function(e){return function(t){var n;if(!Ci(t)||(n=n0(t)).type!==e)throw WC("Incompatible receiver, "+e+" required");return n}}},iM={}.propertyIsEnumerable,oM=Object.getOwnPropertyDescriptor,Sse={f:oM&&!iM.call({1:2},1)?function(e){var t=oM(this,e);return!!t&&t.enumerable}:iM},aM=Object.getOwnPropertyDescriptor,sM={f:vc?aM:function(e,t){if(e=tp(e),t=LC(t),Wj)try{return aM(e,t)}catch(n){}if(vo(e,t))return zb(!yo(Sse.f,e,t),e[t])}},uM=Function.prototype,Tse=vc&&Object.getOwnPropertyDescriptor,zC=vo(uM,"name"),VC={EXISTS:zC,PROPER:zC&&function(){}.name==="something",CONFIGURABLE:zC&&(!vc||vc&&Tse(uM,"name").configurable)},Tu=yC(function(e){var t=VC.CONFIGURABLE,n=Su.get,r=Su.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;xi(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!vo(s,"name")||t&&s.name!==h)&&yc(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==On?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:yc(o,a,s)):d?o[a]=s:wC(a,s)})(Function.prototype,"toString",function(){return xi(this)&&n(this).source||HC(this)})}),Dse=Bb.concat("length","prototype"),Vb={f:Object.getOwnPropertyNames||function(e){return Xj(e,Dse)}},Rse={f:Object.getOwnPropertySymbols},Nse=Xn([].concat),Ise=Qm("Reflect","ownKeys")||function(e){var t=Vb.f(Ca(e)),n=Rse.f;return n?Nse(t,n(e)):t},Pse=function(e,t){for(var n=Ise(t),r=$f.f,i=sM.f,o=0;o<n.length;o++){var a=n[o];vo(e,a)||r(e,a,i(t,a))}},Lse=/#|\.prototype\./,r0=function(e,t){var n=Mse[jse(e)];return n==Fse||n!=kse&&(xi(t)?Oi(t):!!t)},jse=r0.normalize=function(e){return String(e).replace(Lse,".").toLowerCase()},Mse=r0.data={},kse=r0.NATIVE="N",Fse=r0.POLYFILL="P",GC=r0,Bse=sM.f,bc=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?On:l?On[s]||wC(s,{}):(On[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Bse(n,r))&&a.value:n[r],!GC(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;Pse(o,i)}(e.sham||i&&i.sham)&&yc(o,"sham",!0),Tu(n,r,o,e)}},Use=!Oi(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),lM=MC("IE_PROTO"),YC=On.Object,Hse=YC.prototype,Gb=Use?YC.getPrototypeOf:function(e){var t=Jm(e);if(vo(t,lM))return t[lM];var n=t.constructor;return xi(n)&&t instanceof n?n.prototype:t instanceof YC?Hse:null},KC=Go("iterator"),cM=!1;[].keys&&("next"in(rM=[].keys())?(nM=Gb(Gb(rM)))!==Object.prototype&&(td=nM):cM=!0);var Wse=td==null||Oi(function(){var e={};return td[KC].call(e)!==e});Wse&&(td={}),xi(td[KC])||Tu(td,KC,function(){return this});var XC={IteratorPrototype:td,BUGGY_SAFARI_ITERATORS:cM},zse=$f.f,fM=Go("toStringTag"),JC=function(e,t,n){e&&!vo(e=n?e:e.prototype,fM)&&zse(e,fM,{configurable:!0,value:t})},Vse=XC.IteratorPrototype,Gse=function(){return this},Yse=On.String,Kse=On.TypeError,Yb=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Xn(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return Ca(r),function(o){if(typeof o=="object"||xi(o))return o;throw Kse("Can't set "+Yse(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),Xse=VC.PROPER,Jse=VC.CONFIGURABLE,dM=XC.IteratorPrototype,Kb=XC.BUGGY_SAFARI_ITERATORS,i0=Go("iterator"),Qse=function(){return this},hM=function(e,t,n,r,i,o,a){!function(y,g,S,R){var U=g+" Iterator";y.prototype=FC(Vse,{next:zb(1,S)}),JC(y,U,!1),rp[U]=Gse}(n,t,r);var s,u,l,c=function(y){if(y===i&&m)return m;if(!Kb&&y in h)return h[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,_=h[i0]||h["@@iterator"]||i&&h[i],m=!Kb&&_||c(i),v=t=="Array"&&h.entries||_;if(v&&(s=Gb(v.call(new e)))!==Object.prototype&&s.next&&(Gb(s)!==dM&&(Yb?Yb(s,dM):xi(s[i0])||Tu(s,i0,Qse)),JC(s,d,!0)),Xse&&i=="values"&&_&&_.name!=="values"&&(Jse?yc(h,"name","values"):(p=!0,m=function(){return yo(_,this)})),i)if(u={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(l in u)(Kb||p||!(l in h))&&Tu(h,l,u[l]);else bc({target:t,proto:!0,forced:Kb||p},u);return h[i0]!==m&&Tu(h,i0,m,{name:i}),rp[t]=m,u},Zse=Su.set,qse=Su.getterFor("Array Iterator"),o0=hM(Array,"Array",function(e,t){Zse(this,{type:"Array Iterator",target:tp(e),index:0,kind:t})},function(){var e=qse(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");rp.Arguments=rp.Array,t0("keys"),t0("values"),t0("entries");var pM={};pM[Go("toStringTag")]="z";var QC=String(pM)==="[object z]",$se=Go("toStringTag"),eue=On.Object,tue=ll(function(){return arguments}())=="Arguments",Xb=QC?ll:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=eue(e),$se))=="string"?n:tue?ll(t):(r=ll(t))=="Object"&&xi(t.callee)?"Arguments":r},nue=QC?{}.toString:function(){return"[object "+Xb(this)+"]"};QC||Tu(Object.prototype,"toString",nue,{unsafe:!0});var rue=On.String,cl=function(e){if(Xb(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return rue(e)},iue=Xn("".charAt),gM=Xn("".charCodeAt),oue=Xn("".slice),mM=function(e){return function(t,n){var r,i,o=cl(jb(t)),a=e0(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=gM(o,a))<55296||r>56319||a+1===s||(i=gM(o,a+1))<56320||i>57343?e?iue(o,a):r:e?oue(o,a,a+2):i-56320+(r-55296<<10)+65536}},vM={codeAt:mM(!1),charAt:mM(!0)},aue=vM.charAt,sue=Su.set,uue=Su.getterFor("String Iterator");hM(String,"String",function(e){sue(this,{type:"String Iterator",string:cl(e),index:0})},function(){var e,t=uue(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=aue(n,r),t.index+=e.length,{value:e,done:!1})});var ZC=function(e,t,n){for(var r in t)Tu(e,r,t[r],n);return e},lue=On.Array,cue=Math.max,yM=Vb.f,bM=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],fue={f:function(e){return bM&&ll(e)=="Window"?function(t){try{return yM(t)}catch(n){return function(r,i,o){for(var a,s,u,l,c=np(r),d=jC(void 0,c),p=jC(c,c),h=lue(cue(p-d,0)),_=0;d<p;d++,_++)a=h,s=_,u=r[d],(l=LC(s))in a?$f.f(a,l,zb(0,u)):a[l]=u;return h.length=_,h}(bM)}}(e):yM(tp(e))}},_M=Oi(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),Jb=Object.isExtensible,nd=Oi(function(){Jb(1)})||_M?function(e){return!!Ci(e)&&(!_M||ll(e)!="ArrayBuffer")&&(!Jb||Jb(e))}:Jb,due=!Oi(function(){return Object.isExtensible(Object.preventExtensions({}))}),qC=yC(function(e){var t=$f.f,n=!1,r=OC("meta"),i=0,o=function(s){t(s,r,{value:{objectID:"O"+i++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=Vb.f,u=Xn([].splice),l={};l[r]=1,s(l).length&&(Vb.f=function(c){for(var d=s(c),p=0,h=d.length;p<h;p++)if(d[p]===r){u(d,p,1);break}return d},bc({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:fue.f}))},fastKey:function(s,u){if(!Ci(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!vo(s,r)){if(!nd(s))return"F";if(!u)return"E";o(s)}return s[r].objectID},getWeakData:function(s,u){if(!vo(s,r)){if(!nd(s))return!0;if(!u)return!1;o(s)}return s[r].weakData},onFreeze:function(s){return due&&n&&nd(s)&&!vo(s,r)&&o(s),s}};Fb[r]=!0}),EM=Xn(Xn.bind),$C=function(e,t){return PC(e),t===void 0?e:EM?EM(e,t):function(){return e.apply(t,arguments)}},hue=Go("iterator"),pue=Array.prototype,gue=Go("iterator"),wM=function(e){if(e!=null)return $m(e,gue)||$m(e,"@@iterator")||rp[Xb(e)]},mue=On.TypeError,AM=function(e,t,n){var r,i;Ca(e);try{if(!(r=$m(e,"return"))){if(t==="throw")throw n;return n}r=yo(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return Ca(r),n},vue=On.TypeError,Qb=function(e,t){this.stopped=e,this.result=t},OM=Qb.prototype,xM=function(e,t,n){var r,i,o,a,s,u,l,c,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),m=$C(t,d),v=function(g){return r&&AM(r,"normal",g),new Qb(!0,g)},y=function(g){return p?(Ca(g),_?m(g[0],g[1],v):m(g[0],g[1])):_?m(g,v):m(g)};if(h)r=e;else{if(!(i=wM(e)))throw vue(IC(e)+" is not iterable");if((c=i)!==void 0&&(rp.Array===c||pue[hue]===c)){for(o=0,a=np(e);a>o;o++)if((s=y(e[o]))&&kb(OM,s))return s;return new Qb(!1)}r=function(g,S){var R=arguments.length<2?wM(g):S;if(PC(R))return Ca(yo(R,g));throw mue(IC(g)+" is not iterable")}(e,i)}for(u=r.next;!(l=yo(u,r)).done;){try{s=y(l.value)}catch(g){AM(r,"throw",g)}if(typeof s=="object"&&s&&kb(OM,s))return s}return new Qb(!1)},yue=On.TypeError,CM=function(e,t){if(kb(t,e))return e;throw yue("Incorrect invocation")},SM=Go("iterator"),TM=!1;try{var bue=0,DM={next:function(){return{done:!!bue++}},return:function(){TM=!0}};DM[SM]=function(){return this},Array.from(DM,function(){throw 2})}catch(e){}var eS=Array.isArray||function(e){return ll(e)=="Array"},RM=function(){},_ue=[],NM=Qm("Reflect","construct"),tS=/^\s*(?:class|function)\b/,Eue=Xn(tS.exec),wue=!tS.exec(RM),a0=function(e){if(!xi(e))return!1;try{return NM(RM,_ue,e),!0}catch(t){return!1}},Aue=!NM||Oi(function(){var e;return a0(a0.call)||!a0(Object)||!a0(function(){e=!0})||e})?function(e){if(!xi(e))return!1;switch(Xb(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return wue||!!Eue(tS,HC(e))}:a0,Oue=Go("species"),IM=On.Array,PM=function(e,t){return new(function(n){var r;return eS(n)&&(r=n.constructor,(Aue(r)&&(r===IM||eS(r.prototype))||Ci(r)&&(r=r[Oue])===null)&&(r=void 0)),r===void 0?IM:r}(e))(t===0?0:t)},LM=Xn([].push),_c=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,_=Jm(u),m=Mj(_),v=$C(l,c),y=np(m),g=0,S=d||PM,R=t?S(u,y):n||a?S(u,0):void 0;y>g;g++)if((s||g in m)&&(h=v(p=m[g],g,_),e))if(t)R[g]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:LM(R,p)}else switch(e){case 4:return!1;case 7:LM(R,p)}return o?-1:r||i?i:R}},nS={forEach:_c(0),map:_c(1),filter:_c(2),some:_c(3),every:_c(4),find:_c(5),findIndex:_c(6),filterReject:_c(7)},Zb=qC.getWeakData,xue=Su.set,Cue=Su.getterFor,Sue=nS.find,Tue=nS.findIndex,Due=Xn([].splice),Rue=0,qb=function(e){return e.frozen||(e.frozen=new jM)},jM=function(){this.entries=[]},rS=function(e,t){return Sue(e.entries,function(n){return n[0]===t})};jM.prototype={get:function(e){var t=rS(this,e);if(t)return t[1]},has:function(e){return!!rS(this,e)},set:function(e,t){var n=rS(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Tue(this.entries,function(n){return n[0]===e});return~t&&Due(this.entries,t,1),!!~t}};var s0,MM={getConstructor:function(e,t,n,r){var i=e(function(u,l){CM(u,o),xue(u,{type:t,id:Rue++,frozen:void 0}),l!=null&&xM(l,u[r],{that:u,AS_ENTRIES:n})}),o=i.prototype,a=Cue(t),s=function(u,l,c){var d=a(u),p=Zb(Ca(l),!0);return p===!0?qb(d).set(l,c):p[d.id]=c,u};return ZC(o,{delete:function(u){var l=a(this);if(!Ci(u))return!1;var c=Zb(u);return c===!0?qb(l).delete(u):c&&vo(c,l.id)&&delete c[l.id]},has:function(u){var l=a(this);if(!Ci(u))return!1;var c=Zb(u);return c===!0?qb(l).has(u):c&&vo(c,l.id)}}),ZC(o,n?{get:function(u){var l=a(this);if(Ci(u)){var c=Zb(u);return c===!0?qb(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),i}},$b=Su.enforce,Nue=!On.ActiveXObject&&"ActiveXObject"in On,kM=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Iue=function(e,t,n){var r=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=r?"set":"add",a=On[e],s=a&&a.prototype,u=a,l={},c=function(v){var y=Xn(s[v]);Tu(s,v,v=="add"?function(g){return y(this,g===0?0:g),this}:v=="delete"?function(g){return!(i&&!Ci(g))&&y(this,g===0?0:g)}:v=="get"?function(g){return i&&!Ci(g)?void 0:y(this,g===0?0:g)}:v=="has"?function(g){return!(i&&!Ci(g))&&y(this,g===0?0:g)}:function(g,S){return y(this,g===0?0:g,S),this})};if(GC(e,!xi(a)||!(i||s.forEach&&!Oi(function(){new a().entries().next()}))))u=n.getConstructor(t,e,r,o),qC.enable();else if(GC(e,!0)){var d=new u,p=d[o](i?{}:-0,1)!=d,h=Oi(function(){d.has(1)}),_=function(v,y){if(!TM)return!1;var g=!1;try{var S={};S[SM]=function(){return{next:function(){return{done:g=!0}}}},function(R){new a(R)}(S)}catch(R){}return g}(),m=!i&&Oi(function(){for(var v=new a,y=5;y--;)v[o](y,y);return!v.has(-0)});_||((u=t(function(v,y){CM(v,s);var g=function(S,R,U){var Q,X;return Yb&&xi(Q=R.constructor)&&Q!==U&&Ci(X=Q.prototype)&&X!==U.prototype&&Yb(S,X),S}(new a,v,u);return y!=null&&xM(y,g[o],{that:g,AS_ENTRIES:r}),g})).prototype=s,s.constructor=u),(h||m)&&(c("delete"),c("has"),r&&c("get")),(m||p)&&c(o),i&&s.clear&&delete s.clear}return l[e]=u,bc({global:!0,forced:u!=a},l),JC(u,e),i||n.setStrong(u,e,r),u}("WeakMap",kM,MM);if(eM&&Nue){s0=MM.getConstructor(kM,"WeakMap",!0),qC.enable();var u0=Iue.prototype,FM=Xn(u0.delete),e_=Xn(u0.has),BM=Xn(u0.get),UM=Xn(u0.set);ZC(u0,{delete:function(e){if(Ci(e)&&!nd(e)){var t=$b(this);return t.frozen||(t.frozen=new s0),FM(this,e)||t.frozen.delete(e)}return FM(this,e)},has:function(e){if(Ci(e)&&!nd(e)){var t=$b(this);return t.frozen||(t.frozen=new s0),e_(this,e)||t.frozen.has(e)}return e_(this,e)},get:function(e){if(Ci(e)&&!nd(e)){var t=$b(this);return t.frozen||(t.frozen=new s0),e_(this,e)?BM(this,e):t.frozen.get(e)}return BM(this,e)},set:function(e,t){if(Ci(e)&&!nd(e)){var n=$b(this);n.frozen||(n.frozen=new s0),e_(this,e)?UM(this,e,t):n.frozen.set(e,t)}else UM(this,e,t);return this}})}var HM={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},iS=RC("span").classList,WM=iS&&iS.constructor&&iS.constructor.prototype,Pue=WM===Object.prototype?void 0:WM,oS=Go("iterator"),zM=Go("toStringTag"),aS=o0.values,VM=function(e,t){if(e){if(e[oS]!==aS)try{yc(e,oS,aS)}catch(r){e[oS]=aS}if(e[zM]||yc(e,zM,t),HM[t]){for(var n in o0)if(e[n]!==o0[n])try{yc(e,n,o0[n])}catch(r){e[n]=o0[n]}}}};for(var sS in HM)VM(On[sS]&&On[sS].prototype,sS);VM(Pue,"DOMTokenList");var uS=new WeakMap,Lue={type:"list-item",renderElem:function(e,t,n){uS.set(e,n);var r=e,i=r.level,o=i===void 0?0:i,a=r.ordered,s={margin:"5px 0 5px "+20*o+"px"},u="";if(a!==void 0&&a){var l=function(d,p){var h=p,_=h.type,m=h.level,v=m===void 0?0:m,y=h.ordered,g=y!==void 0&&y;if(!g)return-1;var S=1,R=p,U=ae.findPath(d,R);if(U[0]===0)return 1;for(;U[0]>0;){var Q=Ne.previous(U),X=B.node(d,Q);if(X==null)break;var le=X[0],xe=le.level,Qe=xe===void 0?0:xe,it=le.type,Ze=le.ordered;if(it!==_)break;if(Qe<v)break;if(Qe===v){if(Ze!==g)break;S++}R=le,U=Q}return S}(n,e);u=l+"."}else u=function(d){d===void 0&&(d=0);var p="";switch(d){case 0:p="\u2022";break;case 1:p="\u25E6";break;default:p="\u25AA"}return p}(o);var c=function(d){var p,h=d.children||[],_=h.length;if(_===0)return"";for(var m=0;m<_&&!p;m++){var v=h[m];kt.isText(v)&&(p=v)}return p==null?"":p.color||""}(e);return An("div",{style:s},An("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},u),An("span",null,t))}},lS=function(e,t){return lS=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},lS(e,t);/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */};function GM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}lS(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function YM(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function l0(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function KM(e){return B.nodes(e,{at:e.selection||void 0,match:function(t){return ae.findPath(e,t).length===1}})}var jue=Yj.includes;bc({target:"Array",proto:!0},{includes:function(e){return jue(this,e,arguments.length>1?arguments[1]:void 0)}}),t0("includes");var XM,cS,Mue=function(){var e=Ca(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},fS=On.RegExp,dS=Oi(function(){var e=fS("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),kue=dS||Oi(function(){return!fS("a","y").sticky}),Fue={BROKEN_CARET:dS||Oi(function(){var e=fS("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:kue,UNSUPPORTED_Y:dS},Bue=On.RegExp,Uue=Oi(function(){var e=Bue(".","s");return!(e.dotAll&&e.exec(`
|
|
|
`)&&e.flags==="s")}),Hue=On.RegExp,Wue=Oi(function(){var e=Hue("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),zue=Su.get,Vue=AC("native-string-replace",String.prototype.replace),t_=RegExp.prototype.exec,hS=t_,Gue=Xn("".charAt),Yue=Xn("".indexOf),Kue=Xn("".replace),pS=Xn("".slice),gS=(cS=/b*/g,yo(t_,XM=/a/,"a"),yo(t_,cS,"a"),XM.lastIndex!==0||cS.lastIndex!==0),JM=Fue.BROKEN_CARET,mS=/()??/.exec("")[1]!==void 0;(gS||mS||JM||Uue||Wue)&&(hS=function(e){var t,n,r,i,o,a,s,u=this,l=zue(u),c=cl(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=yo(hS,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=JM&&u.sticky,_=yo(Mue,u),m=u.source,v=0,y=c;if(h&&(_=Kue(_,"y",""),Yue(_,"g")===-1&&(_+="g"),y=pS(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&Gue(c,u.lastIndex-1)!==`
|
|
|
`)&&(m="(?: "+m+")",y=" "+y,v++),n=new RegExp("^(?:"+m+")",_)),mS&&(n=new RegExp("^"+m+"$(?!\\s)",_)),gS&&(r=u.lastIndex),i=yo(t_,h?n:u,y),h?i?(i.input=pS(i.input,v),i[0]=pS(i[0],v),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:gS&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),mS&&i&&i.length>1&&yo(Vue,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=FC(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var n_=hS;bc({target:"RegExp",proto:!0,forced:/./.exec!==n_},{exec:n_});var QM=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(t){var n=this.type;return ae.getSelectedNodeByType(t,n)},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){var n=this.getListNode(t);if(n==null)return!1;var r=n.ordered;return(r!==void 0&&r)===this.ordered},e.prototype.isDisabled=function(t){return t.selection==null||!!ae.getSelectedElems(t).some(function(n){if(B.isVoid(t,n)&&B.isBlock(t,n))return!0;var r=n.type;return!!["pre","code","table"].includes(r)||void 0})},e.prototype.exec=function(t,n){this.isActive(t)?Me.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):Me.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),Xue='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',Jue='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',Que=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!1,n.title=Dt("listModule.unOrderedList"),n.iconSvg=Xue,n}return GM(t,e),t}(QM),Zue=function(e){function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ordered=!0,n.title=Dt("listModule.orderedList"),n.iconSvg=Jue,n}return GM(t,e),t}(QM),que={key:"bulletedList",factory:function(){return new Que}},$ue={key:"numberedList",factory:function(){return new Zue}},ZM=[],ele={type:"list-item",elemToHtml:function(e,t){var n="",r="",i=e.ordered,o=i!==void 0&&i?"ol":"ul",a=function(l){var c=uS.get(l);if(c==null)return 0;var d=l,p=d.type,h=d.ordered,_=h!==void 0&&h,m=d.level,v=m===void 0?0:m,y=ae.findPath(c,l);if(y[0]===0)return v+1;var g=Ne.previous(y),S=B.node(c,g);if(!S)return 0;var R=l0(S,1)[0];if(ae.getNodeType(R)!==p)return v+1;var U=R,Q=U.ordered,X=Q!==void 0&&Q,le=U.level,xe=le===void 0?0:le;return xe<v?v-xe:xe>v?0:xe===v?X===_?0:1:0}(e);if(a>0)for(var s=0;s<a;s++)n+="<"+o+">",ZM.push(o);var u=function(l){var c=uS.get(l);if(c==null)return 0;var d=l,p=d.type,h=d.ordered,_=h!==void 0&&h,m=d.level,v=m===void 0?0:m,y=ae.findPath(c,l);if(y[0]===c.children.length-1)return v+1;var g=Ne.next(y),S=B.node(c,g);if(!S)return 0;var R=l0(S,1)[0];if(ae.getNodeType(R)!==p)return v+1;var U=R,Q=U.ordered,X=Q!==void 0&&Q,le=U.level,xe=le===void 0?0:le;return xe<v?v-xe:xe>v?0:xe===v?X===_?0:1:0}(e);if(u>0)for(s=0;s<u;s++)r+="</"+ZM.pop()+">";return{html:"<li>"+t+"</li>",prefix:n,suffix:r}}},tle=Go("species"),nle=nS.filter,rle=CC>=51||!Oi(function(){var e=[];return(e.constructor={})[tle]=function(){return{foo:1}},e.filter(Boolean).foo!==1});bc({target:"Array",proto:!0,forced:!rle},{filter:function(e){return nle(this,e,arguments.length>1?arguments[1]:void 0)}});var vS=Function.prototype,qM=vS.apply,ile=vS.bind,$M=vS.call,ole=typeof Reflect=="object"&&Reflect.apply||(ile?$M.bind(qM):function(){return $M.apply(qM,arguments)}),ek=(Go("species"),RegExp.prototype),ale=vM.charAt,sle=function(e,t,n){return t+(n?ale(e,t).length:1)},ule=Math.floor,yS=Xn("".charAt),lle=Xn("".replace),bS=Xn("".slice),cle=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,fle=/\$([$&'`]|\d{1,2})/g,dle=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,u=fle;return i!==void 0&&(i=Jm(i),u=cle),lle(o,u,function(l,c){var d;switch(yS(c,0)){case"$":return"$";case"&":return e;case"`":return bS(t,0,n);case"'":return bS(t,a);case"<":d=i[bS(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>s){var h=ule(p/10);return h===0?l:h<=s?r[h-1]===void 0?yS(c,1):r[h-1]+yS(c,1):l}d=r[p-1]}return d===void 0?"":d})},hle=On.TypeError,ple=function(e,t){var n=e.exec;if(xi(n)){var r=yo(n,e,t);return r!==null&&Ca(r),r}if(ll(e)==="RegExp")return yo(n_,e,t);throw hle("RegExp#exec called on incompatible receiver")},_S=Go("replace"),gle=Math.max,mle=Math.min,vle=Xn([].concat),ES=Xn([].push),tk=Xn("".indexOf),nk=Xn("".slice),yle="a".replace(/./,"$0")==="$0",rk=!!/./[_S]&&/./[_S]("a","$0")==="";!function(e,t,n,r){var i=Go(e),o=!Oi(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!Oi(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=Xn(/./[i]),u=function(l,c,d){var p=rk?"$":"$0";return[function(h,_){var m=jb(this),v=h==null?void 0:$m(h,_S);return v?yo(v,h,m,_):yo(c,cl(m),h,_)},function(h,_){var m=Ca(this),v=cl(h);if(typeof _=="string"&&tk(_,p)===-1&&tk(_,"$<")===-1){var y=d(c,m,v,_);if(y.done)return y.value}var g=xi(_);g||(_=cl(_));var S=m.global;if(S){var R=m.unicode;m.lastIndex=0}for(var U=[];;){var Q=ple(m,v);if(Q===null)break;if(ES(U,Q),!S)break;cl(Q[0])===""&&(m.lastIndex=sle(v,Vj(m.lastIndex),R))}for(var X,le="",xe=0,Qe=0;Qe<U.length;Qe++){for(var it=cl((Q=U[Qe])[0]),Ze=gle(mle(e0(Q.index),v.length),0),vt=[],lt=1;lt<Q.length;lt++)ES(vt,(X=Q[lt])===void 0?X:String(X));var ct=Q.groups;if(g){var dt=vle([it],vt,Ze,v);ct!==void 0&&ES(dt,ct);var Pt=cl(ole(_,void 0,dt))}else Pt=dle(it,v,Ze,vt,ct,_);Ze>=xe&&(le+=nk(v,xe,Ze)+Pt,xe=Ze+it.length)}return le+nk(v,xe)}]}(0,""[e],function(l,c,d,p,h){var _=Xn(l),m=c.exec;return m===n_||m===ek.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:_(d,c,p)}:{done:!1}});Tu(String.prototype,e,u[0]),Tu(ek,i,u[1])}}("replace",0,!!Oi(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!yle||rk);var ble=On.TypeError,ik=function(e,t,n,r,i,o,a,s){for(var u,l,c=i,d=0,p=!!a&&$C(a,s);d<r;){if(d in n){if(u=p?p(n[d],d,t):n[d],o>0&&eS(u))l=np(u),c=ik(e,t,u,l,c,o-1)-1;else{if(c>=9007199254740991)throw ble("Exceed the acceptable array length");e[c]=u}c++}d++}return c},_le=ik;function wS(e){return e.length?e[0].tagName.toLowerCase():""}bc({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=Jm(this),n=np(t),r=PM(t,0);return r.length=_le(r,t,t,n,0,e===void 0?1:e0(e)),r}}),t0("flat"),bc({global:!0},{globalThis:On}),fs&&(ve.fn.append=fs),cs&&(ve.fn.attr=cs),th&&(ve.fn.parent=th);var Ele={renderElems:[Lue],editorPlugin:function(e){var t=e.deleteBackward,n=e.handleTab,r=e.normalizeNode,i=e;return i.deleteBackward=function(o){var a=i.selection;if(a!=null)if(Je.isExpanded(a))t(o);else{var s=ae.getSelectedNodeByType(i,"list-item");if(s!=null)if(a.focus.offset!==0)t(o);else{var u=s.level,l=u===void 0?0:u;l>0?Me.setNodes(i,{level:l-1}):Me.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0})}else t(o)}else t(o)},i.handleTab=function(){var o,a,s,u,l=i.selection;if(l!=null){if(Je.isCollapsed(l)){var c=ae.getSelectedNodeByType(i,"list-item");if(c==null)return void n();if(l.focus.offset===0){var d=c.level,p=d===void 0?0:d;return void Me.setNodes(i,{level:p+1})}}if(Je.isExpanded(l)){var h=0,_=!1;try{for(var m=YM(KM(i)),v=m.next();!v.done;v=m.next()){var y=l0(v.value,1)[0];ae.getNodeType(y)==="list-item"?h++:_=!0}}catch(X){o={error:X}}finally{try{v&&!v.done&&(a=m.return)&&a.call(m)}finally{if(o)throw o.error}}if(_||h<=1)return void n();try{for(var g=YM(KM(i)),S=g.next();!S.done;S=g.next()){var R=l0(S.value,2),U=(y=R[0],R[1]),Q=y.level;p=Q===void 0?0:Q,Me.setNodes(i,{level:p+1},{at:U})}}catch(X){s={error:X}}finally{try{S&&!S.done&&(u=g.return)&&u.call(g)}finally{if(s)throw s.error}}}else n()}else n()},i.normalizeNode=function(o){var a=l0(o,2),s=a[0],u=a[1],l=ae.getNodeType(s);return l!=="bulleted-list"&&l!=="numbered-list"||Me.unwrapNodes(i,{at:u}),r([s,u])},i},menus:[que,$ue],elemsToHtml:[ele],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,n){return t.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=ve(e);(t=t.filter(function(a){return!!kt.isText(a)||!!n.isInline(a)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var i=function(a){return wS(a.parent())==="ol"}(r),o=function(a){for(var s=0,u=a.parent(),l=wS(u);l==="ul"||l==="ol";)l=wS(u=u.parent()),s++;return s-1}(r);return{type:"list-item",ordered:i,level:o,children:t}}}]},ok=Be(function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,i="[object Arguments]",o="[object Array]",a="[object Boolean]",s="[object Date]",u="[object Error]",l="[object Function]",c="[object Map]",d="[object Number]",p="[object Object]",h="[object Promise]",_="[object RegExp]",m="[object Set]",v="[object String]",y="[object Symbol]",g="[object WeakMap]",S="[object ArrayBuffer]",R="[object DataView]",U=/^\[object .+?Constructor\]$/,Q=/^(?:0|[1-9]\d*)$/,X={};X["[object Float32Array]"]=X["[object Float64Array]"]=X["[object Int8Array]"]=X["[object Int16Array]"]=X["[object Int32Array]"]=X["[object Uint8Array]"]=X["[object Uint8ClampedArray]"]=X["[object Uint16Array]"]=X["[object Uint32Array]"]=!0,X[i]=X[o]=X[S]=X[a]=X[R]=X[s]=X[u]=X[l]=X[c]=X[d]=X[p]=X[_]=X[m]=X[v]=X[g]=!1;var le=typeof _e=="object"&&_e&&_e.Object===Object&&_e,xe=typeof self=="object"&&self&&self.Object===Object&&self,Qe=le||xe||Function("return this")(),it=t&&!t.nodeType&&t,Ze=it&&e&&!e.nodeType&&e,vt=Ze&&Ze.exports===it,lt=vt&&le.process,ct=function(){try{return lt&<.binding&<.binding("util")}catch(Se){}}(),dt=ct&&ct.isTypedArray;function Pt(Se,Xe){for(var St=-1,rn=Se==null?0:Se.length;++St<rn;)if(Xe(Se[St],St,Se))return!0;return!1}function Kt(Se){var Xe=-1,St=Array(Se.size);return Se.forEach(function(rn,Pr){St[++Xe]=[Pr,rn]}),St}function Gt(Se){var Xe=-1,St=Array(Se.size);return Se.forEach(function(rn){St[++Xe]=rn}),St}var zt=Array.prototype,ye=Function.prototype,re=Object.prototype,De=Qe["__core-js_shared__"],tt=ye.toString,wt=re.hasOwnProperty,st=function(){var Se=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||"");return Se?"Symbol(src)_1."+Se:""}(),Bt=re.toString,on=RegExp("^"+tt.call(wt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),En=vt?Qe.Buffer:void 0,Ln=Qe.Symbol,ft=Qe.Uint8Array,qn=re.propertyIsEnumerable,kn=zt.splice,en=Ln?Ln.toStringTag:void 0,Fn=Object.getOwnPropertySymbols,Ii=En?En.isBuffer:void 0,ur=function(Se,Xe){return function(St){return Se(Xe(St))}}(Object.keys,Object),Ir=Xc(Qe,"DataView"),li=Xc(Qe,"Map"),ra=Xc(Qe,"Promise"),ir=Xc(Qe,"Set"),Ta=Xc(Qe,"WeakMap"),eu=Xc(Object,"create"),ku=bl(Ir),Mp=bl(li),Ad=bl(ra),tu=bl(ir),Fu=bl(Ta),ml=Ln?Ln.prototype:void 0,ia=ml?ml.valueOf:void 0;function oa(Se){var Xe=-1,St=Se==null?0:Se.length;for(this.clear();++Xe<St;){var rn=Se[Xe];this.set(rn[0],rn[1])}}function aa(Se){var Xe=-1,St=Se==null?0:Se.length;for(this.clear();++Xe<St;){var rn=Se[Xe];this.set(rn[0],rn[1])}}function ha(Se){var Xe=-1,St=Se==null?0:Se.length;for(this.clear();++Xe<St;){var rn=Se[Xe];this.set(rn[0],rn[1])}}function Ro(Se){var Xe=-1,St=Se==null?0:Se.length;for(this.__data__=new ha;++Xe<St;)this.add(Se[Xe])}function Rs(Se){var Xe=this.__data__=new aa(Se);this.size=Xe.size}function Iv(Se,Xe){var St=_l(Se),rn=!St&&VE(Se),Pr=!St&&!rn&&Bu(Se),Qn=!St&&!rn&&!Pr&&Hu(Se),Ae=St||rn||Pr||Qn,et=Ae?function(rr,qr){for(var Lr=-1,dr=Array(rr);++Lr<rr;)dr[Lr]=qr(Lr);return dr}(Se.length,String):[],Rt=et.length;for(var Vt in Se)!Xe&&!wt.call(Se,Vt)||Ae&&(Vt=="length"||Pr&&(Vt=="offset"||Vt=="parent")||Qn&&(Vt=="buffer"||Vt=="byteLength"||Vt=="byteOffset")||Pv(Vt,Rt))||et.push(Vt);return et}function Kc(Se,Xe){for(var St=Se.length;St--;)if(Bp(Se[St][0],Xe))return St;return-1}function vl(Se){return Se==null?Se===void 0?"[object Undefined]":"[object Null]":en&&en in Object(Se)?function(Xe){var St=wt.call(Xe,en),rn=Xe[en];try{Xe[en]=void 0;var Pr=!0}catch(Ae){}var Qn=Bt.call(Xe);return Pr&&(St?Xe[en]=rn:delete Xe[en]),Qn}(Se):function(Xe){return Bt.call(Xe)}(Se)}function kp(Se){return Jc(Se)&&vl(Se)==i}function Od(Se,Xe,St,rn,Pr){return Se===Xe||(Se==null||Xe==null||!Jc(Se)&&!Jc(Xe)?Se!=Se&&Xe!=Xe:function(Qn,Ae,et,Rt,Vt,rr){var qr=_l(Qn),Lr=_l(Ae),dr=qr?o:Za(Qn),_o=Lr?o:Za(Ae),sa=(dr=dr==i?p:dr)==p,xd=(_o=_o==i?p:_o)==p,El=dr==_o;if(El&&Bu(Qn)){if(!Bu(Ae))return!1;qr=!0,sa=!1}if(El&&!sa)return rr||(rr=new Rs),qr||Hu(Qn)?Ns(Qn,Ae,et,Rt,Vt,rr):function($n,hr,pr,Pi,pa,Da,iu){switch(pr){case R:if($n.byteLength!=hr.byteLength||$n.byteOffset!=hr.byteOffset)return!1;$n=$n.buffer,hr=hr.buffer;case S:return!($n.byteLength!=hr.byteLength||!Da(new ft($n),new ft(hr)));case a:case s:case d:return Bp(+$n,+hr);case u:return $n.name==hr.name&&$n.message==hr.message;case _:case v:return $n==hr+"";case c:var Zc=Kt;case m:var jv=1Πif(Zc||(Zc=Gt),$n.size!=hr.size&&!jv)return!1;var KE=iu.get($n);if(KE)return KE==hr;Pi|=2,iu.set($n,hr);var Up=Ns(Zc($n),Zc(hr),Pi,pa,Da,iu);return iu.delete($n),Up;case y:if(ia)return ia.call($n)==ia.call(hr)}return!1}(Qn,Ae,dr,et,Rt,Vt,rr);if(!(1&et)){var Qc=sa&&wt.call(Qn,"__wrapped__"),xn=xd&&wt.call(Ae,"__wrapped__");if(Qc||xn){var Er=Qc?Qn.value():Qn,Qi=xn?Ae.value():Ae;return rr||(rr=new Rs),Vt(Er,Qi,et,Rt,rr)}}return El?(rr||(rr=new Rs),function($n,hr,pr,Pi,pa,Da){var iu=1&pr,Zc=yl($n),jv=Zc.length,KE=yl(hr).length;if(jv!=KE&&!iu)return!1;for(var Up=jv;Up--;){var Cd=Zc[Up];if(!(iu?Cd in hr:wt.call(hr,Cd)))return!1}var Tz=Da.get($n);if(Tz&&Da.get(hr))return Tz==hr;var XE=!0;Da.set($n,hr),Da.set(hr,$n);for(var G3=iu;++Up<jv;){var JE=$n[Cd=Zc[Up]],QE=hr[Cd];if(Pi)var Dz=iu?Pi(QE,JE,Cd,hr,$n,Da):Pi(JE,QE,Cd,$n,hr,Da);if(!(Dz===void 0?JE===QE||pa(JE,QE,pr,Pi,Da):Dz)){XE=!1;break}G3||(G3=Cd=="constructor")}if(XE&&!G3){var ZE=$n.constructor,qE=hr.constructor;ZE==qE||!("constructor"in $n)||!("constructor"in hr)||typeof ZE=="function"&&ZE instanceof ZE&&typeof qE=="function"&&qE instanceof qE||(XE=!1)}return Da.delete($n),Da.delete(hr),XE}(Qn,Ae,et,Rt,Vt,rr)):!1}(Se,Xe,St,rn,Od,Pr))}function Fp(Se){return!(!GE(Se)||function(Xe){return!!st&&st in Xe}(Se))&&(Lv(Se)?on:U).test(bl(Se))}function nu(Se){if(St=(Xe=Se)&&Xe.constructor,rn=typeof St=="function"&&St.prototype||re,Xe!==rn)return ur(Se);var Xe,St,rn,Pr=[];for(var Qn in Object(Se))wt.call(Se,Qn)&&Qn!="constructor"&&Pr.push(Qn);return Pr}function Ns(Se,Xe,St,rn,Pr,Qn){var Ae=1&St,et=Se.length,Rt=Xe.length;if(et!=Rt&&!(Ae&&Rt>et))return!1;var Vt=Qn.get(Se);if(Vt&&Qn.get(Xe))return Vt==Xe;var rr=-1,qr=!0,Lr=2&St?new Ro:void 0;for(Qn.set(Se,Xe),Qn.set(Xe,Se);++rr<et;){var dr=Se[rr],_o=Xe[rr];if(rn)var sa=Ae?rn(_o,dr,rr,Xe,Se,Qn):rn(dr,_o,rr,Se,Xe,Qn);if(sa!==void 0){if(sa)continue;qr=!1;break}if(Lr){if(!Pt(Xe,function(xd,El){if(Qc=El,!Lr.has(Qc)&&(dr===xd||Pr(dr,xd,St,rn,Qn)))return Lr.push(El);var Qc})){qr=!1;break}}else if(dr!==_o&&!Pr(dr,_o,St,rn,Qn)){qr=!1;break}}return Qn.delete(Se),Qn.delete(Xe),qr}function yl(Se){return function(Xe,St,rn){var Pr=St(Xe);return _l(Xe)?Pr:function(Qn,Ae){for(var et=-1,Rt=Ae.length,Vt=Qn.length;++et<Rt;)Qn[Vt+et]=Ae[et];return Qn}(Pr,rn(Xe))}(Se,YE,zE)}function ru(Se,Xe){var St,rn,Pr=Se.__data__;return((rn=typeof(St=Xe))=="string"||rn=="number"||rn=="symbol"||rn=="boolean"?St!=="__proto__":St===null)?Pr[typeof Xe=="string"?"string":"hash"]:Pr.map}function Xc(Se,Xe){var St=function(rn,Pr){return rn==null?void 0:rn[Pr]}(Se,Xe);return Fp(St)?St:void 0}oa.prototype.clear=function(){this.__data__=eu?eu(null):{},this.size=0},oa.prototype.delete=function(Se){var Xe=this.has(Se)&&delete this.__data__[Se];return this.size-=Xe?1:0,Xe},oa.prototype.get=function(Se){var Xe=this.__data__;if(eu){var St=Xe[Se];return St===n?void 0:St}return wt.call(Xe,Se)?Xe[Se]:void 0},oa.prototype.has=function(Se){var Xe=this.__data__;return eu?Xe[Se]!==void 0:wt.call(Xe,Se)},oa.prototype.set=function(Se,Xe){var St=this.__data__;return this.size+=this.has(Se)?0:1,St[Se]=eu&&Xe===void 0?n:Xe,this},aa.prototype.clear=function(){this.__data__=[],this.size=0},aa.prototype.delete=function(Se){var Xe=this.__data__,St=Kc(Xe,Se);return!(St<0)&&(St==Xe.length-1?Xe.pop():kn.call(Xe,St,1),--this.size,!0)},aa.prototype.get=function(Se){var Xe=this.__data__,St=Kc(Xe,Se);return St<0?void 0:Xe[St][1]},aa.prototype.has=function(Se){return Kc(this.__data__,Se)>-1},aa.prototype.set=function(Se,Xe){var St=this.__data__,rn=Kc(St,Se);return rn<0?(++this.size,St.push([Se,Xe])):St[rn][1]=Xe,this},ha.prototype.clear=function(){this.size=0,this.__data__={hash:new oa,map:new(li||aa),string:new oa}},ha.prototype.delete=function(Se){var Xe=ru(this,Se).delete(Se);return this.size-=Xe?1:0,Xe},ha.prototype.get=function(Se){return ru(this,Se).get(Se)},ha.prototype.has=function(Se){return ru(this,Se).has(Se)},ha.prototype.set=function(Se,Xe){var St=ru(this,Se),rn=St.size;return St.set(Se,Xe),this.size+=St.size==rn?0:1,this},Ro.prototype.add=Ro.prototype.push=function(Se){return this.__data__.set(Se,n),this},Ro.prototype.has=function(Se){return this.__data__.has(Se)},Rs.prototype.clear=function(){this.__data__=new aa,this.size=0},Rs.prototype.delete=function(Se){var Xe=this.__data__,St=Xe.delete(Se);return this.size=Xe.size,St},Rs.prototype.get=function(Se){return this.__data__.get(Se)},Rs.prototype.has=function(Se){return this.__data__.has(Se)},Rs.prototype.set=function(Se,Xe){var St=this.__data__;if(St instanceof aa){var rn=St.__data__;if(!li||rn.length<199)return rn.push([Se,Xe]),this.size=++St.size,this;St=this.__data__=new ha(rn)}return St.set(Se,Xe),this.size=St.size,this};var zE=Fn?function(Se){return Se==null?[]:(Se=Object(Se),function(Xe,St){for(var rn=-1,Pr=Xe==null?0:Xe.length,Qn=0,Ae=[];++rn<Pr;){var et=Xe[rn];St(et,rn,Xe)&&(Ae[Qn++]=et)}return Ae}(Fn(Se),function(Xe){return qn.call(Se,Xe)}))}:function(){return[]},Za=vl;function Pv(Se,Xe){return!!(Xe=Xe==null?r:Xe)&&(typeof Se=="number"||Q.test(Se))&&Se>-1&&Se%1==0&&Se<Xe}function bl(Se){if(Se!=null){try{return tt.call(Se)}catch(Xe){}try{return Se+""}catch(Xe){}}return""}function Bp(Se,Xe){return Se===Xe||Se!=Se&&Xe!=Xe}(Ir&&Za(new Ir(new ArrayBuffer(1)))!=R||li&&Za(new li)!=c||ra&&Za(ra.resolve())!=h||ir&&Za(new ir)!=m||Ta&&Za(new Ta)!=g)&&(Za=function(Se){var Xe=vl(Se),St=Xe==p?Se.constructor:void 0,rn=St?bl(St):"";if(rn)switch(rn){case ku:return R;case Mp:return c;case Ad:return h;case tu:return m;case Fu:return g}return Xe});var VE=kp(function(){return arguments}())?kp:function(Se){return Jc(Se)&&wt.call(Se,"callee")&&!qn.call(Se,"callee")},_l=Array.isArray,Bu=Ii||function(){return!1};function Lv(Se){if(!GE(Se))return!1;var Xe=vl(Se);return Xe==l||Xe=="[object GeneratorFunction]"||Xe=="[object AsyncFunction]"||Xe=="[object Proxy]"}function Uu(Se){return typeof Se=="number"&&Se>-1&&Se%1==0&&Se<=r}function GE(Se){var Xe=typeof Se;return Se!=null&&(Xe=="object"||Xe=="function")}function Jc(Se){return Se!=null&&typeof Se=="object"}var Hu=dt?function(Se){return function(Xe){return Se(Xe)}}(dt):function(Se){return Jc(Se)&&Uu(Se.length)&&!!X[vl(Se)]};function YE(Se){return(Xe=Se)!=null&&Uu(Xe.length)&&!Lv(Xe)?Iv(Se):nu(Se);var Xe}e.exports=function(Se,Xe){return Od(Se,Xe)}});Aa("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header"}}),Aa("zh-CN",{tableModule:{deleteCol:"\u5220\u9664\u5217",deleteRow:"\u5220\u9664\u884C",deleteTable:"\u5220\u9664\u8868\u683C",widthAuto:"\u5BBD\u5EA6\u81EA\u9002\u5E94",insertCol:"\u63D2\u5165\u5217",insertRow:"\u63D2\u5165\u884C",insertTable:"\u63D2\u5165\u8868\u683C",header:"\u8868\u5934"}});var ak=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof Oe!="undefined"?Oe:typeof self!="undefined"?self:{};function sk(e){var t={exports:{}};return e(t,t.exports),t.exports}var Ec,r_,i_=function(e){return e&&e.Math==Math&&e},Yn=i_(typeof globalThis=="object"&&globalThis)||i_(typeof window=="object"&&window)||i_(typeof self=="object"&&self)||i_(typeof ak=="object"&&ak)||function(){return this}()||Function("return this")(),so=function(e){try{return!!e()}catch(t){return!0}},wc=!so(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),c0=Function.prototype.call,uo=c0.bind?c0.bind(c0):function(){return c0.apply(c0,arguments)},uk={}.propertyIsEnumerable,lk=Object.getOwnPropertyDescriptor,wle={f:lk&&!uk.call({1:2},1)?function(e){var t=lk(this,e);return!!t&&t.enumerable}:uk},AS=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},ck=Function.prototype,OS=ck.bind,xS=ck.call,Ale=OS&&OS.bind(xS),Zn=OS?function(e){return e&&Ale(xS,e)}:function(e){return e&&function(){return xS.apply(e,arguments)}},Ole=Zn({}.toString),xle=Zn("".slice),Ac=function(e){return xle(Ole(e),8,-1)},CS=Yn.Object,Cle=Zn("".split),fk=so(function(){return!CS("z").propertyIsEnumerable(0)})?function(e){return Ac(e)=="String"?Cle(e,""):CS(e)}:CS,Sle=Yn.TypeError,Oc=function(e){if(e==null)throw Sle("Can't call method on "+e);return e},f0=function(e){return fk(Oc(e))},Yo=function(e){return typeof e=="function"},Os=function(e){return typeof e=="object"?e!==null:Yo(e)},Tle=function(e){return Yo(e)?e:void 0},d0=function(e,t){return arguments.length<2?Tle(Yn[e]):Yn[e]&&Yn[e][t]},dk=Zn({}.isPrototypeOf),SS=d0("navigator","userAgent")||"",hk=Yn.process,pk=Yn.Deno,gk=hk&&hk.versions||pk&&pk.version,mk=gk&&gk.v8;mk&&(r_=(Ec=mk.split("."))[0]>0&&Ec[0]<4?1:+(Ec[0]+Ec[1])),!r_&&SS&&(!(Ec=SS.match(/Edge\/(\d+)/))||Ec[1]>=74)&&(Ec=SS.match(/Chrome\/(\d+)/))&&(r_=+Ec[1]);var TS=r_,DS=!!Object.getOwnPropertySymbols&&!so(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&TS&&TS<41}),RS=DS&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Dle=Yn.Object,NS=RS?function(e){return typeof e=="symbol"}:function(e){var t=d0("Symbol");return Yo(t)&&dk(t.prototype,Dle(e))},Rle=Yn.String,vk=function(e){try{return Rle(e)}catch(t){return"Object"}},Nle=Yn.TypeError,yk=function(e){if(Yo(e))return e;throw Nle(vk(e)+" is not a function")},IS=function(e,t){var n=e[t];return n==null?void 0:yk(n)},Ile=Yn.TypeError,Ple=Object.defineProperty,PS=function(e,t){try{Ple(Yn,e,{value:t,configurable:!0,writable:!0})}catch(n){Yn[e]=t}return t},xc=Yn["__core-js_shared__"]||PS("__core-js_shared__",{}),LS=sk(function(e){(e.exports=function(t,n){return xc[t]||(xc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Lle=Yn.Object,jS=function(e){return Lle(Oc(e))},jle=Zn({}.hasOwnProperty),xs=Object.hasOwn||function(e,t){return jle(jS(e),t)},Mle=0,kle=Math.random(),Fle=Zn(1 .toString),bk=function(e){return"Symbol("+(e===void 0?"":e)+")_"+Fle(++Mle+kle,36)},h0=LS("wks"),rd=Yn.Symbol,_k=rd&&rd.for,Ble=RS?rd:rd&&rd.withoutSetter||bk,Cs=function(e){if(!xs(h0,e)||!DS&&typeof h0[e]!="string"){var t="Symbol."+e;DS&&xs(rd,e)?h0[e]=rd[e]:h0[e]=RS&&_k?_k(t):Ble(t)}return h0[e]},Ule=Yn.TypeError,Hle=Cs("toPrimitive"),MS=function(e){var t=function(n,r){if(!Os(n)||NS(n))return n;var i,o=IS(n,Hle);if(o){if(r===void 0&&(r="default"),i=uo(o,n,r),!Os(i)||NS(i))return i;throw Ule("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&Yo(u=a.toString)&&!Os(l=uo(u,a)))return l;if(Yo(u=a.valueOf)&&!Os(l=uo(u,a)))return l;if(s!=="string"&&Yo(u=a.toString)&&!Os(l=uo(u,a)))return l;throw Ile("Can't convert object to primitive value")}(n,r)}(e,"string");return NS(t)?t:t+""},kS=Yn.document,Wle=Os(kS)&&Os(kS.createElement),FS=function(e){return Wle?kS.createElement(e):{}},Ek=!wc&&!so(function(){return Object.defineProperty(FS("div"),"a",{get:function(){return 7}}).a!=7}),wk=Object.getOwnPropertyDescriptor,Ak={f:wc?wk:function(e,t){if(e=f0(e),t=MS(t),Ek)try{return wk(e,t)}catch(n){}if(xs(e,t))return AS(!uo(wle.f,e,t),e[t])}},zle=Yn.String,Vle=Yn.TypeError,Ss=function(e){if(Os(e))return e;throw Vle(zle(e)+" is not an object")},Gle=Yn.TypeError,Ok=Object.defineProperty,p0={f:wc?Ok:function(e,t,n){if(Ss(e),t=MS(t),Ss(n),Ek)try{return Ok(e,t,n)}catch(r){}if("get"in n||"set"in n)throw Gle("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},op=wc?function(e,t,n){return p0.f(e,t,AS(1,n))}:function(e,t,n){return e[t]=n,e},Yle=Zn(Function.toString);Yo(xc.inspectSource)||(xc.inspectSource=function(e){return Yle(e)});var o_,g0,a_,BS=xc.inspectSource,xk=Yn.WeakMap,Kle=Yo(xk)&&/native code/.test(BS(xk)),Ck=LS("keys"),Sk=function(e){return Ck[e]||(Ck[e]=bk(e))},US={},HS=Yn.TypeError,Xle=Yn.WeakMap;if(Kle||xc.state){var id=xc.state||(xc.state=new Xle),Jle=Zn(id.get),Tk=Zn(id.has),Qle=Zn(id.set);o_=function(e,t){if(Tk(id,e))throw new HS("Object already initialized");return t.facade=e,Qle(id,e,t),t},g0=function(e){return Jle(id,e)||{}},a_=function(e){return Tk(id,e)}}else{var ap=Sk("state");US[ap]=!0,o_=function(e,t){if(xs(e,ap))throw new HS("Object already initialized");return t.facade=e,op(e,ap,t),t},g0=function(e){return xs(e,ap)?e[ap]:{}},a_=function(e){return xs(e,ap)}}var WS={set:o_,get:g0,has:a_,enforce:function(e){return a_(e)?g0(e):o_(e,{})},getterFor:function(e){return function(t){var n;if(!Os(t)||(n=g0(t)).type!==e)throw HS("Incompatible receiver, "+e+" required");return n}}},Dk=Function.prototype,Zle=wc&&Object.getOwnPropertyDescriptor,zS=xs(Dk,"name"),VS={EXISTS:zS,PROPER:zS&&function(){}.name==="something",CONFIGURABLE:zS&&(!wc||wc&&Zle(Dk,"name").configurable)},m0=sk(function(e){var t=VS.CONFIGURABLE,n=WS.get,r=WS.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Yo(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!xs(s,"name")||t&&s.name!==h)&&op(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==Yn?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:op(o,a,s)):d?o[a]=s:PS(a,s)})(Function.prototype,"toString",function(){return Yo(this)&&n(this).source||BS(this)})}),qle=Math.ceil,$le=Math.floor,s_=function(e){var t=+e;return t!=t||t===0?0:(t>0?$le:qle)(t)},ece=Math.max,tce=Math.min,v0=function(e,t){var n=s_(e);return n<0?ece(n+t,0):tce(n,t)},nce=Math.min,GS=function(e){return e>0?nce(s_(e),9007199254740991):0},u_=function(e){return GS(e.length)},Rk=function(e){return function(t,n,r){var i,o=f0(t),a=u_(o),s=v0(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},rce=(Rk(!0),Rk(!1)),Nk=Zn([].push),Ik=function(e,t){var n,r=f0(e),i=0,o=[];for(n in r)!xs(US,n)&&xs(r,n)&&Nk(o,n);for(;t.length>i;)xs(r,n=t[i++])&&(~rce(o,n)||Nk(o,n));return o},l_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ice=l_.concat("length","prototype"),oce={f:Object.getOwnPropertyNames||function(e){return Ik(e,ice)}},ace={f:Object.getOwnPropertySymbols},sce=Zn([].concat),uce=d0("Reflect","ownKeys")||function(e){var t=oce.f(Ss(e)),n=ace.f;return n?sce(t,n(e)):t},lce=function(e,t){for(var n=uce(t),r=p0.f,i=Ak.f,o=0;o<n.length;o++){var a=n[o];xs(e,a)||r(e,a,i(t,a))}},cce=/#|\.prototype\./,y0=function(e,t){var n=dce[fce(e)];return n==pce||n!=hce&&(Yo(t)?so(t):!!t)},fce=y0.normalize=function(e){return String(e).replace(cce,".").toLowerCase()},dce=y0.data={},hce=y0.NATIVE="N",pce=y0.POLYFILL="P",gce=y0,mce=Ak.f,Cc=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?Yn:l?Yn[s]||PS(s,{}):(Yn[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=mce(n,r))&&a.value:n[r],!gce(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;lce(o,i)}(e.sham||i&&i.sham)&&op(o,"sham",!0),m0(n,r,o,e)}},Pk={};Pk[Cs("toStringTag")]="z";var YS=String(Pk)==="[object z]",vce=Cs("toStringTag"),yce=Yn.Object,bce=Ac(function(){return arguments}())=="Arguments",KS=YS?Ac:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=yce(e),vce))=="string"?n:bce?Ac(t):(r=Ac(t))=="Object"&&Yo(t.callee)?"Arguments":r},_ce=Yn.String,ta=function(e){if(KS(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return _ce(e)},Ece=/"/g,wce=Zn("".replace);Cc({target:"String",proto:!0,forced:so(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=ta(Oc(this)),r="<a",(r+=' name="'+wce(ta(t),Ece,""")+'"')+">"+n+"</a>";var t,n,r}});var c_,Lk=function(){var e=Ss(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},XS=Yn.RegExp,JS=so(function(){var e=XS("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),Ace=JS||so(function(){return!XS("a","y").sticky}),jk={BROKEN_CARET:JS||so(function(){var e=XS("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:Ace,UNSUPPORTED_Y:JS},Oce=Object.keys||function(e){return Ik(e,l_)},xce=wc?Object.defineProperties:function(e,t){Ss(e);for(var n,r=f0(t),i=Oce(t),o=i.length,a=0;o>a;)p0.f(e,n=i[a++],r[n]);return e},Cce=d0("document","documentElement"),Mk=Sk("IE_PROTO"),QS=function(){},kk=function(e){return"<script>"+e+"</script>"},Fk=function(e){e.write(kk("")),e.close();var t=e.parentWindow.Object;return e=null,t},f_=function(){try{c_=new ActiveXObject("htmlfile")}catch(r){}var e,t;f_=typeof document!="undefined"?document.domain&&c_?Fk(c_):((t=FS("iframe")).style.display="none",Cce.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(kk("document.F=Object")),e.close(),e.F):Fk(c_);for(var n=l_.length;n--;)delete f_.prototype[l_[n]];return f_()};US[Mk]=!0;var Bk,ZS,Uk=Object.create||function(e,t){var n;return e!==null?(QS.prototype=Ss(e),n=new QS,QS.prototype=null,n[Mk]=e):n=f_(),t===void 0?n:xce(n,t)},Sce=Yn.RegExp,Tce=so(function(){var e=Sce(".","s");return!(e.dotAll&&e.exec(`
|
|
|
`)&&e.flags==="s")}),Dce=Yn.RegExp,Rce=so(function(){var e=Dce("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),Nce=WS.get,Ice=LS("native-string-replace",String.prototype.replace),d_=RegExp.prototype.exec,qS=d_,Pce=Zn("".charAt),Lce=Zn("".indexOf),jce=Zn("".replace),$S=Zn("".slice),e5=(ZS=/b*/g,uo(d_,Bk=/a/,"a"),uo(d_,ZS,"a"),Bk.lastIndex!==0||ZS.lastIndex!==0),Hk=jk.BROKEN_CARET,t5=/()??/.exec("")[1]!==void 0;(e5||t5||Hk||Tce||Rce)&&(qS=function(e){var t,n,r,i,o,a,s,u=this,l=Nce(u),c=ta(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=uo(qS,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=Hk&&u.sticky,_=uo(Lk,u),m=u.source,v=0,y=c;if(h&&(_=jce(_,"y",""),Lce(_,"g")===-1&&(_+="g"),y=$S(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&Pce(c,u.lastIndex-1)!==`
|
|
|
`)&&(m="(?: "+m+")",y=" "+y,v++),n=new RegExp("^(?:"+m+")",_)),t5&&(n=new RegExp("^"+m+"$(?!\\s)",_)),e5&&(r=u.lastIndex),i=uo(d_,h?n:u,y),h?i?(i.input=$S(i.input,v),i[0]=$S(i[0],v),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:e5&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),t5&&i&&i.length>1&&uo(Ice,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=Uk(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var b0=qS;Cc({target:"RegExp",proto:!0,forced:/./.exec!==b0},{exec:b0});var h_=Array.isArray||function(e){return Ac(e)=="Array"},Wk=function(){},Mce=[],zk=d0("Reflect","construct"),n5=/^\s*(?:class|function)\b/,kce=Zn(n5.exec),Fce=!n5.exec(Wk),_0=function(e){if(!Yo(e))return!1;try{return zk(Wk,Mce,e),!0}catch(t){return!1}},r5=!zk||so(function(){var e;return _0(_0.call)||!_0(Object)||!_0(function(){e=!0})||e})?function(e){if(!Yo(e))return!1;switch(KS(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Fce||!!kce(n5,BS(e))}:_0,Vk=function(e,t,n){var r=MS(t);r in e?p0.f(e,r,AS(0,n)):e[r]=n},Bce=Cs("species"),i5=function(e){return TS>=51||!so(function(){var t=[];return(t.constructor={})[Bce]=function(){return{foo:1}},t[e](Boolean).foo!==1})},Uce=Zn([].slice),Hce=i5("slice"),Wce=Cs("species"),o5=Yn.Array,zce=Math.max;function Qs(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function Gk(e){var t=e.selection;if(t==null)return!1;var n=Qs(B.nodes(e,{match:function(o){return ae.checkNodeType(o,"table-cell")}}),1)[0];if(n){var r=Qs(n,2)[1],i=B.start(e,r);if(Wn.equals(t.anchor,i))return!0}return!1}function Yk(e,t){var n,r,i=B.nodes(e,{at:t,match:function(u){return ae.getNodeType(u)==="table"}}),o=!1;try{for(var a=function(u){var l=typeof Symbol=="function"&&Symbol.iterator,c=l&&u[l],d=0;if(c)return c.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&d>=u.length&&(u=void 0),{value:u&&u[d++],done:!u}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),s=a.next();!s.done;s=a.next())s.value,o=!0}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o}Cc({target:"Array",proto:!0,forced:!Hce},{slice:function(e,t){var n,r,i,o=f0(this),a=u_(o),s=v0(e,a),u=v0(t===void 0?a:t,a);if(h_(o)&&(n=o.constructor,(r5(n)&&(n===o5||h_(n.prototype))||Os(n)&&(n=n[Wce])===null)&&(n=void 0),n===o5||n===void 0))return Uce(o,s,u);for(r=new(n===void 0?o5:n)(zce(u-s,0)),i=0;s<u;s++,i++)s in o&&Vk(r,i,o[s]);return r.length=i,r}});var Kk=Zn(Zn.bind),Vce=Cs("species"),Xk=Yn.Array,Gce=function(e,t){return new(function(n){var r;return h_(n)&&(r=n.constructor,(r5(r)&&(r===Xk||h_(r.prototype))||Os(r)&&(r=r[Vce])===null)&&(r=void 0)),r===void 0?Xk:r}(e))(t===0?0:t)},Jk=Zn([].push),Sc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,_=jS(u),m=fk(_),v=function(U,Q){return yk(U),Q===void 0?U:Kk?Kk(U,Q):function(){return U.apply(Q,arguments)}}(l,c),y=u_(m),g=0,S=d||Gce,R=t?S(u,y):n||a?S(u,0):void 0;y>g;g++)if((s||g in m)&&(h=v(p=m[g],g,_),e))if(t)R[g]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:Jk(R,p)}else switch(e){case 4:return!1;case 7:Jk(R,p)}return o?-1:r||i?i:R}},p_={forEach:Sc(0),map:Sc(1),filter:Sc(2),some:Sc(3),every:Sc(4),find:Sc(5),findIndex:Sc(6),filterReject:Sc(7)},Yce=p_.map;Cc({target:"Array",proto:!0,forced:!i5("map")},{map:function(e){return Yce(this,e,arguments.length>1?arguments[1]:void 0)}});var Kce=YS?{}.toString:function(){return"[object "+KS(this)+"]"};function g_(e){var t=e.children||[];return t.length===0?[]:(t[0]||{}).children||[]}function Qk(e){return g_(e).every(function(t){return!!t.isHeader})}YS||m0(Object.prototype,"toString",Kce,{unsafe:!0});var Xce=VS.PROPER,a5=RegExp.prototype,Zk=a5.toString,Jce=Zn(Lk),Qce=so(function(){return Zk.call({source:"a",flags:"b"})!="/a/b"}),Zce=Xce&&Zk.name!="toString";(Qce||Zce)&&m0(RegExp.prototype,"toString",function(){var e=Ss(this),t=ta(e.source),n=e.flags;return"/"+t+"/"+ta(n===void 0&&dk(a5,e)&&!("flags"in a5)?Jce(e):n)},{unsafe:!0});var s5=Cs("unscopables"),u5=Array.prototype;u5[s5]==null&&p0.f(u5,s5,{configurable:!0,value:Uk(null)});var qce=p_.find,qk=!0;"find"in[]&&Array(1).find(function(){qk=!1}),Cc({target:"Array",proto:!0,forced:qk},{find:function(e){return qce(this,e,arguments.length>1?arguments[1]:void 0)}}),u5[s5].find=!0;var l5=Function.prototype,$k=l5.apply,$ce=l5.bind,eF=l5.call,tF=typeof Reflect=="object"&&Reflect.apply||($ce?eF.bind($k):function(){return eF.apply($k,arguments)}),efe=Cs("species"),c5=RegExp.prototype,nF=function(e,t,n,r){var i=Cs(e),o=!so(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!so(function(){var l=!1,c=/a/;return e==="split"&&((c={}).constructor={},c.constructor[efe]=function(){return c},c.flags="",c[i]=/./[i]),c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=Zn(/./[i]),u=t(i,""[e],function(l,c,d,p,h){var _=Zn(l),m=c.exec;return m===b0||m===c5.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:_(d,c,p)}:{done:!1}});m0(String.prototype,e,u[0]),m0(c5,i,u[1])}r&&op(c5[i],"sham",!0)},tfe=Cs("match"),nfe=Yn.TypeError,rfe=Cs("species"),ife=Zn("".charAt),rF=Zn("".charCodeAt),ofe=Zn("".slice),iF=function(e){return function(t,n){var r,i,o=ta(Oc(t)),a=s_(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=rF(o,a))<55296||r>56319||a+1===s||(i=rF(o,a+1))<56320||i>57343?e?ife(o,a):r:e?ofe(o,a,a+2):i-56320+(r-55296<<10)+65536}},afe=(iF(!1),iF(!0)),oF=function(e,t,n){return t+(n?afe(e,t).length:1)},sfe=Yn.Array,ufe=Math.max,aF=function(e,t,n){for(var r=u_(e),i=v0(t,r),o=v0(n===void 0?r:n,r),a=sfe(ufe(o-i,0)),s=0;i<o;i++,s++)Vk(a,s,e[i]);return a.length=s,a},lfe=Yn.TypeError,f5=function(e,t){var n=e.exec;if(Yo(n)){var r=uo(n,e,t);return r!==null&&Ss(r),r}if(Ac(e)==="RegExp")return uo(b0,e,t);throw lfe("RegExp#exec called on incompatible receiver")},sp=jk.UNSUPPORTED_Y,cfe=Math.min,sF=[].push,ffe=Zn(/./.exec),up=Zn(sF),E0=Zn("".slice);nF("split",function(e,t,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(i,o){var a,s,u=ta(Oc(this)),l=o===void 0?4294967295:o>>>0;if(l===0)return[];if(i===void 0)return[u];if(!Os(a=i)||!((s=a[tfe])!==void 0?s:Ac(a)=="RegExp"))return uo(t,u,i,l);for(var c,d,p,h=[],_=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(i.sticky?"y":""),m=0,v=new RegExp(i.source,_+"g");(c=uo(b0,v,u))&&!((d=v.lastIndex)>m&&(up(h,E0(u,m,c.index)),c.length>1&&c.index<u.length&&tF(sF,h,aF(c,1)),p=c[0].length,m=d,h.length>=l));)v.lastIndex===c.index&&v.lastIndex++;return m===u.length?!p&&ffe(v,"")||up(h,""):up(h,E0(u,m)),h.length>l?aF(h,0,l):h}:"0".split(void 0,0).length?function(i,o){return i===void 0&&o===0?[]:uo(t,this,i,o)}:t,[function(i,o){var a=Oc(this),s=i==null?void 0:IS(i,e);return s?uo(s,i,a,o):uo(r,ta(a),i,o)},function(i,o){var a=Ss(this),s=ta(i),u=n(r,a,s,o,r!==t);if(u.done)return u.value;var l=function(R,U){var Q,X=Ss(R).constructor;return X===void 0||(Q=Ss(X)[rfe])==null?U:function(le){if(r5(le))return le;throw nfe(vk(le)+" is not a constructor")}(Q)}(a,RegExp),c=a.unicode,d=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(sp?"g":"y"),p=new l(sp?"^(?:"+a.source+")":a,d),h=o===void 0?4294967295:o>>>0;if(h===0)return[];if(s.length===0)return f5(p,s)===null?[s]:[];for(var _=0,m=0,v=[];m<s.length;){p.lastIndex=sp?0:m;var y,g=f5(p,sp?E0(s,m):s);if(g===null||(y=cfe(GS(p.lastIndex+(sp?m:0)),s.length))===_)m=oF(s,m,c);else{if(up(v,E0(s,_,m)),v.length===h)return v;for(var S=1;S<=g.length-1;S++)if(up(v,g[S]),v.length===h)return v;m=_=y}}return up(v,E0(s,_)),v}]},!!so(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),sp);var d5=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,uF=Zn("".replace),m_="["+d5+"]",dfe=RegExp("^"+m_+m_+"*"),hfe=RegExp(m_+m_+"*$"),h5=function(e){return function(t){var n=ta(Oc(t));return 1&e&&(n=uF(n,dfe,"")),2&e&&(n=uF(n,hfe,"")),n}},pfe={start:h5(1),end:h5(2),trim:h5(3)},gfe=VS.PROPER,mfe=pfe.trim;function lF(e){return e.length?e[0].tagName.toLowerCase():""}Cc({target:"String",proto:!0,forced:function(e){return so(function(){return!!d5[e]()||"\u200B\x85\u180E"[e]()!=="\u200B\x85\u180E"||gfe&&d5[e].name!==e})}("trim")},{trim:function(){return mfe(this)}}),Cc({global:!0},{globalThis:Yn}),fs&&(ve.fn.append=fs),mu&&(ve.fn.on=mu),Fl&&(ve.fn.focus=Fl),cs&&(ve.fn.attr=cs),gu&&(ve.fn.val=gu),kl&&(ve.fn.html=kl),$d&&(ve.fn.dataset=$d),Qd&&(ve.fn.addClass=Qd),Zd&&(ve.fn.removeClass=Zd),rh&&(ve.fn.children=rh),k1&&(ve.fn.each=k1),nh&&(ve.fn.find=nh);var w0=!1,cF=0,fF=0,A0=null,O0=null,x0=ve("body");function dF(e){w0=!1,O0=null,A0=null,x0.off("mousemove",hF),x0.off("mouseup",dF)}x0.on("mousedown",function(e){var t=e.target;if((t.tagName==="TH"||t.tagName==="TD")&&t.style.cursor==="col-resize"){t.style.cursor="auto",e.preventDefault(),w0=!0;var n=e.clientX;cF=n;var r=t.getBoundingClientRect().width;fF=r,x0.on("mousemove",hF),x0.on("mouseup",dF)}});var hF=gf(function(e){if(w0&&O0!=null&&A0!=null){e.preventDefault();var t=e.clientX,n=fF+(t-cF);(n=Math.floor(100*n)/100)<30&&(n=30),Me.setNodes(O0,{width:n.toString()},{at:A0})}},100),vfe={type:"table",renderElem:function(e,t,n){var r=function(s,u){if(s.isDisabled())return!1;var l=s.selection;if(l==null)return!0;if(Je.isCollapsed(l))return!0;var c=l.anchor,d=l.focus,p=ae.findPath(s,u),h=B.start(s,p),_=B.end(s,p),m=Wn.compare(c,_)<=0&&Wn.compare(c,h)>=0,v=Wn.compare(d,_)<=0&&Wn.compare(d,h)>=0;return!!(m&&v&&Ne.equals(c.path.slice(0,3),d.path.slice(0,3)))}(n,e),i=e.width,o=i===void 0?"auto":i,a=An("div",{className:"table-container","data-selected":ae.isNodeSelected(n,e),on:{mousedown:function(s){if(s.target.tagName==="DIV"&&s.preventDefault(),!n.isDisabled()){var u=ae.findPath(n,e),l=B.start(n,u),c=n.selection;c!=null?c.anchor.path[0]!==u[0]&&n.select(l):n.select(l)}}}},An("table",{width:o,contentEditable:r},An("colgroup",null,g_(e).map(function(s){var u=s.width;return An("col",{width:u===void 0?"auto":u})})),An("tbody",null,t)));return a}},yfe={type:"table-row",renderElem:function(e,t,n){return An("tr",null,t)}},bfe={type:"table-cell",renderElem:function(e,t,n){var r=function(p,h){var _=ae.getParentNode(p,h);if(_==null)return!1;var m=ae.getParentNode(p,_);return m!=null&&g_(m).some(function(v){return v===h})}(n,e),i=e,o=i.colSpan,a=o===void 0?1:o,s=i.rowSpan,u=s===void 0?1:s,l=i.isHeader,c=l!==void 0&&l;if(!r)return An("td",{colSpan:a,rowSpan:u},t);var d=An(c?"th":"td",{colSpan:a,rowSpan:u,style:{borderRightWidth:"3px"},on:{mousemove:gf(function(p){var h=this.elm;if(h!=null){var _=h.getBoundingClientRect(),m=_.left,v=_.width,y=_.top,g=_.height,S=p.clientX,R=p.clientY;w0||(S>m+v-5&&S<m+v&&R>y&&R<y+g?(h.style.cursor="col-resize",O0=n,A0=ae.findPath(n,e)):w0||(h.style.cursor="auto",O0=null,A0=null))}},100)}},t);return d}},_fe={selector:"table",preParseHtml:function(e){var t=ve(e);if(lF(t)!=="table")return e;var n=t.find("tbody");if(n.length===0)return e;var r=t.find("tr");return t.append(r),n.remove(),t[0]}},Efe=p_.filter;Cc({target:"Array",proto:!0,forced:!i5("filter")},{filter:function(e){return Efe(this,e,arguments.length>1?arguments[1]:void 0)}});var wfe=Math.floor,p5=Zn("".charAt),Afe=Zn("".replace),g5=Zn("".slice),Ofe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,xfe=/\$([$&'`]|\d{1,2})/g,Cfe=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,u=xfe;return i!==void 0&&(i=jS(i),u=Ofe),Afe(o,u,function(l,c){var d;switch(p5(c,0)){case"$":return"$";case"&":return e;case"`":return g5(t,0,n);case"'":return g5(t,a);case"<":d=i[g5(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>s){var h=wfe(p/10);return h===0?l:h<=s?r[h-1]===void 0?p5(c,1):r[h-1]+p5(c,1):l}d=r[p-1]}return d===void 0?"":d})},m5=Cs("replace"),Sfe=Math.max,Tfe=Math.min,Dfe=Zn([].concat),v5=Zn([].push),pF=Zn("".indexOf),gF=Zn("".slice),Rfe="a".replace(/./,"$0")==="$0",mF=!!/./[m5]&&/./[m5]("a","$0")==="";nF("replace",function(e,t,n){var r=mF?"$":"$0";return[function(i,o){var a=Oc(this),s=i==null?void 0:IS(i,m5);return s?uo(s,i,a,o):uo(t,ta(a),i,o)},function(i,o){var a=Ss(this),s=ta(i);if(typeof o=="string"&&pF(o,r)===-1&&pF(o,"$<")===-1){var u=n(t,a,s,o);if(u.done)return u.value}var l=Yo(o);l||(o=ta(o));var c=a.global;if(c){var d=a.unicode;a.lastIndex=0}for(var p=[];;){var h=f5(a,s);if(h===null)break;if(v5(p,h),!c)break;ta(h[0])===""&&(a.lastIndex=oF(s,GS(a.lastIndex),d))}for(var _,m="",v=0,y=0;y<p.length;y++){for(var g=ta((h=p[y])[0]),S=Sfe(Tfe(s_(h.index),s.length),0),R=[],U=1;U<h.length;U++)v5(R,(_=h[U])===void 0?_:String(_));var Q=h.groups;if(l){var X=Dfe([g],R,S,s);Q!==void 0&&v5(X,Q);var le=ta(tF(o,void 0,X))}else le=Cfe(g,s,S,R,Q,o);S>=v&&(m+=gF(s,v,S)+le,v=S+g.length)}return m+gF(s,v)}]},!!so(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Rfe||mF);var Nfe={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=ve(e);(t=t.filter(function(s){return!!kt.isText(s)||!!n.isInline(s)})).length===0&&(t=[{text:r.text().replace(/\s+/gm," ")}]);var i=parseInt(r.attr("colSpan")||"1"),o=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:lF(r)==="th",colSpan:i,rowSpan:o,width:a,children:t}}},Ife={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,n){return{type:"table-row",children:t.filter(function(r){return ae.getNodeType(r)==="table-cell"})}}},Pfe={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,n){var r=ve(e),i="auto";return function(o,a){for(var s="",u=(o.attr("style")||"").split(";"),l=u.length,c=0;c<l;c++){var d=u[c];if(d){var p=d.split(":");p[0].trim()==="width"&&(s=p[1].trim())}}return s}(r)==="100%"&&(i="100%"),r.attr("width")==="100%"&&(i="100%"),{type:"table",width:i,children:t.filter(function(o){return ae.getNodeType(o)==="table-row"})}}},Lfe=function(){function e(){this.title=Dt("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!Je.isCollapsed(n)||!!ae.getSelectedElems(t).some(function(r){var i=ae.getNodeType(r);return i==="pre"||i==="table"||i==="list-item"||!!t.isVoid(r)})},e.prototype.getPanelContentElem=function(t){var n=this;if(this.$content)return this.$content[0];for(var r=ve('<div class="w-e-panel-content-table"></div>'),i=ve("<span>0 × 0</span>"),o=ve("<table></table>"),a=0;a<10;a++){for(var s=ve("<tr></tr>"),u=0;u<10;u++){var l=ve("<td></td>");l.attr("data-x",u.toString()),l.attr("data-y",a.toString()),s.append(l),l.on("mouseenter",function(c){var d=c.target;if(d!=null){var p=ve(d).dataset(),h=p.x,_=p.y;i[0].innerHTML=h+1+" × "+(_+1),o.children().each(function(m){ve(m).children().each(function(v){var y=ve(v),g=y.dataset(),S=g.x,R=g.y;S<=h&&R<=_?y.addClass("active"):y.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var d=c.target;if(d!=null){var p=ve(d).dataset(),h=p.x,_=p.y;n.insertTable(t,_+1,h+1)}})}o.append(s)}return r.append(o),r.append(i),this.$content=r,r[0]},e.prototype.insertTable=function(t,n,r){var i=parseInt(n,10),o=parseInt(r,10);if(i&&o&&!(i<=0||o<=0)){ae.isSelectedEmptyParagraph(t)&&Me.removeNodes(t,{mode:"highest"});var a=function(s,u){for(var l=[],c=0;c<s;c++){for(var d=[],p=0;p<u;p++){var h={type:"table-cell",children:[{text:""}]};c===0&&(h.isHeader=!0),d.push(h)}l.push({type:"table-row",children:d})}return{type:"table",width:"auto",children:l}}(i,o);Me.insertNodes(t,a,{mode:"highest"})}},e}(),jfe=function(){function e(){this.title=Dt("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return t.selection==null||ae.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){this.isDisabled(t)||Me.removeNodes(t,{mode:"highest"})},e}(),Mfe=function(){function e(){this.title=Dt("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!Je.isCollapsed(n)||ae.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Qs(B.nodes(t,{match:function(h){return ae.checkNodeType(h,"table-cell")},universal:!0}),1),i=Qs(r[0],2),o=i[0],a=i[1],s=ae.getParentNode(t,o),u=(s==null?void 0:s.children.length)||0;if(u!==0){for(var l={type:"table-row",children:[]},c=0;c<u;c++)l.children.push({type:"table-cell",children:[{text:""}]});var d=Ne.parent(a),p=Ne.next(d);Me.insertNodes(t,l,{at:p})}}},e}(),kfe=function(){function e(){this.title=Dt("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!Je.isCollapsed(n)||ae.getSelectedNodeByType(t,"table-row")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Qs(B.nodes(t,{match:function(u){return ae.checkNodeType(u,"table-row")},universal:!0}),1),i=Qs(r[0],2),o=i[0],a=i[1],s=ae.getParentNode(t,o);((s==null?void 0:s.children.length)||0)<=1?Me.removeNodes(t,{mode:"highest"}):Me.removeNodes(t,{at:a})}},e}(),vF={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},y5=FS("span").classList,yF=y5&&y5.constructor&&y5.constructor.prototype,Ffe=yF===Object.prototype?void 0:yF,Bfe=p_.forEach,Ufe=function(e,t){var n=[].forEach;return!!n&&so(function(){n.call(null,function(){throw 1},1)})}(),b5=Ufe?[].forEach:function(e){return Bfe(this,e,arguments.length>1?arguments[1]:void 0)},bF=function(e){if(e&&e.forEach!==b5)try{op(e,"forEach",b5)}catch(t){e.forEach=b5}};for(var _5 in vF)vF[_5]&&bF(Yn[_5]&&Yn[_5].prototype);bF(Ffe);var Hfe=function(){function e(){this.title=Dt("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!Je.isCollapsed(n)||ae.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Qs(B.nodes(t,{match:function(l){return ae.checkNodeType(l,"table-cell")},universal:!0}),1),i=Qs(r[0],2),o=i[0],a=i[1],s=ae.getParentNode(t,o);if(s!=null){var u=ae.getParentNode(t,s);u!=null&&(u.children||[]).forEach(function(l,c){Qt.isElement(l)&&(l.children||[]).forEach(function(d){var p=ae.findPath(t,d);if(p.length===a.length&&ok(p.slice(-1),a.slice(-1))){var h={type:"table-cell",children:[{text:""}]};c===0&&Qk(u)&&(h.isHeader=!0),Me.insertNodes(t,h,{at:p})}})})}}},e}(),Wfe=function(){function e(){this.title=Dt("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!Je.isCollapsed(n)||ae.getSelectedNodeByType(t,"table-cell")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=Qs(B.nodes(t,{match:function(c){return ae.checkNodeType(c,"table-cell")},universal:!0}),1),i=Qs(r[0],2),o=i[0],a=i[1],s=ae.getParentNode(t,o),u=(s==null?void 0:s.children.length)||0;if(!s||u<=1)Me.removeNodes(t,{mode:"highest"});else{var l=ae.getParentNode(t,s);l!=null&&(l.children||[]).forEach(function(c){Qt.isElement(c)&&(c.children||[]).forEach(function(d){var p=ae.findPath(t,d);p.length===a.length&&ok(p.slice(-1),a.slice(-1))&&Me.removeNodes(t,{at:p})})})}}},e}(),zfe=function(){function e(){this.title=Dt("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){var n=ae.getSelectedNodeByType(t,"table");return n!=null&&Qk(n)},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!Je.isCollapsed(n)||ae.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=!n,i=ae.getSelectedNodeByType(t,"table");i!=null&&g_(i).forEach(function(o){return Me.setNodes(t,{isHeader:r},{at:ae.findPath(t,o)})})}},e}(),Vfe=function(){function e(){this.title=Dt("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){var n=ae.getSelectedNodeByType(t,"table");return n!=null&&n.width==="100%"},e.prototype.isActive=function(t){return!!this.getValue(t)},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!Je.isCollapsed(n)||ae.getSelectedNodeByType(t,"table")==null},e.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r={width:n?"auto":"100%"};Me.setNodes(t,r,{mode:"highest"})}},e}(),Gfe={renderElems:[vfe,yfe,bfe],elemsToHtml:[{type:"table",elemToHtml:function(e,t){var n=e.width;return'<table style="width: '+(n===void 0?"auto":n)+';"><tbody>'+t+"</tbody></table>"}},{type:"table-row",elemToHtml:function(e,t){return"<tr>"+t+"</tr>"}},{type:"table-cell",elemToHtml:function(e,t){var n=e,r=n.colSpan,i=r===void 0?1:r,o=n.rowSpan,a=o===void 0?1:o,s=n.isHeader,u=s!==void 0&&s,l=n.width,c=u?"th":"td";return"<"+c+' colSpan="'+i+'" rowSpan="'+a+'" width="'+(l===void 0?"auto":l)+'">'+t+"</"+c+">"}}],preParseHtml:[_fe],parseElemsHtml:[Nfe,Ife,Pfe],menus:[{key:"insertTable",factory:function(){return new Lfe}},{key:"deleteTable",factory:function(){return new jfe}},{key:"insertTableRow",factory:function(){return new Mfe}},{key:"deleteTableRow",factory:function(){return new kfe}},{key:"insertTableCol",factory:function(){return new Hfe}},{key:"deleteTableCol",factory:function(){return new Wfe}},{key:"tableHeader",factory:function(){return new zfe}},{key:"tableFullWidth",factory:function(){return new Vfe}}],editorPlugin:function(e){var t=e.insertBreak,n=e.deleteBackward,r=e.deleteForward,i=e.normalizeNode,o=e.insertData,a=e.handleTab,s=e.selectAll,u=e;return u.insertBreak=function(){ae.getSelectedNodeByType(u,"table")==null?t():u.insertText(`
|
|
|
`)},u.deleteBackward=function(l){if(!Gk(u)){var c=u.selection;if(c){var d=B.before(u,c);if(d){var p=Yk(u,d),h=Yk(u,c);if(p&&!h)return}}n(l)}},u.handleTab=function(){var l;if(ae.getSelectedNodeByType(u,"table")){var c=B.above(e);ae.checkNodeType(c[0],"table-cell")&&Me.select(e,c[1]);var d=B.next(e);if(d)d[0]&&d[0].text&&(d=(l=B.above(e,{at:d[1]}))!==null&&l!==void 0?l:d),Me.select(e,d[1]);else{var p=u.children||[],h=p.length;if(ae.checkNodeType(p[h-1],"table")){var _=ae.genEmptyParagraph();Me.insertNodes(u,_,{at:[h]}),u.handleTab()}}}else a()},u.deleteForward=function(l){Gk(u)||r(l)},u.normalizeNode=function(l){var c=Qs(l,2),d=c[0],p=c[1];if(ae.getNodeType(d)!=="table")return i([d,p]);if(ae.isLastNode(u,d)){var h=ae.genEmptyParagraph();Me.insertNodes(u,h,{at:[p[0]+1]})}},u.insertData=function(l){if(ae.getSelectedNodeByType(u,"table")!=null){var c=l.getData("text/plain");c===`
|
|
|
`||/<img[^>]+>/.test(l.getData("text/html"))?o(l):B.insertText(u,c)}else o(l)},u.selectAll=function(){var l=u.selection;if(l!=null){var c=ae.getSelectedNodeByType(u,"table-cell");if(c!=null){var d=l.anchor,p=l.focus;if(Ne.equals(d.path.slice(0,3),p.path.slice(0,3)))if(Tt.string(c).length!==0){var h=ae.findPath(u,c),_={anchor:B.start(u,h),focus:B.end(u,h)};u.select(_)}else s();else s()}else s()}else s()},u}};Aa("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",width:"Width",height:"Height"}}),Aa("zh-CN",{videoModule:{delete:"\u5220\u9664\u89C6\u9891",uploadVideo:"\u4E0A\u4F20\u89C6\u9891",insertVideo:"\u63D2\u5165\u89C6\u9891",videoSrc:"\u89C6\u9891\u5730\u5740",videoSrcPlaceHolder:"\u89C6\u9891\u6587\u4EF6 url \u6216\u7B2C\u4E09\u65B9 <iframe>",videoPoster:"\u89C6\u9891\u5C01\u9762",videoPosterPlaceHolder:"\u5C01\u9762\u56FE\u7247 url",ok:"\u786E\u5B9A",editSize:"\u4FEE\u6539\u5C3A\u5BF8",width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6"}});/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */var v_=function(){return v_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},v_.apply(this,arguments)};function y_(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(l){try{u(r.next(l))}catch(c){o(c)}}function s(l){try{u(r.throw(l))}catch(c){o(c)}}function u(l){var c;l.done?i(l.value):(c=l.value,c instanceof n?c:new n(function(d){d(c)})).then(a,s)}u((r=r.apply(e,t||[])).next())})}function b_(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(c[0]===6&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(d){c=[6,d],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([u,l])}}}function od(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(t===void 0||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function Yfe(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(i){var o=typeof Symbol=="function"&&Symbol.iterator,a=o&&i[o],s=0;if(a)return a.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&s>=i.length&&(i=void 0),{value:i&&i[s++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(o){return new Promise(function(a,s){!function(u,l,c,d){Promise.resolve(d).then(function(p){u({value:p,done:c})},l)}(a,s,(o=e[i](o)).done,o.value)})}}}var _F=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof Oe!="undefined"?Oe:typeof self!="undefined"?self:{};function E5(e){var t={exports:{}};return e(t,t.exports),t.exports}var Tc,__,E_=function(e){return e&&e.Math==Math&&e},It=E_(typeof globalThis=="object"&&globalThis)||E_(typeof window=="object"&&window)||E_(typeof self=="object"&&self)||E_(typeof _F=="object"&&_F)||function(){return this}()||Function("return this")(),Yr=function(e){try{return!!e()}catch(t){return!0}},Du=!Yr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),C0=Function.prototype.call,Ur=C0.bind?C0.bind(C0):function(){return C0.apply(C0,arguments)},EF={}.propertyIsEnumerable,wF=Object.getOwnPropertyDescriptor,Kfe={f:wF&&!EF.call({1:2},1)?function(e){var t=wF(this,e);return!!t&&t.enumerable}:EF},w_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},AF=Function.prototype,w5=AF.bind,A5=AF.call,Xfe=w5&&w5.bind(A5),Pn=w5?function(e){return e&&Xfe(A5,e)}:function(e){return e&&function(){return A5.apply(e,arguments)}},Jfe=Pn({}.toString),Qfe=Pn("".slice),Ru=function(e){return Qfe(Jfe(e),8,-1)},O5=It.Object,Zfe=Pn("".split),x5=Yr(function(){return!O5("z").propertyIsEnumerable(0)})?function(e){return Ru(e)=="String"?Zfe(e,""):O5(e)}:O5,qfe=It.TypeError,S0=function(e){if(e==null)throw qfe("Can't call method on "+e);return e},Dc=function(e){return x5(S0(e))},Nr=function(e){return typeof e=="function"},Qr=function(e){return typeof e=="object"?e!==null:Nr(e)},$fe=function(e){return Nr(e)?e:void 0},ad=function(e,t){return arguments.length<2?$fe(It[e]):It[e]&&It[e][t]},T0=Pn({}.isPrototypeOf),lp=ad("navigator","userAgent")||"",OF=It.process,xF=It.Deno,CF=OF&&OF.versions||xF&&xF.version,SF=CF&&CF.v8;SF&&(__=(Tc=SF.split("."))[0]>0&&Tc[0]<4?1:+(Tc[0]+Tc[1])),!__&&lp&&(!(Tc=lp.match(/Edge\/(\d+)/))||Tc[1]>=74)&&(Tc=lp.match(/Chrome\/(\d+)/))&&(__=+Tc[1]);var D0=__,C5=!!Object.getOwnPropertySymbols&&!Yr(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&D0&&D0<41}),S5=C5&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ede=It.Object,T5=S5?function(e){return typeof e=="symbol"}:function(e){var t=ad("Symbol");return Nr(t)&&T0(t.prototype,ede(e))},tde=It.String,A_=function(e){try{return tde(e)}catch(t){return"Object"}},nde=It.TypeError,Rc=function(e){if(Nr(e))return e;throw nde(A_(e)+" is not a function")},R0=function(e,t){var n=e[t];return n==null?void 0:Rc(n)},rde=It.TypeError,ide=Object.defineProperty,D5=function(e,t){try{ide(It,e,{value:t,configurable:!0,writable:!0})}catch(n){It[e]=t}return t},Nc=It["__core-js_shared__"]||D5("__core-js_shared__",{}),R5=E5(function(e){(e.exports=function(t,n){return Nc[t]||(Nc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),ode=It.Object,O_=function(e){return ode(S0(e))},ade=Pn({}.hasOwnProperty),lo=Object.hasOwn||function(e,t){return ade(O_(e),t)},sde=0,ude=Math.random(),lde=Pn(1 .toString),N5=function(e){return"Symbol("+(e===void 0?"":e)+")_"+lde(++sde+ude,36)},N0=R5("wks"),sd=It.Symbol,TF=sd&&sd.for,cde=S5?sd:sd&&sd.withoutSetter||N5,Xi=function(e){if(!lo(N0,e)||!C5&&typeof N0[e]!="string"){var t="Symbol."+e;C5&&lo(sd,e)?N0[e]=sd[e]:N0[e]=S5&&TF?TF(t):cde(t)}return N0[e]},fde=It.TypeError,dde=Xi("toPrimitive"),I5=function(e){var t=function(n,r){if(!Qr(n)||T5(n))return n;var i,o=R0(n,dde);if(o){if(r===void 0&&(r="default"),i=Ur(o,n,r),!Qr(i)||T5(i))return i;throw fde("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&Nr(u=a.toString)&&!Qr(l=Ur(u,a)))return l;if(Nr(u=a.valueOf)&&!Qr(l=Ur(u,a)))return l;if(s!=="string"&&Nr(u=a.toString)&&!Qr(l=Ur(u,a)))return l;throw rde("Can't convert object to primitive value")}(n,r)}(e,"string");return T5(t)?t:t+""},P5=It.document,hde=Qr(P5)&&Qr(P5.createElement),I0=function(e){return hde?P5.createElement(e):{}},DF=!Du&&!Yr(function(){return Object.defineProperty(I0("div"),"a",{get:function(){return 7}}).a!=7}),RF=Object.getOwnPropertyDescriptor,L5={f:Du?RF:function(e,t){if(e=Dc(e),t=I5(t),DF)try{return RF(e,t)}catch(n){}if(lo(e,t))return w_(!Ur(Kfe.f,e,t),e[t])}},pde=It.String,gde=It.TypeError,Co=function(e){if(Qr(e))return e;throw gde(pde(e)+" is not an object")},mde=It.TypeError,NF=Object.defineProperty,fl={f:Du?NF:function(e,t,n){if(Co(e),t=I5(t),Co(n),DF)try{return NF(e,t,n)}catch(r){}if("get"in n||"set"in n)throw mde("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Ic=Du?function(e,t,n){return fl.f(e,t,w_(1,n))}:function(e,t,n){return e[t]=n,e},vde=Pn(Function.toString);Nr(Nc.inspectSource)||(Nc.inspectSource=function(e){return vde(e)});var x_,P0,C_,S_=Nc.inspectSource,IF=It.WeakMap,PF=Nr(IF)&&/native code/.test(S_(IF)),LF=R5("keys"),j5=function(e){return LF[e]||(LF[e]=N5(e))},T_={},M5=It.TypeError,yde=It.WeakMap;if(PF||Nc.state){var ud=Nc.state||(Nc.state=new yde),bde=Pn(ud.get),jF=Pn(ud.has),_de=Pn(ud.set);x_=function(e,t){if(jF(ud,e))throw new M5("Object already initialized");return t.facade=e,_de(ud,e,t),t},P0=function(e){return bde(ud,e)||{}},C_=function(e){return jF(ud,e)}}else{var cp=j5("state");T_[cp]=!0,x_=function(e,t){if(lo(e,cp))throw new M5("Object already initialized");return t.facade=e,Ic(e,cp,t),t},P0=function(e){return lo(e,cp)?e[cp]:{}},C_=function(e){return lo(e,cp)}}var Ka={set:x_,get:P0,has:C_,enforce:function(e){return C_(e)?P0(e):x_(e,{})},getterFor:function(e){return function(t){var n;if(!Qr(t)||(n=P0(t)).type!==e)throw M5("Incompatible receiver, "+e+" required");return n}}},MF=Function.prototype,Ede=Du&&Object.getOwnPropertyDescriptor,k5=lo(MF,"name"),fp={EXISTS:k5,PROPER:k5&&function(){}.name==="something",CONFIGURABLE:k5&&(!Du||Du&&Ede(MF,"name").configurable)},Xa=E5(function(e){var t=fp.CONFIGURABLE,n=Ka.get,r=Ka.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;Nr(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!lo(s,"name")||t&&s.name!==h)&&Ic(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==It?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Ic(o,a,s)):d?o[a]=s:D5(a,s)})(Function.prototype,"toString",function(){return Nr(this)&&n(this).source||S_(this)})}),wde=Math.ceil,Ade=Math.floor,D_=function(e){var t=+e;return t!=t||t===0?0:(t>0?Ade:wde)(t)},Ode=Math.max,xde=Math.min,L0=function(e,t){var n=D_(e);return n<0?Ode(n+t,0):xde(n,t)},Cde=Math.min,kF=function(e){return e>0?Cde(D_(e),9007199254740991):0},j0=function(e){return kF(e.length)},FF=function(e){return function(t,n,r){var i,o=Dc(t),a=j0(o),s=L0(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},BF={includes:FF(!0),indexOf:FF(!1)},Sde=BF.indexOf,UF=Pn([].push),HF=function(e,t){var n,r=Dc(e),i=0,o=[];for(n in r)!lo(T_,n)&&lo(r,n)&&UF(o,n);for(;t.length>i;)lo(r,n=t[i++])&&(~Sde(o,n)||UF(o,n));return o},R_=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tde=R_.concat("length","prototype"),N_={f:Object.getOwnPropertyNames||function(e){return HF(e,Tde)}},Dde={f:Object.getOwnPropertySymbols},Rde=Pn([].concat),Nde=ad("Reflect","ownKeys")||function(e){var t=N_.f(Co(e)),n=Dde.f;return n?Rde(t,n(e)):t},Ide=function(e,t){for(var n=Nde(t),r=fl.f,i=L5.f,o=0;o<n.length;o++){var a=n[o];lo(e,a)||r(e,a,i(t,a))}},Pde=/#|\.prototype\./,M0=function(e,t){var n=jde[Lde(e)];return n==kde||n!=Mde&&(Nr(t)?Yr(t):!!t)},Lde=M0.normalize=function(e){return String(e).replace(Pde,".").toLowerCase()},jde=M0.data={},Mde=M0.NATIVE="N",kde=M0.POLYFILL="P",I_=M0,Fde=L5.f,Sa=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?It:l?It[s]||D5(s,{}):(It[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Fde(n,r))&&a.value:n[r],!I_(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;Ide(o,i)}(e.sham||i&&i.sham)&&Ic(o,"sham",!0),Xa(n,r,o,e)}},WF={};WF[Xi("toStringTag")]="z";var F5=String(WF)==="[object z]",Bde=Xi("toStringTag"),Ude=It.Object,Hde=Ru(function(){return arguments}())=="Arguments",P_=F5?Ru:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=Ude(e),Bde))=="string"?n:Hde?Ru(t):(r=Ru(t))=="Object"&&Nr(t.callee)?"Arguments":r},Wde=It.String,Ts=function(e){if(P_(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Wde(e)},B5=`
|
|
|
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,zF=Pn("".replace),L_="["+B5+"]",zde=RegExp("^"+L_+L_+"*"),Vde=RegExp(L_+L_+"*$"),U5=function(e){return function(t){var n=Ts(S0(t));return 1&e&&(n=zF(n,zde,"")),2&e&&(n=zF(n,Vde,"")),n}},Gde={start:U5(1),end:U5(2),trim:U5(3)},Yde=fp.PROPER,Kde=Gde.trim;function VF(e){return e.length?e[0].tagName.toLowerCase():""}function GF(e,t,n){t===void 0&&(t="auto"),n===void 0&&(n="auto");var r=ve(e);return r.attr("width",t),r.attr("height",n),r[0].outerHTML}Sa({target:"String",proto:!0,forced:Yr(function(){return!!B5.trim()||"\u200B\x85\u180E".trim()!=="\u200B\x85\u180E"||Yde&&B5.trim.name!=="trim"})},{trim:function(){return Kde(this)}}),Sa({global:!0},{globalThis:It}),fs&&(ve.fn.append=fs),mu&&(ve.fn.on=mu),Fl&&(ve.fn.focus=Fl),cs&&(ve.fn.attr=cs),gu&&(ve.fn.val=gu),kl&&(ve.fn.html=kl),th&&(ve.fn.parent=th),qd&&(ve.fn.hasClass=qd),oh&&(ve.fn.empty=oh);var j_,Xde={type:"video",renderElem:function(e,t,n){var r,i=e,o=i.src,a=o===void 0?"":o,s=i.poster,u=s===void 0?"":s,l=i.width,c=l===void 0?"auto":l,d=i.height,p=d===void 0?"auto":d,h=ae.isNodeSelected(n,e);if(a.trim().indexOf("<iframe ")===0)r=An("div",{className:"w-e-textarea-video-container","data-selected":h?"true":"",innerHTML:GF(a,c,p)});else{var _=An("video",{poster:u,controls:!0},An("source",{src:a,type:"video/mp4"}),`Sorry, your browser doesn't support embedded videos.
|
|
|
\u62B1\u6B49\uFF0C\u6D4F\u89C8\u5668\u4E0D\u652F\u6301 video \u89C6\u9891`);c!=="auto"&&(_.data.width=c),p!=="auto"&&(_.data.height=p),r=An("div",{className:"w-e-textarea-video-container","data-selected":h?"true":""},_)}return ah("div",{props:{contentEditable:!1},on:{mousedown:function(m){return m.preventDefault()}}},r)}},Jde={type:"video",elemToHtml:function(e,t){var n=e,r=n.src,i=r===void 0?"":r,o=n.poster,a=o===void 0?"":o,s=n.width,u=s===void 0?"auto":s,l=n.height,c=l===void 0?"auto":l,d=`<div data-w-e-type="video" data-w-e-is-void>
|
|
|
`;return i.trim().indexOf("<iframe ")===0?d+=GF(i,u,c):d+='<video poster="'+a+'" controls="true" width="'+u+'" height="'+c+'"><source src="'+i+'" type="video/mp4"/></video>',d+`
|
|
|
</div>`}},Qde=Object.keys||function(e){return HF(e,R_)},Zde=Du?Object.defineProperties:function(e,t){Co(e);for(var n,r=Dc(t),i=Qde(t),o=i.length,a=0;o>a;)fl.f(e,n=i[a++],r[n]);return e},H5=ad("document","documentElement"),YF=j5("IE_PROTO"),W5=function(){},KF=function(e){return"<script>"+e+"</script>"},XF=function(e){e.write(KF("")),e.close();var t=e.parentWindow.Object;return e=null,t},M_=function(){try{j_=new ActiveXObject("htmlfile")}catch(r){}var e,t;M_=typeof document!="undefined"?document.domain&&j_?XF(j_):((t=I0("iframe")).style.display="none",H5.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(KF("document.F=Object")),e.close(),e.F):XF(j_);for(var n=R_.length;n--;)delete M_.prototype[R_[n]];return M_()};T_[YF]=!0;var z5=Object.create||function(e,t){var n;return e!==null?(W5.prototype=Co(e),n=new W5,W5.prototype=null,n[YF]=e):n=M_(),t===void 0?n:Zde(n,t)},V5=Xi("unscopables"),G5=Array.prototype;G5[V5]==null&&fl.f(G5,V5,{configurable:!0,value:z5(null)});var k0=function(e){G5[V5][e]=!0},qde=BF.includes;Sa({target:"Array",proto:!0},{includes:function(e){return qde(this,e,arguments.length>1?arguments[1]:void 0)}}),k0("includes");var $de={selector:"iframe,video,p",preParseHtml:function(e){var t=ve(e),n=t;if(VF(t)==="p"){var r=t.children();if(r.length===1){var i=r[0],o=i.tagName.toLowerCase();["iframe","video"].includes(o)&&(n=ve(i))}}var a=VF(n);if(a!=="iframe"&&a!=="video")return n[0];if(n.parent().attr("data-w-e-type")==="video")return n[0];var s=ve('<div data-w-e-type="video" data-w-e-is-void></div>');return s.append(n),s[0]}},JF=Pn(Pn.bind),F0=function(e,t){return Rc(e),t===void 0?e:JF?JF(e,t):function(){return e.apply(t,arguments)}},k_=Array.isArray||function(e){return Ru(e)=="Array"},QF=function(){},ehe=[],ZF=ad("Reflect","construct"),Y5=/^\s*(?:class|function)\b/,the=Pn(Y5.exec),nhe=!Y5.exec(QF),B0=function(e){if(!Nr(e))return!1;try{return ZF(QF,ehe,e),!0}catch(t){return!1}},K5=!ZF||Yr(function(){var e;return B0(B0.call)||!B0(Object)||!B0(function(){e=!0})||e})?function(e){if(!Nr(e))return!1;switch(P_(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return nhe||!!the(Y5,S_(e))}:B0,rhe=Xi("species"),qF=It.Array,ihe=function(e,t){return new(function(n){var r;return k_(n)&&(r=n.constructor,(K5(r)&&(r===qF||k_(r.prototype))||Qr(r)&&(r=r[rhe])===null)&&(r=void 0)),r===void 0?qF:r}(e))(t===0?0:t)},$F=Pn([].push),Pc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,_=O_(u),m=x5(_),v=F0(l,c),y=j0(m),g=0,S=d||ihe,R=t?S(u,y):n||a?S(u,0):void 0;y>g;g++)if((s||g in m)&&(h=v(p=m[g],g,_),e))if(t)R[g]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:$F(R,p)}else switch(e){case 4:return!1;case 7:$F(R,p)}return o?-1:r||i?i:R}},X5={forEach:Pc(0),map:Pc(1),filter:Pc(2),some:Pc(3),every:Pc(4),find:Pc(5),findIndex:Pc(6),filterReject:Pc(7)},ohe=X5.find,eB=!0;"find"in[]&&Array(1).find(function(){eB=!1}),Sa({target:"Array",proto:!0,forced:eB},{find:function(e){return ohe(this,e,arguments.length>1?arguments[1]:void 0)}}),k0("find");var ahe=F5?{}.toString:function(){return"[object "+P_(this)+"]"};function tB(e,t,n,r){return t===void 0&&(t=""),n===void 0&&(n="auto"),r===void 0&&(r="auto"),{type:"video",src:e,poster:t,width:n,height:r,children:[{text:""}]}}F5||Xa(Object.prototype,"toString",ahe,{unsafe:!0});var nB,J5,she={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,n){var r=ve(e),i="",o="",a="auto",s="auto",u=r.find("iframe");if(u.length>0)return a=u.attr("width")||"auto",s=u.attr("height")||"auto",tB(i=u[0].outerHTML,o,a,s);var l=r.find("video");return(i=l.attr("src")||"")||l.length>0&&(i=l.find("source").attr("src")||""),a=l.attr("width")||"auto",s=l.attr("height")||"auto",tB(i,o=l.attr("poster")||"",a,s)}},rB=function(){var e=Co(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Q5=It.RegExp,Z5=Yr(function(){var e=Q5("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),uhe=Z5||Yr(function(){return!Q5("a","y").sticky}),lhe={BROKEN_CARET:Z5||Yr(function(){var e=Q5("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:uhe,UNSUPPORTED_Y:Z5},che=It.RegExp,fhe=Yr(function(){var e=che(".","s");return!(e.dotAll&&e.exec(`
|
|
|
`)&&e.flags==="s")}),dhe=It.RegExp,hhe=Yr(function(){var e=dhe("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),phe=Ka.get,ghe=R5("native-string-replace",String.prototype.replace),F_=RegExp.prototype.exec,q5=F_,mhe=Pn("".charAt),vhe=Pn("".indexOf),yhe=Pn("".replace),$5=Pn("".slice),eT=(J5=/b*/g,Ur(F_,nB=/a/,"a"),Ur(F_,J5,"a"),nB.lastIndex!==0||J5.lastIndex!==0),iB=lhe.BROKEN_CARET,tT=/()??/.exec("")[1]!==void 0;(eT||tT||iB||fhe||hhe)&&(q5=function(e){var t,n,r,i,o,a,s,u=this,l=phe(u),c=Ts(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=Ur(q5,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=iB&&u.sticky,_=Ur(rB,u),m=u.source,v=0,y=c;if(h&&(_=yhe(_,"y",""),vhe(_,"g")===-1&&(_+="g"),y=$5(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&mhe(c,u.lastIndex-1)!==`
|
|
|
`)&&(m="(?: "+m+")",y=" "+y,v++),n=new RegExp("^(?:"+m+")",_)),tT&&(n=new RegExp("^"+m+"$(?!\\s)",_)),eT&&(r=u.lastIndex),i=Ur(F_,h?n:u,y),h?i?(i.input=$5(i.input,v),i[0]=$5(i[0],v),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:eT&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),tT&&i&&i.length>1&&Ur(ghe,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=z5(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var B_=q5;Sa({target:"RegExp",proto:!0,forced:/./.exec!==B_},{exec:B_});var nT=Function.prototype,oB=nT.apply,bhe=nT.bind,aB=nT.call,sB=typeof Reflect=="object"&&Reflect.apply||(bhe?aB.bind(oB):function(){return aB.apply(oB,arguments)}),uB=(Xi("species"),RegExp.prototype),_he=Pn("".charAt),lB=Pn("".charCodeAt),Ehe=Pn("".slice),cB=function(e){return function(t,n){var r,i,o=Ts(S0(t)),a=D_(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=lB(o,a))<55296||r>56319||a+1===s||(i=lB(o,a+1))<56320||i>57343?e?_he(o,a):r:e?Ehe(o,a,a+2):i-56320+(r-55296<<10)+65536}},fB={codeAt:cB(!1),charAt:cB(!0)},whe=fB.charAt,Ahe=function(e,t,n){return t+(n?whe(e,t).length:1)},Ohe=Math.floor,rT=Pn("".charAt),xhe=Pn("".replace),iT=Pn("".slice),Che=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,She=/\$([$&'`]|\d{1,2})/g,The=function(e,t,n,r,i,o){var a=n+e.length,s=r.length,u=She;return i!==void 0&&(i=O_(i),u=Che),xhe(o,u,function(l,c){var d;switch(rT(c,0)){case"$":return"$";case"&":return e;case"`":return iT(t,0,n);case"'":return iT(t,a);case"<":d=i[iT(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>s){var h=Ohe(p/10);return h===0?l:h<=s?r[h-1]===void 0?rT(c,1):r[h-1]+rT(c,1):l}d=r[p-1]}return d===void 0?"":d})},Dhe=It.TypeError,Rhe=function(e,t){var n=e.exec;if(Nr(n)){var r=Ur(n,e,t);return r!==null&&Co(r),r}if(Ru(e)==="RegExp")return Ur(B_,e,t);throw Dhe("RegExp#exec called on incompatible receiver")},oT=Xi("replace"),Nhe=Math.max,Ihe=Math.min,Phe=Pn([].concat),aT=Pn([].push),dB=Pn("".indexOf),hB=Pn("".slice),Lhe="a".replace(/./,"$0")==="$0",pB=!!/./[oT]&&/./[oT]("a","$0")==="";function gB(e){return e===void 0&&(e="r"),e+"-"+a8()}!function(e,t,n,r){var i=Xi(e),o=!Yr(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!Yr(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=Pn(/./[i]),u=function(l,c,d){var p=pB?"$":"$0";return[function(h,_){var m=S0(this),v=h==null?void 0:R0(h,oT);return v?Ur(v,h,m,_):Ur(c,Ts(m),h,_)},function(h,_){var m=Co(this),v=Ts(h);if(typeof _=="string"&&dB(_,p)===-1&&dB(_,"$<")===-1){var y=d(c,m,v,_);if(y.done)return y.value}var g=Nr(_);g||(_=Ts(_));var S=m.global;if(S){var R=m.unicode;m.lastIndex=0}for(var U=[];;){var Q=Rhe(m,v);if(Q===null)break;if(aT(U,Q),!S)break;Ts(Q[0])===""&&(m.lastIndex=Ahe(v,kF(m.lastIndex),R))}for(var X,le="",xe=0,Qe=0;Qe<U.length;Qe++){for(var it=Ts((Q=U[Qe])[0]),Ze=Nhe(Ihe(D_(Q.index),v.length),0),vt=[],lt=1;lt<Q.length;lt++)aT(vt,(X=Q[lt])===void 0?X:String(X));var ct=Q.groups;if(g){var dt=Phe([it],vt,Ze,v);ct!==void 0&&aT(dt,ct);var Pt=Ts(sB(_,void 0,dt))}else Pt=The(it,v,Ze,vt,ct,_);Ze>=xe&&(le+=hB(v,xe,Ze)+Pt,xe=Ze+it.length)}return le+hB(v,xe)}]}(0,""[e],function(l,c,d,p,h){var _=Pn(l),m=c.exec;return m===B_||m===uB.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:_(d,c,p)}:{done:!1}});Xa(String.prototype,e,u[0]),Xa(uB,i,u[1])}}("replace",0,!!Yr(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"})||!Lhe||pB);var U_=It.Promise,H_=function(e,t,n){for(var r in t)Xa(e,r,t[r],n);return e},jhe=It.String,Mhe=It.TypeError,dp=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Pn(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return Co(r),function(o){if(typeof o=="object"||Nr(o))return o;throw Mhe("Can't set "+jhe(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),khe=fl.f,mB=Xi("toStringTag"),W_=function(e,t,n){e&&!lo(e=n?e:e.prototype,mB)&&khe(e,mB,{configurable:!0,value:t})},vB=Xi("species"),Fhe=It.TypeError,sT=function(e,t){if(T0(t,e))return e;throw Fhe("Incorrect invocation")},hp={},Bhe=Xi("iterator"),Uhe=Array.prototype,Hhe=Xi("iterator"),yB=function(e){if(e!=null)return R0(e,Hhe)||R0(e,"@@iterator")||hp[P_(e)]},Whe=It.TypeError,bB=function(e,t,n){var r,i;Co(e);try{if(!(r=R0(e,"return"))){if(t==="throw")throw n;return n}r=Ur(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return Co(r),n},zhe=It.TypeError,z_=function(e,t){this.stopped=e,this.result=t},_B=z_.prototype,V_=function(e,t,n){var r,i,o,a,s,u,l,c,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),m=F0(t,d),v=function(g){return r&&bB(r,"normal",g),new z_(!0,g)},y=function(g){return p?(Co(g),_?m(g[0],g[1],v):m(g[0],g[1])):_?m(g,v):m(g)};if(h)r=e;else{if(!(i=yB(e)))throw zhe(A_(e)+" is not iterable");if((c=i)!==void 0&&(hp.Array===c||Uhe[Bhe]===c)){for(o=0,a=j0(e);a>o;o++)if((s=y(e[o]))&&T0(_B,s))return s;return new z_(!1)}r=function(g,S){var R=arguments.length<2?yB(g):S;if(Rc(R))return Co(Ur(R,g));throw Whe(A_(g)+" is not iterable")}(e,i)}for(u=r.next;!(l=Ur(u,r)).done;){try{s=y(l.value)}catch(g){bB(r,"throw",g)}if(typeof s=="object"&&s&&T0(_B,s))return s}return new z_(!1)},EB=Xi("iterator"),wB=!1;try{var Vhe=0,AB={next:function(){return{done:!!Vhe++}},return:function(){wB=!0}};AB[EB]=function(){return this},Array.from(AB,function(){throw 2})}catch(e){}var U0,pp,OB,uT,xB=function(e,t){if(!t&&!wB)return!1;var n=!1;try{var r={};r[EB]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(i){}return n},Ghe=It.TypeError,Yhe=Xi("species"),CB=Pn([].slice),SB=/(?:ipad|iphone|ipod).*applewebkit/i.test(lp),Lc=Ru(It.process)=="process",lT=It.setImmediate,cT=It.clearImmediate,Khe=It.process,fT=It.Dispatch,Xhe=It.Function,TB=It.MessageChannel,Jhe=It.String,dT=0,H0={};try{U0=It.location}catch(e){}var hT=function(e){if(lo(H0,e)){var t=H0[e];delete H0[e],t()}},pT=function(e){return function(){hT(e)}},DB=function(e){hT(e.data)},RB=function(e){It.postMessage(Jhe(e),U0.protocol+"//"+U0.host)};lT&&cT||(lT=function(e){var t=CB(arguments,1);return H0[++dT]=function(){sB(Nr(e)?e:Xhe(e),void 0,t)},pp(dT),dT},cT=function(e){delete H0[e]},Lc?pp=function(e){Khe.nextTick(pT(e))}:fT&&fT.now?pp=function(e){fT.now(pT(e))}:TB&&!SB?(uT=(OB=new TB).port2,OB.port1.onmessage=DB,pp=F0(uT.postMessage,uT)):It.addEventListener&&Nr(It.postMessage)&&!It.importScripts&&U0&&U0.protocol!=="file:"&&!Yr(RB)?(pp=RB,It.addEventListener("message",DB,!1)):pp="onreadystatechange"in I0("script")?function(e){H5.appendChild(I0("script")).onreadystatechange=function(){H5.removeChild(this),hT(e)}}:function(e){setTimeout(pT(e),0)});var W0,ld,z0,gp,gT,mT,vT,NB,IB={set:lT,clear:cT},Qhe=/ipad|iphone|ipod/i.test(lp)&&It.Pebble!==void 0,Zhe=/web0s(?!.*chrome)/i.test(lp),qhe=L5.f,yT=IB.set,PB=It.MutationObserver||It.WebKitMutationObserver,LB=It.document,jB=It.process,G_=It.Promise,MB=qhe(It,"queueMicrotask"),kB=MB&&MB.value;kB||(W0=function(){var e,t;for(Lc&&(e=jB.domain)&&e.exit();ld;){t=ld.fn,ld=ld.next;try{t()}catch(n){throw ld?gp():z0=void 0,n}}z0=void 0,e&&e.enter()},SB||Lc||Zhe||!PB||!LB?!Qhe&&G_&&G_.resolve?((vT=G_.resolve(void 0)).constructor=G_,NB=F0(vT.then,vT),gp=function(){NB(W0)}):Lc?gp=function(){jB.nextTick(W0)}:(yT=F0(yT,It),gp=function(){yT(W0)}):(gT=!0,mT=LB.createTextNode(""),new PB(W0).observe(mT,{characterData:!0}),gp=function(){mT.data=gT=!gT}));var bT,FB,BB,UB,HB=kB||function(e){var t={fn:e,next:void 0};z0&&(z0.next=t),ld||(ld=t,gp()),z0=t},$he=function(e){var t,n;this.promise=new e(function(r,i){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=i}),this.resolve=Rc(t),this.reject=Rc(n)},_T={f:function(e){return new $he(e)}},ET=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},epe=typeof window=="object",WB=IB.set,tpe=Xi("species"),dl="Promise",zB=Ka.getterFor(dl),npe=Ka.set,rpe=Ka.getterFor(dl),cd=U_&&U_.prototype,Nu=U_,V0=cd,VB=It.TypeError,wT=It.document,AT=It.process,mp=_T.f,ipe=mp,ope=!!(wT&&wT.createEvent&&It.dispatchEvent),GB=Nr(It.PromiseRejectionEvent),YB=!1,G0=I_(dl,function(){var e=S_(Nu),t=e!==String(Nu);if(!t&&D0===66)return!0;if(D0>=51&&/native code/.test(e))return!1;var n=new Nu(function(i){i(1)}),r=function(i){i(function(){},function(){})};return(n.constructor={})[tpe]=r,!(YB=n.then(function(){})instanceof r)||!t&&epe&&!GB}),ape=G0||!xB(function(e){Nu.all(e).catch(function(){})}),KB=function(e){var t;return!(!Qr(e)||!Nr(t=e.then))&&t},OT=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;HB(function(){for(var r=e.value,i=e.state==1,o=0;n.length>o;){var a,s,u,l=n[o++],c=i?l.ok:l.fail,d=l.resolve,p=l.reject,h=l.domain;try{c?(i||(e.rejection===2&&upe(e),e.rejection=1),c===!0?a=r:(h&&h.enter(),a=c(r),h&&(h.exit(),u=!0)),a===l.promise?p(VB("Promise-chain cycle")):(s=KB(a))?Ur(s,a,d,p):d(a)):p(r)}catch(_){h&&!u&&h.exit(),p(_)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&spe(e)})}},XB=function(e,t,n){var r,i;ope?((r=wT.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),It.dispatchEvent(r)):r={promise:t,reason:n},!GB&&(i=It["on"+e])?i(r):e==="unhandledrejection"&&function(o,a){var s=It.console;s&&s.error&&(arguments.length==1?s.error(o):s.error(o,a))}("Unhandled promise rejection",n)},spe=function(e){Ur(WB,It,function(){var t,n=e.facade,r=e.value;if(JB(e)&&(t=ET(function(){Lc?AT.emit("unhandledRejection",r,n):XB("unhandledrejection",n,r)}),e.rejection=Lc||JB(e)?2:1,t.error))throw t.value})},JB=function(e){return e.rejection!==1&&!e.parent},upe=function(e){Ur(WB,It,function(){var t=e.facade;Lc?AT.emit("rejectionHandled",t):XB("rejectionhandled",t,e.value)})},vp=function(e,t,n){return function(r){e(t,r,n)}},yp=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,OT(e,!0))},xT=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw VB("Promise can't be resolved itself");var r=KB(t);r?HB(function(){var i={done:!1};try{Ur(r,t,vp(xT,i,e),vp(yp,i,e))}catch(o){yp(i,o,e)}}):(e.value=t,e.state=1,OT(e,!1))}catch(i){yp({done:!1},i,e)}}};if(G0&&(V0=(Nu=function(e){sT(this,V0),Rc(e),Ur(bT,this);var t=zB(this);try{e(vp(xT,t),vp(yp,t))}catch(n){yp(t,n)}}).prototype,(bT=function(e){npe(this,{type:dl,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=H_(V0,{then:function(e,t){var n=rpe(this),r=n.reactions,i=mp(function(o,a){var s,u=Co(o).constructor;return u===void 0||(s=Co(u)[Yhe])==null?a:function(l){if(K5(l))return l;throw Ghe(A_(l)+" is not a constructor")}(s)}(this,Nu));return i.ok=!Nr(e)||e,i.fail=Nr(t)&&t,i.domain=Lc?AT.domain:void 0,n.parent=!0,r[r.length]=i,n.state!=0&&OT(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),FB=function(){var e=new bT,t=zB(e);this.promise=e,this.resolve=vp(xT,t),this.reject=vp(yp,t)},_T.f=mp=function(e){return e===Nu||e===BB?new FB(e):ipe(e)},Nr(U_)&&cd!==Object.prototype)){UB=cd.then,YB||(Xa(cd,"then",function(e,t){var n=this;return new Nu(function(r,i){Ur(UB,n,r,i)}).then(e,t)},{unsafe:!0}),Xa(cd,"catch",V0.catch,{unsafe:!0}));try{delete cd.constructor}catch(e){}dp&&dp(cd,V0)}function Y0(e,t,n){return n===void 0&&(n=""),y_(this,void 0,void 0,function(){var r,i,o,a,s,u,l;return b_(this,function(c){switch(c.label){case 0:return t?(e.restoreSelection(),r=e.getMenuConfig("insertVideo"),i=r.onInsertedVideo,o=r.checkVideo,a=r.parseVideoSrc,[4,o(t,n)]):[2];case 1:return typeof(s=c.sent())=="string"?(e.alert(s,"error"),[2]):s==null?[2]:[4,a(t)];case 2:return(u=c.sent()).trim().indexOf("<iframe ")!==0&&(u=u.replace(/</g,"<").replace(/>/g,">")),l={type:"video",src:u,poster:n,children:[{text:""}]},Promise.resolve().then(function(){Me.insertNodes(e,l)}),i(l),[2]}})})}function CT(){return gB("w-e-insert-video")}Sa({global:!0,wrap:!0,forced:G0},{Promise:Nu}),W_(Nu,dl,!1),function(e){var t=ad("Promise"),n=fl.f;Du&&t&&!t[vB]&&n(t,vB,{configurable:!0,get:function(){return this}})}(),BB=ad(dl),Sa({target:dl,stat:!0,forced:G0},{reject:function(e){var t=mp(this);return Ur(t.reject,void 0,e),t.promise}}),Sa({target:dl,stat:!0,forced:G0},{resolve:function(e){return function(t,n){if(Co(t),Qr(n)&&n.constructor===t)return n;var r=_T.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),Sa({target:dl,stat:!0,forced:ape},{all:function(e){var t=this,n=mp(t),r=n.resolve,i=n.reject,o=ET(function(){var a=Rc(t.resolve),s=[],u=0,l=1;V_(e,function(c){var d=u++,p=!1;l++,Ur(a,t,c).then(function(h){p||(p=!0,s[d]=h,--l||r(s))},i)}),--l||r(s)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=mp(t),r=n.reject,i=ET(function(){var o=Rc(t.resolve);V_(e,function(a){Ur(o,t,a).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}});var lpe=function(){function e(){this.title=Dt("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=CT(),this.posterInputId=CT(),this.buttonId=CT()}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!Je.isCollapsed(n)||!!ae.getSelectedElems(t).some(function(r){var i=ae.getNodeType(r);return i==="pre"||i==="list-item"||!!t.isVoid(r)})},e.prototype.getModalPositionNode=function(t){return null},e.prototype.getModalContentElem=function(t){var n=this,r=this,i=r.srcInputId,o=r.posterInputId,a=r.buttonId,s=od(Ha(Dt("videoModule.videoSrc"),i,Dt("videoModule.videoSrcPlaceHolder")),2),u=s[0],l=s[1],c=od(Ha(Dt("videoModule.videoPoster"),o,Dt("videoModule.videoPosterPlaceHolder")),2),d=c[0],p=c[1],h=ve(l),_=ve(p),m=od(Ph(a,Dt("videoModule.ok")),1)[0];if(this.$content==null){var v=ve("<div></div>");v.on("click","#"+a,function(g){return y_(n,void 0,void 0,function(){var S,R;return b_(this,function(U){switch(U.label){case 0:return g.preventDefault(),S=v.find("#"+i).val().trim(),R=v.find("#"+o).val().trim(),[4,Y0(t,S,R)];case 1:return U.sent(),t.hidePanelOrModal(),[2]}})})}),this.$content=v}var y=this.$content;return y.empty(),y.append(u),y.append(d),y.append(m),h.val(""),_.val(""),setTimeout(function(){h.focus()}),y[0]},e}(),cpe=Pn([].join),fpe=x5!=Object,dpe=function(e,t){var n=[].join;return!!n&&Yr(function(){n.call(null,",",1)})}();Sa({target:"Array",proto:!0,forced:fpe||!dpe},{join:function(e){return cpe(Dc(this),e===void 0?",":e)}});var fd,QB,ZB,hpe=!Yr(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),qB=j5("IE_PROTO"),ST=It.Object,ppe=ST.prototype,Y_=hpe?ST.getPrototypeOf:function(e){var t=O_(e);if(lo(t,qB))return t[qB];var n=t.constructor;return Nr(n)&&t instanceof n?n.prototype:t instanceof ST?ppe:null},TT=Xi("iterator"),$B=!1;[].keys&&("next"in(ZB=[].keys())?(QB=Y_(Y_(ZB)))!==Object.prototype&&(fd=QB):$B=!0);var gpe=fd==null||Yr(function(){var e={};return fd[TT].call(e)!==e});gpe&&(fd={}),Nr(fd[TT])||Xa(fd,TT,function(){return this});var DT={IteratorPrototype:fd,BUGGY_SAFARI_ITERATORS:$B},mpe=DT.IteratorPrototype,vpe=function(){return this},ype=fp.PROPER,bpe=fp.CONFIGURABLE,eU=DT.IteratorPrototype,K_=DT.BUGGY_SAFARI_ITERATORS,K0=Xi("iterator"),_pe=function(){return this},tU=function(e,t,n,r,i,o,a){!function(y,g,S,R){var U=g+" Iterator";y.prototype=z5(mpe,{next:w_(1,S)}),W_(y,U,!1),hp[U]=vpe}(n,t,r);var s,u,l,c=function(y){if(y===i&&m)return m;if(!K_&&y in h)return h[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,_=h[K0]||h["@@iterator"]||i&&h[i],m=!K_&&_||c(i),v=t=="Array"&&h.entries||_;if(v&&(s=Y_(v.call(new e)))!==Object.prototype&&s.next&&(Y_(s)!==eU&&(dp?dp(s,eU):Nr(s[K0])||Xa(s,K0,_pe)),W_(s,d,!0)),ype&&i=="values"&&_&&_.name!=="values"&&(bpe?Ic(h,"name","values"):(p=!0,m=function(){return Ur(_,this)})),i)if(u={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(l in u)(K_||p||!(l in h))&&Xa(h,l,u[l]);else Sa({target:t,proto:!0,forced:K_||p},u);return h[K0]!==m&&Xa(h,K0,m,{name:i}),hp[t]=m,u},Epe=Ka.set,wpe=Ka.getterFor("Array Iterator"),X0=tU(Array,"Array",function(e,t){Epe(this,{type:"Array Iterator",target:Dc(e),index:0,kind:t})},function(){var e=wpe(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");hp.Arguments=hp.Array,k0("keys"),k0("values"),k0("entries");var Ape=fB.charAt,Ope=Ka.set,xpe=Ka.getterFor("String Iterator");tU(String,"String",function(e){Ope(this,{type:"String Iterator",string:Ts(e),index:0})},function(){var e,t=xpe(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Ape(n,r),t.index+=e.length,{value:e,done:!1})});var nU=function(e,t,n){var r=I5(t);r in e?fl.f(e,r,w_(0,n)):e[r]=n},Cpe=It.Array,Spe=Math.max,rU=N_.f,iU=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Tpe={f:function(e){return iU&&Ru(e)=="Window"?function(t){try{return rU(t)}catch(n){return function(r,i,o){for(var a=j0(r),s=L0(void 0,a),u=L0(a,a),l=Cpe(Spe(u-s,0)),c=0;s<u;s++,c++)nU(l,c,r[s]);return l.length=c,l}(iU)}}(e):rU(Dc(e))}},oU=Yr(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),X_=Object.isExtensible,dd=Yr(function(){X_(1)})||oU?function(e){return!!Qr(e)&&(!oU||Ru(e)!="ArrayBuffer")&&(!X_||X_(e))}:X_,Dpe=!Yr(function(){return Object.isExtensible(Object.preventExtensions({}))}),RT=E5(function(e){var t=fl.f,n=!1,r=N5("meta"),i=0,o=function(s){t(s,r,{value:{objectID:"O"+i++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=N_.f,u=Pn([].splice),l={};l[r]=1,s(l).length&&(N_.f=function(c){for(var d=s(c),p=0,h=d.length;p<h;p++)if(d[p]===r){u(d,p,1);break}return d},Sa({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Tpe.f}))},fastKey:function(s,u){if(!Qr(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!lo(s,r)){if(!dd(s))return"F";if(!u)return"E";o(s)}return s[r].objectID},getWeakData:function(s,u){if(!lo(s,r)){if(!dd(s))return!0;if(!u)return!1;o(s)}return s[r].weakData},onFreeze:function(s){return Dpe&&n&&dd(s)&&!lo(s,r)&&o(s),s}};T_[r]=!0}),J_=RT.getWeakData,Rpe=Ka.set,Npe=Ka.getterFor,Ipe=X5.find,Ppe=X5.findIndex,Lpe=Pn([].splice),jpe=0,Q_=function(e){return e.frozen||(e.frozen=new aU)},aU=function(){this.entries=[]},NT=function(e,t){return Ipe(e.entries,function(n){return n[0]===t})};aU.prototype={get:function(e){var t=NT(this,e);if(t)return t[1]},has:function(e){return!!NT(this,e)},set:function(e,t){var n=NT(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=Ppe(this.entries,function(n){return n[0]===e});return~t&&Lpe(this.entries,t,1),!!~t}};var J0,sU={getConstructor:function(e,t,n,r){var i=e(function(u,l){sT(u,o),Rpe(u,{type:t,id:jpe++,frozen:void 0}),l!=null&&V_(l,u[r],{that:u,AS_ENTRIES:n})}),o=i.prototype,a=Npe(t),s=function(u,l,c){var d=a(u),p=J_(Co(l),!0);return p===!0?Q_(d).set(l,c):p[d.id]=c,u};return H_(o,{delete:function(u){var l=a(this);if(!Qr(u))return!1;var c=J_(u);return c===!0?Q_(l).delete(u):c&&lo(c,l.id)&&delete c[l.id]},has:function(u){var l=a(this);if(!Qr(u))return!1;var c=J_(u);return c===!0?Q_(l).has(u):c&&lo(c,l.id)}}),H_(o,n?{get:function(u){var l=a(this);if(Qr(u)){var c=J_(u);return c===!0?Q_(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),i}},Z_=Ka.enforce,Mpe=!It.ActiveXObject&&"ActiveXObject"in It,uU=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},kpe=function(e,t,n){var r=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=r?"set":"add",a=It[e],s=a&&a.prototype,u=a,l={},c=function(v){var y=Pn(s[v]);Xa(s,v,v=="add"?function(g){return y(this,g===0?0:g),this}:v=="delete"?function(g){return!(i&&!Qr(g))&&y(this,g===0?0:g)}:v=="get"?function(g){return i&&!Qr(g)?void 0:y(this,g===0?0:g)}:v=="has"?function(g){return!(i&&!Qr(g))&&y(this,g===0?0:g)}:function(g,S){return y(this,g===0?0:g,S),this})};if(I_(e,!Nr(a)||!(i||s.forEach&&!Yr(function(){new a().entries().next()}))))u=n.getConstructor(t,e,r,o),RT.enable();else if(I_(e,!0)){var d=new u,p=d[o](i?{}:-0,1)!=d,h=Yr(function(){d.has(1)}),_=xB(function(v){new a(v)}),m=!i&&Yr(function(){for(var v=new a,y=5;y--;)v[o](y,y);return!v.has(-0)});_||((u=t(function(v,y){sT(v,s);var g=function(S,R,U){var Q,X;return dp&&Nr(Q=R.constructor)&&Q!==U&&Qr(X=Q.prototype)&&X!==U.prototype&&dp(S,X),S}(new a,v,u);return y!=null&&V_(y,g[o],{that:g,AS_ENTRIES:r}),g})).prototype=s,s.constructor=u),(h||m)&&(c("delete"),c("has"),r&&c("get")),(m||p)&&c(o),i&&s.clear&&delete s.clear}return l[e]=u,Sa({global:!0,forced:u!=a},l),W_(u,e),i||n.setStrong(u,e,r),u}("WeakMap",uU,sU);if(PF&&Mpe){J0=sU.getConstructor(uU,"WeakMap",!0),RT.enable();var Q0=kpe.prototype,lU=Pn(Q0.delete),q_=Pn(Q0.has),cU=Pn(Q0.get),fU=Pn(Q0.set);H_(Q0,{delete:function(e){if(Qr(e)&&!dd(e)){var t=Z_(this);return t.frozen||(t.frozen=new J0),lU(this,e)||t.frozen.delete(e)}return lU(this,e)},has:function(e){if(Qr(e)&&!dd(e)){var t=Z_(this);return t.frozen||(t.frozen=new J0),q_(this,e)||t.frozen.has(e)}return q_(this,e)},get:function(e){if(Qr(e)&&!dd(e)){var t=Z_(this);return t.frozen||(t.frozen=new J0),q_(this,e)?cU(this,e):t.frozen.get(e)}return cU(this,e)},set:function(e,t){if(Qr(e)&&!dd(e)){var n=Z_(this);n.frozen||(n.frozen=new J0),q_(this,e)?fU(this,e,t):n.frozen.set(e,t)}else fU(this,e,t);return this}})}var dU={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},IT=I0("span").classList,hU=IT&&IT.constructor&&IT.constructor.prototype,Fpe=hU===Object.prototype?void 0:hU,PT=Xi("iterator"),pU=Xi("toStringTag"),LT=X0.values,gU=function(e,t){if(e){if(e[PT]!==LT)try{Ic(e,PT,LT)}catch(r){e[PT]=LT}if(e[pU]||Ic(e,pU,t),dU[t]){for(var n in X0)if(e[n]!==X0[n])try{Ic(e,n,X0[n])}catch(r){e[n]=X0[n]}}}};for(var jT in dU)gU(It[jT]&&It[jT].prototype,jT);gU(Fpe,"DOMTokenList");var Bpe=fp.EXISTS,Upe=fl.f,mU=Function.prototype,Hpe=Pn(mU.toString),vU=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Wpe=Pn(vU.exec);Du&&!Bpe&&Upe(mU,"name",{configurable:!0,get:function(){try{return Wpe(vU,Hpe(this))[1]}catch(e){return""}}});var zpe=Xi("species"),Vpe=D0>=51||!Yr(function(){var e=[];return(e.constructor={})[zpe]=function(){return{foo:1}},e.slice(Boolean).foo!==1}),Gpe=Xi("species"),MT=It.Array,Ype=Math.max;function yU(e){return e.getMenuConfig("uploadVideo")}Sa({target:"Array",proto:!0,forced:!Vpe},{slice:function(e,t){var n,r,i,o=Dc(this),a=j0(o),s=L0(e,a),u=L0(t===void 0?a:t,a);if(k_(o)&&(n=o.constructor,(K5(n)&&(n===MT||k_(n.prototype))||Qr(n)&&(n=n[Gpe])===null)&&(n=void 0),n===MT||n===void 0))return CB(o,s,u);for(r=new(n===void 0?MT:n)(Ype(u-s,0)),i=0;s<u;s++,i++)s in o&&nU(r,i,o[s]);return r.length=i,r}});var bU=new WeakMap;function Kpe(e,t){return y_(this,void 0,void 0,function(){var n,r,i,o;return b_(this,function(a){switch(a.label){case 0:return n=function(s){var u=bU.get(s);if(u!=null)return u;var l=yU(s),c=l.onSuccess,d=l.onProgress,p=l.onFailed,h=l.customInsert,_=l.onError;return u=_I(v_(v_({},l),{onProgress:function(m){s.showProgressBar(m),d&&d(m)},onSuccess:function(m,v){if(h)return h(v,function(le,xe){return Y0(s,le,xe)}),void c(m,v);var y=v.errno,g=y===void 0?1:y,S=v.data,R=S===void 0?{}:S;if(g===0){var U=R.url,Q=U===void 0?"":U,X=R.poster;Y0(s,Q,X===void 0?"":X),c(m,v)}else p(m,v)},onError:function(m,v,y){_(m,v,y)}})),bU.set(s,u),u}(e),r=t.name,i=t.type,o=t.size,n.addFile({name:r,type:i,size:o,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}var Xpe=function(){function e(){this.title=Dt("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),i=r.allowedFileTypes,o=i===void 0?[]:i,a=r.customBrowseAndUpload;if(a)a(function(c,d){return Y0(t,c,d)});else{var s="";o.length>0&&(s='accept="'+o.join(", ")+'"');var u=ve("body"),l=ve('<input type="file" '+s+" multiple/>");l.hide(),u.append(l),l.click(),l.on("change",function(){var c=l[0].files;!function(d,p){var h,_;y_(this,void 0,void 0,function(){var m,v,y,g,S,R;return b_(this,function(U){switch(U.label){case 0:if(p==null)return[2];m=Array.prototype.slice.call(p),v=yU(d).customUpload,U.label=1;case 1:U.trys.push([1,9,10,15]),y=Yfe(m),U.label=2;case 2:return[4,y.next()];case 3:return(g=U.sent()).done?[3,8]:(S=g.value,v?[4,v(S,function(Q,X){return Y0(d,Q,X)})]:[3,5]);case 4:return U.sent(),[3,7];case 5:return[4,Kpe(d,S)];case 6:U.sent(),U.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return R=U.sent(),h={error:R},[3,15];case 10:return U.trys.push([10,,13,14]),g&&!g.done&&(_=y.return)?[4,_.call(y)]:[3,12];case 11:U.sent(),U.label=12;case 12:return[3,14];case 13:if(h)throw h.error;return[7];case 14:return[7];case 15:return[2]}})})}(t,c)})}},e.prototype.isDisabled=function(t){var n=t.selection;return n==null||!Je.isCollapsed(n)||!!ae.getSelectedElems(t).some(function(r){var i=ae.getNodeType(r);return i==="pre"||i==="list-item"||!!t.isVoid(r)})},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},e}(),Jpe=fp.PROPER,kT=RegExp.prototype,_U=kT.toString,Qpe=Pn(rB),Zpe=Yr(function(){return _U.call({source:"a",flags:"b"})!="/a/b"}),qpe=Jpe&&_U.name!="toString";function FT(){return gB("w-e-insert-video")}(Zpe||qpe)&&Xa(RegExp.prototype,"toString",function(){var e=Co(this),t=Ts(e.source),n=e.flags;return"/"+t+"/"+Ts(n===void 0&&T0(kT,e)&&!("flags"in kT)?Qpe(e):n)},{unsafe:!0});var $pe=function(){function e(){this.title=Dt("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=FT(),this.heightInputId=FT(),this.buttonId=FT()}return e.prototype.getSelectedVideoNode=function(t){return ae.getSelectedNodeByType(t,"video")},e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.exec=function(t,n){},e.prototype.isDisabled=function(t){return t.selection==null||this.getSelectedVideoNode(t)==null},e.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},e.prototype.getModalContentElem=function(t){var n=this,r=n.widthInputId,i=n.heightInputId,o=n.buttonId,a=od(Ha(Dt("videoModule.width"),r,"auto"),2),s=a[0],u=ve(a[1]),l=od(Ha(Dt("videoModule.height"),i,"auto"),2),c=l[0],d=ve(l[1]),p=od(Ph(o,Dt("videoModule.ok")),1)[0];if(this.$content==null){var h=ve("<div></div>");h.on("click","#"+o,function(R){R.preventDefault();var U=h.find("#"+r).val().trim(),Q=h.find("#"+i).val().trim(),X=parseInt(U),le=parseInt(Q),xe=X?X.toString():"auto",Qe=le?le.toString():"auto";t.restoreSelection(),Me.setNodes(t,{width:xe,height:Qe},{match:function(it){return ae.checkNodeType(it,"video")}}),t.hidePanelOrModal()}),this.$content=h}var _=this.$content;_.empty(),_.append(s),_.append(c),_.append(p);var m=this.getSelectedVideoNode(t);if(m==null)return _[0];var v=m.width,y=v===void 0?"auto":v,g=m.height,S=g===void 0?"auto":g;return u.val(y),d.val(S),setTimeout(function(){u.focus()}),_[0]},e}(),ege={renderElems:[Xde],elemsToHtml:[Jde],preParseHtml:[$de],parseElemsHtml:[she],menus:[{key:"insertVideo",factory:function(){return new lpe},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new Xpe},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+" upload error",t,n)}}},{key:"editVideoSize",factory:function(){return new $pe}}],editorPlugin:function(e){var t=e.isVoid,n=e.normalizeNode,r=e;return r.isVoid=function(i){return i.type==="video"||t(i)},r.normalizeNode=function(i){var o=od(i,2),a=o[0],s=o[1];return ae.getNodeType(a)==="video"&&ae.isLastNode(r,a)&&Me.insertNodes(r,ae.genEmptyParagraph(),{at:[s[0]+1]}),n([a,s])},r}};Aa("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Aa("zh-CN",{uploadImgModule:{uploadImage:"\u4E0A\u4F20\u56FE\u7247",uploadError:"{{fileName}} \u4E0A\u4F20\u51FA\u9519"}});var EU=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof Oe!="undefined"?Oe:typeof self!="undefined"?self:{};function BT(e){var t={exports:{}};return e(t,t.exports),t.exports}var jc,$_,eE=function(e){return e&&e.Math==Math&&e},Nt=eE(typeof globalThis=="object"&&globalThis)||eE(typeof window=="object"&&window)||eE(typeof self=="object"&&self)||eE(typeof EU=="object"&&EU)||function(){return this}()||Function("return this")(),Zr=function(e){try{return!!e()}catch(t){return!0}},Iu=!Zr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Z0=Function.prototype.call,Cr=Z0.bind?Z0.bind(Z0):function(){return Z0.apply(Z0,arguments)},wU={}.propertyIsEnumerable,AU=Object.getOwnPropertyDescriptor,tge={f:AU&&!wU.call({1:2},1)?function(e){var t=AU(this,e);return!!t&&t.enumerable}:wU},tE=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},OU=Function.prototype,UT=OU.bind,HT=OU.call,nge=UT&&UT.bind(HT),Kn=UT?function(e){return e&&nge(HT,e)}:function(e){return e&&function(){return HT.apply(e,arguments)}},rge=Kn({}.toString),ige=Kn("".slice),Zs=function(e){return ige(rge(e),8,-1)},WT=Nt.Object,oge=Kn("".split),zT=Zr(function(){return!WT("z").propertyIsEnumerable(0)})?function(e){return Zs(e)=="String"?oge(e,""):WT(e)}:WT,age=Nt.TypeError,q0=function(e){if(e==null)throw age("Can't call method on "+e);return e},Mc=function(e){return zT(q0(e))},kr=function(e){return typeof e=="function"},Kr=function(e){return typeof e=="object"?e!==null:kr(e)},sge=function(e){return kr(e)?e:void 0},hd=function(e,t){return arguments.length<2?sge(Nt[e]):Nt[e]&&Nt[e][t]},$0=Kn({}.isPrototypeOf),bp=hd("navigator","userAgent")||"",xU=Nt.process,CU=Nt.Deno,SU=xU&&xU.versions||CU&&CU.version,TU=SU&&SU.v8;TU&&($_=(jc=TU.split("."))[0]>0&&jc[0]<4?1:+(jc[0]+jc[1])),!$_&&bp&&(!(jc=bp.match(/Edge\/(\d+)/))||jc[1]>=74)&&(jc=bp.match(/Chrome\/(\d+)/))&&($_=+jc[1]);var ev=$_,VT=!!Object.getOwnPropertySymbols&&!Zr(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ev&&ev<41}),GT=VT&&!Symbol.sham&&typeof Symbol.iterator=="symbol",uge=Nt.Object,YT=GT?function(e){return typeof e=="symbol"}:function(e){var t=hd("Symbol");return kr(t)&&$0(t.prototype,uge(e))},lge=Nt.String,nE=function(e){try{return lge(e)}catch(t){return"Object"}},cge=Nt.TypeError,kc=function(e){if(kr(e))return e;throw cge(nE(e)+" is not a function")},tv=function(e,t){var n=e[t];return n==null?void 0:kc(n)},fge=Nt.TypeError,dge=Object.defineProperty,KT=function(e,t){try{dge(Nt,e,{value:t,configurable:!0,writable:!0})}catch(n){Nt[e]=t}return t},Fc=Nt["__core-js_shared__"]||KT("__core-js_shared__",{}),XT=BT(function(e){(e.exports=function(t,n){return Fc[t]||(Fc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),hge=Nt.Object,JT=function(e){return hge(q0(e))},pge=Kn({}.hasOwnProperty),co=Object.hasOwn||function(e,t){return pge(JT(e),t)},gge=0,mge=Math.random(),vge=Kn(1 .toString),QT=function(e){return"Symbol("+(e===void 0?"":e)+")_"+vge(++gge+mge,36)},nv=XT("wks"),pd=Nt.Symbol,DU=pd&&pd.for,yge=GT?pd:pd&&pd.withoutSetter||QT,Ji=function(e){if(!co(nv,e)||!VT&&typeof nv[e]!="string"){var t="Symbol."+e;VT&&co(pd,e)?nv[e]=pd[e]:nv[e]=GT&&DU?DU(t):yge(t)}return nv[e]},bge=Nt.TypeError,_ge=Ji("toPrimitive"),ZT=function(e){var t=function(n,r){if(!Kr(n)||YT(n))return n;var i,o=tv(n,_ge);if(o){if(r===void 0&&(r="default"),i=Cr(o,n,r),!Kr(i)||YT(i))return i;throw bge("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&kr(u=a.toString)&&!Kr(l=Cr(u,a)))return l;if(kr(u=a.valueOf)&&!Kr(l=Cr(u,a)))return l;if(s!=="string"&&kr(u=a.toString)&&!Kr(l=Cr(u,a)))return l;throw fge("Can't convert object to primitive value")}(n,r)}(e,"string");return YT(t)?t:t+""},qT=Nt.document,Ege=Kr(qT)&&Kr(qT.createElement),rv=function(e){return Ege?qT.createElement(e):{}},RU=!Iu&&!Zr(function(){return Object.defineProperty(rv("div"),"a",{get:function(){return 7}}).a!=7}),NU=Object.getOwnPropertyDescriptor,$T={f:Iu?NU:function(e,t){if(e=Mc(e),t=ZT(t),RU)try{return NU(e,t)}catch(n){}if(co(e,t))return tE(!Cr(tge.f,e,t),e[t])}},wge=Nt.String,Age=Nt.TypeError,So=function(e){if(Kr(e))return e;throw Age(wge(e)+" is not an object")},Oge=Nt.TypeError,IU=Object.defineProperty,hl={f:Iu?IU:function(e,t,n){if(So(e),t=ZT(t),So(n),RU)try{return IU(e,t,n)}catch(r){}if("get"in n||"set"in n)throw Oge("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},Pu=Iu?function(e,t,n){return hl.f(e,t,tE(1,n))}:function(e,t,n){return e[t]=n,e},xge=Kn(Function.toString);kr(Fc.inspectSource)||(Fc.inspectSource=function(e){return xge(e)});var rE,iv,iE,oE=Fc.inspectSource,PU=Nt.WeakMap,LU=kr(PU)&&/native code/.test(oE(PU)),jU=XT("keys"),eD=function(e){return jU[e]||(jU[e]=QT(e))},aE={},tD=Nt.TypeError,Cge=Nt.WeakMap;if(LU||Fc.state){var gd=Fc.state||(Fc.state=new Cge),Sge=Kn(gd.get),MU=Kn(gd.has),Tge=Kn(gd.set);rE=function(e,t){if(MU(gd,e))throw new tD("Object already initialized");return t.facade=e,Tge(gd,e,t),t},iv=function(e){return Sge(gd,e)||{}},iE=function(e){return MU(gd,e)}}else{var _p=eD("state");aE[_p]=!0,rE=function(e,t){if(co(e,_p))throw new tD("Object already initialized");return t.facade=e,Pu(e,_p,t),t},iv=function(e){return co(e,_p)?e[_p]:{}},iE=function(e){return co(e,_p)}}var Ja={set:rE,get:iv,has:iE,enforce:function(e){return iE(e)?iv(e):rE(e,{})},getterFor:function(e){return function(t){var n;if(!Kr(t)||(n=iv(t)).type!==e)throw tD("Incompatible receiver, "+e+" required");return n}}},kU=Function.prototype,Dge=Iu&&Object.getOwnPropertyDescriptor,nD=co(kU,"name"),ov={EXISTS:nD,PROPER:nD&&function(){}.name==="something",CONFIGURABLE:nD&&(!Iu||Iu&&Dge(kU,"name").configurable)},Qa=BT(function(e){var t=ov.CONFIGURABLE,n=Ja.get,r=Ja.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;kr(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!co(s,"name")||t&&s.name!==h)&&Pu(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==Nt?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Pu(o,a,s)):d?o[a]=s:KT(a,s)})(Function.prototype,"toString",function(){return kr(this)&&n(this).source||oE(this)})}),Rge=Math.ceil,Nge=Math.floor,rD=function(e){var t=+e;return t!=t||t===0?0:(t>0?Nge:Rge)(t)},Ige=Math.max,Pge=Math.min,av=function(e,t){var n=rD(e);return n<0?Ige(n+t,0):Pge(n,t)},Lge=Math.min,FU=function(e){return e>0?Lge(rD(e),9007199254740991):0},sv=function(e){return FU(e.length)},BU=function(e){return function(t,n,r){var i,o=Mc(t),a=sv(o),s=av(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},jge=(BU(!0),BU(!1)),UU=Kn([].push),HU=function(e,t){var n,r=Mc(e),i=0,o=[];for(n in r)!co(aE,n)&&co(r,n)&&UU(o,n);for(;t.length>i;)co(r,n=t[i++])&&(~jge(o,n)||UU(o,n));return o},sE=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mge=sE.concat("length","prototype"),uE={f:Object.getOwnPropertyNames||function(e){return HU(e,Mge)}},kge={f:Object.getOwnPropertySymbols},Fge=Kn([].concat),Bge=hd("Reflect","ownKeys")||function(e){var t=uE.f(So(e)),n=kge.f;return n?Fge(t,n(e)):t},Uge=function(e,t){for(var n=Bge(t),r=hl.f,i=$T.f,o=0;o<n.length;o++){var a=n[o];co(e,a)||r(e,a,i(t,a))}},Hge=/#|\.prototype\./,uv=function(e,t){var n=zge[Wge(e)];return n==Gge||n!=Vge&&(kr(t)?Zr(t):!!t)},Wge=uv.normalize=function(e){return String(e).replace(Hge,".").toLowerCase()},zge=uv.data={},Vge=uv.NATIVE="N",Gge=uv.POLYFILL="P",lE=uv,Yge=$T.f,Lu=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?Nt:l?Nt[s]||KT(s,{}):(Nt[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Yge(n,r))&&a.value:n[r],!lE(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;Uge(o,i)}(e.sham||i&&i.sham)&&Pu(o,"sham",!0),Qa(n,r,o,e)}},cE=Array.isArray||function(e){return Zs(e)=="Array"},WU={};WU[Ji("toStringTag")]="z";var iD=String(WU)==="[object z]",Kge=Ji("toStringTag"),Xge=Nt.Object,Jge=Zs(function(){return arguments}())=="Arguments",fE=iD?Zs:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=Xge(e),Kge))=="string"?n:Jge?Zs(t):(r=Zs(t))=="Object"&&kr(t.callee)?"Arguments":r},zU=function(){},Qge=[],VU=hd("Reflect","construct"),oD=/^\s*(?:class|function)\b/,Zge=Kn(oD.exec),qge=!oD.exec(zU),lv=function(e){if(!kr(e))return!1;try{return VU(zU,Qge,e),!0}catch(t){return!1}},aD=!VU||Zr(function(){var e;return lv(lv.call)||!lv(Object)||!lv(function(){e=!0})||e})?function(e){if(!kr(e))return!1;switch(fE(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return qge||!!Zge(oD,oE(e))}:lv,GU=function(e,t,n){var r=ZT(t);r in e?hl.f(e,r,tE(0,n)):e[r]=n},$ge=Ji("species"),YU=Kn([].slice),eme=ev>=51||!Zr(function(){var e=[];return(e.constructor={})[$ge]=function(){return{foo:1}},e.slice(Boolean).foo!==1}),tme=Ji("species"),sD=Nt.Array,nme=Math.max;Lu({target:"Array",proto:!0,forced:!eme},{slice:function(e,t){var n,r,i,o=Mc(this),a=sv(o),s=av(e,a),u=av(t===void 0?a:t,a);if(cE(o)&&(n=o.constructor,(aD(n)&&(n===sD||cE(n.prototype))||Kr(n)&&(n=n[tme])===null)&&(n=void 0),n===sD||n===void 0))return YU(o,s,u);for(r=new(n===void 0?sD:n)(nme(u-s,0)),i=0;s<u;s++,i++)s in o&&GU(r,i,o[s]);return r.length=i,r}});var rme=iD?{}.toString:function(){return"[object "+fE(this)+"]"};iD||Qa(Object.prototype,"toString",rme,{unsafe:!0});var dE,ime=Nt.String,Bc=function(e){if(fE(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ime(e)},KU=function(){var e=So(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},uD=Nt.RegExp,lD=Zr(function(){var e=uD("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),ome=lD||Zr(function(){return!uD("a","y").sticky}),XU={BROKEN_CARET:lD||Zr(function(){var e=uD("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:ome,UNSUPPORTED_Y:lD},ame=Object.keys||function(e){return HU(e,sE)},sme=Iu?Object.defineProperties:function(e,t){So(e);for(var n,r=Mc(t),i=ame(t),o=i.length,a=0;o>a;)hl.f(e,n=i[a++],r[n]);return e},cD=hd("document","documentElement"),JU=eD("IE_PROTO"),fD=function(){},QU=function(e){return"<script>"+e+"</script>"},ZU=function(e){e.write(QU("")),e.close();var t=e.parentWindow.Object;return e=null,t},hE=function(){try{dE=new ActiveXObject("htmlfile")}catch(r){}var e,t;hE=typeof document!="undefined"?document.domain&&dE?ZU(dE):((t=rv("iframe")).style.display="none",cD.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(QU("document.F=Object")),e.close(),e.F):ZU(dE);for(var n=sE.length;n--;)delete hE.prototype[sE[n]];return hE()};aE[JU]=!0;var qU,dD,hD=Object.create||function(e,t){var n;return e!==null?(fD.prototype=So(e),n=new fD,fD.prototype=null,n[JU]=e):n=hE(),t===void 0?n:sme(n,t)},ume=Nt.RegExp,lme=Zr(function(){var e=ume(".","s");return!(e.dotAll&&e.exec(`
|
|
|
`)&&e.flags==="s")}),cme=Nt.RegExp,fme=Zr(function(){var e=cme("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),dme=Ja.get,hme=XT("native-string-replace",String.prototype.replace),pE=RegExp.prototype.exec,pD=pE,pme=Kn("".charAt),gme=Kn("".indexOf),mme=Kn("".replace),gD=Kn("".slice),mD=(dD=/b*/g,Cr(pE,qU=/a/,"a"),Cr(pE,dD,"a"),qU.lastIndex!==0||dD.lastIndex!==0),$U=XU.BROKEN_CARET,vD=/()??/.exec("")[1]!==void 0;(mD||vD||$U||lme||fme)&&(pD=function(e){var t,n,r,i,o,a,s,u=this,l=dme(u),c=Bc(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=Cr(pD,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=$U&&u.sticky,_=Cr(KU,u),m=u.source,v=0,y=c;if(h&&(_=mme(_,"y",""),gme(_,"g")===-1&&(_+="g"),y=gD(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&pme(c,u.lastIndex-1)!==`
|
|
|
`)&&(m="(?: "+m+")",y=" "+y,v++),n=new RegExp("^(?:"+m+")",_)),vD&&(n=new RegExp("^"+m+"$(?!\\s)",_)),mD&&(r=u.lastIndex),i=Cr(pE,h?n:u,y),h?i?(i.input=gD(i.input,v),i[0]=gD(i[0],v),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:mD&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),vD&&i&&i.length>1&&Cr(hme,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=hD(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var cv=pD;Lu({target:"RegExp",proto:!0,forced:/./.exec!==cv},{exec:cv});var yD=Function.prototype,eH=yD.apply,vme=yD.bind,tH=yD.call,nH=typeof Reflect=="object"&&Reflect.apply||(vme?tH.bind(eH):function(){return tH.apply(eH,arguments)}),yme=Ji("species"),bD=RegExp.prototype,bme=Ji("match"),_me=Nt.TypeError,Eme=Ji("species"),rH=function(e,t){var n,r=So(e).constructor;return r===void 0||(n=So(r)[Eme])==null?t:function(i){if(aD(i))return i;throw _me(nE(i)+" is not a constructor")}(n)},wme=Kn("".charAt),iH=Kn("".charCodeAt),Ame=Kn("".slice),oH=function(e){return function(t,n){var r,i,o=Bc(q0(t)),a=rD(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=iH(o,a))<55296||r>56319||a+1===s||(i=iH(o,a+1))<56320||i>57343?e?wme(o,a):r:e?Ame(o,a,a+2):i-56320+(r-55296<<10)+65536}},aH={codeAt:oH(!1),charAt:oH(!0)},Ome=aH.charAt,xme=function(e,t,n){return t+(n?Ome(e,t).length:1)},Cme=Nt.Array,Sme=Math.max,_D=function(e,t,n){for(var r=sv(e),i=av(t,r),o=av(n===void 0?r:n,r),a=Cme(Sme(o-i,0)),s=0;i<o;i++,s++)GU(a,s,e[i]);return a.length=s,a},Tme=Nt.TypeError,sH=function(e,t){var n=e.exec;if(kr(n)){var r=Cr(n,e,t);return r!==null&&So(r),r}if(Zs(e)==="RegExp")return Cr(cv,e,t);throw Tme("RegExp#exec called on incompatible receiver")},Ep=XU.UNSUPPORTED_Y,Dme=Math.min,uH=[].push,Rme=Kn(/./.exec),wp=Kn(uH),fv=Kn("".slice);!function(e,t,n,r){var i=Ji(e),o=!Zr(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!Zr(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[yme]=function(){return c},c.flags="",c[i]=/./[i],c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=Kn(/./[i]),u=function(l,c,d){var p;return p="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(h,_){var m,v,y=Bc(q0(this)),g=_===void 0?4294967295:_>>>0;if(g===0)return[];if(h===void 0)return[y];if(!Kr(m=h)||!((v=m[bme])!==void 0?v:Zs(m)=="RegExp"))return Cr(c,y,h,g);for(var S,R,U,Q=[],X=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(h.sticky?"y":""),le=0,xe=new RegExp(h.source,X+"g");(S=Cr(cv,xe,y))&&!((R=xe.lastIndex)>le&&(wp(Q,fv(y,le,S.index)),S.length>1&&S.index<y.length&&nH(uH,Q,_D(S,1)),U=S[0].length,le=R,Q.length>=g));)xe.lastIndex===S.index&&xe.lastIndex++;return le===y.length?!U&&Rme(xe,"")||wp(Q,""):wp(Q,fv(y,le)),Q.length>g?_D(Q,0,g):Q}:"0".split(void 0,0).length?function(h,_){return h===void 0&&_===0?[]:Cr(c,this,h,_)}:c,[function(h,_){var m=q0(this),v=h==null?void 0:tv(h,l);return v?Cr(v,h,m,_):Cr(p,Bc(m),h,_)},function(h,_){var m=So(this),v=Bc(h),y=d(p,m,v,_,p!==c);if(y.done)return y.value;var g=rH(m,RegExp),S=m.unicode,R=(m.ignoreCase?"i":"")+(m.multiline?"m":"")+(m.unicode?"u":"")+(Ep?"g":"y"),U=new g(Ep?"^(?:"+m.source+")":m,R),Q=_===void 0?4294967295:_>>>0;if(Q===0)return[];if(v.length===0)return sH(U,v)===null?[v]:[];for(var X=0,le=0,xe=[];le<v.length;){U.lastIndex=Ep?0:le;var Qe,it=sH(U,Ep?fv(v,le):v);if(it===null||(Qe=Dme(FU(U.lastIndex+(Ep?le:0)),v.length))===X)le=xme(v,le,S);else{if(wp(xe,fv(v,X,le)),xe.length===Q)return xe;for(var Ze=1;Ze<=it.length-1;Ze++)if(wp(xe,it[Ze]),xe.length===Q)return xe;le=X=Qe}}return wp(xe,fv(v,X)),xe}]}(i,""[e],function(l,c,d,p,h){var _=Kn(l),m=c.exec;return m===cv||m===bD.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:_(d,c,p)}:{done:!1}});Qa(String.prototype,e,u[0]),Qa(bD,i,u[1])}r&&Pu(bD[i],"sham",!0)}("split",0,!!Zr(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Ep);/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */var gE=function(){return gE=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},gE.apply(this,arguments)};function ED(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(l){try{u(r.next(l))}catch(c){o(c)}}function s(l){try{u(r.throw(l))}catch(c){o(c)}}function u(l){var c;l.done?i(l.value):(c=l.value,c instanceof n?c:new n(function(d){d(c)})).then(a,s)}u((r=r.apply(e,t||[])).next())})}function wD(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&c[0]?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((i=(i=a.trys).length>0&&i[i.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){a.label=c[1];break}if(c[0]===6&&a.label<i[1]){a.label=i[1],i=c;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(c);break}i[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(d){c=[6,d],r=0}finally{n=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([u,l])}}}function Nme(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(i){var o=typeof Symbol=="function"&&Symbol.iterator,a=o&&i[o],s=0;if(a)return a.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&s>=i.length&&(i=void 0),{value:i&&i[s++],done:!i}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(i){t[i]=e[i]&&function(o){return new Promise(function(a,s){!function(u,l,c,d){Promise.resolve(d).then(function(p){u({value:p,done:c})},l)}(a,s,(o=e[i](o)).done,o.value)})}}}var AD=Ji("unscopables"),OD=Array.prototype;OD[AD]==null&&hl.f(OD,AD,{configurable:!0,value:hD(null)});var md,lH,cH,xD=function(e){OD[AD][e]=!0},Ap={},Ime=!Zr(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),fH=eD("IE_PROTO"),CD=Nt.Object,Pme=CD.prototype,mE=Ime?CD.getPrototypeOf:function(e){var t=JT(e);if(co(t,fH))return t[fH];var n=t.constructor;return kr(n)&&t instanceof n?n.prototype:t instanceof CD?Pme:null},SD=Ji("iterator"),dH=!1;[].keys&&("next"in(cH=[].keys())?(lH=mE(mE(cH)))!==Object.prototype&&(md=lH):dH=!0);var Lme=md==null||Zr(function(){var e={};return md[SD].call(e)!==e});Lme&&(md={}),kr(md[SD])||Qa(md,SD,function(){return this});var TD={IteratorPrototype:md,BUGGY_SAFARI_ITERATORS:dH},jme=hl.f,hH=Ji("toStringTag"),vE=function(e,t,n){e&&!co(e=n?e:e.prototype,hH)&&jme(e,hH,{configurable:!0,value:t})},Mme=TD.IteratorPrototype,kme=function(){return this},Fme=Nt.String,Bme=Nt.TypeError,Op=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Kn(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(r){}return function(r,i){return So(r),function(o){if(typeof o=="object"||kr(o))return o;throw Bme("Can't set "+Fme(o)+" as a prototype")}(i),t?e(r,i):r.__proto__=i,r}}():void 0),Ume=ov.PROPER,Hme=ov.CONFIGURABLE,pH=TD.IteratorPrototype,yE=TD.BUGGY_SAFARI_ITERATORS,dv=Ji("iterator"),Wme=function(){return this},gH=function(e,t,n,r,i,o,a){!function(y,g,S,R){var U=g+" Iterator";y.prototype=hD(Mme,{next:tE(1,S)}),vE(y,U,!1),Ap[U]=kme}(n,t,r);var s,u,l,c=function(y){if(y===i&&m)return m;if(!yE&&y in h)return h[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},d=t+" Iterator",p=!1,h=e.prototype,_=h[dv]||h["@@iterator"]||i&&h[i],m=!yE&&_||c(i),v=t=="Array"&&h.entries||_;if(v&&(s=mE(v.call(new e)))!==Object.prototype&&s.next&&(mE(s)!==pH&&(Op?Op(s,pH):kr(s[dv])||Qa(s,dv,Wme)),vE(s,d,!0)),Ume&&i=="values"&&_&&_.name!=="values"&&(Hme?Pu(h,"name","values"):(p=!0,m=function(){return Cr(_,this)})),i)if(u={values:c("values"),keys:o?m:c("keys"),entries:c("entries")},a)for(l in u)(yE||p||!(l in h))&&Qa(h,l,u[l]);else Lu({target:t,proto:!0,forced:yE||p},u);return h[dv]!==m&&Qa(h,dv,m,{name:i}),Ap[t]=m,u},zme=Ja.set,Vme=Ja.getterFor("Array Iterator"),hv=gH(Array,"Array",function(e,t){zme(this,{type:"Array Iterator",target:Mc(e),index:0,kind:t})},function(){var e=Vme(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Ap.Arguments=Ap.Array,xD("keys"),xD("values"),xD("entries");var Gme=aH.charAt,Yme=Ja.set,Kme=Ja.getterFor("String Iterator");gH(String,"String",function(e){Yme(this,{type:"String Iterator",string:Bc(e),index:0})},function(){var e,t=Kme(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=Gme(n,r),t.index+=e.length,{value:e,done:!1})});var bE=function(e,t,n){for(var r in t)Qa(e,r,t[r],n);return e},mH=uE.f,vH=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Xme={f:function(e){return vH&&Zs(e)=="Window"?function(t){try{return mH(t)}catch(n){return _D(vH)}}(e):mH(Mc(e))}},yH=Zr(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),_E=Object.isExtensible,vd=Zr(function(){_E(1)})||yH?function(e){return!!Kr(e)&&(!yH||Zs(e)!="ArrayBuffer")&&(!_E||_E(e))}:_E,Jme=!Zr(function(){return Object.isExtensible(Object.preventExtensions({}))}),DD=BT(function(e){var t=hl.f,n=!1,r=QT("meta"),i=0,o=function(s){t(s,r,{value:{objectID:"O"+i++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;var s=uE.f,u=Kn([].splice),l={};l[r]=1,s(l).length&&(uE.f=function(c){for(var d=s(c),p=0,h=d.length;p<h;p++)if(d[p]===r){u(d,p,1);break}return d},Lu({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Xme.f}))},fastKey:function(s,u){if(!Kr(s))return typeof s=="symbol"?s:(typeof s=="string"?"S":"P")+s;if(!co(s,r)){if(!vd(s))return"F";if(!u)return"E";o(s)}return s[r].objectID},getWeakData:function(s,u){if(!co(s,r)){if(!vd(s))return!0;if(!u)return!1;o(s)}return s[r].weakData},onFreeze:function(s){return Jme&&n&&vd(s)&&!co(s,r)&&o(s),s}};aE[r]=!0}),bH=Kn(Kn.bind),pv=function(e,t){return kc(e),t===void 0?e:bH?bH(e,t):function(){return e.apply(t,arguments)}},Qme=Ji("iterator"),Zme=Array.prototype,qme=Ji("iterator"),_H=function(e){if(e!=null)return tv(e,qme)||tv(e,"@@iterator")||Ap[fE(e)]},$me=Nt.TypeError,EH=function(e,t,n){var r,i;So(e);try{if(!(r=tv(e,"return"))){if(t==="throw")throw n;return n}r=Cr(r,e)}catch(o){i=!0,r=o}if(t==="throw")throw n;if(i)throw r;return So(r),n},e0e=Nt.TypeError,EE=function(e,t){this.stopped=e,this.result=t},wH=EE.prototype,wE=function(e,t,n){var r,i,o,a,s,u,l,c,d=n&&n.that,p=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),m=pv(t,d),v=function(g){return r&&EH(r,"normal",g),new EE(!0,g)},y=function(g){return p?(So(g),_?m(g[0],g[1],v):m(g[0],g[1])):_?m(g,v):m(g)};if(h)r=e;else{if(!(i=_H(e)))throw e0e(nE(e)+" is not iterable");if((c=i)!==void 0&&(Ap.Array===c||Zme[Qme]===c)){for(o=0,a=sv(e);a>o;o++)if((s=y(e[o]))&&$0(wH,s))return s;return new EE(!1)}r=function(g,S){var R=arguments.length<2?_H(g):S;if(kc(R))return So(Cr(R,g));throw $me(nE(g)+" is not iterable")}(e,i)}for(u=r.next;!(l=Cr(u,r)).done;){try{s=y(l.value)}catch(g){EH(r,"throw",g)}if(typeof s=="object"&&s&&$0(wH,s))return s}return new EE(!1)},t0e=Nt.TypeError,RD=function(e,t){if($0(t,e))return e;throw t0e("Incorrect invocation")},AH=Ji("iterator"),OH=!1;try{var n0e=0,xH={next:function(){return{done:!!n0e++}},return:function(){OH=!0}};xH[AH]=function(){return this},Array.from(xH,function(){throw 2})}catch(e){}var CH=function(e,t){if(!t&&!OH)return!1;var n=!1;try{var r={};r[AH]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(i){}return n},r0e=Ji("species"),SH=Nt.Array,i0e=function(e,t){return new(function(n){var r;return cE(n)&&(r=n.constructor,(aD(r)&&(r===SH||cE(r.prototype))||Kr(r)&&(r=r[r0e])===null)&&(r=void 0)),r===void 0?SH:r}(e))(t===0?0:t)},TH=Kn([].push),Uc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,_=JT(u),m=zT(_),v=pv(l,c),y=sv(m),g=0,S=d||i0e,R=t?S(u,y):n||a?S(u,0):void 0;y>g;g++)if((s||g in m)&&(h=v(p=m[g],g,_),e))if(t)R[g]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:TH(R,p)}else switch(e){case 4:return!1;case 7:TH(R,p)}return o?-1:r||i?i:R}},ND={forEach:Uc(0),map:Uc(1),filter:Uc(2),some:Uc(3),every:Uc(4),find:Uc(5),findIndex:Uc(6),filterReject:Uc(7)},AE=DD.getWeakData,o0e=Ja.set,a0e=Ja.getterFor,s0e=ND.find,u0e=ND.findIndex,l0e=Kn([].splice),c0e=0,OE=function(e){return e.frozen||(e.frozen=new DH)},DH=function(){this.entries=[]},ID=function(e,t){return s0e(e.entries,function(n){return n[0]===t})};DH.prototype={get:function(e){var t=ID(this,e);if(t)return t[1]},has:function(e){return!!ID(this,e)},set:function(e,t){var n=ID(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=u0e(this.entries,function(n){return n[0]===e});return~t&&l0e(this.entries,t,1),!!~t}};var gv,RH={getConstructor:function(e,t,n,r){var i=e(function(u,l){RD(u,o),o0e(u,{type:t,id:c0e++,frozen:void 0}),l!=null&&wE(l,u[r],{that:u,AS_ENTRIES:n})}),o=i.prototype,a=a0e(t),s=function(u,l,c){var d=a(u),p=AE(So(l),!0);return p===!0?OE(d).set(l,c):p[d.id]=c,u};return bE(o,{delete:function(u){var l=a(this);if(!Kr(u))return!1;var c=AE(u);return c===!0?OE(l).delete(u):c&&co(c,l.id)&&delete c[l.id]},has:function(u){var l=a(this);if(!Kr(u))return!1;var c=AE(u);return c===!0?OE(l).has(u):c&&co(c,l.id)}}),bE(o,n?{get:function(u){var l=a(this);if(Kr(u)){var c=AE(u);return c===!0?OE(l).get(u):c?c[l.id]:void 0}},set:function(u,l){return s(this,u,l)}}:{add:function(u){return s(this,u,!0)}}),i}},xE=Ja.enforce,f0e=!Nt.ActiveXObject&&"ActiveXObject"in Nt,NH=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},d0e=function(e,t,n){var r=e.indexOf("Map")!==-1,i=e.indexOf("Weak")!==-1,o=r?"set":"add",a=Nt[e],s=a&&a.prototype,u=a,l={},c=function(v){var y=Kn(s[v]);Qa(s,v,v=="add"?function(g){return y(this,g===0?0:g),this}:v=="delete"?function(g){return!(i&&!Kr(g))&&y(this,g===0?0:g)}:v=="get"?function(g){return i&&!Kr(g)?void 0:y(this,g===0?0:g)}:v=="has"?function(g){return!(i&&!Kr(g))&&y(this,g===0?0:g)}:function(g,S){return y(this,g===0?0:g,S),this})};if(lE(e,!kr(a)||!(i||s.forEach&&!Zr(function(){new a().entries().next()}))))u=n.getConstructor(t,e,r,o),DD.enable();else if(lE(e,!0)){var d=new u,p=d[o](i?{}:-0,1)!=d,h=Zr(function(){d.has(1)}),_=CH(function(v){new a(v)}),m=!i&&Zr(function(){for(var v=new a,y=5;y--;)v[o](y,y);return!v.has(-0)});_||((u=t(function(v,y){RD(v,s);var g=function(S,R,U){var Q,X;return Op&&kr(Q=R.constructor)&&Q!==U&&Kr(X=Q.prototype)&&X!==U.prototype&&Op(S,X),S}(new a,v,u);return y!=null&&wE(y,g[o],{that:g,AS_ENTRIES:r}),g})).prototype=s,s.constructor=u),(h||m)&&(c("delete"),c("has"),r&&c("get")),(m||p)&&c(o),i&&s.clear&&delete s.clear}return l[e]=u,Lu({global:!0,forced:u!=a},l),vE(u,e),i||n.setStrong(u,e,r),u}("WeakMap",NH,RH);if(LU&&f0e){gv=RH.getConstructor(NH,"WeakMap",!0),DD.enable();var mv=d0e.prototype,IH=Kn(mv.delete),CE=Kn(mv.has),PH=Kn(mv.get),LH=Kn(mv.set);bE(mv,{delete:function(e){if(Kr(e)&&!vd(e)){var t=xE(this);return t.frozen||(t.frozen=new gv),IH(this,e)||t.frozen.delete(e)}return IH(this,e)},has:function(e){if(Kr(e)&&!vd(e)){var t=xE(this);return t.frozen||(t.frozen=new gv),CE(this,e)||t.frozen.has(e)}return CE(this,e)},get:function(e){if(Kr(e)&&!vd(e)){var t=xE(this);return t.frozen||(t.frozen=new gv),CE(this,e)?PH(this,e):t.frozen.get(e)}return PH(this,e)},set:function(e,t){if(Kr(e)&&!vd(e)){var n=xE(this);n.frozen||(n.frozen=new gv),CE(this,e)?LH(this,e,t):n.frozen.set(e,t)}else LH(this,e,t);return this}})}var SE={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},PD=rv("span").classList,jH=PD&&PD.constructor&&PD.constructor.prototype,MH=jH===Object.prototype?void 0:jH,LD=Ji("iterator"),kH=Ji("toStringTag"),jD=hv.values,FH=function(e,t){if(e){if(e[LD]!==jD)try{Pu(e,LD,jD)}catch(r){e[LD]=jD}if(e[kH]||Pu(e,kH,t),SE[t]){for(var n in hv)if(e[n]!==hv[n])try{Pu(e,n,hv[n])}catch(r){e[n]=hv[n]}}}};for(var MD in SE)FH(Nt[MD]&&Nt[MD].prototype,MD);FH(MH,"DOMTokenList");var BH=function(e,t){var n=[][e];return!!n&&Zr(function(){n.call(null,t||function(){throw 1},1)})},h0e=ND.forEach,kD=BH("forEach")?[].forEach:function(e){return h0e(this,e,arguments.length>1?arguments[1]:void 0)},UH=function(e){if(e&&e.forEach!==kD)try{Pu(e,"forEach",kD)}catch(t){e.forEach=kD}};for(var FD in SE)SE[FD]&&UH(Nt[FD]&&Nt[FD].prototype);UH(MH);var vv,xp,HH,BD,TE=Nt.Promise,WH=Ji("species"),zH=/(?:ipad|iphone|ipod).*applewebkit/i.test(bp),Hc=Zs(Nt.process)=="process",UD=Nt.setImmediate,HD=Nt.clearImmediate,p0e=Nt.process,WD=Nt.Dispatch,g0e=Nt.Function,VH=Nt.MessageChannel,m0e=Nt.String,zD=0,yv={};try{vv=Nt.location}catch(e){}var VD=function(e){if(co(yv,e)){var t=yv[e];delete yv[e],t()}},GD=function(e){return function(){VD(e)}},GH=function(e){VD(e.data)},YH=function(e){Nt.postMessage(m0e(e),vv.protocol+"//"+vv.host)};UD&&HD||(UD=function(e){var t=YU(arguments,1);return yv[++zD]=function(){nH(kr(e)?e:g0e(e),void 0,t)},xp(zD),zD},HD=function(e){delete yv[e]},Hc?xp=function(e){p0e.nextTick(GD(e))}:WD&&WD.now?xp=function(e){WD.now(GD(e))}:VH&&!zH?(BD=(HH=new VH).port2,HH.port1.onmessage=GH,xp=pv(BD.postMessage,BD)):Nt.addEventListener&&kr(Nt.postMessage)&&!Nt.importScripts&&vv&&vv.protocol!=="file:"&&!Zr(YH)?(xp=YH,Nt.addEventListener("message",GH,!1)):xp="onreadystatechange"in rv("script")?function(e){cD.appendChild(rv("script")).onreadystatechange=function(){cD.removeChild(this),VD(e)}}:function(e){setTimeout(GD(e),0)});var bv,yd,_v,Cp,YD,KD,XD,KH,XH={set:UD,clear:HD},v0e=/ipad|iphone|ipod/i.test(bp)&&Nt.Pebble!==void 0,y0e=/web0s(?!.*chrome)/i.test(bp),b0e=$T.f,JD=XH.set,JH=Nt.MutationObserver||Nt.WebKitMutationObserver,QH=Nt.document,ZH=Nt.process,DE=Nt.Promise,qH=b0e(Nt,"queueMicrotask"),$H=qH&&qH.value;$H||(bv=function(){var e,t;for(Hc&&(e=ZH.domain)&&e.exit();yd;){t=yd.fn,yd=yd.next;try{t()}catch(n){throw yd?Cp():_v=void 0,n}}_v=void 0,e&&e.enter()},zH||Hc||y0e||!JH||!QH?!v0e&&DE&&DE.resolve?((XD=DE.resolve(void 0)).constructor=DE,KH=pv(XD.then,XD),Cp=function(){KH(bv)}):Hc?Cp=function(){ZH.nextTick(bv)}:(JD=pv(JD,Nt),Cp=function(){JD(bv)}):(YD=!0,KD=QH.createTextNode(""),new JH(bv).observe(KD,{characterData:!0}),Cp=function(){KD.data=YD=!YD}));var QD,eW,tW,nW,rW=$H||function(e){var t={fn:e,next:void 0};_v&&(_v.next=t),yd||(yd=t,Cp()),_v=t},_0e=function(e){var t,n;this.promise=new e(function(r,i){if(t!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");t=r,n=i}),this.resolve=kc(t),this.reject=kc(n)},ZD={f:function(e){return new _0e(e)}},qD=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}},E0e=typeof window=="object",iW=XH.set,w0e=Ji("species"),pl="Promise",oW=Ja.getterFor(pl),A0e=Ja.set,O0e=Ja.getterFor(pl),bd=TE&&TE.prototype,ju=TE,Ev=bd,aW=Nt.TypeError,$D=Nt.document,e3=Nt.process,Sp=ZD.f,x0e=Sp,C0e=!!($D&&$D.createEvent&&Nt.dispatchEvent),sW=kr(Nt.PromiseRejectionEvent),uW=!1,wv=lE(pl,function(){var e=oE(ju),t=e!==String(ju);if(!t&&ev===66)return!0;if(ev>=51&&/native code/.test(e))return!1;var n=new ju(function(i){i(1)}),r=function(i){i(function(){},function(){})};return(n.constructor={})[w0e]=r,!(uW=n.then(function(){})instanceof r)||!t&&E0e&&!sW}),S0e=wv||!CH(function(e){ju.all(e).catch(function(){})}),lW=function(e){var t;return!(!Kr(e)||!kr(t=e.then))&&t},t3=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;rW(function(){for(var r=e.value,i=e.state==1,o=0;n.length>o;){var a,s,u,l=n[o++],c=i?l.ok:l.fail,d=l.resolve,p=l.reject,h=l.domain;try{c?(i||(e.rejection===2&&D0e(e),e.rejection=1),c===!0?a=r:(h&&h.enter(),a=c(r),h&&(h.exit(),u=!0)),a===l.promise?p(aW("Promise-chain cycle")):(s=lW(a))?Cr(s,a,d,p):d(a)):p(r)}catch(_){h&&!u&&h.exit(),p(_)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&T0e(e)})}},cW=function(e,t,n){var r,i;C0e?((r=$D.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Nt.dispatchEvent(r)):r={promise:t,reason:n},!sW&&(i=Nt["on"+e])?i(r):e==="unhandledrejection"&&function(o,a){var s=Nt.console;s&&s.error&&(arguments.length==1?s.error(o):s.error(o,a))}("Unhandled promise rejection",n)},T0e=function(e){Cr(iW,Nt,function(){var t,n=e.facade,r=e.value;if(fW(e)&&(t=qD(function(){Hc?e3.emit("unhandledRejection",r,n):cW("unhandledrejection",n,r)}),e.rejection=Hc||fW(e)?2:1,t.error))throw t.value})},fW=function(e){return e.rejection!==1&&!e.parent},D0e=function(e){Cr(iW,Nt,function(){var t=e.facade;Hc?e3.emit("rejectionHandled",t):cW("rejectionhandled",t,e.value)})},Tp=function(e,t,n){return function(r){e(t,r,n)}},Dp=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,t3(e,!0))},n3=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw aW("Promise can't be resolved itself");var r=lW(t);r?rW(function(){var i={done:!1};try{Cr(r,t,Tp(n3,i,e),Tp(Dp,i,e))}catch(o){Dp(i,o,e)}}):(e.value=t,e.state=1,t3(e,!1))}catch(i){Dp({done:!1},i,e)}}};if(wv&&(Ev=(ju=function(e){RD(this,Ev),kc(e),Cr(QD,this);var t=oW(this);try{e(Tp(n3,t),Tp(Dp,t))}catch(n){Dp(t,n)}}).prototype,(QD=function(e){A0e(this,{type:pl,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=bE(Ev,{then:function(e,t){var n=O0e(this),r=n.reactions,i=Sp(rH(this,ju));return i.ok=!kr(e)||e,i.fail=kr(t)&&t,i.domain=Hc?e3.domain:void 0,n.parent=!0,r[r.length]=i,n.state!=0&&t3(n,!1),i.promise},catch:function(e){return this.then(void 0,e)}}),eW=function(){var e=new QD,t=oW(e);this.promise=e,this.resolve=Tp(n3,t),this.reject=Tp(Dp,t)},ZD.f=Sp=function(e){return e===ju||e===tW?new eW(e):x0e(e)},kr(TE)&&bd!==Object.prototype)){nW=bd.then,uW||(Qa(bd,"then",function(e,t){var n=this;return new ju(function(r,i){Cr(nW,n,r,i)}).then(e,t)},{unsafe:!0}),Qa(bd,"catch",Ev.catch,{unsafe:!0}));try{delete bd.constructor}catch(e){}Op&&Op(bd,Ev)}Lu({global:!0,wrap:!0,forced:wv},{Promise:ju}),vE(ju,pl,!1),function(e){var t=hd("Promise"),n=hl.f;Iu&&t&&!t[WH]&&n(t,WH,{configurable:!0,get:function(){return this}})}(),tW=hd(pl),Lu({target:pl,stat:!0,forced:wv},{reject:function(e){var t=Sp(this);return Cr(t.reject,void 0,e),t.promise}}),Lu({target:pl,stat:!0,forced:wv},{resolve:function(e){return function(t,n){if(So(t),Kr(n)&&n.constructor===t)return n;var r=ZD.f(t);return(0,r.resolve)(n),r.promise}(this,e)}}),Lu({target:pl,stat:!0,forced:S0e},{all:function(e){var t=this,n=Sp(t),r=n.resolve,i=n.reject,o=qD(function(){var a=kc(t.resolve),s=[],u=0,l=1;wE(e,function(c){var d=u++,p=!1;l++,Cr(a,t,c).then(function(h){p||(p=!0,s[d]=h,--l||r(s))},i)}),--l||r(s)});return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=Sp(t),r=n.reject,i=qD(function(){var o=kc(t.resolve);wE(e,function(a){Cr(o,t,a).then(n.resolve,r)})});return i.error&&r(i.value),n.promise}});var R0e=ov.PROPER,r3=RegExp.prototype,dW=r3.toString,N0e=Kn(KU),I0e=Zr(function(){return dW.call({source:"a",flags:"b"})!="/a/b"}),P0e=R0e&&dW.name!="toString";(I0e||P0e)&&Qa(RegExp.prototype,"toString",function(){var e=So(this),t=Bc(e.source),n=e.flags;return"/"+t+"/"+Bc(n===void 0&&$0(r3,e)&&!("flags"in r3)?N0e(e):n)},{unsafe:!0});var L0e=ov.EXISTS,j0e=hl.f,hW=Function.prototype,M0e=Kn(hW.toString),pW=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,k0e=Kn(pW.exec);Iu&&!L0e&&j0e(hW,"name",{configurable:!0,get:function(){try{return k0e(pW,M0e(this))[1]}catch(e){return""}}});var gW=new WeakMap;function mW(e){return e.getMenuConfig("uploadImage")}function F0e(e,t){return ED(this,void 0,void 0,function(){return wD(this,function(n){return[2,new Promise(function(r){var i=new FileReader;i.readAsDataURL(t),i.onload=function(){var o=i.result;if(o){var a=o.toString(),s=a.indexOf("data:image")===0?"":a;Wf(e,a,t.name,s),r("ok")}}})]})})}function B0e(e,t){return ED(this,void 0,void 0,function(){var n,r,i,o;return wD(this,function(a){switch(a.label){case 0:return n=function(s){var u=gW.get(s);if(u!=null)return u;var l=mW(s),c=l.onSuccess,d=l.onProgress,p=l.onFailed,h=l.customInsert,_=l.onError;return u=_I(gE(gE({},l),{onProgress:function(m){s.showProgressBar(m),d&&d(m)},onSuccess:function(m,v){if(h)return h(v,function(Qe,it,Ze){return Wf(s,Qe,it,Ze)}),void c(m,v);var y=v.errno,g=y===void 0?1:y,S=v.data,R=S===void 0?{}:S;if(g===0){if(Array.isArray(R))R.forEach(function(Qe){var it=Qe.url,Ze=it===void 0?"":it,vt=Qe.alt,lt=vt===void 0?"":vt,ct=Qe.href;Wf(s,Ze,lt,ct===void 0?"":ct)});else{var U=R.url,Q=U===void 0?"":U,X=R.alt,le=X===void 0?"":X,xe=R.href;Wf(s,Q,le,xe===void 0?"":xe)}c(m,v)}else p(m,v)},onError:function(m,v,y){_(m,v,y)}})),gW.set(s,u),u}(e),r=t.name,i=t.type,o=t.size,n.addFile({name:r,type:i,size:o,data:t}),[4,n.upload()];case 1:return a.sent(),[2]}})})}function vW(e,t){var n,r;return ED(this,void 0,void 0,function(){var i,o,a,s,u,l,c,d,p;return wD(this,function(h){switch(h.label){case 0:if(t==null)return[2];i=Array.prototype.slice.call(t),o=mW(e),a=o.customUpload,s=o.base64LimitSize,h.label=1;case 1:h.trys.push([1,11,12,17]),u=Nme(i),h.label=2;case 2:return[4,u.next()];case 3:return(l=h.sent()).done?[3,10]:(c=l.value,d=c.size,s&&d<=s?[4,F0e(e,c)]:[3,5]);case 4:return h.sent(),[3,9];case 5:return a?[4,a(c,function(_,m,v){return Wf(e,_,m,v)})]:[3,7];case 6:return h.sent(),[3,9];case 7:return[4,B0e(e,c)];case 8:h.sent(),h.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return p=h.sent(),n={error:p},[3,17];case 12:return h.trys.push([12,,15,16]),l&&!l.done&&(r=u.return)?[4,r.call(u)]:[3,14];case 13:h.sent(),h.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}})})}var U0e=Kn([].join),H0e=zT!=Object,W0e=BH("join",",");Lu({target:"Array",proto:!0,forced:H0e||!W0e},{join:function(e){return U0e(Mc(this),e===void 0?",":e)}}),fs&&(ve.fn.append=fs),mu&&(ve.fn.on=mu),ih&&(ve.fn.remove=ih),gu&&(ve.fn.val=gu),t8&&(ve.fn.click=t8),eh&&(ve.fn.hide=eh);var z0e=function(){function e(){this.title=Dt("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(t){return""},e.prototype.isActive=function(t){return!1},e.prototype.isDisabled=function(t){return cb(t)},e.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},e.prototype.exec=function(t,n){var r=this.getMenuConfig(t),i=r.allowedFileTypes,o=i===void 0?[]:i,a=r.customBrowseAndUpload;if(a)a(function(c,d,p){return Wf(t,c,d,p)});else{var s="";o.length>0&&(s='accept="'+o.join(", ")+'"');var u=ve("body"),l=ve('<input type="file" '+s+" multiple/>");l.hide(),u.append(l),l.click(),l.on("change",function(){var c=l[0].files;vW(t,c)})}},e}(),V0e={menus:[{key:"uploadImage",factory:function(){return new z0e},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'"+e.name+"' upload failed",t)},onError:function(e,t,n){console.error("'"+e.name+"' upload error",n)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,n=e;return n.insertData=function(r){if(cb(n))t(r);else if(r.getData("text/plain"))t(r);else{var i=r.files;i.length<=0?t(r):Array.prototype.slice.call(i).some(function(o){return function(a,s){var u=typeof Symbol=="function"&&a[Symbol.iterator];if(!u)return a;var l,c,d=u.call(a),p=[];try{for(;(s===void 0||s-- >0)&&!(l=d.next()).done;)p.push(l.value)}catch(h){c={error:h}}finally{try{l&&!l.done&&(u=d.return)&&u.call(d)}finally{if(c)throw c.error}}return p}(o.type.split("/"),1)[0]==="image"})?vW(e,i):t(r)}},n}};Aa("en",{highLightModule:{selectLang:"Language"}}),Aa("zh-CN",{highLightModule:{selectLang:"\u9009\u62E9\u8BED\u8A00"}});var RE=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof Oe!="undefined"?Oe:typeof self!="undefined"?self:{};function i3(e){var t={exports:{}};return e(t,t.exports),t.exports}var Wc,NE,IE=function(e){return e&&e.Math==Math&&e},Jn=IE(typeof globalThis=="object"&&globalThis)||IE(typeof window=="object"&&window)||IE(typeof self=="object"&&self)||IE(typeof RE=="object"&&RE)||function(){return this}()||Function("return this")(),G0e=Object.defineProperty,o3=function(e,t){try{G0e(Jn,e,{value:t,configurable:!0,writable:!0})}catch(n){Jn[e]=t}return t},zc=Jn["__core-js_shared__"]||o3("__core-js_shared__",{}),a3=i3(function(e){(e.exports=function(t,n){return zc[t]||(zc[t]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),yW=Function.prototype,s3=yW.bind,u3=yW.call,Y0e=s3&&s3.bind(u3),Sr=s3?function(e){return e&&Y0e(u3,e)}:function(e){return e&&function(){return u3.apply(e,arguments)}},K0e=Jn.TypeError,Rp=function(e){if(e==null)throw K0e("Can't call method on "+e);return e},X0e=Jn.Object,l3=function(e){return X0e(Rp(e))},J0e=Sr({}.hasOwnProperty),Ds=Object.hasOwn||function(e,t){return J0e(l3(e),t)},Q0e=0,Z0e=Math.random(),q0e=Sr(1 .toString),bW=function(e){return"Symbol("+(e===void 0?"":e)+")_"+q0e(++Q0e+Z0e,36)},na=function(e){return typeof e=="function"},$0e=function(e){return na(e)?e:void 0},Av=function(e,t){return arguments.length<2?$0e(Jn[e]):Jn[e]&&Jn[e][t]},c3=Av("navigator","userAgent")||"",_W=Jn.process,EW=Jn.Deno,wW=_W&&_W.versions||EW&&EW.version,AW=wW&&wW.v8;AW&&(NE=(Wc=AW.split("."))[0]>0&&Wc[0]<4?1:+(Wc[0]+Wc[1])),!NE&&c3&&(!(Wc=c3.match(/Edge\/(\d+)/))||Wc[1]>=74)&&(Wc=c3.match(/Chrome\/(\d+)/))&&(NE=+Wc[1]);var OW=NE,To=function(e){try{return!!e()}catch(t){return!0}},f3=!!Object.getOwnPropertySymbols&&!To(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&OW&&OW<41}),d3=f3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Ov=a3("wks"),_d=Jn.Symbol,xW=_d&&_d.for,eve=d3?_d:_d&&_d.withoutSetter||bW,Vc=function(e){if(!Ds(Ov,e)||!f3&&typeof Ov[e]!="string"){var t="Symbol."+e;f3&&Ds(_d,e)?Ov[e]=_d[e]:Ov[e]=d3&&xW?xW(t):eve(t)}return Ov[e]},CW={};CW[Vc("toStringTag")]="z";var h3=String(CW)==="[object z]",Mu=!To(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),qs=function(e){return typeof e=="object"?e!==null:na(e)},p3=Jn.document,tve=qs(p3)&&qs(p3.createElement),g3=function(e){return tve?p3.createElement(e):{}},SW=!Mu&&!To(function(){return Object.defineProperty(g3("div"),"a",{get:function(){return 7}}).a!=7}),nve=Jn.String,rve=Jn.TypeError,$s=function(e){if(qs(e))return e;throw rve(nve(e)+" is not an object")},xv=Function.prototype.call,bo=xv.bind?xv.bind(xv):function(){return xv.apply(xv,arguments)},TW=Sr({}.isPrototypeOf),ive=Jn.Object,m3=d3?function(e){return typeof e=="symbol"}:function(e){var t=Av("Symbol");return na(t)&&TW(t.prototype,ive(e))},ove=Jn.String,DW=function(e){try{return ove(e)}catch(t){return"Object"}},ave=Jn.TypeError,RW=function(e){if(na(e))return e;throw ave(DW(e)+" is not a function")},NW=function(e,t){var n=e[t];return n==null?void 0:RW(n)},sve=Jn.TypeError,uve=Jn.TypeError,lve=Vc("toPrimitive"),v3=function(e){var t=function(n,r){if(!qs(n)||m3(n))return n;var i,o=NW(n,lve);if(o){if(r===void 0&&(r="default"),i=bo(o,n,r),!qs(i)||m3(i))return i;throw uve("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,s){var u,l;if(s==="string"&&na(u=a.toString)&&!qs(l=bo(u,a)))return l;if(na(u=a.valueOf)&&!qs(l=bo(u,a)))return l;if(s!=="string"&&na(u=a.toString)&&!qs(l=bo(u,a)))return l;throw sve("Can't convert object to primitive value")}(n,r)}(e,"string");return m3(t)?t:t+""},cve=Jn.TypeError,IW=Object.defineProperty,PE={f:Mu?IW:function(e,t,n){if($s(e),t=v3(t),$s(n),SW)try{return IW(e,t,n)}catch(r){}if("get"in n||"set"in n)throw cve("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},y3=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Np=Mu?function(e,t,n){return PE.f(e,t,y3(1,n))}:function(e,t,n){return e[t]=n,e},fve=Sr(Function.toString);na(zc.inspectSource)||(zc.inspectSource=function(e){return fve(e)});var LE,Cv,jE,b3=zc.inspectSource,PW=Jn.WeakMap,dve=na(PW)&&/native code/.test(b3(PW)),LW=a3("keys"),jW=function(e){return LW[e]||(LW[e]=bW(e))},_3={},E3=Jn.TypeError,hve=Jn.WeakMap;if(dve||zc.state){var Ed=zc.state||(zc.state=new hve),pve=Sr(Ed.get),MW=Sr(Ed.has),gve=Sr(Ed.set);LE=function(e,t){if(MW(Ed,e))throw new E3("Object already initialized");return t.facade=e,gve(Ed,e,t),t},Cv=function(e){return pve(Ed,e)||{}},jE=function(e){return MW(Ed,e)}}else{var Ip=jW("state");_3[Ip]=!0,LE=function(e,t){if(Ds(e,Ip))throw new E3("Object already initialized");return t.facade=e,Np(e,Ip,t),t},Cv=function(e){return Ds(e,Ip)?e[Ip]:{}},jE=function(e){return Ds(e,Ip)}}var w3={set:LE,get:Cv,has:jE,enforce:function(e){return jE(e)?Cv(e):LE(e,{})},getterFor:function(e){return function(t){var n;if(!qs(t)||(n=Cv(t)).type!==e)throw E3("Incompatible receiver, "+e+" required");return n}}},kW=Function.prototype,mve=Mu&&Object.getOwnPropertyDescriptor,A3=Ds(kW,"name"),FW={EXISTS:A3,PROPER:A3&&function(){}.name==="something",CONFIGURABLE:A3&&(!Mu||Mu&&mve(kW,"name").configurable)},Sv=i3(function(e){var t=FW.CONFIGURABLE,n=w3.get,r=w3.enforce,i=String(String).split("String");(e.exports=function(o,a,s,u){var l,c=!!u&&!!u.unsafe,d=!!u&&!!u.enumerable,p=!!u&&!!u.noTargetGet,h=u&&u.name!==void 0?u.name:a;na(s)&&(String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ds(s,"name")||t&&s.name!==h)&&Np(s,"name",h),(l=r(s)).source||(l.source=i.join(typeof h=="string"?h:""))),o!==Jn?(c?!p&&o[a]&&(d=!0):delete o[a],d?o[a]=s:Np(o,a,s)):d?o[a]=s:o3(a,s)})(Function.prototype,"toString",function(){return na(this)&&n(this).source||b3(this)})}),vve=Sr({}.toString),yve=Sr("".slice),Gc=function(e){return yve(vve(e),8,-1)},bve=Vc("toStringTag"),_ve=Jn.Object,Eve=Gc(function(){return arguments}())=="Arguments",O3=h3?Gc:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=function(i,o){try{return i[o]}catch(a){}}(t=_ve(e),bve))=="string"?n:Eve?Gc(t):(r=Gc(t))=="Object"&&na(t.callee)?"Arguments":r},wve=h3?{}.toString:function(){return"[object "+O3(this)+"]"};h3||Sv(Object.prototype,"toString",wve,{unsafe:!0});var BW,UW={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},x3=g3("span").classList,HW=x3&&x3.constructor&&x3.constructor.prototype,Ave=HW===Object.prototype?void 0:HW,WW=Sr(Sr.bind),C3=Jn.Object,Ove=Sr("".split),S3=To(function(){return!C3("z").propertyIsEnumerable(0)})?function(e){return Gc(e)=="String"?Ove(e,""):C3(e)}:C3,xve=Math.ceil,Cve=Math.floor,T3=function(e){var t=+e;return t!=t||t===0?0:(t>0?Cve:xve)(t)},Sve=Math.min,zW=function(e){return e>0?Sve(T3(e),9007199254740991):0},D3=function(e){return zW(e.length)},VW=Array.isArray||function(e){return Gc(e)=="Array"},GW=function(){},Tve=[],YW=Av("Reflect","construct"),R3=/^\s*(?:class|function)\b/,Dve=Sr(R3.exec),Rve=!R3.exec(GW),Tv=function(e){if(!na(e))return!1;try{return YW(GW,Tve,e),!0}catch(t){return!1}},KW=!YW||To(function(){var e;return Tv(Tv.call)||!Tv(Object)||!Tv(function(){e=!0})||e})?function(e){if(!na(e))return!1;switch(O3(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Rve||!!Dve(R3,b3(e))}:Tv,Nve=Vc("species"),XW=Jn.Array,Ive=function(e,t){return new(function(n){var r;return VW(n)&&(r=n.constructor,(KW(r)&&(r===XW||VW(r.prototype))||qs(r)&&(r=r[Nve])===null)&&(r=void 0)),r===void 0?XW:r}(e))(t===0?0:t)},JW=Sr([].push),Yc=function(e){var t=e==1,n=e==2,r=e==3,i=e==4,o=e==6,a=e==7,s=e==5||o;return function(u,l,c,d){for(var p,h,_=l3(u),m=S3(_),v=function(U,Q){return RW(U),Q===void 0?U:WW?WW(U,Q):function(){return U.apply(Q,arguments)}}(l,c),y=D3(m),g=0,S=d||Ive,R=t?S(u,y):n||a?S(u,0):void 0;y>g;g++)if((s||g in m)&&(h=v(p=m[g],g,_),e))if(t)R[g]=h;else if(h)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:JW(R,p)}else switch(e){case 4:return!1;case 7:JW(R,p)}return o?-1:r||i?i:R}},Pve=[Yc(0),Yc(1),Yc(2),Yc(3),Yc(4),Yc(5),Yc(6),Yc(7)][0],N3=(BW=[].forEach)&&To(function(){BW.call(null,function(){throw 1},1)})?[].forEach:function(e){return Pve(this,e,arguments.length>1?arguments[1]:void 0)},QW=function(e){if(e&&e.forEach!==N3)try{Np(e,"forEach",N3)}catch(t){e.forEach=N3}};for(var I3 in UW)UW[I3]&&QW(Jn[I3]&&Jn[I3].prototype);QW(Ave);var ZW={}.propertyIsEnumerable,qW=Object.getOwnPropertyDescriptor,$W={f:qW&&!ZW.call({1:2},1)?function(e){var t=qW(this,e);return!!t&&t.enumerable}:ZW},ME=function(e){return S3(Rp(e))},ez=Object.getOwnPropertyDescriptor,tz={f:Mu?ez:function(e,t){if(e=ME(e),t=v3(t),SW)try{return ez(e,t)}catch(n){}if(Ds(e,t))return y3(!bo($W.f,e,t),e[t])}},Lve=Math.max,jve=Math.min,P3=function(e,t){var n=T3(e);return n<0?Lve(n+t,0):jve(n,t)},nz=function(e){return function(t,n,r){var i,o=ME(t),a=D3(o),s=P3(r,a);if(e&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},Mve=(nz(!0),nz(!1)),rz=Sr([].push),iz=function(e,t){var n,r=ME(e),i=0,o=[];for(n in r)!Ds(_3,n)&&Ds(r,n)&&rz(o,n);for(;t.length>i;)Ds(r,n=t[i++])&&(~Mve(o,n)||rz(o,n));return o},kE=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kve=kE.concat("length","prototype"),Fve={f:Object.getOwnPropertyNames||function(e){return iz(e,kve)}},oz={f:Object.getOwnPropertySymbols},Bve=Sr([].concat),Uve=Av("Reflect","ownKeys")||function(e){var t=Fve.f($s(e)),n=oz.f;return n?Bve(t,n(e)):t},Hve=function(e,t){for(var n=Uve(t),r=PE.f,i=tz.f,o=0;o<n.length;o++){var a=n[o];Ds(e,a)||r(e,a,i(t,a))}},Wve=/#|\.prototype\./,Dv=function(e,t){var n=Vve[zve(e)];return n==Yve||n!=Gve&&(na(t)?To(t):!!t)},zve=Dv.normalize=function(e){return String(e).replace(Wve,".").toLowerCase()},Vve=Dv.data={},Gve=Dv.NATIVE="N",Yve=Dv.POLYFILL="P",Kve=Dv,Xve=tz.f,FE=function(e,t){var n,r,i,o,a,s=e.target,u=e.global,l=e.stat;if(n=u?Jn:l?Jn[s]||o3(s,{}):(Jn[s]||{}).prototype)for(r in t){if(o=t[r],i=e.noTargetGet?(a=Xve(n,r))&&a.value:n[r],!Kve(u?r:s+(l?".":"#")+r,e.forced)&&i!==void 0){if(typeof o==typeof i)continue;Hve(o,i)}(e.sham||i&&i.sham)&&Np(o,"sham",!0),Sv(n,r,o,e)}},BE=Object.keys||function(e){return iz(e,kE)},Pp=Object.assign,az=Object.defineProperty,Jve=Sr([].concat),sz=!Pp||To(function(){if(Mu&&Pp({b:1},Pp(az({},"a",{enumerable:!0,get:function(){az(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(i){t[i]=i}),Pp({},e)[n]!=7||BE(Pp({},t)).join("")!=r})?function(e,t){for(var n=l3(e),r=arguments.length,i=1,o=oz.f,a=$W.f;r>i;)for(var s,u=S3(arguments[i++]),l=o?Jve(BE(u),o(u)):BE(u),c=l.length,d=0;c>d;)s=l[d++],Mu&&!bo(a,u,s)||(n[s]=u[s]);return n}:Pp;FE({target:"Object",stat:!0,forced:Object.assign!==sz},{assign:sz});var uz=i3(function(e){var t=function(n){var r=/\blang(?:uage)?-([\w-]+)\b/i,i=0,o={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function v(y){return y instanceof s?new s(y.type,v(y.content),y.alias):Array.isArray(y)?y.map(v):y.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(v){return Object.prototype.toString.call(v).slice(8,-1)},objId:function(v){return v.__id||Object.defineProperty(v,"__id",{value:++i}),v.__id},clone:function v(y,g){var S,R;switch(g=g||{},a.util.type(y)){case"Object":if(R=a.util.objId(y),g[R])return g[R];for(var U in S={},g[R]=S,y)y.hasOwnProperty(U)&&(S[U]=v(y[U],g));return S;case"Array":return R=a.util.objId(y),g[R]?g[R]:(S=[],g[R]=S,y.forEach(function(Q,X){S[X]=v(Q,g)}),S);default:return y}},getLanguage:function(v){for(;v&&!r.test(v.className);)v=v.parentElement;return v?(v.className.match(r)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var v=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(v){var y=document.getElementsByTagName("script");for(var g in y)if(y[g].src==v)return y[g]}return null}},isActive:function(v,y,g){for(var S="no-"+y;v;){var R=v.classList;if(R.contains(y))return!0;if(R.contains(S))return!1;v=v.parentElement}return!!g}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(v,y){var g=a.util.clone(a.languages[v]);for(var S in y)g[S]=y[S];return g},insertBefore:function(v,y,g,S){var R=(S=S||a.languages)[v],U={};for(var Q in R)if(R.hasOwnProperty(Q)){if(Q==y)for(var X in g)g.hasOwnProperty(X)&&(U[X]=g[X]);g.hasOwnProperty(Q)||(U[Q]=R[Q])}var le=S[v];return S[v]=U,a.languages.DFS(a.languages,function(xe,Qe){Qe===le&&xe!=v&&(this[xe]=U)}),U},DFS:function v(y,g,S,R){R=R||{};var U=a.util.objId;for(var Q in y)if(y.hasOwnProperty(Q)){g.call(y,Q,y[Q],S||Q);var X=y[Q],le=a.util.type(X);le!=="Object"||R[U(X)]?le!=="Array"||R[U(X)]||(R[U(X)]=!0,v(X,g,Q,R)):(R[U(X)]=!0,v(X,g,null,R))}}},plugins:{},highlightAll:function(v,y){a.highlightAllUnder(document,v,y)},highlightAllUnder:function(v,y,g){var S={callback:g,container:v,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),a.hooks.run("before-all-elements-highlight",S);for(var R,U=0;R=S.elements[U++];)a.highlightElement(R,y===!0,S.callback)},highlightElement:function(v,y,g){var S=a.util.getLanguage(v),R=a.languages[S];v.className=v.className.replace(r,"").replace(/\s+/g," ")+" language-"+S;var U=v.parentElement;U&&U.nodeName.toLowerCase()==="pre"&&(U.className=U.className.replace(r,"").replace(/\s+/g," ")+" language-"+S);var Q={element:v,language:S,grammar:R,code:v.textContent};function X(xe){Q.highlightedCode=xe,a.hooks.run("before-insert",Q),Q.element.innerHTML=Q.highlightedCode,a.hooks.run("after-highlight",Q),a.hooks.run("complete",Q),g&&g.call(Q.element)}if(a.hooks.run("before-sanity-check",Q),(U=Q.element.parentElement)&&U.nodeName.toLowerCase()==="pre"&&!U.hasAttribute("tabindex")&&U.setAttribute("tabindex","0"),!Q.code)return a.hooks.run("complete",Q),void(g&&g.call(Q.element));if(a.hooks.run("before-highlight",Q),Q.grammar)if(y&&n.Worker){var le=new Worker(a.filename);le.onmessage=function(xe){X(xe.data)},le.postMessage(JSON.stringify({language:Q.language,code:Q.code,immediateClose:!0}))}else X(a.highlight(Q.code,Q.grammar,Q.language));else X(a.util.encode(Q.code))},highlight:function(v,y,g){var S={code:v,grammar:y,language:g};return a.hooks.run("before-tokenize",S),S.tokens=a.tokenize(S.code,S.grammar),a.hooks.run("after-tokenize",S),s.stringify(a.util.encode(S.tokens),S.language)},tokenize:function(v,y){var g=y.rest;if(g){for(var S in g)y[S]=g[S];delete y.rest}var R=new c;return d(R,R.head,v),l(v,R,y,R.head,0),function(U){for(var Q=[],X=U.head.next;X!==U.tail;)Q.push(X.value),X=X.next;return Q}(R)},hooks:{all:{},add:function(v,y){var g=a.hooks.all;g[v]=g[v]||[],g[v].push(y)},run:function(v,y){var g=a.hooks.all[v];if(g&&g.length)for(var S,R=0;S=g[R++];)S(y)}},Token:s};function s(v,y,g,S){this.type=v,this.content=y,this.alias=g,this.length=0|(S||"").length}function u(v,y,g,S){v.lastIndex=y;var R=v.exec(g);if(R&&S&&R[1]){var U=R[1].length;R.index+=U,R[0]=R[0].slice(U)}return R}function l(v,y,g,S,R,U){for(var Q in g)if(g.hasOwnProperty(Q)&&g[Q]){var X=g[Q];X=Array.isArray(X)?X:[X];for(var le=0;le<X.length;++le){if(U&&U.cause==Q+","+le)return;var xe=X[le],Qe=xe.inside,it=!!xe.lookbehind,Ze=!!xe.greedy,vt=xe.alias;if(Ze&&!xe.pattern.global){var lt=xe.pattern.toString().match(/[imsuy]*$/)[0];xe.pattern=RegExp(xe.pattern.source,lt+"g")}for(var ct=xe.pattern||xe,dt=S.next,Pt=R;dt!==y.tail&&!(U&&Pt>=U.reach);Pt+=dt.value.length,dt=dt.next){var Kt=dt.value;if(y.length>v.length)return;if(!(Kt instanceof s)){var Gt,zt=1;if(Ze){if(!(Gt=u(ct,Pt,v,it)))break;var ye=Gt.index,re=Gt.index+Gt[0].length,De=Pt;for(De+=dt.value.length;ye>=De;)De+=(dt=dt.next).value.length;if(Pt=De-=dt.value.length,dt.value instanceof s)continue;for(var tt=dt;tt!==y.tail&&(De<re||typeof tt.value=="string");tt=tt.next)zt++,De+=tt.value.length;zt--,Kt=v.slice(Pt,De),Gt.index-=Pt}else if(!(Gt=u(ct,0,Kt,it)))continue;ye=Gt.index;var wt=Gt[0],st=Kt.slice(0,ye),Bt=Kt.slice(ye+wt.length),on=Pt+Kt.length;U&&on>U.reach&&(U.reach=on);var En=dt.prev;if(st&&(En=d(y,En,st),Pt+=st.length),p(y,En,zt),dt=d(y,En,new s(Q,Qe?a.tokenize(wt,Qe):wt,vt,wt)),Bt&&d(y,dt,Bt),zt>1){var Ln={cause:Q+","+le,reach:on};l(v,y,g,dt.prev,Pt,Ln),U&&Ln.reach>U.reach&&(U.reach=Ln.reach)}}}}}}function c(){var v={value:null,prev:null,next:null},y={value:null,prev:v,next:null};v.next=y,this.head=v,this.tail=y,this.length=0}function d(v,y,g){var S=y.next,R={value:g,prev:y,next:S};return y.next=R,S.prev=R,v.length++,R}function p(v,y,g){for(var S=y.next,R=0;R<g&&S!==v.tail;R++)S=S.next;y.next=S,S.prev=y,v.length-=R}if(n.Prism=a,s.stringify=function v(y,g){if(typeof y=="string")return y;if(Array.isArray(y)){var S="";return y.forEach(function(le){S+=v(le,g)}),S}var R={type:y.type,content:v(y.content,g),tag:"span",classes:["token",y.type],attributes:{},language:g},U=y.alias;U&&(Array.isArray(U)?Array.prototype.push.apply(R.classes,U):R.classes.push(U)),a.hooks.run("wrap",R);var Q="";for(var X in R.attributes)Q+=" "+X+'="'+(R.attributes[X]||"").replace(/"/g,""")+'"';return"<"+R.tag+' class="'+R.classes.join(" ")+'"'+Q+">"+R.content+"</"+R.tag+">"},!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(v){var y=JSON.parse(v.data),g=y.language,S=y.code,R=y.immediateClose;n.postMessage(a.highlight(S,a.languages[g],g)),R&&n.close()},!1)),a;var h=a.util.currentScript();function _(){a.manual||a.highlightAll()}if(h&&(a.filename=h.src,h.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var m=document.readyState;m==="loading"||m==="interactive"&&h&&h.defer?document.addEventListener("DOMContentLoaded",_):window.requestAnimationFrame?window.requestAnimationFrame(_):window.setTimeout(_,16)}return a}(typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{});/**
|
|
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
|
*
|
|
|
* @license MIT <https://opensource.org/licenses/MIT>
|
|
|
* @author Lea Verou <https://lea.verou.me>
|
|
|
* @namespace
|
|
|
* @public
|
|
|
*/e.exports&&(e.exports=t),RE!==void 0&&(RE.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(n,r){var i={};i["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},i.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:i}};o["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var a={};a[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(n,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var i=n.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(t!==void 0&&typeof document!="undefined"){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",i='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',o=/\blang(?:uage)?-([\w-]+)\b/i;t.hooks.add("before-highlightall",function(u){u.selector+=", "+i}),t.hooks.add("before-sanity-check",function(u){var l=u.element;if(l.matches(i)){u.code="",l.setAttribute(r,"loading");var c=l.appendChild(document.createElement("CODE"));c.textContent="Loading\u2026";var d=l.getAttribute("data-src"),p=u.language;if(p==="none"){var h=(/\.(\w+)$/.exec(d)||[,"none"])[1];p=n[h]||h}s(c,p),s(l,p);var _=t.plugins.autoloader;_&&_.loadLanguages(p);var m=new XMLHttpRequest;m.open("GET",d,!0),m.onreadystatechange=function(){m.readyState==4&&(m.status<400&&m.responseText?(l.setAttribute(r,"loaded"),c.textContent=m.responseText,t.highlightElement(c)):(l.setAttribute(r,"failed"),m.status>=400?c.textContent="\u2716 Error "+m.status+" while fetching file: "+m.statusText:c.textContent="\u2716 Error: File does not exist or is empty"))},m.send(null)}}),t.plugins.fileHighlight={highlight:function(u){for(var l,c=(u||document).querySelectorAll(i),d=0;l=c[d++];)t.highlightElement(l)}};var a=!1;t.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}function s(u,l){var c=u.className;c=c.replace(o," ")+" language-"+l,u.className=c.replace(/\s+/g," ").trim()}}()});!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(u,l){return u=u.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return i}),RegExp(u,l)}i=o(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx},alias:"language-javascript"}},e.languages.jsx.tag);var a=function(u){return u?typeof u=="string"?u:typeof u.content=="string"?u.content:u.content.map(a).join(""):""},s=function(u){for(var l=[],c=0;c<u.length;c++){var d=u[c],p=!1;if(typeof d!="string"&&(d.type==="tag"&&d.content[0]&&d.content[0].type==="tag"?d.content[0].content[0].content==="</"?l.length>0&&l[l.length-1].tagName===a(d.content[0].content[1])&&l.pop():d.content[d.content.length-1].content==="/>"||l.push({tagName:a(d.content[0].content[1]),openedBraces:0}):l.length>0&&d.type==="punctuation"&&d.content==="{"?l[l.length-1].openedBraces++:l.length>0&&l[l.length-1].openedBraces>0&&d.type==="punctuation"&&d.content==="}"?l[l.length-1].openedBraces--:p=!0),(p||typeof d=="string")&&l.length>0&&l[l.length-1].openedBraces===0){var h=a(d);c<u.length-1&&(typeof u[c+1]=="string"||u[c+1].type==="plain-text")&&(h+=a(u[c+1]),u.splice(c+1,1)),c>0&&(typeof u[c-1]=="string"||u[c-1].type==="plain-text")&&(h=a(u[c-1])+h,u.splice(c-1,1),c--),u[c]=new e.Token("plain-text",h,null,h)}d.content&&typeof d.content!="string"&&s(d.content)}};e.hooks.add("after-tokenize",function(u){u.language!=="jsx"&&u.language!=="tsx"||s(u.tokens)})}(Prism),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter;var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:o};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(u){/<\?/.test(u.code)&&e.languages["markup-templating"].buildPlaceholders(u,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}),e.hooks.add("after-tokenize",function(u){e.languages["markup-templating"].tokenizePlaceholders(u,"php")})}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism),function(e){function t(re,De){return re.replace(/<<(\d+)>>/g,function(tt,wt){return"(?:"+De[+wt]+")"})}function n(re,De,tt){return RegExp(t(re,De),tt||"")}function r(re,De){for(var tt=0;tt<De;tt++)re=re.replace(/<<self>>/g,function(){return"(?:"+re+")"});return re.replace(/<<self>>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",o="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function u(re){return"\\b(?:"+re.trim().replace(/ /g,"|")+")\\b"}var l=u(o),c=RegExp(u(i+" "+o+" "+a+" "+s)),d=u(o+" "+a+" "+s),p=u(i+" "+o+" "+s),h=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),_=r(/\((?:[^()]|<<self>>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,v=t(/<<0>>(?:\s*<<1>>)?/.source,[m,h]),y=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,v]),g=/\[\s*(?:,\s*)*\]/.source,S=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,g]),R=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[h,_,g]),U=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[R]),Q=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[U,y,g]),X={keyword:c,punctuation:/[<>()?,.:[\]]/},le=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,xe=/"(?:\\.|[^\\"\r\n])*"/.source,Qe=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[Qe]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[xe]),lookbehind:!0,greedy:!0},{pattern:RegExp(le),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:X},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,Q]),lookbehind:!0,inside:X},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,v]),lookbehind:!0,inside:X},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:X},{pattern:n(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[S]),lookbehind:!0,inside:X},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[Q,p,m]),inside:X}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[_]),lookbehind:!0,alias:"class-name",inside:X},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[Q,y]),inside:X,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[Q]),lookbehind:!0,inside:X,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,h]),inside:{function:n(/^<<0>>/.source,[m]),generic:{pattern:RegExp(h),alias:"class-name",inside:X}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,v,m,Q,c.source,_,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[v,_]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(Q),greedy:!0,inside:X},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var it=xe+"|"+le,Ze=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[it]),vt=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[Ze]),2),lt=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ct=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,vt]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[lt,ct]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[lt]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[vt]),inside:e.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var dt=/:[^}\r\n]+/.source,Pt=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[Ze]),2),Kt=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Pt,dt]),Gt=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[it]),2),zt=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Gt,dt]);function ye(re,De){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[re]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[De,dt]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Kt]),lookbehind:!0,greedy:!0,inside:ye(Kt,Pt)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[zt]),lookbehind:!0,greedy:!0,inside:ye(zt,Gt)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var t={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:t}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:t}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],e.languages.rb=e.languages.ruby}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift}),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,a=0;a<i.length;a++)o[i[a]]=e.languages.bash[i[a]];e.languages.shell=e.languages.bash}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(l){return l=l.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+l+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+o+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+o+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(l){["url","bold","italic","strike","code-snippet"].forEach(function(c){l!==c&&(e.languages.markdown[l].inside.content.inside[c]=e.languages.markdown[c])})}),e.hooks.add("after-tokenize",function(l){l.language!=="markdown"&&l.language!=="md"||function c(d){if(d&&typeof d!="string")for(var p=0,h=d.length;p<h;p++){var _=d[p];if(_.type==="code"){var m=_.content[1],v=_.content[3];if(m&&v&&m.type==="code-language"&&v.type==="code-block"&&typeof m.content=="string"){var y=m.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),g="language-"+(y=(/[a-z][\w-]*/i.exec(y)||[""])[0].toLowerCase());v.alias?typeof v.alias=="string"?v.alias=[v.alias,g]:v.alias.push(g):v.alias=[g]}}else c(_.content)}}(l.tokens)}),e.hooks.add("wrap",function(l){if(l.type==="code-block"){for(var c="",d=0,p=l.classes.length;d<p;d++){var h=l.classes[d],_=/language-(.+)/.exec(h);if(_){c=_[1];break}}var m=e.languages[c];if(m)l.content=e.highlight(function(y){var g=y.replace(a,"");return g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(S,R){var U;return(R=R.toLowerCase())[0]==="#"?(U=R[1]==="x"?parseInt(R.slice(2),16):Number(R.slice(1)),u(U)):s[R]||S})}(l.content),m,c);else if(c&&c!=="none"&&e.plugins.autoloader){var v="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());l.attributes.id=v,e.plugins.autoloader.loadLanguages(c,function(){var y=document.getElementById(v);y&&(y.innerHTML=e.highlight(y.textContent,e.languages[c],c))})}}});var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},u=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",function(e){if(e.language==="groovy"&&e.type==="string"){var t=e.content[0];if(t!="'"){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;t==="$"&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),e.content=e.content.replace(/</g,"<").replace(/&/g,"&"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push(t==="/"?"regex":"gstring")}}});var Qve=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function lz(e){return typeof e=="string"?e.length:typeof e.content=="string"?e.content.length:e.content.reduce(function(t,n){return t+lz(n)},0)}var UE,Zve=Jn.String,gl=function(e){if(O3(e)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Zve(e)},cz=function(){var e=$s(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},L3=Jn.RegExp,j3=To(function(){var e=L3("a","y");return e.lastIndex=2,e.exec("abcd")!=null}),qve=j3||To(function(){return!L3("a","y").sticky}),fz={BROKEN_CARET:j3||To(function(){var e=L3("^r","gy");return e.lastIndex=2,e.exec("str")!=null}),MISSED_STICKY:qve,UNSUPPORTED_Y:j3},$ve=Mu?Object.defineProperties:function(e,t){$s(e);for(var n,r=ME(t),i=BE(t),o=i.length,a=0;o>a;)PE.f(e,n=i[a++],r[n]);return e},e1e=Av("document","documentElement"),dz=jW("IE_PROTO"),M3=function(){},hz=function(e){return"<script>"+e+"</script>"},pz=function(e){e.write(hz("")),e.close();var t=e.parentWindow.Object;return e=null,t},HE=function(){try{UE=new ActiveXObject("htmlfile")}catch(r){}var e,t;HE=typeof document!="undefined"?document.domain&&UE?pz(UE):((t=g3("iframe")).style.display="none",e1e.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(hz("document.F=Object")),e.close(),e.F):pz(UE);for(var n=kE.length;n--;)delete HE.prototype[kE[n]];return HE()};_3[dz]=!0;var gz,k3,t1e=Object.create||function(e,t){var n;return e!==null?(M3.prototype=$s(e),n=new M3,M3.prototype=null,n[dz]=e):n=HE(),t===void 0?n:$ve(n,t)},n1e=Jn.RegExp,r1e=To(function(){var e=n1e(".","s");return!(e.dotAll&&e.exec(`
|
|
|
`)&&e.flags==="s")}),i1e=Jn.RegExp,o1e=To(function(){var e=i1e("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),a1e=w3.get,s1e=a3("native-string-replace",String.prototype.replace),WE=RegExp.prototype.exec,F3=WE,u1e=Sr("".charAt),l1e=Sr("".indexOf),c1e=Sr("".replace),B3=Sr("".slice),U3=(k3=/b*/g,bo(WE,gz=/a/,"a"),bo(WE,k3,"a"),gz.lastIndex!==0||k3.lastIndex!==0),mz=fz.BROKEN_CARET,H3=/()??/.exec("")[1]!==void 0;(U3||H3||mz||r1e||o1e)&&(F3=function(e){var t,n,r,i,o,a,s,u=this,l=a1e(u),c=gl(e),d=l.raw;if(d)return d.lastIndex=u.lastIndex,t=bo(F3,d,c),u.lastIndex=d.lastIndex,t;var p=l.groups,h=mz&&u.sticky,_=bo(cz,u),m=u.source,v=0,y=c;if(h&&(_=c1e(_,"y",""),l1e(_,"g")===-1&&(_+="g"),y=B3(c,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&u1e(c,u.lastIndex-1)!==`
|
|
|
`)&&(m="(?: "+m+")",y=" "+y,v++),n=new RegExp("^(?:"+m+")",_)),H3&&(n=new RegExp("^"+m+"$(?!\\s)",_)),U3&&(r=u.lastIndex),i=bo(WE,h?n:u,y),h?i?(i.input=B3(i.input,v),i[0]=B3(i[0],v),i.index=u.lastIndex,u.lastIndex+=i[0].length):u.lastIndex=0:U3&&i&&(u.lastIndex=u.global?i.index+i[0].length:r),H3&&i&&i.length>1&&bo(s1e,i[0],n,function(){for(o=1;o<arguments.length-2;o++)arguments[o]===void 0&&(i[o]=void 0)}),i&&p)for(i.groups=a=t1e(null),o=0;o<p.length;o++)a[(s=p[o])[0]]=i[s[1]];return i});var Rv=F3;FE({target:"RegExp",proto:!0,forced:/./.exec!==Rv},{exec:Rv});var W3=Function.prototype,vz=W3.apply,f1e=W3.bind,yz=W3.call,d1e=typeof Reflect=="object"&&Reflect.apply||(f1e?yz.bind(vz):function(){return yz.apply(vz,arguments)}),h1e=Vc("species"),z3=RegExp.prototype,p1e=Vc("match"),g1e=Jn.TypeError,m1e=Vc("species"),v1e=Sr("".charAt),bz=Sr("".charCodeAt),y1e=Sr("".slice),_z=function(e){return function(t,n){var r,i,o=gl(Rp(t)),a=T3(n),s=o.length;return a<0||a>=s?e?"":void 0:(r=bz(o,a))<55296||r>56319||a+1===s||(i=bz(o,a+1))<56320||i>57343?e?v1e(o,a):r:e?y1e(o,a,a+2):i-56320+(r-55296<<10)+65536}},b1e=(_z(!1),_z(!0)),_1e=function(e,t,n){return t+(n?b1e(e,t).length:1)},E1e=Jn.Array,w1e=Math.max,Ez=function(e,t,n){for(var r,i,o,a,s=D3(e),u=P3(t,s),l=P3(n===void 0?s:n,s),c=E1e(w1e(l-u,0)),d=0;u<l;u++,d++)r=c,i=d,o=e[u],(a=v3(i))in r?PE.f(r,a,y3(0,o)):r[a]=o;return c.length=d,c},A1e=Jn.TypeError,wz=function(e,t){var n=e.exec;if(na(n)){var r=bo(n,e,t);return r!==null&&$s(r),r}if(Gc(e)==="RegExp")return bo(Rv,e,t);throw A1e("RegExp#exec called on incompatible receiver")},Lp=fz.UNSUPPORTED_Y,O1e=Math.min,Az=[].push,x1e=Sr(/./.exec),jp=Sr(Az),Nv=Sr("".slice);!function(e,t,n,r){var i=Vc(e),o=!To(function(){var l={};return l[i]=function(){return 7},""[e](l)!=7}),a=o&&!To(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[h1e]=function(){return c},c.flags="",c[i]=/./[i],c.exec=function(){return l=!0,null},c[i](""),!l});if(!o||!a||n){var s=Sr(/./[i]),u=function(l,c,d){var p;return p="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(h,_){var m,v,y=gl(Rp(this)),g=_===void 0?4294967295:_>>>0;if(g===0)return[];if(h===void 0)return[y];if(!qs(m=h)||!((v=m[p1e])!==void 0?v:Gc(m)=="RegExp"))return bo(c,y,h,g);for(var S,R,U,Q=[],X=(h.ignoreCase?"i":"")+(h.multiline?"m":"")+(h.unicode?"u":"")+(h.sticky?"y":""),le=0,xe=new RegExp(h.source,X+"g");(S=bo(Rv,xe,y))&&!((R=xe.lastIndex)>le&&(jp(Q,Nv(y,le,S.index)),S.length>1&&S.index<y.length&&d1e(Az,Q,Ez(S,1)),U=S[0].length,le=R,Q.length>=g));)xe.lastIndex===S.index&&xe.lastIndex++;return le===y.length?!U&&x1e(xe,"")||jp(Q,""):jp(Q,Nv(y,le)),Q.length>g?Ez(Q,0,g):Q}:"0".split(void 0,0).length?function(h,_){return h===void 0&&_===0?[]:bo(c,this,h,_)}:c,[function(h,_){var m=Rp(this),v=h==null?void 0:NW(h,l);return v?bo(v,h,m,_):bo(p,gl(m),h,_)},function(h,_){var m=$s(this),v=gl(h),y=d(p,m,v,_,p!==c);if(y.done)return y.value;var g=function(vt,lt){var ct,dt=$s(vt).constructor;return dt===void 0||(ct=$s(dt)[m1e])==null?lt:function(Pt){if(KW(Pt))return Pt;throw g1e(DW(Pt)+" is not a constructor")}(ct)}(m,RegExp),S=m.unicode,R=(m.ignoreCase?"i":"")+(m.multiline?"m":"")+(m.unicode?"u":"")+(Lp?"g":"y"),U=new g(Lp?"^(?:"+m.source+")":m,R),Q=_===void 0?4294967295:_>>>0;if(Q===0)return[];if(v.length===0)return wz(U,v)===null?[v]:[];for(var X=0,le=0,xe=[];le<v.length;){U.lastIndex=Lp?0:le;var Qe,it=wz(U,Lp?Nv(v,le):v);if(it===null||(Qe=O1e(zW(U.lastIndex+(Lp?le:0)),v.length))===X)le=_1e(v,le,S);else{if(jp(xe,Nv(v,X,le)),xe.length===Q)return xe;for(var Ze=1;Ze<=it.length-1;Ze++)if(jp(xe,it[Ze]),xe.length===Q)return xe;le=X=Qe}}return jp(xe,Nv(v,X)),xe}]}(i,""[e],function(l,c,d,p,h){var _=Sr(l),m=c.exec;return m===Rv||m===z3.exec?o&&!h?{done:!0,value:s(c,d,p)}:{done:!0,value:_(d,c,p)}:{done:!1}});Sv(String.prototype,e,u[0]),Sv(z3,i,u[1])}r&&Np(z3[i],"sham",!0)}("split",0,!!To(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Lp),FE({global:!0},{globalThis:Jn}),cs&&(ve.fn.attr=cs);var C1e=FW.PROPER,V3=RegExp.prototype,Oz=V3.toString,S1e=Sr(cz),T1e=To(function(){return Oz.call({source:"a",flags:"b"})!="/a/b"}),D1e=C1e&&Oz.name!="toString";(T1e||D1e)&&Sv(RegExp.prototype,"toString",function(){var e=$s(this),t=gl(e.source),n=e.flags;return"/"+t+"/"+gl(n===void 0&&TW(V3,e)&&!("flags"in V3)?S1e(e):n)},{unsafe:!0});var R1e=function(){function e(){this.title=Dt("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115}return e.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig("codeSelectLang").codeLangs,i=r===void 0?[]:r;n.push({text:"plain text",value:""}),i.forEach(function(a){var s=a.text,u=a.value;n.push({text:s,value:u})});var o=this.getValue(t);return n.forEach(function(a){a.value===o?a.selected=!0:delete a.selected}),n},e.prototype.isActive=function(t){return!1},e.prototype.getValue=function(t){var n=this.getSelectCodeElem(t);if(n==null)return"";if(!Qt.isElement(n))return"";var r=n.language.toString(),i=t.getMenuConfig("codeSelectLang").codeLangs;return(i===void 0?[]:i).some(function(o){return o.value===r})?r:""},e.prototype.isDisabled=function(t){return t.selection==null||!this.getSelectCodeElem(t)},e.prototype.exec=function(t,n){if(this.getSelectCodeElem(t)!=null){var r={language:n.toString()};Me.setNodes(t,r,{match:function(i){return ae.checkNodeType(i,"code")}})}},e.prototype.getSelectCodeElem=function(t){var n=ae.getSelectedNodeByType(t,"code");if(n==null)return null;var r=ae.getParentNode(t,n);return Qt.isElement(r)?r.type!=="pre"?null:n:null},e}(),N1e={renderStyle:function(e,t){var n=e,r=t,i="";return Qve.forEach(function(o){n[o]&&(i=o)}),i&&function(o,a){o.data==null&&(o.data={});var s=o.data;s.props==null&&(s.props={}),Object.assign(s.props,{className:a})}(r,i="token "+i),r},parseStyleHtml:function(e,t,n){var r=ve(e);if(!Qt.isElement(t))return t;if(ae.getNodeType(t)!=="code")return t;var i=t,o=r.attr("class")||"";return o.indexOf("language-")===0?i.language=o.split("-")[1]||"":i.language=o.toLowerCase(),i},menus:[{key:"codeSelectLang",factory:function(){return new R1e},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){var n=e.language,r=n===void 0?"":n;return"<code "+(r?'class="language-'+r+'"':"")+">"+t+"</code>"}}]},I1e=/"/g,P1e=Sr("".replace);FE({target:"String",proto:!0,forced:To(function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})},{anchor:function(e){return t=e,n=gl(Rp(this)),r="<a",(r+=' name="'+P1e(gl(t),I1e,""")+'"')+">"+n+"</a>";var t,n,r}});var xz=function(e){var t,n,r,i=function(y,g){var S=typeof Symbol=="function"&&y[Symbol.iterator];if(!S)return y;var R,U,Q=S.call(y),X=[];try{for(;(g===void 0||g-- >0)&&!(R=Q.next()).done;)X.push(R.value)}catch(le){U={error:le}}finally{try{R&&!R.done&&(S=Q.return)&&S.call(Q)}finally{if(U)throw U.error}}return X}(e,2),o=i[0],a=i[1],s=[],u=function(y){if(!kt.isText(y))return null;var g=ae.getParentNode(null,y);if(g&&ae.getNodeType(g)==="code"){var S=ae.getParentNode(null,g);if(S&&ae.getNodeType(S)==="pre")return g}return null}(o);if(u==null)return s;var l=u.language,c=l===void 0?"":l;if(!c)return s;var d=function(y,g){if(!g)return[];var S=uz.languages[g];return S?uz.tokenize(y.text,S):[]}(o,c),p=0;try{for(var h=function(y){var g=typeof Symbol=="function"&&Symbol.iterator,S=g&&y[g],R=0;if(S)return S.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&R>=y.length&&(y=void 0),{value:y&&y[R++],done:!y}}};throw new TypeError(g?"Object is not iterable.":"Symbol.iterator is not defined.")}(d),_=h.next();!_.done;_=h.next()){var m=_.value,v=p+lz(m);typeof m!="string"&&s.push(((r={})[m.type]=!0,r.anchor={path:a,offset:p},r.focus={path:a,offset:v},r)),p=v}}catch(y){t={error:y}}finally{try{_&&!_.done&&(n=h.return)&&n.call(h)}finally{if(t)throw t.error}}return s},Si=function(){return Si=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Si.apply(this,arguments)},Do=function(){function e(){throw new Error(`\u4E0D\u80FD\u5B9E\u4F8B\u5316
|
|
|
Can not construct a instance`)}return e.setEditorConfig=function(t){t===void 0&&(t={}),this.editorConfig=Si(Si({},this.editorConfig),t)},e.setSimpleEditorConfig=function(t){t===void 0&&(t={}),this.simpleEditorConfig=Si(Si({},this.simpleEditorConfig),t)},e.setToolbarConfig=function(t){t===void 0&&(t={}),this.toolbarConfig=Si(Si({},this.toolbarConfig),t)},e.setSimpleToolbarConfig=function(t){t===void 0&&(t={}),this.simpleToolbarConfig=Si(Si({},this.simpleToolbarConfig),t)},e.registerPlugin=function(t){this.plugins.push(t)},e.registerMenu=function(t,n){!function(r,i){var o=r.key,a=r.factory,s=r.config,u=gs(gs({},s),i||{});if(am[o]!=null)throw new Error("Duplicated key '"+o+"' in menu items");am[o]=a,function(l,c){c!=null&&(q6[l]=c)}(o,u)}(t,n)},e.registerRenderElem=function(t){!function(n){var r=n.type,i=n.renderElem;rI[r||""]=i}(t)},e.registerRenderStyle=function(t){!function(n){mO.push(n)}(t)},e.registerElemToHtml=function(t){!function(n){var r=n.type,i=n.elemToHtml;e9[r||""]=i}(t)},e.registerStyleToHtml=function(t){!function(n){MA.push(n)}(t)},e.registerPreParseHtml=function(t){!function(n){L9.push(n)}(t)},e.registerParseElemHtml=function(t){!function(n){var r=n.selector,i=n.parseElemHtml;My[r]=i}(t)},e.registerParseStyleHtml=function(t){!function(n){nO.push(n)}(t)},e.registerModule=function(t){wd(t)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();/*! *****************************************************************************
|
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
|
purpose with or without fee is hereby granted.
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
|
***************************************************************************** */function wd(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,i=e.elemsToHtml,o=e.styleToHtml,a=e.preParseHtml,s=e.parseElemsHtml,u=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach(function(c){return Do.registerMenu(c)}),n&&n.forEach(function(c){return Do.registerRenderElem(c)}),r&&Do.registerRenderStyle(r),i&&i.forEach(function(c){return Do.registerElemToHtml(c)}),o&&Do.registerStyleToHtml(o),a&&a.forEach(function(c){return Do.registerPreParseHtml(c)}),s&&s.forEach(function(c){return Do.registerParseElemHtml(c)}),u&&Do.registerParseStyleHtml(u),l&&Do.registerPlugin(l)}Vae.forEach(function(e){return wd(e)}),wd(Ele),wd(Gfe),wd(ege),wd(V0e),wd(N1e);var Cz='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',Sz={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}},L1e={hoverbarKeys:Si(Si({},Sz),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Do.setEditorConfig(Si(Si({},L1e),{decorate:xz}));var j1e={hoverbarKeys:Sz};Do.setSimpleEditorConfig(Si(Si({},j1e),{decorate:xz}));var M1e={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:Dt("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:Dt("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:Dt("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:Dt("editor.image"),iconSvg:Cz,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:Dt("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};Do.setToolbarConfig(M1e);var k1e={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:Dt("editor.image"),iconSvg:Cz,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function F1e(e){e===void 0&&(e={});var t=e.selector,n=t===void 0?"":t,r=e.content,i=r===void 0?[]:r,o=e.html,a=e.config,s=a===void 0?{}:a,u=e.mode,l=(u===void 0?"default":u)==="simple"?Do.simpleEditorConfig:Do.editorConfig,c=Si(Si({},l.hoverbarKeys||{}),s.hoverbarKeys||{});return q$({selector:n,config:Si(Si(Si({},l),s),{hoverbarKeys:c}),content:i,html:o,plugins:Do.plugins})}function B1e(e){var t=e.selector,n=e.editor,r=e.config,i=r===void 0?{}:r,o=e.mode,a=o===void 0?"default":o;if(!t)throw new Error("Cannot find 'selector' when create toolbar");var s=a==="simple"?Do.simpleToolbarConfig:Do.toolbarConfig,u=function(l,c){if(l==null)throw new Error("Cannot create toolbar, because editor is null");var d=c.selector,p=c.config,h=p===void 0?{}:p;if(function(v,y){return W9(v,"data-w-e-toolbar",y)}(l,d))throw new Error("Repeated create toolbar by selector '"+d+"'");var _=gs({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},h||{}),m=new ree(d,_);return wA.set(m,l),Sy.set(l,m),m}(n,{selector:t,config:Si(Si({},s),i)});return u}Do.setSimpleToolbarConfig(k1e);var V1e={}}).call(this,O("IyRk"))},z4EP:function(ut,ne){ut.exports="data:image/png;base64,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"}}]);
|