@nocobase/app 1.3.38-beta → 1.4.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/.umirc.ts +12 -14
- package/client/src/pages/index.tsx +3 -0
- package/dist/client/4607.bae81918.async.js +1 -0
- package/dist/client/5617.d114c98c.async.js +78 -0
- package/dist/client/5721.ee2b0cf3.async.js +7 -0
- package/dist/client/index.html +2 -1
- package/dist/client/index.html.tpl +2 -1
- package/dist/client/npm._at_ant-design.e1f1f4b0.async.js +110 -0
- package/dist/client/{npm._at_antv.5ea2df50.async.js → npm._at_antv.56fcebdf.async.js} +5 -5
- package/dist/client/npm._at_budibase.113c5b6a.async.js +36 -0
- package/dist/client/npm._at_dnd-kit.2fac5dde.async.js +9 -0
- package/dist/client/npm._at_emotion.6969cd50.async.js +2 -0
- package/dist/client/npm._at_formily.b1a03e41.async.js +96 -0
- package/dist/client/npm._at_formulajs.ff63776b.async.js +1 -0
- package/dist/client/npm._at_rc-component.43f95f42.async.js +5 -0
- package/dist/client/npm._at_remix-run.9a0418a9.async.js +2 -0
- package/dist/client/npm.ahooks.b416801a.async.js +6 -0
- package/dist/client/npm.antd-style.ecb45bdd.async.js +1 -0
- package/dist/client/npm.antd.732d7b9d.async.js +476 -0
- package/dist/client/npm.axios.c42e25ff.async.js +11 -0
- package/dist/client/npm.bignumber.js.cb49cd48.async.js +1 -0
- package/dist/client/npm.buffer.6f3eca94.async.js +1 -0
- package/dist/client/npm.cytoscape.cba0c14d.async.js +5 -0
- package/dist/client/{npm.d3-selection.e2684be8.async.js → npm.d3-selection.15d6ab5b.async.js} +1 -1
- package/dist/client/npm.d3-shape.b48fc404.async.js +1 -0
- package/dist/client/{npm.d3-transition.83e0f431.async.js → npm.d3-transition.5fd82a9c.async.js} +1 -1
- package/dist/client/{npm.dayjs.f4357565.async.js → npm.dayjs.0a5fd152.async.js} +1 -1
- package/dist/client/{npm.decimal.js.bb6d6d2e.async.js → npm.decimal.js.19391b1c.async.js} +1 -1
- package/dist/client/npm.dompurify.d5071c22.async.js +3 -0
- package/dist/client/{npm.elkjs.d0ff4db1.async.js → npm.elkjs.f35a7d45.async.js} +4 -4
- package/dist/client/npm.gl-matrix.d851d654.async.js +1 -0
- package/dist/client/{npm.handlebars.c04806e7.async.js → npm.handlebars.ade4c4fe.async.js} +5 -5
- package/dist/client/{npm.highlight.js.4213abe5.async.js → npm.highlight.js.8a8320c8.async.js} +1 -1
- package/dist/client/{npm.html-tokenize.360bb6e8.async.js → npm.html-tokenize.a6d58ae7.async.js} +1 -1
- package/dist/client/npm.htmlparser2.27ad86bc.async.js +2 -0
- package/dist/client/npm.i18next.98bb572b.async.js +1 -0
- package/dist/client/npm.json5.d58066fd.async.js +14 -0
- package/dist/client/npm.jstat.733c0b2c.async.js +1 -0
- package/dist/client/{npm.layout-base.49e322a0.async.js → npm.layout-base.0bdb6d00.async.js} +1 -1
- package/dist/client/npm.lodash-es.c06b3dd5.async.js +1 -0
- package/dist/client/npm.lodash.0ff318b3.async.js +37 -0
- package/dist/client/npm.markdown-it.5b35f93d.async.js +15 -0
- package/dist/client/npm.mathjs.fd97f3b7.async.js +52 -0
- package/dist/client/npm.mermaid.defd0c88.async.js +1529 -0
- package/dist/client/npm.moment.36abbf2c.async.js +4 -0
- package/dist/client/npm.picomatch.7a2f1314.async.js +1 -0
- package/dist/client/npm.postcss.2ccf11ae.async.js +27 -0
- package/dist/client/{npm.quill.e91b3c12.async.js → npm.quill.9d4c2cd1.async.js} +7 -7
- package/dist/client/{npm.rc-menu.2e06b9c3.async.js → npm.rc-menu.adf5ade6.async.js} +1 -1
- package/dist/client/npm.rc-picker.ef8a3e8b.async.js +1 -0
- package/dist/client/{npm.rc-select.13236fb8.async.js → npm.rc-select.7c36e54e.async.js} +2 -2
- package/dist/client/{npm.rc-table.de3dd762.async.js → npm.rc-table.a153e021.async.js} +1 -1
- package/dist/client/npm.rc-tree.f61b7d87.async.js +1 -0
- package/dist/client/npm.rc-util.23a9b855.async.js +18 -0
- package/dist/client/npm.react-dom.b9fb5fd7.async.js +11 -0
- package/dist/client/npm.react-image-lightbox.727d3218.async.js +3 -0
- package/dist/client/npm.react-router-dom.832efba3.async.js +1 -0
- package/dist/client/npm.readable-stream.6e743f2a.async.js +1 -0
- package/dist/client/p__index.89314c11.async.js +1533 -0
- package/dist/client/umi.9e319d79.js +21 -0
- package/lib/index.js +11 -3
- package/package.json +6 -6
- package/src/index.ts +12 -9
- package/dist/client/4607.6d585996.async.js +0 -1
- package/dist/client/5721.cf90e884.async.js +0 -8
- package/dist/client/6718.1e7fe05d.async.js +0 -66
- package/dist/client/npm._at_ant-design.4fe52a2f.async.js +0 -110
- package/dist/client/npm._at_dnd-kit.01a3ad70.async.js +0 -6
- package/dist/client/npm._at_emotion.0c6b11eb.async.js +0 -2
- package/dist/client/npm._at_formily.f9d0b213.async.js +0 -101
- package/dist/client/npm._at_formulajs.fe3f9fca.async.js +0 -1
- package/dist/client/npm._at_rc-component.086dbf23.async.js +0 -5
- package/dist/client/npm._at_remix-run.55137b87.async.js +0 -3
- package/dist/client/npm.ahooks.c3df4eb6.async.js +0 -6
- package/dist/client/npm.antd-style.47ebbe31.async.js +0 -1
- package/dist/client/npm.antd.91188318.async.js +0 -476
- package/dist/client/npm.axios.f696c6e5.async.js +0 -2
- package/dist/client/npm.bignumber.js.70d3d7e8.async.js +0 -1
- package/dist/client/npm.buffer.9cce4593.async.js +0 -1
- package/dist/client/npm.cytoscape.39239e7b.async.js +0 -5
- package/dist/client/npm.d3-shape.3660138b.async.js +0 -1
- package/dist/client/npm.dompurify.93b5a130.async.js +0 -3
- package/dist/client/npm.gl-matrix.31b80e16.async.js +0 -1
- package/dist/client/npm.htmlparser2.cbbea4c4.async.js +0 -2
- package/dist/client/npm.i18next.eee0fc0f.async.js +0 -1
- package/dist/client/npm.json5.87aca70f.async.js +0 -14
- package/dist/client/npm.jstat.657c7dba.async.js +0 -1
- package/dist/client/npm.lodash-es.5eff0420.async.js +0 -1
- package/dist/client/npm.lodash.0f9322fa.async.js +0 -37
- package/dist/client/npm.markdown-it.5875530c.async.js +0 -15
- package/dist/client/npm.mathjs.d8df2940.async.js +0 -53
- package/dist/client/npm.mermaid.7057e144.async.js +0 -1530
- package/dist/client/npm.moment.3c26e672.async.js +0 -4
- package/dist/client/npm.postcss.368fceaf.async.js +0 -28
- package/dist/client/npm.rc-picker.218fa2cc.async.js +0 -1
- package/dist/client/npm.rc-tree.bdb9cee8.async.js +0 -1
- package/dist/client/npm.rc-util.87a2c212.async.js +0 -18
- package/dist/client/npm.react-dom.6236e62b.async.js +0 -11
- package/dist/client/npm.react-image-lightbox.0e0cf81f.async.js +0 -3
- package/dist/client/npm.react-router-dom.06c80c5d.async.js +0 -2
- package/dist/client/npm.readable-stream.41117b5f.async.js +0 -1
- package/dist/client/p__index.4c7bade9.async.js +0 -1509
- package/dist/client/umi.016284ce.js +0 -22
package/dist/client/{npm.html-tokenize.360bb6e8.async.js → npm.html-tokenize.a6d58ae7.async.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[2791],{31346:function(W,D,h){var d=h(48764).Buffer,E=h(15558),R=h(99564).Transform,x=h(35717);x(l,R),W.exports=l;var b={lt:"<".charCodeAt(0),gt:">".charCodeAt(0),slash:"/".charCodeAt(0),dquote:'"'.charCodeAt(0),squote:"'".charCodeAt(0),equal:"=".charCodeAt(0)},m={endScript:E("<\/script"),endStyle:E("</style"),endTitle:E("</title"),comment:E("<!--"),endComment:E("-->"),cdata:E("<![CDATA["),endCdata:E("]]>")},o={TagNameState:1,AttributeNameState:2,BeforeAttributeValueState:3,AttributeValueState:4};function l(){if(!(this instanceof l))return new l;R.call(this),this._readableState.objectMode=!0,this.state="text",this.tagState=null,this.quoteState=null,this.raw=null,this.buffers=[],this._last=[]}l.prototype._transform=function(s,A,T){var g=0,M=0;for(this._prev&&(s=d.concat([this._prev,s]),g=this._prev.length-1,M=this._offset,this._prev=null,this._offset=0);g<s.length;g++){var y=s[g];if(this._last.push(y),this._last.length>9&&this._last.shift(),this.raw){var N=this._testRaw(s,M,g);N&&(this.push(["text",N[0]]),this.raw===m.endComment||this.raw===m.endCdata?(this.state="text",this.buffers=[],this.push(["close",N[1]])):(this.state="open",this.buffers=[N[1]]),this.raw=null,M=g+1)}else{if(this.state==="text"&&y===b.lt&&g===s.length-1)return this._prev=s,this._offset=M,T();if(this.state==="text"&&y===b.lt&&!S(s[g+1]))g>0&&g-M>0&&this.buffers.push(s.slice(M,g)),M=g,this.state="open",this.tagState=o.TagNameState,this._pushState("text");else if(this.tagState===o.TagNameState&&S(y))this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeNameState&&y===b.equal)this.tagState=o.BeforeAttributeValueState;else if(!(this.tagState===o.BeforeAttributeValueState&&S(y)))if(this.tagState===o.BeforeAttributeValueState&&y!==b.gt)this.tagState=o.AttributeValueState,y===b.dquote?this.quoteState="double":y===b.squote?this.quoteState="single":this.quoteState=null;else if(this.tagState===o.AttributeValueState&&!this.quoteState&&S(y))this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeValueState&&this.quoteState==="double"&&y===b.dquote)this.quoteState=null,this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeValueState&&this.quoteState==="single"&&y===b.squote)this.quoteState=null,this.tagState=o.AttributeNameState;else if(this.state==="open"&&y===b.gt&&!this.quoteState)if(this.buffers.push(s.slice(M,g+1)),M=g+1,this.state="text",this.tagState=null,this._getChar(1)===b.slash)this._pushState("close");else{var V=this._getTag();V==="script"&&(this.raw=m.endScript),V==="style"&&(this.raw=m.endStyle),V==="title"&&(this.raw=m.endTitle),this._pushState("open")}else this.state==="open"&&n(this._last,m.comment)?(this.buffers.push(s.slice(M,g+1)),M=g+1,this.state="text",this.raw=m.endComment,this._pushState("open")):this.state==="open"&&n(this._last,m.cdata)&&(this.buffers.push(s.slice(M,g+1)),M=g+1,this.state="text",this.raw=m.endCdata,this._pushState("open"))}}M<s.length&&this.buffers.push(s.slice(M)),T()},l.prototype._flush=function(s){this.state==="text"&&this._pushState("text"),this.push(null),s()},l.prototype._pushState=function(s){if(this.buffers.length!==0){var A=d.concat(this.buffers);this.buffers=[],this.push([s,A])}},l.prototype._getChar=function(s){for(var A=0,T=0;T<this.buffers.length;T++){var g=this.buffers[T];if(A+g.length>s)return g[s-A];A+=g}},l.prototype._getTag=function(){for(var s=0,A="",T=0;T<this.buffers.length;T++){for(var g=this.buffers[T],M=0;M<g.length;M++)if(!(s===0&&M===0)){var y=String.fromCharCode(g[M]);if(/[^\w-!\[\]]/.test(y))return A.toLowerCase();A+=y}s+=g.length}},l.prototype._testRaw=function(y,A,T){var g=this.raw,M=this._last;if(n(M,g)){this.buffers.push(y.slice(A,T+1));var y=d.concat(this.buffers),N=y.length-g.length;return[y.slice(0,N),y.slice(N)]}};function n(s,A){if(s.length<A.length)return!1;for(var T=s.length-1,g=A.length-1;T>=0&&g>=0;T--,g--)if(p(s[T])!==p(A[g]))return!1;return!0}function p(s){return s>=65&&s<=90?s+32:s}function S(s){return s===32||s===9||s===10||s===12||s===13}},15558:function(W,D,h){var d=h(48764).Buffer,E=Object.prototype.toString,R=typeof d.alloc=="function"&&typeof d.allocUnsafe=="function"&&typeof d.from=="function";function x(l){return E.call(l).slice(8,-1)==="ArrayBuffer"}function b(l,n,p){n>>>=0;var S=l.byteLength-n;if(S<0)throw new RangeError("'offset' is out of bounds");if(p===void 0)p=S;else if(p>>>=0,p>S)throw new RangeError("'length' is out of bounds");return R?d.from(l.slice(n,n+p)):new d(new Uint8Array(l.slice(n,n+p)))}function m(l,n){if((typeof n!="string"||n==="")&&(n="utf8"),!d.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');return R?d.from(l,n):new d(l,n)}function o(l,n,p){if(typeof l=="number")throw new TypeError('"value" argument must not be a number');return x(l)?b(l,n,p):typeof l=="string"?m(l,n):R?d.from(l):new d(l)}W.exports=o},10400:function(W){W.exports=Array.isArray||function(D){return Object.prototype.toString.call(D)=="[object Array]"}},36770:function(W,D,h){var d=h(34155);W.exports=m;var E=Object.keys||function(n){var p=[];for(var S in n)p.push(S);return p},R=h(16497);R.inherits=h(35717);var x=h(55231),b=h(61288);R.inherits(m,x),l(E(b.prototype),function(n){m.prototype[n]||(m.prototype[n]=b.prototype[n])});function m(n){if(!(this instanceof m))return new m(n);x.call(this,n),b.call(this,n),n&&n.readable===!1&&(this.readable=!1),n&&n.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,n&&n.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",o)}function o(){this.allowHalfOpen||this._writableState.ended||d.nextTick(this.end.bind(this))}function l(n,p){for(var S=0,s=n.length;S<s;S++)p(n[S],S)}},84470:function(W,D,h){W.exports=R;var d=h(27475),E=h(16497);E.inherits=h(35717),E.inherits(R,d);function R(x){if(!(this instanceof R))return new R(x);d.call(this,x)}R.prototype._transform=function(x,b,m){m(null,x)}},55231:function(W,D,h){var d=h(34155);W.exports=n;var E=h(10400),R=h(48764).Buffer;n.ReadableState=l;var x=h(17187).EventEmitter;x.listenerCount||(x.listenerCount=function(e,t){return e.listeners(t).length});var b=h(91583),m=h(16497);m.inherits=h(35717);var o;m.inherits(n,b);function l(e,t){e=e||{};var r=e.highWaterMark;this.highWaterMark=r||r===0?r:16*1024,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!e.objectMode,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(o||(o=h(6941).s),this.decoder=new o(e.encoding),this.encoding=e.encoding)}function n(e){if(!(this instanceof n))return new n(e);this._readableState=new l(e,this),this.readable=!0,b.call(this)}n.prototype.push=function(e,t){var r=this._readableState;return typeof e=="string"&&!r.objectMode&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=new R(e,t),t="")),p(this,r,e,t,!1)},n.prototype.unshift=function(e){var t=this._readableState;return p(this,t,e,"",!0)};function p(e,t,r,u,w){var j=g(t,r);if(j)e.emit("error",j);else if(r==null)t.reading=!1,t.ended||M(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!w){var v=new Error("stream.push() after EOF");e.emit("error",v)}else if(t.endEmitted&&w){var v=new Error("stream.unshift() after end event");e.emit("error",v)}else t.decoder&&!w&&!u&&(r=t.decoder.write(r)),t.length+=t.objectMode?1:r.length,w?t.buffer.unshift(r):(t.reading=!1,t.buffer.push(r)),t.needReadable&&y(e),V(e,t);else w||(t.reading=!1);return S(t)}function S(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}n.prototype.setEncoding=function(e){o||(o=h(6941).s),this._readableState.decoder=new o(e),this._readableState.encoding=e};var s=8388608;function A(e){if(e>=s)e=s;else{e--;for(var t=1;t<32;t<<=1)e|=e>>t;e++}return e}function T(e,t){return t.length===0&&t.ended?0:t.objectMode?e===0?0:1:e===null||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=A(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}n.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var r=e,u;if((typeof e!="number"||e>0)&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return y(this),null;if(e=T(e,t),e===0&&t.ended)return u=null,t.length>0&&t.decoder&&(u=c(e,t),t.length-=u.length),t.length===0&&C(this),u;var w=t.needReadable;return t.length-e<=t.highWaterMark&&(w=!0),(t.ended||t.reading)&&(w=!1),w&&(t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),w&&!t.reading&&(e=T(r,t)),e>0?u=c(e,t):u=null,u===null&&(t.needReadable=!0,e=0),t.length-=e,t.length===0&&!t.ended&&(t.needReadable=!0),t.ended&&!t.endEmitted&&t.length===0&&C(this),u};function g(e,t){var r=null;return!R.isBuffer(t)&&typeof t!="string"&&t!==null&&t!==void 0&&!e.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}function M(e,t){if(t.decoder&&!t.ended){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.length>0?y(e):C(e)}function y(e){var t=e._readableState;t.needReadable=!1,!t.emittedReadable&&(t.emittedReadable=!0,t.sync?d.nextTick(function(){N(e)}):N(e))}function N(e){e.emit("readable")}function V(e,t){t.readingMore||(t.readingMore=!0,d.nextTick(function(){z(e,t)}))}function z(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}n.prototype._read=function(e){this.emit("error",new Error("not implemented"))},n.prototype.pipe=function(e,t){var r=this,u=this._readableState;switch(u.pipesCount){case 0:u.pipes=e;break;case 1:u.pipes=[u.pipes,e];break;default:u.pipes.push(e);break}u.pipesCount+=1;var w=(!t||t.end!==!1)&&e!==d.stdout&&e!==d.stderr,j=w?B:I;u.endEmitted?d.nextTick(j):r.once("end",j),e.on("unpipe",v);function v(G){G===r&&I()}function B(){e.end()}var P=F(r);e.on("drain",P);function I(){e.removeListener("close",O),e.removeListener("finish",K),e.removeListener("drain",P),e.removeListener("error",H),e.removeListener("unpipe",v),r.removeListener("end",B),r.removeListener("end",I),(!e._writableState||e._writableState.needDrain)&&P()}function H(G){X(),e.removeListener("error",H),x.listenerCount(e,"error")===0&&e.emit("error",G)}!e._events||!e._events.error?e.on("error",H):E(e._events.error)?e._events.error.unshift(H):e._events.error=[H,e._events.error];function O(){e.removeListener("finish",K),X()}e.once("close",O);function K(){e.removeListener("close",O),X()}e.once("finish",K);function X(){r.unpipe(e)}return e.emit("pipe",r),u.flowing||(this.on("readable",i),u.flowing=!0,d.nextTick(function(){f(r)})),e};function F(e){return function(){var t=this,r=e._readableState;r.awaitDrain--,r.awaitDrain===0&&f(e)}}function f(e){var t=e._readableState,r;t.awaitDrain=0;function u(w,j,v){var B=w.write(r);B===!1&&t.awaitDrain++}for(;t.pipesCount&&(r=e.read())!==null;)if(t.pipesCount===1?u(t.pipes,0,null):L(t.pipes,u),e.emit("data",r),t.awaitDrain>0)return;if(t.pipesCount===0){t.flowing=!1,x.listenerCount(e,"data")>0&&a(e);return}t.ranOut=!0}function i(){this._readableState.ranOut&&(this._readableState.ranOut=!1,f(this))}n.prototype.unpipe=function(e){var t=this._readableState;if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener("readable",i),t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,u=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",i),t.flowing=!1;for(var w=0;w<u;w++)r[w].emit("unpipe",this);return this}var w=U(t.pipes,e);return w===-1?this:(t.pipes.splice(w,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},n.prototype.on=function(e,t){var r=b.prototype.on.call(this,e,t);if(e==="data"&&!this._readableState.flowing&&a(this),e==="readable"&&this.readable){var u=this._readableState;u.readableListening||(u.readableListening=!0,u.emittedReadable=!1,u.needReadable=!0,u.reading?u.length&&y(this,u):this.read(0))}return r},n.prototype.addListener=n.prototype.on,n.prototype.resume=function(){a(this),this.read(0),this.emit("resume")},n.prototype.pause=function(){a(this,!0),this.emit("pause")};function a(e,t){var r=e._readableState;if(r.flowing)throw new Error("Cannot switch to old mode now.");var u=t||!1,w=!1;e.readable=!0,e.pipe=b.prototype.pipe,e.on=e.addListener=b.prototype.on,e.on("readable",function(){w=!0;for(var j;!u&&(j=e.read())!==null;)e.emit("data",j);j===null&&(w=!1,e._readableState.needReadable=!0)}),e.pause=function(){u=!0,this.emit("pause")},e.resume=function(){u=!1,w?d.nextTick(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}n.prototype.wrap=function(e){var t=this._readableState,r=!1,u=this;e.on("end",function(){if(t.decoder&&!t.ended){var v=t.decoder.end();v&&v.length&&u.push(v)}u.push(null)}),e.on("data",function(v){if(t.decoder&&(v=t.decoder.write(v)),!(t.objectMode&&v==null)&&!(!t.objectMode&&(!v||!v.length))){var B=u.push(v);B||(r=!0,e.pause())}});for(var w in e)typeof e[w]=="function"&&typeof this[w]=="undefined"&&(this[w]=function(v){return function(){return e[v].apply(e,arguments)}}(w));var j=["error","close","destroy","pause","resume"];return L(j,function(v){e.on(v,u.emit.bind(u,v))}),u._read=function(v){r&&(r=!1,e.resume())},u},n._fromList=c;function c(e,t){var r=t.buffer,u=t.length,w=!!t.decoder,j=!!t.objectMode,v;if(r.length===0)return null;if(u===0)v=null;else if(j)v=r.shift();else if(!e||e>=u)w?v=r.join(""):v=R.concat(r,u),r.length=0;else if(e<r[0].length){var B=r[0];v=B.slice(0,e),r[0]=B.slice(e)}else if(e===r[0].length)v=r.shift();else{w?v="":v=new R(e);for(var P=0,I=0,H=r.length;I<H&&P<e;I++){var B=r[0],O=Math.min(e-P,B.length);w?v+=B.slice(0,O):B.copy(v,P,0,O),O<B.length?r[0]=B.slice(O):r.shift(),P+=O}}return v}function C(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,d.nextTick(function(){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function L(e,t){for(var r=0,u=e.length;r<u;r++)t(e[r],r)}function U(e,t){for(var r=0,u=e.length;r<u;r++)if(e[r]===t)return r;return-1}},27475:function(W,D,h){W.exports=b;var d=h(36770),E=h(16497);E.inherits=h(35717),E.inherits(b,d);function R(o,l){this.afterTransform=function(n,p){return x(l,n,p)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function x(o,l,n){var p=o._transformState;p.transforming=!1;var S=p.writecb;if(!S)return o.emit("error",new Error("no writecb in Transform class"));p.writechunk=null,p.writecb=null,n!=null&&o.push(n),S&&S(l);var s=o._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&o._read(s.highWaterMark)}function b(o){if(!(this instanceof b))return new b(o);d.call(this,o);var l=this._transformState=new R(o,this),n=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){typeof this._flush=="function"?this._flush(function(p){m(n,p)}):m(n)})}b.prototype.push=function(o,l){return this._transformState.needTransform=!1,d.prototype.push.call(this,o,l)},b.prototype._transform=function(o,l,n){throw new Error("not implemented")},b.prototype._write=function(o,l,n){var p=this._transformState;if(p.writecb=n,p.writechunk=o,p.writeencoding=l,!p.transforming){var S=this._readableState;(p.needTransform||S.needReadable||S.length<S.highWaterMark)&&this._read(S.highWaterMark)}},b.prototype._read=function(o){var l=this._transformState;l.writechunk!==null&&l.writecb&&!l.transforming?(l.transforming=!0,this._transform(l.writechunk,l.writeencoding,l.afterTransform)):l.needTransform=!0};function m(o,l){if(l)return o.emit("error",l);var n=o._writableState,p=o._readableState,S=o._transformState;if(n.length)throw new Error("calling transform done when ws.length != 0");if(S.transforming)throw new Error("calling transform done when still transforming");return o.push(null)}},61288:function(W,D,h){var d=h(34155);W.exports=o;var E=h(48764).Buffer;o.WritableState=m;var R=h(16497);R.inherits=h(35717);var x=h(91583);R.inherits(o,x);function b(f,i,a){this.chunk=f,this.encoding=i,this.callback=a}function m(f,i){f=f||{};var a=f.highWaterMark;this.highWaterMark=a||a===0?a:16*1024,this.objectMode=!!f.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var c=f.decodeStrings===!1;this.decodeStrings=!c,this.defaultEncoding=f.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(C){g(i,C)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function o(f){var i=h(36770);if(!(this instanceof o)&&!(this instanceof i))return new o(f);this._writableState=new m(f,this),this.writable=!0,x.call(this)}o.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))};function l(f,i,a){var c=new Error("write after end");f.emit("error",c),d.nextTick(function(){a(c)})}function n(f,i,a,c){var C=!0;if(!E.isBuffer(a)&&typeof a!="string"&&a!==null&&a!==void 0&&!i.objectMode){var L=new TypeError("Invalid non-string/buffer chunk");f.emit("error",L),d.nextTick(function(){c(L)}),C=!1}return C}o.prototype.write=function(f,i,a){var c=this._writableState,C=!1;return typeof i=="function"&&(a=i,i=null),E.isBuffer(f)?i="buffer":i||(i=c.defaultEncoding),typeof a!="function"&&(a=function(){}),c.ended?l(this,c,a):n(this,c,f,a)&&(C=S(this,c,f,i,a)),C};function p(f,i,a){return!f.objectMode&&f.decodeStrings!==!1&&typeof i=="string"&&(i=new E(i,a)),i}function S(f,i,a,c,C){a=p(i,a,c),E.isBuffer(a)&&(c="buffer");var L=i.objectMode?1:a.length;i.length+=L;var U=i.length<i.highWaterMark;return U||(i.needDrain=!0),i.writing?i.buffer.push(new b(a,c,C)):s(f,i,L,a,c,C),U}function s(f,i,a,c,C,L){i.writelen=a,i.writecb=L,i.writing=!0,i.sync=!0,f._write(c,C,i.onwrite),i.sync=!1}function A(f,i,a,c,C){a?d.nextTick(function(){C(c)}):C(c),f._writableState.errorEmitted=!0,f.emit("error",c)}function T(f){f.writing=!1,f.writecb=null,f.length-=f.writelen,f.writelen=0}function g(f,i){var a=f._writableState,c=a.sync,C=a.writecb;if(T(a),i)A(f,a,c,i,C);else{var L=V(f,a);!L&&!a.bufferProcessing&&a.buffer.length&&N(f,a),c?d.nextTick(function(){M(f,a,L,C)}):M(f,a,L,C)}}function M(f,i,a,c){a||y(f,i),c(),a&&z(f,i)}function y(f,i){i.length===0&&i.needDrain&&(i.needDrain=!1,f.emit("drain"))}function N(f,i){i.bufferProcessing=!0;for(var a=0;a<i.buffer.length;a++){var c=i.buffer[a],C=c.chunk,L=c.encoding,U=c.callback,e=i.objectMode?1:C.length;if(s(f,i,e,C,L,U),i.writing){a++;break}}i.bufferProcessing=!1,a<i.buffer.length?i.buffer=i.buffer.slice(a):i.buffer.length=0}o.prototype._write=function(f,i,a){a(new Error("not implemented"))},o.prototype.end=function(f,i,a){var c=this._writableState;typeof f=="function"?(a=f,f=null,i=null):typeof i=="function"&&(a=i,i=null),typeof f!="undefined"&&f!==null&&this.write(f,i),!c.ending&&!c.finished&&F(this,c,a)};function V(f,i){return i.ending&&i.length===0&&!i.finished&&!i.writing}function z(f,i){var a=V(f,i);return a&&(i.finished=!0,f.emit("finish")),a}function F(f,i,a){i.ending=!0,z(f,i),a&&(i.finished?d.nextTick(a):f.once("finish",a)),i.ended=!0}},99564:function(W,D,h){var d=h(34155),E=h(91583);D=W.exports=h(55231),D.Stream=E,D.Readable=D,D.Writable=h(61288),D.Duplex=h(36770),D.Transform=h(27475),D.PassThrough=h(84470),!d.browser&&{NODE_ENV:"production",PUBLIC_PATH:"auto"}.READABLE_STREAM==="disable"&&(W.exports=h(91583))}}]);
|
|
1
|
+
(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[2791],{31346:function(W,D,h){var d=h(48764).Buffer,E=h(15558),R=h(99564).Transform,x=h(35717);x(l,R),W.exports=l;var b={lt:"<".charCodeAt(0),gt:">".charCodeAt(0),slash:"/".charCodeAt(0),dquote:'"'.charCodeAt(0),squote:"'".charCodeAt(0),equal:"=".charCodeAt(0)},m={endScript:E("<\/script"),endStyle:E("</style"),endTitle:E("</title"),comment:E("<!--"),endComment:E("-->"),cdata:E("<![CDATA["),endCdata:E("]]>")},o={TagNameState:1,AttributeNameState:2,BeforeAttributeValueState:3,AttributeValueState:4};function l(){if(!(this instanceof l))return new l;R.call(this),this._readableState.objectMode=!0,this.state="text",this.tagState=null,this.quoteState=null,this.raw=null,this.buffers=[],this._last=[]}l.prototype._transform=function(s,A,T){var g=0,M=0;for(this._prev&&(s=d.concat([this._prev,s]),g=this._prev.length-1,M=this._offset,this._prev=null,this._offset=0);g<s.length;g++){var y=s[g];if(this._last.push(y),this._last.length>9&&this._last.shift(),this.raw){var N=this._testRaw(s,M,g);N&&(this.push(["text",N[0]]),this.raw===m.endComment||this.raw===m.endCdata?(this.state="text",this.buffers=[],this.push(["close",N[1]])):(this.state="open",this.buffers=[N[1]]),this.raw=null,M=g+1)}else{if(this.state==="text"&&y===b.lt&&g===s.length-1)return this._prev=s,this._offset=M,T();if(this.state==="text"&&y===b.lt&&!S(s[g+1]))g>0&&g-M>0&&this.buffers.push(s.slice(M,g)),M=g,this.state="open",this.tagState=o.TagNameState,this._pushState("text");else if(this.tagState===o.TagNameState&&S(y))this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeNameState&&y===b.equal)this.tagState=o.BeforeAttributeValueState;else if(!(this.tagState===o.BeforeAttributeValueState&&S(y)))if(this.tagState===o.BeforeAttributeValueState&&y!==b.gt)this.tagState=o.AttributeValueState,y===b.dquote?this.quoteState="double":y===b.squote?this.quoteState="single":this.quoteState=null;else if(this.tagState===o.AttributeValueState&&!this.quoteState&&S(y))this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeValueState&&this.quoteState==="double"&&y===b.dquote)this.quoteState=null,this.tagState=o.AttributeNameState;else if(this.tagState===o.AttributeValueState&&this.quoteState==="single"&&y===b.squote)this.quoteState=null,this.tagState=o.AttributeNameState;else if(this.state==="open"&&y===b.gt&&!this.quoteState)if(this.buffers.push(s.slice(M,g+1)),M=g+1,this.state="text",this.tagState=null,this._getChar(1)===b.slash)this._pushState("close");else{var V=this._getTag();V==="script"&&(this.raw=m.endScript),V==="style"&&(this.raw=m.endStyle),V==="title"&&(this.raw=m.endTitle),this._pushState("open")}else this.state==="open"&&n(this._last,m.comment)?(this.buffers.push(s.slice(M,g+1)),M=g+1,this.state="text",this.raw=m.endComment,this._pushState("open")):this.state==="open"&&n(this._last,m.cdata)&&(this.buffers.push(s.slice(M,g+1)),M=g+1,this.state="text",this.raw=m.endCdata,this._pushState("open"))}}M<s.length&&this.buffers.push(s.slice(M)),T()},l.prototype._flush=function(s){this.state==="text"&&this._pushState("text"),this.push(null),s()},l.prototype._pushState=function(s){if(this.buffers.length!==0){var A=d.concat(this.buffers);this.buffers=[],this.push([s,A])}},l.prototype._getChar=function(s){for(var A=0,T=0;T<this.buffers.length;T++){var g=this.buffers[T];if(A+g.length>s)return g[s-A];A+=g}},l.prototype._getTag=function(){for(var s=0,A="",T=0;T<this.buffers.length;T++){for(var g=this.buffers[T],M=0;M<g.length;M++)if(!(s===0&&M===0)){var y=String.fromCharCode(g[M]);if(/[^\w-!\[\]]/.test(y))return A.toLowerCase();A+=y}s+=g.length}},l.prototype._testRaw=function(y,A,T){var g=this.raw,M=this._last;if(n(M,g)){this.buffers.push(y.slice(A,T+1));var y=d.concat(this.buffers),N=y.length-g.length;return[y.slice(0,N),y.slice(N)]}};function n(s,A){if(s.length<A.length)return!1;for(var T=s.length-1,g=A.length-1;T>=0&&g>=0;T--,g--)if(p(s[T])!==p(A[g]))return!1;return!0}function p(s){return s>=65&&s<=90?s+32:s}function S(s){return s===32||s===9||s===10||s===12||s===13}},15558:function(W,D,h){var d=h(48764).Buffer,E=Object.prototype.toString,R=typeof d.alloc=="function"&&typeof d.allocUnsafe=="function"&&typeof d.from=="function";function x(l){return E.call(l).slice(8,-1)==="ArrayBuffer"}function b(l,n,p){n>>>=0;var S=l.byteLength-n;if(S<0)throw new RangeError("'offset' is out of bounds");if(p===void 0)p=S;else if(p>>>=0,p>S)throw new RangeError("'length' is out of bounds");return R?d.from(l.slice(n,n+p)):new d(new Uint8Array(l.slice(n,n+p)))}function m(l,n){if((typeof n!="string"||n==="")&&(n="utf8"),!d.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');return R?d.from(l,n):new d(l,n)}function o(l,n,p){if(typeof l=="number")throw new TypeError('"value" argument must not be a number');return x(l)?b(l,n,p):typeof l=="string"?m(l,n):R?d.from(l):new d(l)}W.exports=o},10400:function(W){W.exports=Array.isArray||function(D){return Object.prototype.toString.call(D)=="[object Array]"}},36770:function(W,D,h){var d=h(34155);W.exports=m;var E=Object.keys||function(n){var p=[];for(var S in n)p.push(S);return p},R=h(16497);R.inherits=h(35717);var x=h(55231),b=h(61288);R.inherits(m,x),l(E(b.prototype),function(n){m.prototype[n]||(m.prototype[n]=b.prototype[n])});function m(n){if(!(this instanceof m))return new m(n);x.call(this,n),b.call(this,n),n&&n.readable===!1&&(this.readable=!1),n&&n.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,n&&n.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",o)}function o(){this.allowHalfOpen||this._writableState.ended||d.nextTick(this.end.bind(this))}function l(n,p){for(var S=0,s=n.length;S<s;S++)p(n[S],S)}},84470:function(W,D,h){W.exports=R;var d=h(27475),E=h(16497);E.inherits=h(35717),E.inherits(R,d);function R(x){if(!(this instanceof R))return new R(x);d.call(this,x)}R.prototype._transform=function(x,b,m){m(null,x)}},55231:function(W,D,h){var d=h(34155);W.exports=n;var E=h(10400),R=h(48764).Buffer;n.ReadableState=l;var x=h(17187).EventEmitter;x.listenerCount||(x.listenerCount=function(e,t){return e.listeners(t).length});var b=h(91583),m=h(16497);m.inherits=h(35717);var o;m.inherits(n,b);function l(e,t){e=e||{};var r=e.highWaterMark;this.highWaterMark=r||r===0?r:16*1024,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=!1,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.calledRead=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.objectMode=!!e.objectMode,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(o||(o=h(6941).s),this.decoder=new o(e.encoding),this.encoding=e.encoding)}function n(e){if(!(this instanceof n))return new n(e);this._readableState=new l(e,this),this.readable=!0,b.call(this)}n.prototype.push=function(e,t){var r=this._readableState;return typeof e=="string"&&!r.objectMode&&(t=t||r.defaultEncoding,t!==r.encoding&&(e=new R(e,t),t="")),p(this,r,e,t,!1)},n.prototype.unshift=function(e){var t=this._readableState;return p(this,t,e,"",!0)};function p(e,t,r,u,w){var j=g(t,r);if(j)e.emit("error",j);else if(r==null)t.reading=!1,t.ended||M(e,t);else if(t.objectMode||r&&r.length>0)if(t.ended&&!w){var v=new Error("stream.push() after EOF");e.emit("error",v)}else if(t.endEmitted&&w){var v=new Error("stream.unshift() after end event");e.emit("error",v)}else t.decoder&&!w&&!u&&(r=t.decoder.write(r)),t.length+=t.objectMode?1:r.length,w?t.buffer.unshift(r):(t.reading=!1,t.buffer.push(r)),t.needReadable&&y(e),V(e,t);else w||(t.reading=!1);return S(t)}function S(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||e.length===0)}n.prototype.setEncoding=function(e){o||(o=h(6941).s),this._readableState.decoder=new o(e),this._readableState.encoding=e};var s=8388608;function A(e){if(e>=s)e=s;else{e--;for(var t=1;t<32;t<<=1)e|=e>>t;e++}return e}function T(e,t){return t.length===0&&t.ended?0:t.objectMode?e===0?0:1:e===null||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=A(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}n.prototype.read=function(e){var t=this._readableState;t.calledRead=!0;var r=e,u;if((typeof e!="number"||e>0)&&(t.emittedReadable=!1),e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return y(this),null;if(e=T(e,t),e===0&&t.ended)return u=null,t.length>0&&t.decoder&&(u=c(e,t),t.length-=u.length),t.length===0&&C(this),u;var w=t.needReadable;return t.length-e<=t.highWaterMark&&(w=!0),(t.ended||t.reading)&&(w=!1),w&&(t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),w&&!t.reading&&(e=T(r,t)),e>0?u=c(e,t):u=null,u===null&&(t.needReadable=!0,e=0),t.length-=e,t.length===0&&!t.ended&&(t.needReadable=!0),t.ended&&!t.endEmitted&&t.length===0&&C(this),u};function g(e,t){var r=null;return!R.isBuffer(t)&&typeof t!="string"&&t!==null&&t!==void 0&&!e.objectMode&&(r=new TypeError("Invalid non-string/buffer chunk")),r}function M(e,t){if(t.decoder&&!t.ended){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.length>0?y(e):C(e)}function y(e){var t=e._readableState;t.needReadable=!1,!t.emittedReadable&&(t.emittedReadable=!0,t.sync?d.nextTick(function(){N(e)}):N(e))}function N(e){e.emit("readable")}function V(e,t){t.readingMore||(t.readingMore=!0,d.nextTick(function(){z(e,t)}))}function z(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}n.prototype._read=function(e){this.emit("error",new Error("not implemented"))},n.prototype.pipe=function(e,t){var r=this,u=this._readableState;switch(u.pipesCount){case 0:u.pipes=e;break;case 1:u.pipes=[u.pipes,e];break;default:u.pipes.push(e);break}u.pipesCount+=1;var w=(!t||t.end!==!1)&&e!==d.stdout&&e!==d.stderr,j=w?B:I;u.endEmitted?d.nextTick(j):r.once("end",j),e.on("unpipe",v);function v(G){G===r&&I()}function B(){e.end()}var P=F(r);e.on("drain",P);function I(){e.removeListener("close",O),e.removeListener("finish",K),e.removeListener("drain",P),e.removeListener("error",H),e.removeListener("unpipe",v),r.removeListener("end",B),r.removeListener("end",I),(!e._writableState||e._writableState.needDrain)&&P()}function H(G){X(),e.removeListener("error",H),x.listenerCount(e,"error")===0&&e.emit("error",G)}!e._events||!e._events.error?e.on("error",H):E(e._events.error)?e._events.error.unshift(H):e._events.error=[H,e._events.error];function O(){e.removeListener("finish",K),X()}e.once("close",O);function K(){e.removeListener("close",O),X()}e.once("finish",K);function X(){r.unpipe(e)}return e.emit("pipe",r),u.flowing||(this.on("readable",i),u.flowing=!0,d.nextTick(function(){f(r)})),e};function F(e){return function(){var t=this,r=e._readableState;r.awaitDrain--,r.awaitDrain===0&&f(e)}}function f(e){var t=e._readableState,r;t.awaitDrain=0;function u(w,j,v){var B=w.write(r);B===!1&&t.awaitDrain++}for(;t.pipesCount&&(r=e.read())!==null;)if(t.pipesCount===1?u(t.pipes,0,null):L(t.pipes,u),e.emit("data",r),t.awaitDrain>0)return;if(t.pipesCount===0){t.flowing=!1,x.listenerCount(e,"data")>0&&a(e);return}t.ranOut=!0}function i(){this._readableState.ranOut&&(this._readableState.ranOut=!1,f(this))}n.prototype.unpipe=function(e){var t=this._readableState;if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,this.removeListener("readable",i),t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var r=t.pipes,u=t.pipesCount;t.pipes=null,t.pipesCount=0,this.removeListener("readable",i),t.flowing=!1;for(var w=0;w<u;w++)r[w].emit("unpipe",this);return this}var w=U(t.pipes,e);return w===-1?this:(t.pipes.splice(w,1),t.pipesCount-=1,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},n.prototype.on=function(e,t){var r=b.prototype.on.call(this,e,t);if(e==="data"&&!this._readableState.flowing&&a(this),e==="readable"&&this.readable){var u=this._readableState;u.readableListening||(u.readableListening=!0,u.emittedReadable=!1,u.needReadable=!0,u.reading?u.length&&y(this,u):this.read(0))}return r},n.prototype.addListener=n.prototype.on,n.prototype.resume=function(){a(this),this.read(0),this.emit("resume")},n.prototype.pause=function(){a(this,!0),this.emit("pause")};function a(e,t){var r=e._readableState;if(r.flowing)throw new Error("Cannot switch to old mode now.");var u=t||!1,w=!1;e.readable=!0,e.pipe=b.prototype.pipe,e.on=e.addListener=b.prototype.on,e.on("readable",function(){w=!0;for(var j;!u&&(j=e.read())!==null;)e.emit("data",j);j===null&&(w=!1,e._readableState.needReadable=!0)}),e.pause=function(){u=!0,this.emit("pause")},e.resume=function(){u=!1,w?d.nextTick(function(){e.emit("readable")}):this.read(0),this.emit("resume")},e.emit("readable")}n.prototype.wrap=function(e){var t=this._readableState,r=!1,u=this;e.on("end",function(){if(t.decoder&&!t.ended){var v=t.decoder.end();v&&v.length&&u.push(v)}u.push(null)}),e.on("data",function(v){if(t.decoder&&(v=t.decoder.write(v)),!(t.objectMode&&v==null)&&!(!t.objectMode&&(!v||!v.length))){var B=u.push(v);B||(r=!0,e.pause())}});for(var w in e)typeof e[w]=="function"&&typeof this[w]>"u"&&(this[w]=function(v){return function(){return e[v].apply(e,arguments)}}(w));var j=["error","close","destroy","pause","resume"];return L(j,function(v){e.on(v,u.emit.bind(u,v))}),u._read=function(v){r&&(r=!1,e.resume())},u},n._fromList=c;function c(e,t){var r=t.buffer,u=t.length,w=!!t.decoder,j=!!t.objectMode,v;if(r.length===0)return null;if(u===0)v=null;else if(j)v=r.shift();else if(!e||e>=u)w?v=r.join(""):v=R.concat(r,u),r.length=0;else if(e<r[0].length){var B=r[0];v=B.slice(0,e),r[0]=B.slice(e)}else if(e===r[0].length)v=r.shift();else{w?v="":v=new R(e);for(var P=0,I=0,H=r.length;I<H&&P<e;I++){var B=r[0],O=Math.min(e-P,B.length);w?v+=B.slice(0,O):B.copy(v,P,0,O),O<B.length?r[0]=B.slice(O):r.shift(),P+=O}}return v}function C(e){var t=e._readableState;if(t.length>0)throw new Error("endReadable called on non-empty stream");!t.endEmitted&&t.calledRead&&(t.ended=!0,d.nextTick(function(){!t.endEmitted&&t.length===0&&(t.endEmitted=!0,e.readable=!1,e.emit("end"))}))}function L(e,t){for(var r=0,u=e.length;r<u;r++)t(e[r],r)}function U(e,t){for(var r=0,u=e.length;r<u;r++)if(e[r]===t)return r;return-1}},27475:function(W,D,h){W.exports=b;var d=h(36770),E=h(16497);E.inherits=h(35717),E.inherits(b,d);function R(o,l){this.afterTransform=function(n,p){return x(l,n,p)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null}function x(o,l,n){var p=o._transformState;p.transforming=!1;var S=p.writecb;if(!S)return o.emit("error",new Error("no writecb in Transform class"));p.writechunk=null,p.writecb=null,n!=null&&o.push(n),S&&S(l);var s=o._readableState;s.reading=!1,(s.needReadable||s.length<s.highWaterMark)&&o._read(s.highWaterMark)}function b(o){if(!(this instanceof b))return new b(o);d.call(this,o);var l=this._transformState=new R(o,this),n=this;this._readableState.needReadable=!0,this._readableState.sync=!1,this.once("finish",function(){typeof this._flush=="function"?this._flush(function(p){m(n,p)}):m(n)})}b.prototype.push=function(o,l){return this._transformState.needTransform=!1,d.prototype.push.call(this,o,l)},b.prototype._transform=function(o,l,n){throw new Error("not implemented")},b.prototype._write=function(o,l,n){var p=this._transformState;if(p.writecb=n,p.writechunk=o,p.writeencoding=l,!p.transforming){var S=this._readableState;(p.needTransform||S.needReadable||S.length<S.highWaterMark)&&this._read(S.highWaterMark)}},b.prototype._read=function(o){var l=this._transformState;l.writechunk!==null&&l.writecb&&!l.transforming?(l.transforming=!0,this._transform(l.writechunk,l.writeencoding,l.afterTransform)):l.needTransform=!0};function m(o,l){if(l)return o.emit("error",l);var n=o._writableState,p=o._readableState,S=o._transformState;if(n.length)throw new Error("calling transform done when ws.length != 0");if(S.transforming)throw new Error("calling transform done when still transforming");return o.push(null)}},61288:function(W,D,h){var d=h(34155);W.exports=o;var E=h(48764).Buffer;o.WritableState=m;var R=h(16497);R.inherits=h(35717);var x=h(91583);R.inherits(o,x);function b(f,i,a){this.chunk=f,this.encoding=i,this.callback=a}function m(f,i){f=f||{};var a=f.highWaterMark;this.highWaterMark=a||a===0?a:16*1024,this.objectMode=!!f.objectMode,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var c=f.decodeStrings===!1;this.decodeStrings=!c,this.defaultEncoding=f.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(C){g(i,C)},this.writecb=null,this.writelen=0,this.buffer=[],this.errorEmitted=!1}function o(f){var i=h(36770);if(!(this instanceof o)&&!(this instanceof i))return new o(f);this._writableState=new m(f,this),this.writable=!0,x.call(this)}o.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))};function l(f,i,a){var c=new Error("write after end");f.emit("error",c),d.nextTick(function(){a(c)})}function n(f,i,a,c){var C=!0;if(!E.isBuffer(a)&&typeof a!="string"&&a!==null&&a!==void 0&&!i.objectMode){var L=new TypeError("Invalid non-string/buffer chunk");f.emit("error",L),d.nextTick(function(){c(L)}),C=!1}return C}o.prototype.write=function(f,i,a){var c=this._writableState,C=!1;return typeof i=="function"&&(a=i,i=null),E.isBuffer(f)?i="buffer":i||(i=c.defaultEncoding),typeof a!="function"&&(a=function(){}),c.ended?l(this,c,a):n(this,c,f,a)&&(C=S(this,c,f,i,a)),C};function p(f,i,a){return!f.objectMode&&f.decodeStrings!==!1&&typeof i=="string"&&(i=new E(i,a)),i}function S(f,i,a,c,C){a=p(i,a,c),E.isBuffer(a)&&(c="buffer");var L=i.objectMode?1:a.length;i.length+=L;var U=i.length<i.highWaterMark;return U||(i.needDrain=!0),i.writing?i.buffer.push(new b(a,c,C)):s(f,i,L,a,c,C),U}function s(f,i,a,c,C,L){i.writelen=a,i.writecb=L,i.writing=!0,i.sync=!0,f._write(c,C,i.onwrite),i.sync=!1}function A(f,i,a,c,C){a?d.nextTick(function(){C(c)}):C(c),f._writableState.errorEmitted=!0,f.emit("error",c)}function T(f){f.writing=!1,f.writecb=null,f.length-=f.writelen,f.writelen=0}function g(f,i){var a=f._writableState,c=a.sync,C=a.writecb;if(T(a),i)A(f,a,c,i,C);else{var L=V(f,a);!L&&!a.bufferProcessing&&a.buffer.length&&N(f,a),c?d.nextTick(function(){M(f,a,L,C)}):M(f,a,L,C)}}function M(f,i,a,c){a||y(f,i),c(),a&&z(f,i)}function y(f,i){i.length===0&&i.needDrain&&(i.needDrain=!1,f.emit("drain"))}function N(f,i){i.bufferProcessing=!0;for(var a=0;a<i.buffer.length;a++){var c=i.buffer[a],C=c.chunk,L=c.encoding,U=c.callback,e=i.objectMode?1:C.length;if(s(f,i,e,C,L,U),i.writing){a++;break}}i.bufferProcessing=!1,a<i.buffer.length?i.buffer=i.buffer.slice(a):i.buffer.length=0}o.prototype._write=function(f,i,a){a(new Error("not implemented"))},o.prototype.end=function(f,i,a){var c=this._writableState;typeof f=="function"?(a=f,f=null,i=null):typeof i=="function"&&(a=i,i=null),typeof f<"u"&&f!==null&&this.write(f,i),!c.ending&&!c.finished&&F(this,c,a)};function V(f,i){return i.ending&&i.length===0&&!i.finished&&!i.writing}function z(f,i){var a=V(f,i);return a&&(i.finished=!0,f.emit("finish")),a}function F(f,i,a){i.ending=!0,z(f,i),a&&(i.finished?d.nextTick(a):f.once("finish",a)),i.ended=!0}},99564:function(W,D,h){var d=h(34155),E=h(91583);D=W.exports=h(55231),D.Stream=E,D.Readable=D,D.Writable=h(61288),D.Duplex=h(36770),D.Transform=h(27475),D.PassThrough=h(84470),!d.browser&&{NODE_ENV:"production",PUBLIC_PATH:"auto"}.READABLE_STREAM==="disable"&&(W.exports=h(91583))}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[7513],{50763:function(_,i,S){var N=this&&this.__createBinding||(Object.create?function(m,a,h,p){p===void 0&&(p=h);var T=Object.getOwnPropertyDescriptor(a,h);(!T||("get"in T?!a.__esModule:T.writable||T.configurable))&&(T={enumerable:!0,get:function(){return a[h]}}),Object.defineProperty(m,p,T)}:function(m,a,h,p){p===void 0&&(p=h),m[p]=a[h]}),l=this&&this.__setModuleDefault||(Object.create?function(m,a){Object.defineProperty(m,"default",{enumerable:!0,value:a})}:function(m,a){m.default=a}),n=this&&this.__importStar||function(m){if(m&&m.__esModule)return m;var a={};if(m!=null)for(var h in m)h!=="default"&&Object.prototype.hasOwnProperty.call(m,h)&&N(a,m,h);return l(a,m),a};Object.defineProperty(i,"__esModule",{value:!0}),i.Parser=void 0;var I=n(S(39889)),E=S(44076),f=new Set(["input","option","optgroup","select","button","datalist","textarea"]),s=new Set(["p"]),o=new Set(["thead","tbody"]),c=new Set(["dd","dt"]),r=new Set(["rt","rp"]),v=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",s],["h1",s],["h2",s],["h3",s],["h4",s],["h5",s],["h6",s],["select",f],["input",f],["output",f],["button",f],["datalist",f],["textarea",f],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",c],["dt",c],["address",s],["article",s],["aside",s],["blockquote",s],["details",s],["div",s],["dl",s],["fieldset",s],["figcaption",s],["figure",s],["footer",s],["form",s],["header",s],["hr",s],["main",s],["nav",s],["ol",s],["pre",s],["section",s],["table",s],["ul",s],["rt",r],["rp",r],["tbody",o],["tfoot",o]]),t=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),e=new Set(["math","svg"]),d=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),y=/\s|\//,A=function(){function m(a,h){h===void 0&&(h={});var p,T,u,b,g;this.options=h,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=a??{},this.lowerCaseTagNames=(p=h.lowerCaseTags)!==null&&p!==void 0?p:!h.xmlMode,this.lowerCaseAttributeNames=(T=h.lowerCaseAttributeNames)!==null&&T!==void 0?T:!h.xmlMode,this.tokenizer=new((u=h.Tokenizer)!==null&&u!==void 0?u:I.default)(this.options,this),(g=(b=this.cbs).onparserinit)===null||g===void 0||g.call(b,this)}return m.prototype.ontext=function(a,h){var p,T,u=this.getSlice(a,h);this.endIndex=h-1,(T=(p=this.cbs).ontext)===null||T===void 0||T.call(p,u),this.startIndex=h},m.prototype.ontextentity=function(a){var h,p,T=this.tokenizer.getSectionStart();this.endIndex=T-1,(p=(h=this.cbs).ontext)===null||p===void 0||p.call(h,(0,E.fromCodePoint)(a)),this.startIndex=T},m.prototype.isVoidElement=function(a){return!this.options.xmlMode&&t.has(a)},m.prototype.onopentagname=function(a,h){this.endIndex=h;var p=this.getSlice(a,h);this.lowerCaseTagNames&&(p=p.toLowerCase()),this.emitOpenTag(p)},m.prototype.emitOpenTag=function(a){var h,p,T,u;this.openTagStart=this.startIndex,this.tagname=a;var b=!this.options.xmlMode&&v.get(a);if(b)for(;this.stack.length>0&&b.has(this.stack[this.stack.length-1]);){var g=this.stack.pop();(p=(h=this.cbs).onclosetag)===null||p===void 0||p.call(h,g,!0)}this.isVoidElement(a)||(this.stack.push(a),e.has(a)?this.foreignContext.push(!0):d.has(a)&&this.foreignContext.push(!1)),(u=(T=this.cbs).onopentagname)===null||u===void 0||u.call(T,a),this.cbs.onopentag&&(this.attribs={})},m.prototype.endOpenTag=function(a){var h,p;this.startIndex=this.openTagStart,this.attribs&&((p=(h=this.cbs).onopentag)===null||p===void 0||p.call(h,this.tagname,this.attribs,a),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},m.prototype.onopentagend=function(a){this.endIndex=a,this.endOpenTag(!1),this.startIndex=a+1},m.prototype.onclosetag=function(a,h){var p,T,u,b,g,x;this.endIndex=h;var w=this.getSlice(a,h);if(this.lowerCaseTagNames&&(w=w.toLowerCase()),(e.has(w)||d.has(w))&&this.foreignContext.pop(),this.isVoidElement(w))!this.options.xmlMode&&w==="br"&&((T=(p=this.cbs).onopentagname)===null||T===void 0||T.call(p,"br"),(b=(u=this.cbs).onopentag)===null||b===void 0||b.call(u,"br",{},!0),(x=(g=this.cbs).onclosetag)===null||x===void 0||x.call(g,"br",!1));else{var D=this.stack.lastIndexOf(w);if(D!==-1)if(this.cbs.onclosetag)for(var O=this.stack.length-D;O--;)this.cbs.onclosetag(this.stack.pop(),O!==0);else this.stack.length=D;else!this.options.xmlMode&&w==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=h+1},m.prototype.onselfclosingtag=function(a){this.endIndex=a,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=a+1):this.onopentagend(a)},m.prototype.closeCurrentTag=function(a){var h,p,T=this.tagname;this.endOpenTag(a),this.stack[this.stack.length-1]===T&&((p=(h=this.cbs).onclosetag)===null||p===void 0||p.call(h,T,!a),this.stack.pop())},m.prototype.onattribname=function(a,h){this.startIndex=a;var p=this.getSlice(a,h);this.attribname=this.lowerCaseAttributeNames?p.toLowerCase():p},m.prototype.onattribdata=function(a,h){this.attribvalue+=this.getSlice(a,h)},m.prototype.onattribentity=function(a){this.attribvalue+=(0,E.fromCodePoint)(a)},m.prototype.onattribend=function(a,h){var p,T;this.endIndex=h,(T=(p=this.cbs).onattribute)===null||T===void 0||T.call(p,this.attribname,this.attribvalue,a===I.QuoteType.Double?'"':a===I.QuoteType.Single?"'":a===I.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},m.prototype.getInstructionName=function(a){var h=a.search(y),p=h<0?a:a.substr(0,h);return this.lowerCaseTagNames&&(p=p.toLowerCase()),p},m.prototype.ondeclaration=function(a,h){this.endIndex=h;var p=this.getSlice(a,h);if(this.cbs.onprocessinginstruction){var T=this.getInstructionName(p);this.cbs.onprocessinginstruction("!".concat(T),"!".concat(p))}this.startIndex=h+1},m.prototype.onprocessinginstruction=function(a,h){this.endIndex=h;var p=this.getSlice(a,h);if(this.cbs.onprocessinginstruction){var T=this.getInstructionName(p);this.cbs.onprocessinginstruction("?".concat(T),"?".concat(p))}this.startIndex=h+1},m.prototype.oncomment=function(a,h,p){var T,u,b,g;this.endIndex=h,(u=(T=this.cbs).oncomment)===null||u===void 0||u.call(T,this.getSlice(a,h-p)),(g=(b=this.cbs).oncommentend)===null||g===void 0||g.call(b),this.startIndex=h+1},m.prototype.oncdata=function(a,h,p){var T,u,b,g,x,w,D,O,C,B;this.endIndex=h;var P=this.getSlice(a,h-p);this.options.xmlMode||this.options.recognizeCDATA?((u=(T=this.cbs).oncdatastart)===null||u===void 0||u.call(T),(g=(b=this.cbs).ontext)===null||g===void 0||g.call(b,P),(w=(x=this.cbs).oncdataend)===null||w===void 0||w.call(x)):((O=(D=this.cbs).oncomment)===null||O===void 0||O.call(D,"[CDATA[".concat(P,"]]")),(B=(C=this.cbs).oncommentend)===null||B===void 0||B.call(C)),this.startIndex=h+1},m.prototype.onend=function(){var a,h;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var p=this.stack.length;p>0;this.cbs.onclosetag(this.stack[--p],!0));}(h=(a=this.cbs).onend)===null||h===void 0||h.call(a)},m.prototype.reset=function(){var a,h,p,T;(h=(a=this.cbs).onreset)===null||h===void 0||h.call(a),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(T=(p=this.cbs).onparserinit)===null||T===void 0||T.call(p,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},m.prototype.parseComplete=function(a){this.reset(),this.end(a)},m.prototype.getSlice=function(a,h){for(;a-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var p=this.buffers[0].slice(a-this.bufferOffset,h-this.bufferOffset);h-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),p+=this.buffers[0].slice(0,h-this.bufferOffset);return p},m.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},m.prototype.write=function(a){var h,p;if(this.ended){(p=(h=this.cbs).onerror)===null||p===void 0||p.call(h,new Error(".write() after done!"));return}this.buffers.push(a),this.tokenizer.running&&(this.tokenizer.write(a),this.writeIndex++)},m.prototype.end=function(a){var h,p;if(this.ended){(p=(h=this.cbs).onerror)===null||p===void 0||p.call(h,new Error(".end() after done!"));return}a&&this.write(a),this.ended=!0,this.tokenizer.end()},m.prototype.pause=function(){this.tokenizer.pause()},m.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},m.prototype.parseChunk=function(a){this.write(a)},m.prototype.done=function(a){this.end(a)},m}();i.Parser=A},39889:function(_,i,S){Object.defineProperty(i,"__esModule",{value:!0}),i.QuoteType=void 0;var N=S(44076),l;(function(t){t[t.Tab=9]="Tab",t[t.NewLine=10]="NewLine",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.Number=35]="Number",t[t.Amp=38]="Amp",t[t.SingleQuote=39]="SingleQuote",t[t.DoubleQuote=34]="DoubleQuote",t[t.Dash=45]="Dash",t[t.Slash=47]="Slash",t[t.Zero=48]="Zero",t[t.Nine=57]="Nine",t[t.Semi=59]="Semi",t[t.Lt=60]="Lt",t[t.Eq=61]="Eq",t[t.Gt=62]="Gt",t[t.Questionmark=63]="Questionmark",t[t.UpperA=65]="UpperA",t[t.LowerA=97]="LowerA",t[t.UpperF=70]="UpperF",t[t.LowerF=102]="LowerF",t[t.UpperZ=90]="UpperZ",t[t.LowerZ=122]="LowerZ",t[t.LowerX=120]="LowerX",t[t.OpeningSquareBracket=91]="OpeningSquareBracket"})(l||(l={}));var n;(function(t){t[t.Text=1]="Text",t[t.BeforeTagName=2]="BeforeTagName",t[t.InTagName=3]="InTagName",t[t.InSelfClosingTag=4]="InSelfClosingTag",t[t.BeforeClosingTagName=5]="BeforeClosingTagName",t[t.InClosingTagName=6]="InClosingTagName",t[t.AfterClosingTagName=7]="AfterClosingTagName",t[t.BeforeAttributeName=8]="BeforeAttributeName",t[t.InAttributeName=9]="InAttributeName",t[t.AfterAttributeName=10]="AfterAttributeName",t[t.BeforeAttributeValue=11]="BeforeAttributeValue",t[t.InAttributeValueDq=12]="InAttributeValueDq",t[t.InAttributeValueSq=13]="InAttributeValueSq",t[t.InAttributeValueNq=14]="InAttributeValueNq",t[t.BeforeDeclaration=15]="BeforeDeclaration",t[t.InDeclaration=16]="InDeclaration",t[t.InProcessingInstruction=17]="InProcessingInstruction",t[t.BeforeComment=18]="BeforeComment",t[t.CDATASequence=19]="CDATASequence",t[t.InSpecialComment=20]="InSpecialComment",t[t.InCommentLike=21]="InCommentLike",t[t.BeforeSpecialS=22]="BeforeSpecialS",t[t.SpecialStartSequence=23]="SpecialStartSequence",t[t.InSpecialTag=24]="InSpecialTag",t[t.BeforeEntity=25]="BeforeEntity",t[t.BeforeNumericEntity=26]="BeforeNumericEntity",t[t.InNamedEntity=27]="InNamedEntity",t[t.InNumericEntity=28]="InNumericEntity",t[t.InHexEntity=29]="InHexEntity"})(n||(n={}));function I(t){return t===l.Space||t===l.NewLine||t===l.Tab||t===l.FormFeed||t===l.CarriageReturn}function E(t){return t===l.Slash||t===l.Gt||I(t)}function f(t){return t>=l.Zero&&t<=l.Nine}function s(t){return t>=l.LowerA&&t<=l.LowerZ||t>=l.UpperA&&t<=l.UpperZ}function o(t){return t>=l.UpperA&&t<=l.UpperF||t>=l.LowerA&&t<=l.LowerF}var c;(function(t){t[t.NoValue=0]="NoValue",t[t.Unquoted=1]="Unquoted",t[t.Single=2]="Single",t[t.Double=3]="Double"})(c=i.QuoteType||(i.QuoteType={}));var r={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},v=function(){function t(e,d){var y=e.xmlMode,A=y===void 0?!1:y,m=e.decodeEntities,a=m===void 0?!0:m;this.cbs=d,this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=A,this.decodeEntities=a,this.entityTrie=A?N.xmlDecodeTree:N.htmlDecodeTree}return t.prototype.reset=function(){this.state=n.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=n.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},t.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},t.prototype.end=function(){this.running&&this.finish()},t.prototype.pause=function(){this.running=!1},t.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},t.prototype.getIndex=function(){return this.index},t.prototype.getSectionStart=function(){return this.sectionStart},t.prototype.stateText=function(e){e===l.Lt||!this.decodeEntities&&this.fastForwardTo(l.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=n.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===l.Amp&&(this.state=n.BeforeEntity)},t.prototype.stateSpecialStartSequence=function(e){var d=this.sequenceIndex===this.currentSequence.length,y=d?E(e):(e|32)===this.currentSequence[this.sequenceIndex];if(!y)this.isSpecial=!1;else if(!d){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=n.InTagName,this.stateInTagName(e)},t.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===l.Gt||I(e)){var d=this.index-this.currentSequence.length;if(this.sectionStart<d){var y=this.index;this.index=d,this.cbs.ontext(this.sectionStart,d),this.index=y}this.isSpecial=!1,this.sectionStart=d+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===r.TitleEnd?this.decodeEntities&&e===l.Amp&&(this.state=n.BeforeEntity):this.fastForwardTo(l.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===l.Lt)},t.prototype.stateCDATASequence=function(e){e===r.Cdata[this.sequenceIndex]?++this.sequenceIndex===r.Cdata.length&&(this.state=n.InCommentLike,this.currentSequence=r.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=n.InDeclaration,this.stateInDeclaration(e))},t.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},t.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===r.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=n.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},t.prototype.isTagStartChar=function(e){return this.xmlMode?!E(e):s(e)},t.prototype.startSpecial=function(e,d){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=d,this.state=n.SpecialStartSequence},t.prototype.stateBeforeTagName=function(e){if(e===l.ExclamationMark)this.state=n.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===l.Questionmark)this.state=n.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var d=e|32;this.sectionStart=this.index,!this.xmlMode&&d===r.TitleEnd[2]?this.startSpecial(r.TitleEnd,3):this.state=!this.xmlMode&&d===r.ScriptEnd[2]?n.BeforeSpecialS:n.InTagName}else e===l.Slash?this.state=n.BeforeClosingTagName:(this.state=n.Text,this.stateText(e))},t.prototype.stateInTagName=function(e){E(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(e))},t.prototype.stateBeforeClosingTagName=function(e){I(e)||(e===l.Gt?this.state=n.Text:(this.state=this.isTagStartChar(e)?n.InClosingTagName:n.InSpecialComment,this.sectionStart=this.index))},t.prototype.stateInClosingTagName=function(e){(e===l.Gt||I(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterClosingTagName,this.stateAfterClosingTagName(e))},t.prototype.stateAfterClosingTagName=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeAttributeName=function(e){e===l.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=n.InSpecialTag,this.sequenceIndex=0):this.state=n.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===l.Slash?this.state=n.InSelfClosingTag:I(e)||(this.state=n.InAttributeName,this.sectionStart=this.index)},t.prototype.stateInSelfClosingTag=function(e){e===l.Gt?(this.cbs.onselfclosingtag(this.index),this.state=n.Text,this.baseState=n.Text,this.sectionStart=this.index+1,this.isSpecial=!1):I(e)||(this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(e))},t.prototype.stateInAttributeName=function(e){(e===l.Eq||E(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=n.AfterAttributeName,this.stateAfterAttributeName(e))},t.prototype.stateAfterAttributeName=function(e){e===l.Eq?this.state=n.BeforeAttributeValue:e===l.Slash||e===l.Gt?(this.cbs.onattribend(c.NoValue,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(e)):I(e)||(this.cbs.onattribend(c.NoValue,this.index),this.state=n.InAttributeName,this.sectionStart=this.index)},t.prototype.stateBeforeAttributeValue=function(e){e===l.DoubleQuote?(this.state=n.InAttributeValueDq,this.sectionStart=this.index+1):e===l.SingleQuote?(this.state=n.InAttributeValueSq,this.sectionStart=this.index+1):I(e)||(this.sectionStart=this.index,this.state=n.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},t.prototype.handleInAttributeValue=function(e,d){e===d||!this.decodeEntities&&this.fastForwardTo(d)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(d===l.DoubleQuote?c.Double:c.Single,this.index),this.state=n.BeforeAttributeName):this.decodeEntities&&e===l.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},t.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,l.DoubleQuote)},t.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,l.SingleQuote)},t.prototype.stateInAttributeValueNoQuotes=function(e){I(e)||e===l.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(c.Unquoted,this.index),this.state=n.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===l.Amp&&(this.baseState=this.state,this.state=n.BeforeEntity)},t.prototype.stateBeforeDeclaration=function(e){e===l.OpeningSquareBracket?(this.state=n.CDATASequence,this.sequenceIndex=0):this.state=e===l.Dash?n.BeforeComment:n.InDeclaration},t.prototype.stateInDeclaration=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},t.prototype.stateInProcessingInstruction=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=n.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeComment=function(e){e===l.Dash?(this.state=n.InCommentLike,this.currentSequence=r.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=n.InDeclaration},t.prototype.stateInSpecialComment=function(e){(e===l.Gt||this.fastForwardTo(l.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=n.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeSpecialS=function(e){var d=e|32;d===r.ScriptEnd[3]?this.startSpecial(r.ScriptEnd,4):d===r.StyleEnd[3]?this.startSpecial(r.StyleEnd,4):(this.state=n.InTagName,this.stateInTagName(e))},t.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===l.Number?this.state=n.BeforeNumericEntity:e===l.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=n.InNamedEntity,this.stateInNamedEntity(e))},t.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,N.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var d=this.trieCurrent&N.BinTrieFlags.VALUE_LENGTH;if(d){var y=(d>>14)-1;if(!this.allowLegacyEntity()&&e!==l.Semi)this.trieIndex+=y;else{var A=this.index-this.entityExcess+1;A>this.sectionStart&&this.emitPartial(this.sectionStart,A),this.entityResult=this.trieIndex,this.trieIndex+=y,this.entityExcess=0,this.sectionStart=this.index+1,y===0&&this.emitNamedEntity()}}},t.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var e=(this.entityTrie[this.entityResult]&N.BinTrieFlags.VALUE_LENGTH)>>14;switch(e){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~N.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},t.prototype.stateBeforeNumericEntity=function(e){(e|32)===l.LowerX?(this.entityExcess++,this.state=n.InHexEntity):(this.state=n.InNumericEntity,this.stateInNumericEntity(e))},t.prototype.emitNumericEntity=function(e){var d=this.index-this.entityExcess-1,y=d+2+ +(this.state===n.InHexEntity);y!==this.index&&(d>this.sectionStart&&this.emitPartial(this.sectionStart,d),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,N.replaceCodePoint)(this.entityResult))),this.state=this.baseState},t.prototype.stateInNumericEntity=function(e){e===l.Semi?this.emitNumericEntity(!0):f(e)?(this.entityResult=this.entityResult*10+(e-l.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},t.prototype.stateInHexEntity=function(e){e===l.Semi?this.emitNumericEntity(!0):f(e)?(this.entityResult=this.entityResult*16+(e-l.Zero),this.entityExcess++):o(e)?(this.entityResult=this.entityResult*16+((e|32)-l.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},t.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===n.Text||this.baseState===n.InSpecialTag)},t.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===n.Text||this.state===n.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===n.InAttributeValueDq||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},t.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},t.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case n.Text:{this.stateText(e);break}case n.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case n.InSpecialTag:{this.stateInSpecialTag(e);break}case n.CDATASequence:{this.stateCDATASequence(e);break}case n.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case n.InAttributeName:{this.stateInAttributeName(e);break}case n.InCommentLike:{this.stateInCommentLike(e);break}case n.InSpecialComment:{this.stateInSpecialComment(e);break}case n.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case n.InTagName:{this.stateInTagName(e);break}case n.InClosingTagName:{this.stateInClosingTagName(e);break}case n.BeforeTagName:{this.stateBeforeTagName(e);break}case n.AfterAttributeName:{this.stateAfterAttributeName(e);break}case n.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case n.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case n.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case n.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case n.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case n.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case n.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case n.InDeclaration:{this.stateInDeclaration(e);break}case n.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case n.BeforeComment:{this.stateBeforeComment(e);break}case n.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case n.InNamedEntity:{this.stateInNamedEntity(e);break}case n.BeforeEntity:{this.stateBeforeEntity(e);break}case n.InHexEntity:{this.stateInHexEntity(e);break}case n.InNumericEntity:{this.stateInNumericEntity(e);break}default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},t.prototype.finish=function(){this.state===n.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},t.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===n.InCommentLike?this.currentSequence===r.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===n.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===n.InTagName||this.state===n.BeforeAttributeName||this.state===n.BeforeAttributeValue||this.state===n.AfterAttributeName||this.state===n.InAttributeName||this.state===n.InAttributeValueSq||this.state===n.InAttributeValueDq||this.state===n.InAttributeValueNq||this.state===n.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},t.prototype.emitPartial=function(e,d){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribdata(e,d):this.cbs.ontext(e,d)},t.prototype.emitCodePoint=function(e){this.baseState!==n.Text&&this.baseState!==n.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},t}();i.default=v},23719:function(_,i,S){var N=this&&this.__createBinding||(Object.create?function(m,a,h,p){p===void 0&&(p=h);var T=Object.getOwnPropertyDescriptor(a,h);(!T||("get"in T?!a.__esModule:T.writable||T.configurable))&&(T={enumerable:!0,get:function(){return a[h]}}),Object.defineProperty(m,p,T)}:function(m,a,h,p){p===void 0&&(p=h),m[p]=a[h]}),l=this&&this.__setModuleDefault||(Object.create?function(m,a){Object.defineProperty(m,"default",{enumerable:!0,value:a})}:function(m,a){m.default=a}),n=this&&this.__importStar||function(m){if(m&&m.__esModule)return m;var a={};if(m!=null)for(var h in m)h!=="default"&&Object.prototype.hasOwnProperty.call(m,h)&&N(a,m,h);return l(a,m),a},I=this&&this.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(i,"__esModule",{value:!0}),i.DomUtils=i.parseFeed=i.getFeed=i.ElementType=i.Tokenizer=i.createDomStream=i.parseDOM=i.parseDocument=i.DefaultHandler=i.DomHandler=i.Parser=void 0;var E=S(50763),f=S(50763);Object.defineProperty(i,"Parser",{enumerable:!0,get:function(){return f.Parser}});var s=S(16102),o=S(16102);Object.defineProperty(i,"DomHandler",{enumerable:!0,get:function(){return o.DomHandler}}),Object.defineProperty(i,"DefaultHandler",{enumerable:!0,get:function(){return o.DomHandler}});function c(m,a){var h=new s.DomHandler(void 0,a);return new E.Parser(h,a).end(m),h.root}i.parseDocument=c;function r(m,a){return c(m,a).children}i.parseDOM=r;function v(m,a,h){var p=new s.DomHandler(m,a,h);return new E.Parser(p,a)}i.createDomStream=v;var t=S(39889);Object.defineProperty(i,"Tokenizer",{enumerable:!0,get:function(){return I(t).default}}),i.ElementType=n(S(99960));var e=S(43992),d=S(43992);Object.defineProperty(i,"getFeed",{enumerable:!0,get:function(){return d.getFeed}});var y={xmlMode:!0};function A(m,a){return a===void 0&&(a=y),(0,e.getFeed)(r(m,a))}i.parseFeed=A,i.DomUtils=n(S(43992))},16102:function(_,i,S){var N=this&&this.__createBinding||(Object.create?function(s,o,c,r){r===void 0&&(r=c);var v=Object.getOwnPropertyDescriptor(o,c);(!v||("get"in v?!o.__esModule:v.writable||v.configurable))&&(v={enumerable:!0,get:function(){return o[c]}}),Object.defineProperty(s,r,v)}:function(s,o,c,r){r===void 0&&(r=c),s[r]=o[c]}),l=this&&this.__exportStar||function(s,o){for(var c in s)c!=="default"&&!Object.prototype.hasOwnProperty.call(o,c)&&N(o,s,c)};Object.defineProperty(i,"__esModule",{value:!0}),i.DomHandler=void 0;var n=S(99960),I=S(16805);l(S(16805),i);var E={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},f=function(){function s(o,c,r){this.dom=[],this.root=new I.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof c=="function"&&(r=c,c=E),typeof o=="object"&&(c=o,o=void 0),this.callback=o??null,this.options=c??E,this.elementCB=r??null}return s.prototype.onparserinit=function(o){this.parser=o},s.prototype.onreset=function(){this.dom=[],this.root=new I.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},s.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},s.prototype.onerror=function(o){this.handleCallback(o)},s.prototype.onclosetag=function(){this.lastNode=null;var o=this.tagStack.pop();this.options.withEndIndices&&(o.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(o)},s.prototype.onopentag=function(o,c){var r=this.options.xmlMode?n.ElementType.Tag:void 0,v=new I.Element(o,c,void 0,r);this.addNode(v),this.tagStack.push(v)},s.prototype.ontext=function(o){var c=this.lastNode;if(c&&c.type===n.ElementType.Text)c.data+=o,this.options.withEndIndices&&(c.endIndex=this.parser.endIndex);else{var r=new I.Text(o);this.addNode(r),this.lastNode=r}},s.prototype.oncomment=function(o){if(this.lastNode&&this.lastNode.type===n.ElementType.Comment){this.lastNode.data+=o;return}var c=new I.Comment(o);this.addNode(c),this.lastNode=c},s.prototype.oncommentend=function(){this.lastNode=null},s.prototype.oncdatastart=function(){var o=new I.Text(""),c=new I.CDATA([o]);this.addNode(c),o.parent=c,this.lastNode=o},s.prototype.oncdataend=function(){this.lastNode=null},s.prototype.onprocessinginstruction=function(o,c){var r=new I.ProcessingInstruction(o,c);this.addNode(r)},s.prototype.handleCallback=function(o){if(typeof this.callback=="function")this.callback(o,this.dom);else if(o)throw o},s.prototype.addNode=function(o){var c=this.tagStack[this.tagStack.length-1],r=c.children[c.children.length-1];this.options.withStartIndices&&(o.startIndex=this.parser.startIndex),this.options.withEndIndices&&(o.endIndex=this.parser.endIndex),c.children.push(o),r&&(o.prev=r,r.next=o),o.parent=c,this.lastNode=null},s}();i.DomHandler=f,i.default=f},16805:function(_,i,S){var N=this&&this.__extends||function(){var u=function(b,g){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,w){x.__proto__=w}||function(x,w){for(var D in w)Object.prototype.hasOwnProperty.call(w,D)&&(x[D]=w[D])},u(b,g)};return function(b,g){if(typeof g!="function"&&g!==null)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");u(b,g);function x(){this.constructor=b}b.prototype=g===null?Object.create(g):(x.prototype=g.prototype,new x)}}(),l=this&&this.__assign||function(){return l=Object.assign||function(u){for(var b,g=1,x=arguments.length;g<x;g++){b=arguments[g];for(var w in b)Object.prototype.hasOwnProperty.call(b,w)&&(u[w]=b[w])}return u},l.apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0}),i.cloneNode=i.hasChildren=i.isDocument=i.isDirective=i.isComment=i.isText=i.isCDATA=i.isTag=i.Element=i.Document=i.CDATA=i.NodeWithChildren=i.ProcessingInstruction=i.Comment=i.Text=i.DataNode=i.Node=void 0;var n=S(99960),I=function(){function u(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(u.prototype,"parentNode",{get:function(){return this.parent},set:function(b){this.parent=b},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"previousSibling",{get:function(){return this.prev},set:function(b){this.prev=b},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"nextSibling",{get:function(){return this.next},set:function(b){this.next=b},enumerable:!1,configurable:!0}),u.prototype.cloneNode=function(b){return b===void 0&&(b=!1),p(this,b)},u}();i.Node=I;var E=function(u){N(b,u);function b(g){var x=u.call(this)||this;return x.data=g,x}return Object.defineProperty(b.prototype,"nodeValue",{get:function(){return this.data},set:function(g){this.data=g},enumerable:!1,configurable:!0}),b}(I);i.DataNode=E;var f=function(u){N(b,u);function b(){var g=u!==null&&u.apply(this,arguments)||this;return g.type=n.ElementType.Text,g}return Object.defineProperty(b.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),b}(E);i.Text=f;var s=function(u){N(b,u);function b(){var g=u!==null&&u.apply(this,arguments)||this;return g.type=n.ElementType.Comment,g}return Object.defineProperty(b.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),b}(E);i.Comment=s;var o=function(u){N(b,u);function b(g,x){var w=u.call(this,x)||this;return w.name=g,w.type=n.ElementType.Directive,w}return Object.defineProperty(b.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),b}(E);i.ProcessingInstruction=o;var c=function(u){N(b,u);function b(g){var x=u.call(this)||this;return x.children=g,x}return Object.defineProperty(b.prototype,"firstChild",{get:function(){var g;return(g=this.children[0])!==null&&g!==void 0?g:null},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"childNodes",{get:function(){return this.children},set:function(g){this.children=g},enumerable:!1,configurable:!0}),b}(I);i.NodeWithChildren=c;var r=function(u){N(b,u);function b(){var g=u!==null&&u.apply(this,arguments)||this;return g.type=n.ElementType.CDATA,g}return Object.defineProperty(b.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),b}(c);i.CDATA=r;var v=function(u){N(b,u);function b(){var g=u!==null&&u.apply(this,arguments)||this;return g.type=n.ElementType.Root,g}return Object.defineProperty(b.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),b}(c);i.Document=v;var t=function(u){N(b,u);function b(g,x,w,D){w===void 0&&(w=[]),D===void 0&&(D=g==="script"?n.ElementType.Script:g==="style"?n.ElementType.Style:n.ElementType.Tag);var O=u.call(this,w)||this;return O.name=g,O.attribs=x,O.type=D,O}return Object.defineProperty(b.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"tagName",{get:function(){return this.name},set:function(g){this.name=g},enumerable:!1,configurable:!0}),Object.defineProperty(b.prototype,"attributes",{get:function(){var g=this;return Object.keys(this.attribs).map(function(x){var w,D;return{name:x,value:g.attribs[x],namespace:(w=g["x-attribsNamespace"])===null||w===void 0?void 0:w[x],prefix:(D=g["x-attribsPrefix"])===null||D===void 0?void 0:D[x]}})},enumerable:!1,configurable:!0}),b}(c);i.Element=t;function e(u){return(0,n.isTag)(u)}i.isTag=e;function d(u){return u.type===n.ElementType.CDATA}i.isCDATA=d;function y(u){return u.type===n.ElementType.Text}i.isText=y;function A(u){return u.type===n.ElementType.Comment}i.isComment=A;function m(u){return u.type===n.ElementType.Directive}i.isDirective=m;function a(u){return u.type===n.ElementType.Root}i.isDocument=a;function h(u){return Object.prototype.hasOwnProperty.call(u,"children")}i.hasChildren=h;function p(u,b){b===void 0&&(b=!1);var g;if(y(u))g=new f(u.data);else if(A(u))g=new s(u.data);else if(e(u)){var x=b?T(u.children):[],w=new t(u.name,l({},u.attribs),x);x.forEach(function(B){return B.parent=w}),u.namespace!=null&&(w.namespace=u.namespace),u["x-attribsNamespace"]&&(w["x-attribsNamespace"]=l({},u["x-attribsNamespace"])),u["x-attribsPrefix"]&&(w["x-attribsPrefix"]=l({},u["x-attribsPrefix"])),g=w}else if(d(u)){var x=b?T(u.children):[],D=new r(x);x.forEach(function(P){return P.parent=D}),g=D}else if(a(u)){var x=b?T(u.children):[],O=new v(x);x.forEach(function(P){return P.parent=O}),u["x-mode"]&&(O["x-mode"]=u["x-mode"]),g=O}else if(m(u)){var C=new o(u.name,u.data);u["x-name"]!=null&&(C["x-name"]=u["x-name"],C["x-publicId"]=u["x-publicId"],C["x-systemId"]=u["x-systemId"]),g=C}else throw new Error("Not implemented yet: ".concat(u.type));return g.startIndex=u.startIndex,g.endIndex=u.endIndex,u.sourceCodeLocation!=null&&(g.sourceCodeLocation=u.sourceCodeLocation),g}i.cloneNode=p;function T(u){for(var b=u.map(function(x){return p(x,!0)}),g=1;g<b.length;g++)b[g].prev=b[g-1],b[g-1].next=b[g];return b}},34921:function(_,i,S){Object.defineProperty(i,"__esModule",{value:!0}),i.getFeed=void 0;var N=S(72178),l=S(55355);function n(e){var d=c(t,e);return d?d.name==="feed"?I(d):E(d):null}i.getFeed=n;function I(e){var d,y=e.children,A={type:"atom",items:(0,l.getElementsByTagName)("entry",y).map(function(h){var p,T=h.children,u={media:o(T)};v(u,"id","id",T),v(u,"title","title",T);var b=(p=c("link",T))===null||p===void 0?void 0:p.attribs.href;b&&(u.link=b);var g=r("summary",T)||r("content",T);g&&(u.description=g);var x=r("updated",T);return x&&(u.pubDate=new Date(x)),u})};v(A,"id","id",y),v(A,"title","title",y);var m=(d=c("link",y))===null||d===void 0?void 0:d.attribs.href;m&&(A.link=m),v(A,"description","subtitle",y);var a=r("updated",y);return a&&(A.updated=new Date(a)),v(A,"author","email",y,!0),A}function E(e){var d,y,A=(y=(d=c("channel",e.children))===null||d===void 0?void 0:d.children)!==null&&y!==void 0?y:[],m={type:e.name.substr(0,3),id:"",items:(0,l.getElementsByTagName)("item",e.children).map(function(h){var p=h.children,T={media:o(p)};v(T,"id","guid",p),v(T,"title","title",p),v(T,"link","link",p),v(T,"description","description",p);var u=r("pubDate",p)||r("dc:date",p);return u&&(T.pubDate=new Date(u)),T})};v(m,"title","title",A),v(m,"link","link",A),v(m,"description","description",A);var a=r("lastBuildDate",A);return a&&(m.updated=new Date(a)),v(m,"author","managingEditor",A,!0),m}var f=["url","type","lang"],s=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function o(e){return(0,l.getElementsByTagName)("media:content",e).map(function(d){for(var y=d.attribs,A={medium:y.medium,isDefault:!!y.isDefault},m=0,a=f;m<a.length;m++){var h=a[m];y[h]&&(A[h]=y[h])}for(var p=0,T=s;p<T.length;p++){var h=T[p];y[h]&&(A[h]=parseInt(y[h],10))}return y.expression&&(A.expression=y.expression),A})}function c(e,d){return(0,l.getElementsByTagName)(e,d,!0,1)[0]}function r(e,d,y){return y===void 0&&(y=!1),(0,N.textContent)((0,l.getElementsByTagName)(e,d,y,1)).trim()}function v(e,d,y,A,m){m===void 0&&(m=!1);var a=r(y,A,m);a&&(e[d]=a)}function t(e){return e==="rss"||e==="feed"||e==="rdf:RDF"}},99256:function(_,i,S){Object.defineProperty(i,"__esModule",{value:!0}),i.uniqueSort=i.compareDocumentPosition=i.DocumentPosition=i.removeSubsets=void 0;var N=S(16102);function l(f){for(var s=f.length;--s>=0;){var o=f[s];if(s>0&&f.lastIndexOf(o,s-1)>=0){f.splice(s,1);continue}for(var c=o.parent;c;c=c.parent)if(f.includes(c)){f.splice(s,1);break}}return f}i.removeSubsets=l;var n;(function(f){f[f.DISCONNECTED=1]="DISCONNECTED",f[f.PRECEDING=2]="PRECEDING",f[f.FOLLOWING=4]="FOLLOWING",f[f.CONTAINS=8]="CONTAINS",f[f.CONTAINED_BY=16]="CONTAINED_BY"})(n=i.DocumentPosition||(i.DocumentPosition={}));function I(f,s){var o=[],c=[];if(f===s)return 0;for(var r=(0,N.hasChildren)(f)?f:f.parent;r;)o.unshift(r),r=r.parent;for(r=(0,N.hasChildren)(s)?s:s.parent;r;)c.unshift(r),r=r.parent;for(var v=Math.min(o.length,c.length),t=0;t<v&&o[t]===c[t];)t++;if(t===0)return n.DISCONNECTED;var e=o[t-1],d=e.children,y=o[t],A=c[t];return d.indexOf(y)>d.indexOf(A)?e===s?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:e===f?n.PRECEDING|n.CONTAINS:n.PRECEDING}i.compareDocumentPosition=I;function E(f){return f=f.filter(function(s,o,c){return!c.includes(s,o+1)}),f.sort(function(s,o){var c=I(s,o);return c&n.PRECEDING?-1:c&n.FOLLOWING?1:0}),f}i.uniqueSort=E},43992:function(_,i,S){var N=this&&this.__createBinding||(Object.create?function(I,E,f,s){s===void 0&&(s=f);var o=Object.getOwnPropertyDescriptor(E,f);(!o||("get"in o?!E.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return E[f]}}),Object.defineProperty(I,s,o)}:function(I,E,f,s){s===void 0&&(s=f),I[s]=E[f]}),l=this&&this.__exportStar||function(I,E){for(var f in I)f!=="default"&&!Object.prototype.hasOwnProperty.call(E,f)&&N(E,I,f)};Object.defineProperty(i,"__esModule",{value:!0}),i.hasChildren=i.isDocument=i.isComment=i.isText=i.isCDATA=i.isTag=void 0,l(S(72178),i),l(S(61699),i),l(S(26167),i),l(S(46754),i),l(S(55355),i),l(S(99256),i),l(S(34921),i);var n=S(16102);Object.defineProperty(i,"isTag",{enumerable:!0,get:function(){return n.isTag}}),Object.defineProperty(i,"isCDATA",{enumerable:!0,get:function(){return n.isCDATA}}),Object.defineProperty(i,"isText",{enumerable:!0,get:function(){return n.isText}}),Object.defineProperty(i,"isComment",{enumerable:!0,get:function(){return n.isComment}}),Object.defineProperty(i,"isDocument",{enumerable:!0,get:function(){return n.isDocument}}),Object.defineProperty(i,"hasChildren",{enumerable:!0,get:function(){return n.hasChildren}})},55355:function(_,i,S){Object.defineProperty(i,"__esModule",{value:!0}),i.getElementsByTagType=i.getElementsByTagName=i.getElementById=i.getElements=i.testElement=void 0;var N=S(16102),l=S(46754),n={tag_name:function(t){return typeof t=="function"?function(e){return(0,N.isTag)(e)&&t(e.name)}:t==="*"?N.isTag:function(e){return(0,N.isTag)(e)&&e.name===t}},tag_type:function(t){return typeof t=="function"?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return typeof t=="function"?function(e){return(0,N.isText)(e)&&t(e.data)}:function(e){return(0,N.isText)(e)&&e.data===t}}};function I(t,e){return typeof e=="function"?function(d){return(0,N.isTag)(d)&&e(d.attribs[t])}:function(d){return(0,N.isTag)(d)&&d.attribs[t]===e}}function E(t,e){return function(d){return t(d)||e(d)}}function f(t){var e=Object.keys(t).map(function(d){var y=t[d];return Object.prototype.hasOwnProperty.call(n,d)?n[d](y):I(d,y)});return e.length===0?null:e.reduce(E)}function s(t,e){var d=f(t);return d?d(e):!0}i.testElement=s;function o(t,e,d,y){y===void 0&&(y=1/0);var A=f(t);return A?(0,l.filter)(A,e,d,y):[]}i.getElements=o;function c(t,e,d){return d===void 0&&(d=!0),Array.isArray(e)||(e=[e]),(0,l.findOne)(I("id",t),e,d)}i.getElementById=c;function r(t,e,d,y){return d===void 0&&(d=!0),y===void 0&&(y=1/0),(0,l.filter)(n.tag_name(t),e,d,y)}i.getElementsByTagName=r;function v(t,e,d,y){return d===void 0&&(d=!0),y===void 0&&(y=1/0),(0,l.filter)(n.tag_type(t),e,d,y)}i.getElementsByTagType=v},26167:function(_,i){Object.defineProperty(i,"__esModule",{value:!0}),i.prepend=i.prependChild=i.append=i.appendChild=i.replaceElement=i.removeElement=void 0;function S(f){if(f.prev&&(f.prev.next=f.next),f.next&&(f.next.prev=f.prev),f.parent){var s=f.parent.children,o=s.lastIndexOf(f);o>=0&&s.splice(o,1)}f.next=null,f.prev=null,f.parent=null}i.removeElement=S;function N(f,s){var o=s.prev=f.prev;o&&(o.next=s);var c=s.next=f.next;c&&(c.prev=s);var r=s.parent=f.parent;if(r){var v=r.children;v[v.lastIndexOf(f)]=s,f.parent=null}}i.replaceElement=N;function l(f,s){if(S(s),s.next=null,s.parent=f,f.children.push(s)>1){var o=f.children[f.children.length-2];o.next=s,s.prev=o}else s.prev=null}i.appendChild=l;function n(f,s){S(s);var o=f.parent,c=f.next;if(s.next=c,s.prev=f,f.next=s,s.parent=o,c){if(c.prev=s,o){var r=o.children;r.splice(r.lastIndexOf(c),0,s)}}else o&&o.children.push(s)}i.append=n;function I(f,s){if(S(s),s.parent=f,s.prev=null,f.children.unshift(s)!==1){var o=f.children[1];o.prev=s,s.next=o}else s.next=null}i.prependChild=I;function E(f,s){S(s);var o=f.parent;if(o){var c=o.children;c.splice(c.indexOf(f),0,s)}f.prev&&(f.prev.next=s),s.parent=o,s.prev=f.prev,s.next=f,f.prev=s}i.prepend=E},46754:function(_,i,S){Object.defineProperty(i,"__esModule",{value:!0}),i.findAll=i.existsOne=i.findOne=i.findOneChild=i.find=i.filter=void 0;var N=S(16102);function l(o,c,r,v){return r===void 0&&(r=!0),v===void 0&&(v=1/0),n(o,Array.isArray(c)?c:[c],r,v)}i.filter=l;function n(o,c,r,v){for(var t=[],e=[c],d=[0];;){if(d[0]>=e[0].length){if(d.length===1)return t;e.shift(),d.shift();continue}var y=e[0][d[0]++];if(o(y)&&(t.push(y),--v<=0))return t;r&&(0,N.hasChildren)(y)&&y.children.length>0&&(d.unshift(0),e.unshift(y.children))}}i.find=n;function I(o,c){return c.find(o)}i.findOneChild=I;function E(o,c,r){r===void 0&&(r=!0);for(var v=null,t=0;t<c.length&&!v;t++){var e=c[t];if((0,N.isTag)(e))o(e)?v=e:r&&e.children.length>0&&(v=E(o,e.children,!0));else continue}return v}i.findOne=E;function f(o,c){return c.some(function(r){return(0,N.isTag)(r)&&(o(r)||f(o,r.children))})}i.existsOne=f;function s(o,c){for(var r=[],v=[c],t=[0];;){if(t[0]>=v[0].length){if(v.length===1)return r;v.shift(),t.shift();continue}var e=v[0][t[0]++];(0,N.isTag)(e)&&(o(e)&&r.push(e),e.children.length>0&&(t.unshift(0),v.unshift(e.children)))}}i.findAll=s},72178:function(_,i,S){var N=this&&this.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(i,"__esModule",{value:!0}),i.innerText=i.textContent=i.getText=i.getInnerHTML=i.getOuterHTML=void 0;var l=S(16102),n=N(S(97220)),I=S(99960);function E(r,v){return(0,n.default)(r,v)}i.getOuterHTML=E;function f(r,v){return(0,l.hasChildren)(r)?r.children.map(function(t){return E(t,v)}).join(""):""}i.getInnerHTML=f;function s(r){return Array.isArray(r)?r.map(s).join(""):(0,l.isTag)(r)?r.name==="br"?`
|
|
2
|
+
`:s(r.children):(0,l.isCDATA)(r)?s(r.children):(0,l.isText)(r)?r.data:""}i.getText=s;function o(r){return Array.isArray(r)?r.map(o).join(""):(0,l.hasChildren)(r)&&!(0,l.isComment)(r)?o(r.children):(0,l.isText)(r)?r.data:""}i.textContent=o;function c(r){return Array.isArray(r)?r.map(c).join(""):(0,l.hasChildren)(r)&&(r.type===I.ElementType.Tag||(0,l.isCDATA)(r))?c(r.children):(0,l.isText)(r)?r.data:""}i.innerText=c},61699:function(_,i,S){Object.defineProperty(i,"__esModule",{value:!0}),i.prevElementSibling=i.nextElementSibling=i.getName=i.hasAttrib=i.getAttributeValue=i.getSiblings=i.getParent=i.getChildren=void 0;var N=S(16102);function l(r){return(0,N.hasChildren)(r)?r.children:[]}i.getChildren=l;function n(r){return r.parent||null}i.getParent=n;function I(r){var v,t,e=n(r);if(e!=null)return l(e);for(var d=[r],y=r.prev,A=r.next;y!=null;)d.unshift(y),v=y,y=v.prev;for(;A!=null;)d.push(A),t=A,A=t.next;return d}i.getSiblings=I;function E(r,v){var t;return(t=r.attribs)===null||t===void 0?void 0:t[v]}i.getAttributeValue=E;function f(r,v){return r.attribs!=null&&Object.prototype.hasOwnProperty.call(r.attribs,v)&&r.attribs[v]!=null}i.hasAttrib=f;function s(r){return r.name}i.getName=s;function o(r){for(var v,t=r.next;t!==null&&!(0,N.isTag)(t);)v=t,t=v.next;return t}i.nextElementSibling=o;function c(r){for(var v,t=r.prev;t!==null&&!(0,N.isTag)(t);)v=t,t=v.prev;return t}i.prevElementSibling=c}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[8129],{36609:function(It,pe,P){P.r(pe),P.d(pe,{changeLanguage:function(){return wt},createInstance:function(){return mt},default:function(){return x},dir:function(){return yt},exists:function(){return Rt},getFixedT:function(){return Pt},hasLoadedNamespace:function(){return Nt},init:function(){return bt},loadLanguages:function(){return Ct},loadNamespaces:function(){return jt},loadResources:function(){return Ot},reloadResources:function(){return St},setDefaultNamespace:function(){return kt},t:function(){return Lt},use:function(){return xt}});var A=P(71002),R=P(15671),k=P(43144),I=P(97326),Q=P(32531),$=P(82963),E=P(61120),D=P(4942),Me=P(84506);function de(s,a){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(s);a&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable})),r.push.apply(r,t)}return r}function he(s){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?de(Object(r),!0).forEach(function(t){(0,D.Z)(s,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):de(Object(r)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(r,t))})}return s}var Be={type:"logger",log:function(a){this.output("log",a)},warn:function(a){this.output("warn",a)},error:function(a){this.output("error",a)},output:function(a,r){console&&console[a]&&console[a].apply(console,r)}},$e=function(){function s(a){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,R.Z)(this,s),this.init(a,r)}return(0,k.Z)(s,[{key:"init",value:function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=r||Be,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(r){this.debug=r}},{key:"log",value:function(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(r,t,e,n){return n&&!this.debug?null:(typeof r[0]=="string"&&(r[0]="".concat(e).concat(this.prefix," ").concat(r[0])),this.logger[t](r))}},{key:"create",value:function(r){return new s(this.logger,he(he({},{prefix:"".concat(this.prefix,":").concat(r,":")}),this.options))}},{key:"clone",value:function(r){return r=r||this.options,r.prefix=r.prefix||this.prefix,new s(this.logger,r)}}]),s}(),N=new $e,F=function(){function s(){(0,R.Z)(this,s),this.observers={}}return(0,k.Z)(s,[{key:"on",value:function(r,t){var e=this;return r.split(" ").forEach(function(n){e.observers[n]=e.observers[n]||[],e.observers[n].push(t)}),this}},{key:"off",value:function(r,t){if(this.observers[r]){if(!t){delete this.observers[r];return}this.observers[r]=this.observers[r].filter(function(e){return e!==t})}}},{key:"emit",value:function(r){for(var t=arguments.length,e=new Array(t>1?t-1:0),n=1;n<t;n++)e[n-1]=arguments[n];if(this.observers[r]){var i=[].concat(this.observers[r]);i.forEach(function(u){u.apply(void 0,e)})}if(this.observers["*"]){var o=[].concat(this.observers["*"]);o.forEach(function(u){u.apply(u,[r].concat(e))})}}}]),s}();function V(){var s,a,r=new Promise(function(t,e){s=t,a=e});return r.resolve=s,r.reject=a,r}function ve(s){return s==null?"":""+s}function Ve(s,a,r){s.forEach(function(t){a[t]&&(r[t]=a[t])})}function oe(s,a,r){function t(o){return o&&o.indexOf("###")>-1?o.replace(/###/g,"."):o}function e(){return!s||typeof s=="string"}for(var n=typeof a!="string"?[].concat(a):a.split(".");n.length>1;){if(e())return{};var i=t(n.shift());!s[i]&&r&&(s[i]=new r),Object.prototype.hasOwnProperty.call(s,i)?s=s[i]:s={}}return e()?{}:{obj:s,k:t(n.shift())}}function me(s,a,r){var t=oe(s,a,Object),e=t.obj,n=t.k;e[n]=r}function He(s,a,r,t){var e=oe(s,a,Object),n=e.obj,i=e.k;n[i]=n[i]||[],t&&(n[i]=n[i].concat(r)),t||n[i].push(r)}function X(s,a){var r=oe(s,a),t=r.obj,e=r.k;if(t)return t[e]}function Je(s,a,r){var t=X(s,r);return t!==void 0?t:X(a,r)}function ye(s,a,r){for(var t in a)t!=="__proto__"&&t!=="constructor"&&(t in s?typeof s[t]=="string"||s[t]instanceof String||typeof a[t]=="string"||a[t]instanceof String?r&&(s[t]=a[t]):ye(s[t],a[t],r):s[t]=a[t]);return s}function Z(s){return s.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ze={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function We(s){return typeof s=="string"?s.replace(/[&<>"'\/]/g,function(a){return ze[a]}):s}var q=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,Ye=[" ",",","?","!",";"];function Ge(s,a,r){a=a||"",r=r||"";var t=Ye.filter(function(o){return a.indexOf(o)<0&&r.indexOf(o)<0});if(t.length===0)return!0;var e=new RegExp("(".concat(t.map(function(o){return o==="?"?"\\?":o}).join("|"),")")),n=!e.test(s);if(!n){var i=s.indexOf(r);i>0&&!e.test(s.substring(0,i))&&(n=!0)}return n}function ee(s,a){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(s){if(s[a])return s[a];for(var t=a.split(r),e=s,n=0;n<t.length;++n){if(!e||typeof e[t[n]]=="string"&&n+1<t.length)return;if(e[t[n]]===void 0){for(var i=2,o=t.slice(n,n+i).join(r),u=e[o];u===void 0&&t.length>n+i;)i++,o=t.slice(n,n+i).join(r),u=e[o];if(u===void 0)return;if(u===null)return null;if(a.endsWith(o)){if(typeof u=="string")return u;if(o&&typeof u[o]=="string")return u[o]}var c=t.slice(n+i).join(r);return c?ee(u,c,r):void 0}e=e[t[n]]}return e}}function be(s,a){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(s);a&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable})),r.push.apply(r,t)}return r}function te(s){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?be(Object(r),!0).forEach(function(t){(0,D.Z)(s,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):be(Object(r)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(r,t))})}return s}function Qe(s){var a=Xe();return function(){var t=(0,E.Z)(s),e;if(a){var n=(0,E.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,$.Z)(this,e)}}function Xe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var qe=function(s){(0,Q.Z)(r,s);var a=Qe(r);function r(t){var e,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,R.Z)(this,r),e=a.call(this),q&&F.call((0,I.Z)(e)),e.data=t||{},e.options=n,e.options.keySeparator===void 0&&(e.options.keySeparator="."),e.options.ignoreJSONStructure===void 0&&(e.options.ignoreJSONStructure=!0),e}return(0,k.Z)(r,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}},{key:"getResource",value:function(e,n,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,c=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure,l=[e,n];i&&typeof i!="string"&&(l=l.concat(i)),i&&typeof i=="string"&&(l=l.concat(u?i.split(u):i)),e.indexOf(".")>-1&&(l=e.split("."));var f=X(this.data,l);return f||!c||typeof i!="string"?f:ee(this.data&&this.data[e]&&this.data[e][n],i,u)}},{key:"addResource",value:function(e,n,i,o){var u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},c=u.keySeparator!==void 0?u.keySeparator:this.options.keySeparator,l=[e,n];i&&(l=l.concat(c?i.split(c):i)),e.indexOf(".")>-1&&(l=e.split("."),o=n,n=l[1]),this.addNamespaces(n),me(this.data,l,o),u.silent||this.emit("added",e,n,i,o)}},{key:"addResources",value:function(e,n,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var u in i)(typeof i[u]=="string"||Object.prototype.toString.apply(i[u])==="[object Array]")&&this.addResource(e,n,u,i[u],{silent:!0});o.silent||this.emit("added",e,n,i)}},{key:"addResourceBundle",value:function(e,n,i,o,u){var c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},l=[e,n];e.indexOf(".")>-1&&(l=e.split("."),o=i,i=n,n=l[1]),this.addNamespaces(n);var f=X(this.data,l)||{};o?ye(f,i,u):f=te(te({},f),i),me(this.data,l,f),c.silent||this.emit("added",e,n,i)}},{key:"removeResourceBundle",value:function(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}},{key:"hasResourceBundle",value:function(e,n){return this.getResource(e,n)!==void 0}},{key:"getResourceBundle",value:function(e,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?te(te({},{}),this.getResource(e,n)):this.getResource(e,n)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var n=this.getDataByLanguage(e),i=n&&Object.keys(n)||[];return!!i.find(function(o){return n[o]&&Object.keys(n[o]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),r}(F),Oe={processors:{},addPostProcessor:function(a){this.processors[a.name]=a},handle:function(a,r,t,e,n){var i=this;return a.forEach(function(o){i.processors[o]&&(r=i.processors[o].process(r,t,e,n))}),r}};function Se(s,a){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(s);a&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable})),r.push.apply(r,t)}return r}function S(s){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?Se(Object(r),!0).forEach(function(t){(0,D.Z)(s,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):Se(Object(r)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(r,t))})}return s}function et(s){var a=tt();return function(){var t=(0,E.Z)(s),e;if(a){var n=(0,E.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,$.Z)(this,e)}}function tt(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var xe={},we=function(s){(0,Q.Z)(r,s);var a=et(r);function r(t){var e,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return(0,R.Z)(this,r),e=a.call(this),q&&F.call((0,I.Z)(e)),Ve(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,(0,I.Z)(e)),e.options=n,e.options.keySeparator===void 0&&(e.options.keySeparator="."),e.logger=N.create("translator"),e}return(0,k.Z)(r,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;var i=this.resolve(e,n);return i&&i.res!==void 0}},{key:"extractFromKey",value:function(e,n){var i=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");var o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,u=n.ns||this.options.defaultNS||[],c=i&&e.indexOf(i)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Ge(e,i,o);if(c&&!l){var f=e.match(this.interpolator.nestingRegexp);if(f&&f.length>0)return{key:e,namespaces:u};var g=e.split(i);(i!==o||i===o&&this.options.ns.indexOf(g[0])>-1)&&(u=g.shift()),e=g.join(o)}return typeof u=="string"&&(u=[u]),{key:e,namespaces:u}}},{key:"translate",value:function(e,n,i){var o=this;if((0,A.Z)(n)!=="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),(0,A.Z)(n)==="object"&&(n=S({},n)),n||(n={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);var u=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,c=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,l=this.extractFromKey(e[e.length-1],n),f=l.key,g=l.namespaces,p=g[g.length-1],v=n.lng||this.language,y=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(v&&v.toLowerCase()==="cimode"){if(y){var m=n.nsSeparator||this.options.nsSeparator;return u?{res:"".concat(p).concat(m).concat(f),usedKey:f,exactUsedKey:f,usedLng:v,usedNS:p}:"".concat(p).concat(m).concat(f)}return u?{res:f,usedKey:f,exactUsedKey:f,usedLng:v,usedNS:p}:f}var d=this.resolve(e,n),h=d&&d.res,O=d&&d.usedKey||f,b=d&&d.exactUsedKey||f,w=Object.prototype.toString.apply(h),_=["[object Number]","[object Function]","[object RegExp]"],T=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,H=!this.i18nFormat||this.i18nFormat.handleAsObject,J=typeof h!="string"&&typeof h!="boolean"&&typeof h!="number";if(H&&h&&J&&_.indexOf(w)<0&&!(typeof T=="string"&&w==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(O,h,S(S({},n),{},{ns:g})):"key '".concat(f," (").concat(this.language,")' returned an object instead of string.");return u?(d.res=U,d):U}if(c){var Fe=w==="[object Array]",ae=Fe?[]:{},_t=Fe?b:O;for(var M in h)if(Object.prototype.hasOwnProperty.call(h,M)){var Ie="".concat(_t).concat(c).concat(M);ae[M]=this.translate(Ie,S(S({},n),{joinArrays:!1,ns:g})),ae[M]===Ie&&(ae[M]=h[M])}h=ae}}else if(H&&typeof T=="string"&&w==="[object Array]")h=h.join(T),h&&(h=this.extendTranslation(h,e,n,i));else{var ie=!1,z=!1,Te=n.count!==void 0&&typeof n.count!="string",fe=r.hasDefaultValue(n),Et=Te?this.pluralResolver.getSuffix(v,n.count,n):"",W=n["defaultValue".concat(Et)]||n.defaultValue;!this.isValidLookup(h)&&fe&&(ie=!0,h=W),this.isValidLookup(h)||(z=!0,h=f);var Dt=n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,Ft=Dt&&z?void 0:h,Y=fe&&W!==h&&this.options.updateMissing;if(z||ie||Y){if(this.logger.log(Y?"updateKey":"missingKey",v,p,f,Y?W:h),c){var Ae=this.resolve(f,S(S({},n),{},{keySeparator:!1}));Ae&&Ae.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 G=[],se=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&se&&se[0])for(var le=0;le<se.length;le++)G.push(se[le]);else this.options.saveMissingTo==="all"?G=this.languageUtils.toResolveHierarchy(n.lng||this.language):G.push(n.lng||this.language);var Ze=function(B,ge,Ke){var Ue=fe&&Ke!==h?Ke:Ft;o.options.missingKeyHandler?o.options.missingKeyHandler(B,p,ge,Ue,Y,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(B,p,ge,Ue,Y,n),o.emit("missingKey",B,p,ge,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Te?G.forEach(function(ce){o.pluralResolver.getSuffixes(ce,n).forEach(function(B){Ze([ce],f+B,n["defaultValue".concat(B)]||W)})}):Ze(G,f,W))}h=this.extendTranslation(h,e,n,d,i),z&&h===f&&this.options.appendNamespaceToMissingKey&&(h="".concat(p,":").concat(f)),(z||ie)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?h=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(p,":").concat(f):f,ie?h:void 0):h=this.options.parseMissingKeyHandler(h))}return u?(d.res=h,d):h}},{key:"extendTranslation",value:function(e,n,i,o,u){var c=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,S(S({},this.options.interpolation.defaultVariables),i),o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init(S(S({},i),{interpolation:S(S({},this.options.interpolation),i.interpolation)}));var l=typeof e=="string"&&(i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),f;if(l){var g=e.match(this.interpolator.nestingRegexp);f=g&&g.length}var p=i.replace&&typeof i.replace!="string"?i.replace:i;if(this.options.interpolation.defaultVariables&&(p=S(S({},this.options.interpolation.defaultVariables),p)),e=this.interpolator.interpolate(e,p,i.lng||this.language,i),l){var v=e.match(this.interpolator.nestingRegexp),y=v&&v.length;f<y&&(i.nest=!1)}!i.lng&&this.options.compatibilityAPI!=="v1"&&o&&o.res&&(i.lng=o.usedLng),i.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var h=arguments.length,O=new Array(h),b=0;b<h;b++)O[b]=arguments[b];return u&&u[0]===O[0]&&!i.context?(c.logger.warn("It seems you are nesting recursively key: ".concat(O[0]," in key: ").concat(n[0])),null):c.translate.apply(c,O.concat([n]))},i)),i.interpolation&&this.interpolator.reset()}var m=i.postProcess||this.options.postProcess,d=typeof m=="string"?[m]:m;return e!=null&&d&&d.length&&i.applyPostProcessor!==!1&&(e=Oe.handle(d,e,n,this.options&&this.options.postProcessPassResolved?S({i18nResolved:o},i):i,this)),e}},{key:"resolve",value:function(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o,u,c,l,f;return typeof e=="string"&&(e=[e]),e.forEach(function(g){if(!n.isValidLookup(o)){var p=n.extractFromKey(g,i),v=p.key;u=v;var y=p.namespaces;n.options.fallbackNS&&(y=y.concat(n.options.fallbackNS));var m=i.count!==void 0&&typeof i.count!="string",d=m&&!i.ordinal&&i.count===0&&n.pluralResolver.shouldUseIntlApi(),h=i.context!==void 0&&(typeof i.context=="string"||typeof i.context=="number")&&i.context!=="",O=i.lngs?i.lngs:n.languageUtils.toResolveHierarchy(i.lng||n.language,i.fallbackLng);y.forEach(function(b){n.isValidLookup(o)||(f=b,!xe["".concat(O[0],"-").concat(b)]&&n.utils&&n.utils.hasLoadedNamespace&&!n.utils.hasLoadedNamespace(f)&&(xe["".concat(O[0],"-").concat(b)]=!0,n.logger.warn('key "'.concat(u,'" for languages "').concat(O.join(", "),`" won't get resolved as namespace "`).concat(f,'" 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!!!")),O.forEach(function(w){if(!n.isValidLookup(o)){l=w;var _=[v];if(n.i18nFormat&&n.i18nFormat.addLookupKeys)n.i18nFormat.addLookupKeys(_,v,w,b,i);else{var T;m&&(T=n.pluralResolver.getSuffix(w,i.count,i));var H="".concat(n.options.pluralSeparator,"zero");if(m&&(_.push(v+T),d&&_.push(v+H)),h){var J="".concat(v).concat(n.options.contextSeparator).concat(i.context);_.push(J),m&&(_.push(J+T),d&&_.push(J+H))}}for(var U;U=_.pop();)n.isValidLookup(o)||(c=U,o=n.getResource(w,b,U,i))}}))})}}),{res:o,usedKey:u,exactUsedKey:c,usedLng:l,usedNS:f}}},{key:"isValidLookup",value:function(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}},{key:"getResource",value:function(e,n,i){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,n,i,o):this.resourceStore.getResource(e,n,i,o)}}],[{key:"hasDefaultValue",value:function(e){var n="defaultValue";for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&n===i.substring(0,n.length)&&e[i]!==void 0)return!0;return!1}}]),r}(F);function ue(s){return s.charAt(0).toUpperCase()+s.slice(1)}var Pe=function(){function s(a){(0,R.Z)(this,s),this.options=a,this.supportedLngs=this.options.supportedLngs||!1,this.logger=N.create("languageUtils")}return(0,k.Z)(s,[{key:"getScriptPartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return null;var t=r.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}},{key:"getLanguagePartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return r;var t=r.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(r){if(typeof r=="string"&&r.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],e=r.split("-");return this.options.lowerCaseLng?e=e.map(function(n){return n.toLowerCase()}):e.length===2?(e[0]=e[0].toLowerCase(),e[1]=e[1].toUpperCase(),t.indexOf(e[1].toLowerCase())>-1&&(e[1]=ue(e[1].toLowerCase()))):e.length===3&&(e[0]=e[0].toLowerCase(),e[1].length===2&&(e[1]=e[1].toUpperCase()),e[0]!=="sgn"&&e[2].length===2&&(e[2]=e[2].toUpperCase()),t.indexOf(e[1].toLowerCase())>-1&&(e[1]=ue(e[1].toLowerCase())),t.indexOf(e[2].toLowerCase())>-1&&(e[2]=ue(e[2].toLowerCase()))),e.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?r.toLowerCase():r}},{key:"isSupportedCode",value:function(r){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(r=this.getLanguagePartFromCode(r)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(r)>-1}},{key:"getBestMatchFromCodes",value:function(r){var t=this;if(!r)return null;var e;return r.forEach(function(n){if(!e){var i=t.formatLanguageCode(n);(!t.options.supportedLngs||t.isSupportedCode(i))&&(e=i)}}),!e&&this.options.supportedLngs&&r.forEach(function(n){if(!e){var i=t.getLanguagePartFromCode(n);if(t.isSupportedCode(i))return e=i;e=t.options.supportedLngs.find(function(o){if(o===i)return o;if(!(o.indexOf("-")<0&&i.indexOf("-")<0)&&o.indexOf(i)===0)return o})}}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}},{key:"getFallbackCodes",value:function(r,t){if(!r)return[];if(typeof r=="function"&&(r=r(t)),typeof r=="string"&&(r=[r]),Object.prototype.toString.apply(r)==="[object Array]")return r;if(!t)return r.default||[];var e=r[t];return e||(e=r[this.getScriptPartFromCode(t)]),e||(e=r[this.formatLanguageCode(t)]),e||(e=r[this.getLanguagePartFromCode(t)]),e||(e=r.default),e||[]}},{key:"toResolveHierarchy",value:function(r,t){var e=this,n=this.getFallbackCodes(t||this.options.fallbackLng||[],r),i=[],o=function(c){c&&(e.isSupportedCode(c)?i.push(c):e.logger.warn("rejecting language code not found in supportedLngs: ".concat(c)))};return typeof r=="string"&&r.indexOf("-")>-1?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(r)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(r)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(r))):typeof r=="string"&&o(this.formatLanguageCode(r)),n.forEach(function(u){i.indexOf(u)<0&&o(e.formatLanguageCode(u))}),i}}]),s}(),nt=[{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}],rt={1:function(a){return+(a>1)},2:function(a){return+(a!=1)},3:function(a){return 0},4:function(a){return a%10==1&&a%100!=11?0:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?1:2},5:function(a){return a==0?0:a==1?1:a==2?2:a%100>=3&&a%100<=10?3:a%100>=11?4:5},6:function(a){return a==1?0:a>=2&&a<=4?1:2},7:function(a){return a==1?0:a%10>=2&&a%10<=4&&(a%100<10||a%100>=20)?1:2},8:function(a){return a==1?0:a==2?1:a!=8&&a!=11?2:3},9:function(a){return+(a>=2)},10:function(a){return a==1?0:a==2?1:a<7?2:a<11?3:4},11:function(a){return a==1||a==11?0:a==2||a==12?1:a>2&&a<20?2:3},12:function(a){return+(a%10!=1||a%100==11)},13:function(a){return+(a!==0)},14:function(a){return a==1?0:a==2?1:a==3?2:3},15:function(a){return a%10==1&&a%100!=11?0:a%10>=2&&(a%100<10||a%100>=20)?1:2},16:function(a){return a%10==1&&a%100!=11?0:a!==0?1:2},17:function(a){return a==1||a%10==1&&a%100!=11?0:1},18:function(a){return a==0?0:a==1?1:2},19:function(a){return a==1?0:a==0||a%100>1&&a%100<11?1:a%100>10&&a%100<20?2:3},20:function(a){return a==1?0:a==0||a%100>0&&a%100<20?1:2},21:function(a){return a%100==1?1:a%100==2?2:a%100==3||a%100==4?3:0},22:function(a){return a==1?0:a==2?1:(a<0||a>10)&&a%10==0?2:3}},at=["v1","v2","v3"],Le={zero:0,one:1,two:2,few:3,many:4,other:5};function it(){var s={};return nt.forEach(function(a){a.lngs.forEach(function(r){s[r]={numbers:a.nr,plurals:rt[a.fc]}})}),s}var st=function(){function s(a){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,R.Z)(this,s),this.languageUtils=a,this.options=r,this.logger=N.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=it()}return(0,k.Z)(s,[{key:"addRule",value:function(r,t){this.rules[r]=t}},{key:"getRule",value:function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(r,{type:t.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[r]||this.rules[this.languageUtils.getLanguagePartFromCode(r)]}},{key:"needsPlural",value:function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=this.getRule(r,t);return this.shouldUseIntlApi()?e&&e.resolvedOptions().pluralCategories.length>1:e&&e.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(r,t){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(r,e).map(function(n){return"".concat(t).concat(n)})}},{key:"getSuffixes",value:function(r){var t=this,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(r,e);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort(function(i,o){return Le[i]-Le[o]}).map(function(i){return"".concat(t.options.prepend).concat(i)}):n.numbers.map(function(i){return t.getSuffix(r,i,e)}):[]}},{key:"getSuffix",value:function(r,t){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=this.getRule(r,e);return n?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(n.select(t)):this.getSuffixRetroCompatible(n,t):(this.logger.warn("no plural rule found for: ".concat(r)),"")}},{key:"getSuffixRetroCompatible",value:function(r,t){var e=this,n=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),i=r.numbers[n];this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));var o=function(){return e.options.prepend&&i.toString()?e.options.prepend+i.toString():i.toString()};return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?"_plural_".concat(i.toString()):o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}},{key:"shouldUseIntlApi",value:function(){return!at.includes(this.options.compatibilityJSON)}}]),s}();function Re(s,a){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(s);a&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable})),r.push.apply(r,t)}return r}function L(s){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?Re(Object(r),!0).forEach(function(t){(0,D.Z)(s,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(r,t))})}return s}function ke(s,a,r){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",e=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,n=Je(s,a,r);return!n&&e&&typeof r=="string"&&(n=ee(s,r,t),n===void 0&&(n=ee(a,r,t))),n}var ot=function(){function s(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(0,R.Z)(this,s),this.logger=N.create("interpolator"),this.options=a,this.format=a.interpolation&&a.interpolation.format||function(r){return r},this.init(a)}return(0,k.Z)(s,[{key:"init",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r.interpolation||(r.interpolation={escapeValue:!0});var t=r.interpolation;this.escape=t.escape!==void 0?t.escape:We,this.escapeValue=t.escapeValue!==void 0?t.escapeValue:!0,this.useRawValueToEscape=t.useRawValueToEscape!==void 0?t.useRawValueToEscape:!1,this.prefix=t.prefix?Z(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?Z(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?Z(t.nestingPrefix):t.nestingPrefixEscaped||Z("$t("),this.nestingSuffix=t.nestingSuffix?Z(t.nestingSuffix):t.nestingSuffixEscaped||Z(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=t.alwaysFormat!==void 0?t.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var r="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(r,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var e="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(e,"g")}},{key:"interpolate",value:function(r,t,e,n){var i=this,o,u,c,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function f(m){return m.replace(/\$/g,"$$$$")}var g=function(d){if(d.indexOf(i.formatSeparator)<0){var h=ke(t,l,d,i.options.keySeparator,i.options.ignoreJSONStructure);return i.alwaysFormat?i.format(h,void 0,e,L(L(L({},n),t),{},{interpolationkey:d})):h}var O=d.split(i.formatSeparator),b=O.shift().trim(),w=O.join(i.formatSeparator).trim();return i.format(ke(t,l,b,i.options.keySeparator,i.options.ignoreJSONStructure),w,e,L(L(L({},n),t),{},{interpolationkey:b}))};this.resetRegExp();var p=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,v=n&&n.interpolation&&n.interpolation.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,y=[{regex:this.regexpUnescape,safeValue:function(d){return f(d)}},{regex:this.regexp,safeValue:function(d){return i.escapeValue?f(i.escape(d)):f(d)}}];return y.forEach(function(m){for(c=0;o=m.regex.exec(r);){var d=o[1].trim();if(u=g(d),u===void 0)if(typeof p=="function"){var h=p(r,o,n);u=typeof h=="string"?h:""}else if(n&&Object.prototype.hasOwnProperty.call(n,d))u="";else if(v){u=o[0];continue}else i.logger.warn("missed to pass in variable ".concat(d," for interpolating ").concat(r)),u="";else typeof u!="string"&&!i.useRawValueToEscape&&(u=ve(u));var O=m.safeValue(u);if(r=r.replace(o[0],O),v?(m.regex.lastIndex+=u.length,m.regex.lastIndex-=o[0].length):m.regex.lastIndex=0,c++,c>=i.maxReplaces)break}}),r}},{key:"nest",value:function(r,t){var e=this,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,u;function c(p,v){var y=this.nestingOptionsSeparator;if(p.indexOf(y)<0)return p;var m=p.split(new RegExp("".concat(y,"[ ]*{"))),d="{".concat(m[1]);p=m[0],d=this.interpolate(d,u);var h=d.match(/'/g),O=d.match(/"/g);(h&&h.length%2===0&&!O||O.length%2!==0)&&(d=d.replace(/'/g,'"'));try{u=JSON.parse(d),v&&(u=L(L({},v),u))}catch(b){return this.logger.warn("failed parsing options string in nesting for key ".concat(p),b),"".concat(p).concat(y).concat(d)}return delete u.defaultValue,p}for(;i=this.nestingRegexp.exec(r);){var l=[];u=L({},n),u=u.replace&&typeof u.replace!="string"?u.replace:u,u.applyPostProcessor=!1,delete u.defaultValue;var f=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){var g=i[1].split(this.formatSeparator).map(function(p){return p.trim()});i[1]=g.shift(),l=g,f=!0}if(o=t(c.call(this,i[1].trim(),u),u),o&&i[0]===r&&typeof o!="string")return o;typeof o!="string"&&(o=ve(o)),o||(this.logger.warn("missed to resolve ".concat(i[1]," for nesting ").concat(r)),o=""),f&&(o=l.reduce(function(p,v){return e.format(p,v,n.lng,L(L({},n),{},{interpolationkey:i[1].trim()}))},o.trim())),r=r.replace(i[0],o),this.regexp.lastIndex=0}return r}}]),s}();function Ne(s,a){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(s);a&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable})),r.push.apply(r,t)}return r}function C(s){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?Ne(Object(r),!0).forEach(function(t){(0,D.Z)(s,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):Ne(Object(r)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(r,t))})}return s}function ut(s){var a=s.toLowerCase().trim(),r={};if(s.indexOf("(")>-1){var t=s.split("(");a=t[0].toLowerCase().trim();var e=t[1].substring(0,t[1].length-1);if(a==="currency"&&e.indexOf(":")<0)r.currency||(r.currency=e.trim());else if(a==="relativetime"&&e.indexOf(":")<0)r.range||(r.range=e.trim());else{var n=e.split(";");n.forEach(function(i){if(i){var o=i.split(":"),u=(0,Me.Z)(o),c=u[0],l=u.slice(1),f=l.join(":").trim().replace(/^'+|'+$/g,"");r[c.trim()]||(r[c.trim()]=f),f==="false"&&(r[c.trim()]=!1),f==="true"&&(r[c.trim()]=!0),isNaN(f)||(r[c.trim()]=parseInt(f,10))}})}}return{formatName:a,formatOptions:r}}function K(s){var a={};return function(t,e,n){var i=e+JSON.stringify(n),o=a[i];return o||(o=s(e,n),a[i]=o),o(t)}}var ft=function(){function s(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(0,R.Z)(this,s),this.logger=N.create("formatter"),this.options=a,this.formats={number:K(function(r,t){var e=new Intl.NumberFormat(r,C({},t));return function(n){return e.format(n)}}),currency:K(function(r,t){var e=new Intl.NumberFormat(r,C(C({},t),{},{style:"currency"}));return function(n){return e.format(n)}}),datetime:K(function(r,t){var e=new Intl.DateTimeFormat(r,C({},t));return function(n){return e.format(n)}}),relativetime:K(function(r,t){var e=new Intl.RelativeTimeFormat(r,C({},t));return function(n){return e.format(n,t.range||"day")}}),list:K(function(r,t){var e=new Intl.ListFormat(r,C({},t));return function(n){return e.format(n)}})},this.init(a)}return(0,k.Z)(s,[{key:"init",value:function(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},e=t.interpolation;this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||","}},{key:"add",value:function(r,t){this.formats[r.toLowerCase().trim()]=t}},{key:"addCached",value:function(r,t){this.formats[r.toLowerCase().trim()]=K(t)}},{key:"format",value:function(r,t,e){var n=this,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},o=t.split(this.formatSeparator),u=o.reduce(function(c,l){var f=ut(l),g=f.formatName,p=f.formatOptions;if(n.formats[g]){var v=c;try{var y=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},m=y.locale||y.lng||i.locale||i.lng||e;v=n.formats[g](c,m,C(C(C({},p),i),y))}catch(d){n.logger.warn(d)}return v}else n.logger.warn("there was no format function for ".concat(g));return c},r);return u}}]),s}();function je(s,a){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(s);a&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable})),r.push.apply(r,t)}return r}function Ce(s){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?je(Object(r),!0).forEach(function(t){(0,D.Z)(s,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):je(Object(r)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(r,t))})}return s}function lt(s){var a=ct();return function(){var t=(0,E.Z)(s),e;if(a){var n=(0,E.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,$.Z)(this,e)}}function ct(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function gt(s,a){s.pending[a]!==void 0&&(delete s.pending[a],s.pendingCount--)}var pt=function(s){(0,Q.Z)(r,s);var a=lt(r);function r(t,e,n){var i,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(0,R.Z)(this,r),i=a.call(this),q&&F.call((0,I.Z)(i)),i.backend=t,i.store=e,i.services=n,i.languageUtils=n.languageUtils,i.options=o,i.logger=N.create("backendConnector"),i.waitingReads=[],i.maxParallelReads=o.maxParallelReads||10,i.readingCalls=0,i.maxRetries=o.maxRetries>=0?o.maxRetries:5,i.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(n,o.backend,o),i}return(0,k.Z)(r,[{key:"queueLoad",value:function(e,n,i,o){var u=this,c={},l={},f={},g={};return e.forEach(function(p){var v=!0;n.forEach(function(y){var m="".concat(p,"|").concat(y);!i.reload&&u.store.hasResourceBundle(p,y)?u.state[m]=2:u.state[m]<0||(u.state[m]===1?l[m]===void 0&&(l[m]=!0):(u.state[m]=1,v=!1,l[m]===void 0&&(l[m]=!0),c[m]===void 0&&(c[m]=!0),g[y]===void 0&&(g[y]=!0)))}),v||(f[p]=!0)}),(Object.keys(c).length||Object.keys(l).length)&&this.queue.push({pending:l,pendingCount:Object.keys(l).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(c),pending:Object.keys(l),toLoadLanguages:Object.keys(f),toLoadNamespaces:Object.keys(g)}}},{key:"loaded",value:function(e,n,i){var o=e.split("|"),u=o[0],c=o[1];n&&this.emit("failedLoading",u,c,n),i&&this.store.addResourceBundle(u,c,i),this.state[e]=n?-1:2;var l={};this.queue.forEach(function(f){He(f.loaded,[u],c),gt(f,e),n&&f.errors.push(n),f.pendingCount===0&&!f.done&&(Object.keys(f.loaded).forEach(function(g){l[g]||(l[g]={});var p=f.loaded[g];p.length&&p.forEach(function(v){l[g][v]===void 0&&(l[g][v]=!0)})}),f.done=!0,f.errors.length?f.callback(f.errors):f.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(function(f){return!f.done})}},{key:"read",value:function(e,n,i){var o=this,u=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,c=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,l=arguments.length>5?arguments[5]:void 0;if(!e.length)return l(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:i,tried:u,wait:c,callback:l});return}this.readingCalls++;var f=function(y,m){if(o.readingCalls--,o.waitingReads.length>0){var d=o.waitingReads.shift();o.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(y&&m&&u<o.maxRetries){setTimeout(function(){o.read.call(o,e,n,i,u+1,c*2,l)},c);return}l(y,m)},g=this.backend[i].bind(this.backend);if(g.length===2){try{var p=g(e,n);p&&typeof p.then=="function"?p.then(function(v){return f(null,v)}).catch(f):f(null,p)}catch(v){f(v)}return}return g(e,n,f)}},{key:"prepareLoading",value:function(e,n){var i=this,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=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."),u&&u();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof n=="string"&&(n=[n]);var c=this.queueLoad(e,n,o,u);if(!c.toLoad.length)return c.pending.length||u(),null;c.toLoad.forEach(function(l){i.loadOne(l)})}},{key:"load",value:function(e,n,i){this.prepareLoading(e,n,{},i)}},{key:"reload",value:function(e,n,i){this.prepareLoading(e,n,{reload:!0},i)}},{key:"loadOne",value:function(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",o=e.split("|"),u=o[0],c=o[1];this.read(u,c,"read",void 0,void 0,function(l,f){l&&n.logger.warn("".concat(i,"loading namespace ").concat(c," for language ").concat(u," failed"),l),!l&&f&&n.logger.log("".concat(i,"loaded namespace ").concat(c," for language ").concat(u),f),n.loaded(e,l,f)})}},{key:"saveMissing",value:function(e,n,i,o,u){var c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn('did not save key "'.concat(i,'" as the namespace "').concat(n,'" 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!!!");return}if(!(i==null||i==="")){if(this.backend&&this.backend.create){var f=Ce(Ce({},c),{},{isUpdate:u}),g=this.backend.create.bind(this.backend);if(g.length<6)try{var p;g.length===5?p=g(e,n,i,o,f):p=g(e,n,i,o),p&&typeof p.then=="function"?p.then(function(v){return l(null,v)}).catch(l):l(null,p)}catch(v){l(v)}else g(e,n,i,o,l,f)}!e||!e[0]||this.store.addResource(e[0],n,i,o)}}}]),r}(F);function _e(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!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(a){var r={};if((0,A.Z)(a[1])==="object"&&(r=a[1]),typeof a[1]=="string"&&(r.defaultValue=a[1]),typeof a[2]=="string"&&(r.tDescription=a[2]),(0,A.Z)(a[2])==="object"||(0,A.Z)(a[3])==="object"){var t=a[3]||a[2];Object.keys(t).forEach(function(e){r[e]=t[e]})}return r},interpolation:{escapeValue:!0,format:function(a,r,t,e){return a},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Ee(s){return typeof s.ns=="string"&&(s.ns=[s.ns]),typeof s.fallbackLng=="string"&&(s.fallbackLng=[s.fallbackLng]),typeof s.fallbackNS=="string"&&(s.fallbackNS=[s.fallbackNS]),s.supportedLngs&&s.supportedLngs.indexOf("cimode")<0&&(s.supportedLngs=s.supportedLngs.concat(["cimode"])),s}function De(s,a){var r=Object.keys(s);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(s);a&&(t=t.filter(function(e){return Object.getOwnPropertyDescriptor(s,e).enumerable})),r.push.apply(r,t)}return r}function j(s){for(var a=1;a<arguments.length;a++){var r=arguments[a]!=null?arguments[a]:{};a%2?De(Object(r),!0).forEach(function(t){(0,D.Z)(s,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(r,t))})}return s}function dt(s){var a=ht();return function(){var t=(0,E.Z)(s),e;if(a){var n=(0,E.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,$.Z)(this,e)}}function ht(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function ne(){}function vt(s){var a=Object.getOwnPropertyNames(Object.getPrototypeOf(s));a.forEach(function(r){typeof s[r]=="function"&&(s[r]=s[r].bind(s))})}var re=function(s){(0,Q.Z)(r,s);var a=dt(r);function r(){var t,e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if((0,R.Z)(this,r),t=a.call(this),q&&F.call((0,I.Z)(t)),t.options=Ee(e),t.services={},t.logger=N,t.modules={external:[]},vt((0,I.Z)(t)),n&&!t.isInitialized&&!e.isClone){if(!t.options.initImmediate)return t.init(e,n),(0,$.Z)(t,(0,I.Z)(t));setTimeout(function(){t.init(e,n)},0)}return t}return(0,k.Z)(r,[{key:"init",value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;typeof n=="function"&&(i=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));var o=_e();this.options=j(j(j({},o),this.options),Ee(n)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=j(j({},o.interpolation),this.options.interpolation)),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function u(d){return d?typeof d=="function"?new d:d:null}if(!this.options.isClone){this.modules.logger?N.init(u(this.modules.logger),this.options):N.init(null,this.options);var c;this.modules.formatter?c=this.modules.formatter:typeof Intl<"u"&&(c=ft);var l=new Pe(this.options);this.store=new qe(this.options.resources,this.options);var f=this.services;f.logger=N,f.resourceStore=this.store,f.languageUtils=l,f.pluralResolver=new st(l,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),c&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(f.formatter=u(c),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new ot(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new pt(u(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(d){for(var h=arguments.length,O=new Array(h>1?h-1:0),b=1;b<h;b++)O[b-1]=arguments[b];e.emit.apply(e,[d].concat(O))}),this.modules.languageDetector&&(f.languageDetector=u(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=u(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new we(this.services,this.options),this.translator.on("*",function(d){for(var h=arguments.length,O=new Array(h>1?h-1:0),b=1;b<h;b++)O[b-1]=arguments[b];e.emit.apply(e,[d].concat(O))}),this.modules.external.forEach(function(d){d.init&&d.init(e)})}if(this.format=this.options.interpolation.format,i||(i=ne),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var g=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);g.length>0&&g[0]!=="dev"&&(this.options.lng=g[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var p=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];p.forEach(function(d){e[d]=function(){var h;return(h=e.store)[d].apply(h,arguments)}});var v=["addResource","addResources","addResourceBundle","removeResourceBundle"];v.forEach(function(d){e[d]=function(){var h;return(h=e.store)[d].apply(h,arguments),e}});var y=V(),m=function(){var h=function(b,w){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),y.resolve(w),i(b,w)};if(e.languages&&e.options.compatibilityAPI!=="v1"&&!e.isInitialized)return h(null,e.t.bind(e));e.changeLanguage(e.options.lng,h)};return this.options.resources||!this.options.initImmediate?m():setTimeout(m,0),y}},{key:"loadResources",value:function(e){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ne,o=i,u=typeof e=="string"?e:this.language;if(typeof e=="function"&&(o=e),!this.options.resources||this.options.partialBundledLanguages){if(u&&u.toLowerCase()==="cimode")return o();var c=[],l=function(p){if(p){var v=n.services.languageUtils.toResolveHierarchy(p);v.forEach(function(y){c.indexOf(y)<0&&c.push(y)})}};if(u)l(u);else{var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.forEach(function(g){return l(g)})}this.options.preload&&this.options.preload.forEach(function(g){return l(g)}),this.services.backendConnector.load(c,this.options.ns,function(g){!g&&!n.resolvedLanguage&&n.language&&n.setResolvedLanguage(n.language),o(g)})}else o(null)}},{key:"reloadResources",value:function(e,n,i){var o=V();return e||(e=this.languages),n||(n=this.options.ns),i||(i=ne),this.services.backendConnector.reload(e,n,function(u){o.resolve(),i(u)}),o}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&Oe.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(var n=0;n<this.languages.length;n++){var i=this.languages[n];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;break}}}},{key:"changeLanguage",value:function(e,n){var i=this;this.isLanguageChangingTo=e;var o=V();this.emit("languageChanging",e);var u=function(g){i.language=g,i.languages=i.services.languageUtils.toResolveHierarchy(g),i.resolvedLanguage=void 0,i.setResolvedLanguage(g)},c=function(g,p){p?(u(p),i.translator.changeLanguage(p),i.isLanguageChangingTo=void 0,i.emit("languageChanged",p),i.logger.log("languageChanged",p)):i.isLanguageChangingTo=void 0,o.resolve(function(){return i.t.apply(i,arguments)}),n&&n(g,function(){return i.t.apply(i,arguments)})},l=function(g){!e&&!g&&i.services.languageDetector&&(g=[]);var p=typeof g=="string"?g:i.services.languageUtils.getBestMatchFromCodes(g);p&&(i.language||u(p),i.translator.language||i.translator.changeLanguage(p),i.services.languageDetector&&i.services.languageDetector.cacheUserLanguage&&i.services.languageDetector.cacheUserLanguage(p)),i.loadResources(p,function(v){c(v,p)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),o}},{key:"getFixedT",value:function(e,n,i){var o=this,u=function c(l,f){var g;if((0,A.Z)(f)!=="object"){for(var p=arguments.length,v=new Array(p>2?p-2:0),y=2;y<p;y++)v[y-2]=arguments[y];g=o.options.overloadTranslationOptionHandler([l,f].concat(v))}else g=j({},f);g.lng=g.lng||c.lng,g.lngs=g.lngs||c.lngs,g.ns=g.ns||c.ns,g.keyPrefix=g.keyPrefix||i||c.keyPrefix;var m=o.options.keySeparator||".",d;return g.keyPrefix&&Array.isArray(l)?d=l.map(function(h){return"".concat(g.keyPrefix).concat(m).concat(h)}):d=g.keyPrefix?"".concat(g.keyPrefix).concat(m).concat(l):l,o.t(d,g)};return typeof e=="string"?u.lng=e:u.lngs=e,u.ns=n,u.keyPrefix=i,u}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var n=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=i.lng||this.resolvedLanguage||this.languages[0],u=this.options?this.options.fallbackLng:!1,c=this.languages[this.languages.length-1];if(o.toLowerCase()==="cimode")return!0;var l=function(p,v){var y=n.services.backendConnector.state["".concat(p,"|").concat(v)];return y===-1||y===2};if(i.precheck){var f=i.precheck(this,l);if(f!==void 0)return f}return!!(this.hasResourceBundle(o,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||l(o,e)&&(!u||l(c,e)))}},{key:"loadNamespaces",value:function(e,n){var i=this,o=V();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(function(u){i.options.ns.indexOf(u)<0&&i.options.ns.push(u)}),this.loadResources(function(u){o.resolve(),n&&n(u)}),o):(n&&n(),Promise.resolve())}},{key:"loadLanguages",value:function(e,n){var i=V();typeof e=="string"&&(e=[e]);var o=this.options.preload||[],u=e.filter(function(c){return o.indexOf(c)<0});return u.length?(this.options.preload=o.concat(u),this.loadResources(function(c){i.resolve(),n&&n(c)}),i):(n&&n(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";var 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","ckb"],i=this.services&&this.services.languageUtils||new Pe(_e());return n.indexOf(i.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ne,o=j(j(j({},this.options),n),{isClone:!0}),u=new r(o);(n.debug!==void 0||n.prefix!==void 0)&&(u.logger=u.logger.clone(n));var c=["store","services","language"];return c.forEach(function(l){u[l]=e[l]}),u.services=j({},this.services),u.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u.translator=new we(u.services,u.options),u.translator.on("*",function(l){for(var f=arguments.length,g=new Array(f>1?f-1:0),p=1;p<f;p++)g[p-1]=arguments[p];u.emit.apply(u,[l].concat(g))}),u.init(o,i),u.translator.options=u.options,u.translator.backendConnector.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),r}(F);(0,D.Z)(re,"createInstance",function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;return new re(s,a)});var x=re.createInstance();x.createInstance=re.createInstance;var mt=x.createInstance,yt=x.dir,bt=x.init,Ot=x.loadResources,St=x.reloadResources,xt=x.use,wt=x.changeLanguage,Pt=x.getFixedT,Lt=x.t,Rt=x.exists,kt=x.setDefaultNamespace,Nt=x.hasLoadedNamespace,jt=x.loadNamespaces,Ct=x.loadLanguages}}]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[8243],{11142:function(hu){(function(k,b){hu.exports=b()})(this,function(){"use strict";function k(u,D){return D={exports:{}},u(D,D.exports),D.exports}var b=k(function(u){var D=u.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=D)}),_=k(function(u){var D=u.exports={version:"2.6.5"};typeof __e=="number"&&(__e=D)}),a0=_.version,M=function(u){return typeof u=="object"?u!==null:typeof u=="function"},Eu=function(u){if(!M(u))throw TypeError(u+" is not an object!");return u},ou=function(u){try{return!!u()}catch{return!0}},Du=!ou(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),eu=b.document,mu=M(eu)&&M(eu.createElement),gu=function(u){return mu?eu.createElement(u):{}},yu=!Du&&!ou(function(){return Object.defineProperty(gu("div"),"a",{get:function(){return 7}}).a!=7}),bu=function(u,D){if(!M(u))return u;var t,r;if(D&&typeof(t=u.toString)=="function"&&!M(r=t.call(u))||typeof(t=u.valueOf)=="function"&&!M(r=t.call(u))||!D&&typeof(t=u.toString)=="function"&&!M(r=t.call(u)))return r;throw TypeError("Can't convert object to primitive value")},wu=Object.defineProperty,Su=Du?Object.defineProperty:function(D,t,r){if(Eu(D),t=bu(t,!0),Eu(r),yu)try{return wu(D,t,r)}catch{}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(D[t]=r.value),D},xu={f:Su},Pu=function(u,D){return{enumerable:!(u&1),configurable:!(u&2),writable:!(u&4),value:D}},G=Du?function(u,D,t){return xu.f(u,D,Pu(1,t))}:function(u,D,t){return u[D]=t,u},_u={}.hasOwnProperty,cu=function(u,D){return _u.call(u,D)},Nu=0,Iu=Math.random(),ju=function(u){return"Symbol(".concat(u===void 0?"":u,")_",(++Nu+Iu).toString(36))},Ou=!1,Vu=k(function(u){var D="__core-js_shared__",t=b[D]||(b[D]={});(u.exports=function(r,n){return t[r]||(t[r]=n!==void 0?n:{})})("versions",[]).push({version:_.version,mode:Ou?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})}),ru=Vu("native-function-to-string",Function.toString),Lu=k(function(u){var D=ju("src"),t="toString",r=(""+ru).split(t);_.inspectSource=function(n){return ru.call(n)},(u.exports=function(n,a,E,g){var s=typeof E=="function";s&&(cu(E,"name")||G(E,"name",a)),n[a]!==E&&(s&&(cu(E,D)||G(E,D,n[a]?""+n[a]:r.join(String(a)))),n===b?n[a]=E:g?n[a]?n[a]=E:G(n,a,E):(delete n[a],G(n,a,E)))})(Function.prototype,t,function(){return typeof this=="function"&&this[D]||ru.call(this)})}),Mu=function(u){if(typeof u!="function")throw TypeError(u+" is not a function!");return u},fu=function(u,D,t){if(Mu(u),D===void 0)return u;switch(t){case 1:return function(r){return u.call(D,r)};case 2:return function(r,n){return u.call(D,r,n)};case 3:return function(r,n,a){return u.call(D,r,n,a)}}return function(){return u.apply(D,arguments)}},tu="prototype",h=function(u,D,t){var r=u&h.F,n=u&h.G,a=u&h.S,E=u&h.P,g=u&h.B,s=n?b:a?b[D]||(b[D]={}):(b[D]||{})[tu],J=n?_:_[D]||(_[D]={}),R=J[tu]||(J[tu]={}),S,P,y,q;n&&(t=D);for(S in t)P=!r&&s&&s[S]!==void 0,y=(P?s:t)[S],q=g&&P?fu(y,b):E&&typeof y=="function"?fu(Function.call,y):y,s&&Lu(s,S,y,u&h.U),J[S]!=y&&G(J,S,q),E&&R[S]!=y&&(R[S]=y)};b.core=_,h.F=1,h.G=2,h.S=4,h.P=8,h.B=16,h.W=32,h.U=64,h.R=128;var U=h,Tu=Math.ceil,zu=Math.floor,Bu=function(u){return isNaN(u=+u)?0:(u>0?zu:Tu)(u)},Ju=function(u){if(u==null)throw TypeError("Can't call method on "+u);return u},$u=function(u){return function(D,t){var r=String(Ju(D)),n=Bu(t),a=r.length,E,g;return n<0||n>=a?u?"":void 0:(E=r.charCodeAt(n),E<55296||E>56319||n+1===a||(g=r.charCodeAt(n+1))<56320||g>57343?u?r.charAt(n):E:u?r.slice(n,n+2):(E-55296<<10)+(g-56320)+65536)}},Hu=$u(!1);U(U.P,"String",{codePointAt:function(D){return Hu(this,D)}});var A0=_.String.codePointAt,Ru=Math.max,qu=Math.min,ku=function(u,D){return u=Bu(u),u<0?Ru(u+D,0):qu(u,D)},su=String.fromCharCode,lu=String.fromCodePoint;U(U.S+U.F*(!!lu&&lu.length!=1),"String",{fromCodePoint:function(D){for(var t=arguments,r=[],n=arguments.length,a=0,E;n>a;){if(E=+t[a++],ku(E,1114111)!==E)throw RangeError(E+" is not a valid code point");r.push(E<65536?su(E):su(((E-=65536)>>10)+55296,E%1024+56320))}return r.join("")}});var E0=_.String.fromCodePoint,Gu=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Uu=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\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\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,Zu=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\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\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\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-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,nu={Space_Separator:Gu,ID_Start:Uu,ID_Continue:Zu},B={isSpaceSeparator:function(D){return typeof D=="string"&&nu.Space_Separator.test(D)},isIdStartChar:function(D){return typeof D=="string"&&(D>="a"&&D<="z"||D>="A"&&D<="Z"||D==="$"||D==="_"||nu.ID_Start.test(D))},isIdContinueChar:function(D){return typeof D=="string"&&(D>="a"&&D<="z"||D>="A"&&D<="Z"||D>="0"&&D<="9"||D==="$"||D==="_"||D==="\u200C"||D==="\u200D"||nu.ID_Continue.test(D))},isDigit:function(D){return typeof D=="string"&&/[0-9]/.test(D)},isHexDigit:function(D){return typeof D=="string"&&/[0-9A-Fa-f]/.test(D)}},Fu,m,N,Q,V,w,l,Cu,Z,Ku=function(D,t){Fu=String(D),m="start",N=[],Q=0,V=1,w=0,l=void 0,Cu=void 0,Z=void 0;do l=Qu(),Yu[m]();while(l.type!=="eof");return typeof t=="function"?iu({"":Z},"",t):Z};function iu(u,D,t){var r=u[D];if(r!=null&&typeof r=="object")if(Array.isArray(r))for(var n=0;n<r.length;n++){var a=String(n),E=iu(r,a,t);E===void 0?delete r[a]:Object.defineProperty(r,a,{value:E,writable:!0,enumerable:!0,configurable:!0})}else for(var g in r){var s=iu(r,g,t);s===void 0?delete r[g]:Object.defineProperty(r,g,{value:s,writable:!0,enumerable:!0,configurable:!0})}return t.call(u,D,r)}var i,F,K,I,A;function Qu(){for(i="default",F="",K=!1,I=1;;){A=j();var u=du[i]();if(u)return u}}function j(){if(Fu[Q])return String.fromCodePoint(Fu.codePointAt(Q))}function e(){var u=j();return u===`
|
|
2
|
+
`?(V++,w=0):u?w+=u.length:w++,u&&(Q+=u.length),u}var du={default:function(){switch(A){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
3
|
+
`:case"\r":case"\u2028":case"\u2029":e();return;case"/":e(),i="comment";return;case void 0:return e(),c("eof")}if(B.isSpaceSeparator(A)){e();return}return du[m]()},comment:function(){switch(A){case"*":e(),i="multiLineComment";return;case"/":e(),i="singleLineComment";return}throw f(e())},multiLineComment:function(){switch(A){case"*":e(),i="multiLineCommentAsterisk";return;case void 0:throw f(e())}e()},multiLineCommentAsterisk:function(){switch(A){case"*":e();return;case"/":e(),i="default";return;case void 0:throw f(e())}e(),i="multiLineComment"},singleLineComment:function(){switch(A){case`
|
|
4
|
+
`:case"\r":case"\u2028":case"\u2029":e(),i="default";return;case void 0:return e(),c("eof")}e()},value:function(){switch(A){case"{":case"[":return c("punctuator",e());case"n":return e(),T("ull"),c("null",null);case"t":return e(),T("rue"),c("boolean",!0);case"f":return e(),T("alse"),c("boolean",!1);case"-":case"+":e()==="-"&&(I=-1),i="sign";return;case".":F=e(),i="decimalPointLeading";return;case"0":F=e(),i="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":F=e(),i="decimalInteger";return;case"I":return e(),T("nfinity"),c("numeric",1/0);case"N":return e(),T("aN"),c("numeric",NaN);case'"':case"'":K=e()==='"',F="",i="string";return}throw f(e())},identifierNameStartEscape:function(){if(A!=="u")throw f(e());e();var D=au();switch(D){case"$":case"_":break;default:if(!B.isIdStartChar(D))throw vu();break}F+=D,i="identifierName"},identifierName:function(){switch(A){case"$":case"_":case"\u200C":case"\u200D":F+=e();return;case"\\":e(),i="identifierNameEscape";return}if(B.isIdContinueChar(A)){F+=e();return}return c("identifier",F)},identifierNameEscape:function(){if(A!=="u")throw f(e());e();var D=au();switch(D){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!B.isIdContinueChar(D))throw vu();break}F+=D,i="identifierName"},sign:function(){switch(A){case".":F=e(),i="decimalPointLeading";return;case"0":F=e(),i="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":F=e(),i="decimalInteger";return;case"I":return e(),T("nfinity"),c("numeric",I*(1/0));case"N":return e(),T("aN"),c("numeric",NaN)}throw f(e())},zero:function(){switch(A){case".":F+=e(),i="decimalPoint";return;case"e":case"E":F+=e(),i="decimalExponent";return;case"x":case"X":F+=e(),i="hexadecimal";return}return c("numeric",I*0)},decimalInteger:function(){switch(A){case".":F+=e(),i="decimalPoint";return;case"e":case"E":F+=e(),i="decimalExponent";return}if(B.isDigit(A)){F+=e();return}return c("numeric",I*Number(F))},decimalPointLeading:function(){if(B.isDigit(A)){F+=e(),i="decimalFraction";return}throw f(e())},decimalPoint:function(){switch(A){case"e":case"E":F+=e(),i="decimalExponent";return}if(B.isDigit(A)){F+=e(),i="decimalFraction";return}return c("numeric",I*Number(F))},decimalFraction:function(){switch(A){case"e":case"E":F+=e(),i="decimalExponent";return}if(B.isDigit(A)){F+=e();return}return c("numeric",I*Number(F))},decimalExponent:function(){switch(A){case"+":case"-":F+=e(),i="decimalExponentSign";return}if(B.isDigit(A)){F+=e(),i="decimalExponentInteger";return}throw f(e())},decimalExponentSign:function(){if(B.isDigit(A)){F+=e(),i="decimalExponentInteger";return}throw f(e())},decimalExponentInteger:function(){if(B.isDigit(A)){F+=e();return}return c("numeric",I*Number(F))},hexadecimal:function(){if(B.isHexDigit(A)){F+=e(),i="hexadecimalInteger";return}throw f(e())},hexadecimalInteger:function(){if(B.isHexDigit(A)){F+=e();return}return c("numeric",I*Number(F))},string:function(){switch(A){case"\\":e(),F+=Wu();return;case'"':if(K)return e(),c("string",F);F+=e();return;case"'":if(!K)return e(),c("string",F);F+=e();return;case`
|
|
5
|
+
`:case"\r":throw f(e());case"\u2028":case"\u2029":u0(A);break;case void 0:throw f(e())}F+=e()},start:function(){switch(A){case"{":case"[":return c("punctuator",e())}i="value"},beforePropertyName:function(){switch(A){case"$":case"_":F=e(),i="identifierName";return;case"\\":e(),i="identifierNameStartEscape";return;case"}":return c("punctuator",e());case'"':case"'":K=e()==='"',i="string";return}if(B.isIdStartChar(A)){F+=e(),i="identifierName";return}throw f(e())},afterPropertyName:function(){if(A===":")return c("punctuator",e());throw f(e())},beforePropertyValue:function(){i="value"},afterPropertyValue:function(){switch(A){case",":case"}":return c("punctuator",e())}throw f(e())},beforeArrayValue:function(){if(A==="]")return c("punctuator",e());i="value"},afterArrayValue:function(){switch(A){case",":case"]":return c("punctuator",e())}throw f(e())},end:function(){throw f(e())}};function c(u,D){return{type:u,value:D,line:V,column:w}}function T(u){for(var D=0,t=u;D<t.length;D+=1){var r=t[D],n=j();if(n!==r)throw f(e());e()}}function Wu(){var u=j();switch(u){case"b":return e(),"\b";case"f":return e(),"\f";case"n":return e(),`
|
|
6
|
+
`;case"r":return e(),"\r";case"t":return e()," ";case"v":return e(),"\v";case"0":if(e(),B.isDigit(j()))throw f(e());return"\0";case"x":return e(),Xu();case"u":return e(),au();case`
|
|
7
|
+
`:case"\u2028":case"\u2029":return e(),"";case"\r":return e(),j()===`
|
|
8
|
+
`&&e(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw f(e());case void 0:throw f(e())}return e()}function Xu(){var u="",D=j();if(!B.isHexDigit(D)||(u+=e(),D=j(),!B.isHexDigit(D)))throw f(e());return u+=e(),String.fromCodePoint(parseInt(u,16))}function au(){for(var u="",D=4;D-- >0;){var t=j();if(!B.isHexDigit(t))throw f(e());u+=e()}return String.fromCodePoint(parseInt(u,16))}var Yu={start:function(){if(l.type==="eof")throw z();Au()},beforePropertyName:function(){switch(l.type){case"identifier":case"string":Cu=l.value,m="afterPropertyName";return;case"punctuator":W();return;case"eof":throw z()}},afterPropertyName:function(){if(l.type==="eof")throw z();m="beforePropertyValue"},beforePropertyValue:function(){if(l.type==="eof")throw z();Au()},beforeArrayValue:function(){if(l.type==="eof")throw z();if(l.type==="punctuator"&&l.value==="]"){W();return}Au()},afterPropertyValue:function(){if(l.type==="eof")throw z();switch(l.value){case",":m="beforePropertyName";return;case"}":W()}},afterArrayValue:function(){if(l.type==="eof")throw z();switch(l.value){case",":m="beforeArrayValue";return;case"]":W()}},end:function(){}};function Au(){var u;switch(l.type){case"punctuator":switch(l.value){case"{":u={};break;case"[":u=[];break}break;case"null":case"boolean":case"numeric":case"string":u=l.value;break}if(Z===void 0)Z=u;else{var D=N[N.length-1];Array.isArray(D)?D.push(u):Object.defineProperty(D,Cu,{value:u,writable:!0,enumerable:!0,configurable:!0})}if(u!==null&&typeof u=="object")N.push(u),Array.isArray(u)?m="beforeArrayValue":m="beforePropertyName";else{var t=N[N.length-1];t==null?m="end":Array.isArray(t)?m="afterArrayValue":m="afterPropertyValue"}}function W(){N.pop();var u=N[N.length-1];u==null?m="end":Array.isArray(u)?m="afterArrayValue":m="afterPropertyValue"}function f(u){return X(u===void 0?"JSON5: invalid end of input at "+V+":"+w:"JSON5: invalid character '"+pu(u)+"' at "+V+":"+w)}function z(){return X("JSON5: invalid end of input at "+V+":"+w)}function vu(){return w-=5,X("JSON5: invalid identifier character at "+V+":"+w)}function u0(u){console.warn("JSON5: '"+pu(u)+"' in strings is not valid ECMAScript; consider escaping")}function pu(u){var D={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(D[u])return D[u];if(u<" "){var t=u.charCodeAt(0).toString(16);return"\\x"+("00"+t).substring(t.length)}return u}function X(u){var D=new SyntaxError(u);return D.lineNumber=V,D.columnNumber=w,D}var D0=function(D,t,r){var n=[],a="",E,g,s="",J;if(t!=null&&typeof t=="object"&&!Array.isArray(t)&&(r=t.space,J=t.quote,t=t.replacer),typeof t=="function")g=t;else if(Array.isArray(t)){E=[];for(var R=0,S=t;R<S.length;R+=1){var P=S[R],y=void 0;typeof P=="string"?y=P:(typeof P=="number"||P instanceof String||P instanceof Number)&&(y=String(P)),y!==void 0&&E.indexOf(y)<0&&E.push(y)}}return r instanceof Number?r=Number(r):r instanceof String&&(r=String(r)),typeof r=="number"?r>0&&(r=Math.min(10,Math.floor(r)),s=" ".substr(0,r)):typeof r=="string"&&(s=r.substr(0,10)),q("",{"":D});function q(o,v){var C=v[o];switch(C!=null&&(typeof C.toJSON5=="function"?C=C.toJSON5(o):typeof C.toJSON=="function"&&(C=C.toJSON(o))),g&&(C=g.call(v,o,C)),C instanceof Number?C=Number(C):C instanceof String?C=String(C):C instanceof Boolean&&(C=C.valueOf()),C){case null:return"null";case!0:return"true";case!1:return"false"}if(typeof C=="string")return Y(C,!1);if(typeof C=="number")return String(C);if(typeof C=="object")return Array.isArray(C)?C0(C):n0(C)}function Y(o){for(var v={"'":.1,'"':.2},C={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},d="",x=0;x<o.length;x++){var p=o[x];switch(p){case"'":case'"':v[p]++,d+=p;continue;case"\0":if(B.isDigit(o[x+1])){d+="\\x00";continue}}if(C[p]){d+=C[p];continue}if(p<" "){var $=p.charCodeAt(0).toString(16);d+="\\x"+("00"+$).substring($.length);continue}d+=p}var O=J||Object.keys(v).reduce(function(L,H){return v[L]<v[H]?L:H});return d=d.replace(new RegExp(O,"g"),C[O]),O+d+O}function n0(o){if(n.indexOf(o)>=0)throw TypeError("Converting circular structure to JSON5");n.push(o);var v=a;a=a+s;for(var C=E||Object.keys(o),d=[],x=0,p=C;x<p.length;x+=1){var $=p[x],O=q($,o);if(O!==void 0){var L=F0($)+":";s!==""&&(L+=" "),L+=O,d.push(L)}}var H;if(d.length===0)H="{}";else{var uu;if(s==="")uu=d.join(","),H="{"+uu+"}";else{var i0=`,
|
|
9
|
+
`+a;uu=d.join(i0),H=`{
|
|
10
|
+
`+a+uu+`,
|
|
11
|
+
`+v+"}"}}return n.pop(),a=v,H}function F0(o){if(o.length===0)return Y(o,!0);var v=String.fromCodePoint(o.codePointAt(0));if(!B.isIdStartChar(v))return Y(o,!0);for(var C=v.length;C<o.length;C++)if(!B.isIdContinueChar(String.fromCodePoint(o.codePointAt(C))))return Y(o,!0);return o}function C0(o){if(n.indexOf(o)>=0)throw TypeError("Converting circular structure to JSON5");n.push(o);var v=a;a=a+s;for(var C=[],d=0;d<o.length;d++){var x=q(String(d),o);C.push(x!==void 0?x:"null")}var p;if(C.length===0)p="[]";else if(s===""){var $=C.join(",");p="["+$+"]"}else{var O=`,
|
|
12
|
+
`+a,L=C.join(O);p=`[
|
|
13
|
+
`+a+L+`,
|
|
14
|
+
`+v+"]"}return n.pop(),a=v,p}},e0={parse:Ku,stringify:D0},r0=e0,t0=r0;return t0})}}]);
|