@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[6094],{38100:function(vi,Yt,pt){pt.d(Yt,{Nb:function(){return Qt},$0:function(){return ii},Dt:function(){return ni},WQ:function(){return si},qp:function(){return _i},u9:function(){return oi},tF:function(){return hi},YY:function(){return ri},Ov:function(){return ai},dC:function(){return ci},zg:function(){return ui},fG:function(){return li},$m:function(){return fi},c_:function(){return gt},fx:function(){return pi},Fd:function(){return xi},ak:function(){return yi},Sx:function(){return di},eA:function(){return mi},js:function(){return gi},iJ:function(){return bi},jv:function(){return Kt},ve:function(){return ti}});function y(t){return function(){return t}}const xt=Math.abs,v=Math.atan2,q=Math.cos,$t=Math.max,nt=Math.min,C=Math.sin,$=Math.sqrt,k=1e-12,F=Math.PI,I=F/2,L=2*F;function Xt(t){return t>1?0:t<-1?F:Math.acos(t)}function yt(t){return t>=1?I:t<=-1?-I:Math.asin(t)}var Dt=pt(79906);function dt(t){let i=3;return t.digits=function(n){if(!arguments.length)return i;if(n==null)i=null;else{const s=Math.floor(n);if(!(s>=0))throw new RangeError(`invalid digits: ${n}`);i=s}return t},()=>new Dt.y$(i)}function Ft(t){return t.innerRadius}function It(t){return t.outerRadius}function Lt(t){return t.startAngle}function Vt(t){return t.endAngle}function Gt(t){return t&&t.padAngle}function Jt(t,i,n,s,h,_,a,e){var r=n-t,c=s-i,o=a-h,m=e-_,u=m*r-o*c;if(!(u*u<k))return u=(o*(i-_)-m*(t-h))/u,[t+u*r,i+u*c]}function V(t,i,n,s,h,_,a){var e=t-n,r=i-s,c=(a?_:-_)/$(e*e+r*r),o=c*r,m=-c*e,u=t+o,f=i+m,d=n+o,b=s+m,R=(u+d)/2,x=(f+b)/2,w=d-u,T=b-f,g=w*w+T*T,N=h-_,S=u*b-d*f,O=(T<0?-1:1)*$($t(0,N*N*g-S*S)),B=(S*T-w*O)/g,j=(-S*w-T*O)/g,M=(S*T+w*O)/g,E=(-S*w+T*O)/g,A=B-R,l=j-x,p=M-R,Y=E-x;return A*A+l*l>p*p+Y*Y&&(B=M,j=E),{cx:B,cy:j,x01:-o,y01:-m,x11:B*(h/N-1),y11:j*(h/N-1)}}function Qt(){var t=Ft,i=It,n=y(0),s=null,h=Lt,_=Vt,a=Gt,e=null,r=dt(c);function c(){var o,m,u=+t.apply(this,arguments),f=+i.apply(this,arguments),d=h.apply(this,arguments)-I,b=_.apply(this,arguments)-I,R=xt(b-d),x=b>d;if(e||(e=o=r()),f<u&&(m=f,f=u,u=m),!(f>k))e.moveTo(0,0);else if(R>L-k)e.moveTo(f*q(d),f*C(d)),e.arc(0,0,f,d,b,!x),u>k&&(e.moveTo(u*q(b),u*C(b)),e.arc(0,0,u,b,d,x));else{var w=d,T=b,g=d,N=b,S=R,O=R,B=a.apply(this,arguments)/2,j=B>k&&(s?+s.apply(this,arguments):$(u*u+f*f)),M=nt(xt(f-u)/2,+n.apply(this,arguments)),E=M,A=M,l,p;if(j>k){var Y=yt(j/u*C(B)),K=yt(j/f*C(B));(S-=Y*2)>k?(Y*=x?1:-1,g+=Y,N-=Y):(S=0,g=N=(d+b)/2),(O-=K*2)>k?(K*=x?1:-1,w+=K,T-=K):(O=0,w=T=(d+b)/2)}var X=f*q(w),D=f*C(w),U=u*q(N),Z=u*C(N);if(M>k){var tt=f*q(T),it=f*C(T),rt=u*q(g),at=u*C(g),P;if(R<F)if(P=Jt(X,D,rt,at,tt,it,U,Z)){var ct=X-P[0],ut=D-P[1],lt=tt-P[0],ft=it-P[1],jt=1/C(Xt((ct*lt+ut*ft)/($(ct*ct+ut*ut)*$(lt*lt+ft*ft)))/2),qt=$(P[0]*P[0]+P[1]*P[1]);E=nt(M,(u-qt)/(jt-1)),A=nt(M,(f-qt)/(jt+1))}else E=A=0}O>k?A>k?(l=V(rt,at,X,D,f,A,x),p=V(tt,it,U,Z,f,A,x),e.moveTo(l.cx+l.x01,l.cy+l.y01),A<M?e.arc(l.cx,l.cy,A,v(l.y01,l.x01),v(p.y01,p.x01),!x):(e.arc(l.cx,l.cy,A,v(l.y01,l.x01),v(l.y11,l.x11),!x),e.arc(0,0,f,v(l.cy+l.y11,l.cx+l.x11),v(p.cy+p.y11,p.cx+p.x11),!x),e.arc(p.cx,p.cy,A,v(p.y11,p.x11),v(p.y01,p.x01),!x))):(e.moveTo(X,D),e.arc(0,0,f,w,T,!x)):e.moveTo(X,D),!(u>k)||!(S>k)?e.lineTo(U,Z):E>k?(l=V(U,Z,tt,it,u,-E,x),p=V(X,D,rt,at,u,-E,x),e.lineTo(l.cx+l.x01,l.cy+l.y01),E<M?e.arc(l.cx,l.cy,E,v(l.y01,l.x01),v(p.y01,p.x01),!x):(e.arc(l.cx,l.cy,E,v(l.y01,l.x01),v(l.y11,l.x11),!x),e.arc(0,0,u,v(l.cy+l.y11,l.cx+l.x11),v(p.cy+p.y11,p.cx+p.x11),x),e.arc(p.cx,p.cy,E,v(p.y11,p.x11),v(p.y01,p.x01),!x))):e.arc(0,0,u,N,g,x)}if(e.closePath(),o)return e=null,o+""||null}return c.centroid=function(){var o=(+t.apply(this,arguments)+ +i.apply(this,arguments))/2,m=(+h.apply(this,arguments)+ +_.apply(this,arguments))/2-F/2;return[q(m)*o,C(m)*o]},c.innerRadius=function(o){return arguments.length?(t=typeof o=="function"?o:y(+o),c):t},c.outerRadius=function(o){return arguments.length?(i=typeof o=="function"?o:y(+o),c):i},c.cornerRadius=function(o){return arguments.length?(n=typeof o=="function"?o:y(+o),c):n},c.padRadius=function(o){return arguments.length?(s=o==null?null:typeof o=="function"?o:y(+o),c):s},c.startAngle=function(o){return arguments.length?(h=typeof o=="function"?o:y(+o),c):h},c.endAngle=function(o){return arguments.length?(_=typeof o=="function"?o:y(+o),c):_},c.padAngle=function(o){return arguments.length?(a=typeof o=="function"?o:y(+o),c):a},c.context=function(o){return arguments.length?(e=o==null?null:o,c):e},c}var ki=Array.prototype.slice;function mt(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function bt(t){this._context=t}bt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:this._context.lineTo(t,i);break}}};function gt(t){return new bt(t)}function Wt(t){return t[0]}function Ht(t){return t[1]}function Kt(t,i){var n=y(!0),s=null,h=gt,_=null,a=dt(e);t=typeof t=="function"?t:t===void 0?Wt:y(t),i=typeof i=="function"?i:i===void 0?Ht:y(i);function e(r){var c,o=(r=mt(r)).length,m,u=!1,f;for(s==null&&(_=h(f=a())),c=0;c<=o;++c)!(c<o&&n(m=r[c],c,r))===u&&((u=!u)?_.lineStart():_.lineEnd()),u&&_.point(+t(m,c,r),+i(m,c,r));if(f)return _=null,f+""||null}return e.x=function(r){return arguments.length?(t=typeof r=="function"?r:y(+r),e):t},e.y=function(r){return arguments.length?(i=typeof r=="function"?r:y(+r),e):i},e.defined=function(r){return arguments.length?(n=typeof r=="function"?r:y(!!r),e):n},e.curve=function(r){return arguments.length?(h=r,s!=null&&(_=h(s)),e):h},e.context=function(r){return arguments.length?(r==null?s=_=null:_=h(s=r),e):s},e}function Ut(t,i){return i<t?-1:i>t?1:i>=t?0:NaN}function Zt(t){return t}function ti(){var t=Zt,i=Ut,n=null,s=y(0),h=y(L),_=y(0);function a(e){var r,c=(e=mt(e)).length,o,m,u=0,f=new Array(c),d=new Array(c),b=+s.apply(this,arguments),R=Math.min(L,Math.max(-L,h.apply(this,arguments)-b)),x,w=Math.min(Math.abs(R)/c,_.apply(this,arguments)),T=w*(R<0?-1:1),g;for(r=0;r<c;++r)(g=d[f[r]=r]=+t(e[r],r,e))>0&&(u+=g);for(i!=null?f.sort(function(N,S){return i(d[N],d[S])}):n!=null&&f.sort(function(N,S){return n(e[N],e[S])}),r=0,m=u?(R-c*T)/u:0;r<c;++r,b=x)o=f[r],g=d[o],x=b+(g>0?g*m:0)+T,d[o]={data:e[o],index:r,value:g,startAngle:b,endAngle:x,padAngle:w};return d}return a.value=function(e){return arguments.length?(t=typeof e=="function"?e:y(+e),a):t},a.sortValues=function(e){return arguments.length?(i=e,n=null,a):i},a.sort=function(e){return arguments.length?(n=e,i=null,a):n},a.startAngle=function(e){return arguments.length?(s=typeof e=="function"?e:y(+e),a):s},a.endAngle=function(e){return arguments.length?(h=typeof e=="function"?e:y(+e),a):h},a.padAngle=function(e){return arguments.length?(_=typeof e=="function"?e:y(+e),a):_},a}function z(){}function G(t,i,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+i)/6,(t._y0+4*t._y1+n)/6)}function J(t){this._context=t}J.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:G(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:G(this,t,i);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i}};function ii(t){return new J(t)}function vt(t){this._context=t}vt.prototype={areaStart:z,areaEnd:z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x2,this._y2),this._context.closePath();break}case 2:{this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break}case 3:{this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}}},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._x2=t,this._y2=i;break;case 1:this._point=2,this._x3=t,this._y3=i;break;case 2:this._point=3,this._x4=t,this._y4=i,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+i)/6);break;default:G(this,t,i);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i}};function ni(t){return new vt(t)}function kt(t){this._context=t}kt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,s=(this._y0+4*this._y1+i)/6;this._line?this._context.lineTo(n,s):this._context.moveTo(n,s);break;case 3:this._point=4;default:G(this,t,i);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i}};function si(t){return new kt(t)}class Tt{constructor(i,n){this._context=i,this._x=n}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(i,n){switch(i=+i,n=+n,this._point){case 0:{this._point=1,this._line?this._context.lineTo(i,n):this._context.moveTo(i,n);break}case 1:this._point=2;default:{this._x?this._context.bezierCurveTo(this._x0=(this._x0+i)/2,this._y0,this._x0,n,i,n):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+n)/2,i,this._y0,i,n);break}}this._x0=i,this._y0=n}}class ei{constructor(i){this._context=i}lineStart(){this._point=0}lineEnd(){}point(i,n){if(i=+i,n=+n,this._point===0)this._point=1;else{const s=pointRadial(this._x0,this._y0),h=pointRadial(this._x0,this._y0=(this._y0+n)/2),_=pointRadial(i,this._y0),a=pointRadial(i,n);this._context.moveTo(...s),this._context.bezierCurveTo(...h,..._,...a)}this._x0=i,this._y0=n}}function _i(t){return new Tt(t,!0)}function oi(t){return new Tt(t,!1)}function Ti(t){return new ei(t)}function wt(t,i){this._basis=new J(t),this._beta=i}wt.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,i=this._y,n=t.length-1;if(n>0)for(var s=t[0],h=i[0],_=t[n]-s,a=i[n]-h,e=-1,r;++e<=n;)r=e/n,this._basis.point(this._beta*t[e]+(1-this._beta)*(s+r*_),this._beta*i[e]+(1-this._beta)*(h+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,i){this._x.push(+t),this._y.push(+i)}};var hi=function t(i){function n(s){return i===1?new J(s):new wt(s,i)}return n.beta=function(s){return t(+s)},n}(.85);function Q(t,i,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-i),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function st(t,i){this._context=t,this._k=(1-i)/6}st.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Q(this,this._x1,this._y1);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2,this._x1=t,this._y1=i;break;case 2:this._point=3;default:Q(this,t,i);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var ri=function t(i){function n(s){return new st(s,i)}return n.tension=function(s){return t(+s)},n}(0);function et(t,i){this._context=t,this._k=(1-i)/6}et.prototype={areaStart:z,areaEnd:z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._x3=t,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=i);break;case 2:this._point=3,this._x5=t,this._y5=i;break;default:Q(this,t,i);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var ai=function t(i){function n(s){return new et(s,i)}return n.tension=function(s){return t(+s)},n}(0);function _t(t,i){this._context=t,this._k=(1-i)/6}_t.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Q(this,t,i);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var ci=function t(i){function n(s){return new _t(s,i)}return n.tension=function(s){return t(+s)},n}(0);function ot(t,i,n){var s=t._x1,h=t._y1,_=t._x2,a=t._y2;if(t._l01_a>k){var e=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,r=3*t._l01_a*(t._l01_a+t._l12_a);s=(s*e-t._x0*t._l12_2a+t._x2*t._l01_2a)/r,h=(h*e-t._y0*t._l12_2a+t._y2*t._l01_2a)/r}if(t._l23_a>k){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,o=3*t._l23_a*(t._l23_a+t._l12_a);_=(_*c+t._x1*t._l23_2a-i*t._l12_2a)/o,a=(a*c+t._y1*t._l23_2a-n*t._l12_2a)/o}t._context.bezierCurveTo(s,h,_,a,t._x2,t._y2)}function Nt(t,i){this._context=t,this._alpha=i}Nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){if(t=+t,i=+i,this._point){var n=this._x2-t,s=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+s*s,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3;default:ot(this,t,i);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var ui=function t(i){function n(s){return i?new Nt(s,i):new st(s,0)}return n.alpha=function(s){return t(+s)},n}(.5);function St(t,i){this._context=t,this._alpha=i}St.prototype={areaStart:z,areaEnd:z,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:{this._context.moveTo(this._x3,this._y3),this._context.closePath();break}case 2:{this._context.lineTo(this._x3,this._y3),this._context.closePath();break}case 3:{this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}}},point:function(t,i){if(t=+t,i=+i,this._point){var n=this._x2-t,s=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+s*s,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=i;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=i);break;case 2:this._point=3,this._x5=t,this._y5=i;break;default:ot(this,t,i);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var li=function t(i){function n(s){return i?new St(s,i):new et(s,0)}return n.alpha=function(s){return t(+s)},n}(.5);function Et(t,i){this._context=t,this._alpha=i}Et.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){if(t=+t,i=+i,this._point){var n=this._x2-t,s=this._y2-i;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+s*s,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ot(this,t,i);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=i}};var fi=function t(i){function n(s){return i?new Et(s,i):new _t(s,0)}return n.alpha=function(s){return t(+s)},n}(.5);function At(t){this._context=t}At.prototype={areaStart:z,areaEnd:z,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,i){t=+t,i=+i,this._point?this._context.lineTo(t,i):(this._point=1,this._context.moveTo(t,i))}};function pi(t){return new At(t)}function Rt(t){return t<0?-1:1}function Ct(t,i,n){var s=t._x1-t._x0,h=i-t._x1,_=(t._y1-t._y0)/(s||h<0&&-0),a=(n-t._y1)/(h||s<0&&-0),e=(_*h+a*s)/(s+h);return(Rt(_)+Rt(a))*Math.min(Math.abs(_),Math.abs(a),.5*Math.abs(e))||0}function Mt(t,i){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-i)/2:i}function ht(t,i,n){var s=t._x0,h=t._y0,_=t._x1,a=t._y1,e=(_-s)/3;t._context.bezierCurveTo(s+e,h+e*i,_-e,a-e*n,_,a)}function W(t){this._context=t}W.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ht(this,this._t0,Mt(this,this._t0));break}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(t,i){var n=NaN;if(t=+t,i=+i,!(t===this._x1&&i===this._y1)){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;break;case 2:this._point=3,ht(this,Mt(this,n=Ct(this,t,i)),n);break;default:ht(this,this._t0,n=Ct(this,t,i));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=i,this._t0=n}}};function Pt(t){this._context=new zt(t)}(Pt.prototype=Object.create(W.prototype)).point=function(t,i){W.prototype.point.call(this,i,t)};function zt(t){this._context=t}zt.prototype={moveTo:function(t,i){this._context.moveTo(i,t)},closePath:function(){this._context.closePath()},lineTo:function(t,i){this._context.lineTo(i,t)},bezierCurveTo:function(t,i,n,s,h,_){this._context.bezierCurveTo(i,t,s,n,_,h)}};function xi(t){return new W(t)}function yi(t){return new Pt(t)}function Ot(t){this._context=t}Ot.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,i=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],i[0]):this._context.moveTo(t[0],i[0]),n===2)this._context.lineTo(t[1],i[1]);else for(var s=Bt(t),h=Bt(i),_=0,a=1;a<n;++_,++a)this._context.bezierCurveTo(s[0][_],h[0][_],s[1][_],h[1][_],t[a],i[a]);(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,i){this._x.push(+t),this._y.push(+i)}};function Bt(t){var i,n=t.length-1,s,h=new Array(n),_=new Array(n),a=new Array(n);for(h[0]=0,_[0]=2,a[0]=t[0]+2*t[1],i=1;i<n-1;++i)h[i]=1,_[i]=4,a[i]=4*t[i]+2*t[i+1];for(h[n-1]=2,_[n-1]=7,a[n-1]=8*t[n-1]+t[n],i=1;i<n;++i)s=h[i]/_[i-1],_[i]-=s,a[i]-=s*a[i-1];for(h[n-1]=a[n-1]/_[n-1],i=n-2;i>=0;--i)h[i]=(a[i]-h[i+1])/_[i];for(_[n-1]=(t[n]+h[n-1])/2,i=0;i<n-1;++i)_[i]=2*t[i+1]-h[i+1];return[h,_]}function di(t){return new Ot(t)}function H(t,i){this._context=t,this._t=i}H.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,i){switch(t=+t,i=+i,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,i):this._context.moveTo(t,i);break;case 1:this._point=2;default:{if(this._t<=0)this._context.lineTo(this._x,i),this._context.lineTo(t,i);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,i)}break}}this._x=t,this._y=i}};function mi(t){return new H(t,.5)}function bi(t){return new H(t,0)}function gi(t){return new H(t,1)}}}]);
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[8370],{77482:function(dt){(function(L,W){dt.exports=W()})(this,function(){"use strict";function L(r){"@babel/helpers - typeof";return L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},L(r)}function W(r,n){return W=Object.setPrototypeOf||function(s,f){return s.__proto__=f,s},W(r,n)}function vt(){if(typeof Reflect=="undefined"||!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(r){return!1}}function K(r,n,o){return vt()?K=Reflect.construct:K=function(f,O,M){var N=[null];N.push.apply(N,O);var j=Function.bind.apply(f,N),Y=new j;return M&&W(Y,M.prototype),Y},K.apply(null,arguments)}function g(r){return ht(r)||Tt(r)||_t(r)||At()}function ht(r){if(Array.isArray(r))return fe(r)}function Tt(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function _t(r,n){if(r){if(typeof r=="string")return fe(r,n);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return fe(r,n)}}function fe(r,n){(n==null||n>r.length)&&(n=r.length);for(var o=0,s=new Array(n);o<n;o++)s[o]=r[o];return s}function At(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Et=Object.hasOwnProperty,Ue=Object.setPrototypeOf,yt=Object.isFrozen,gt=Object.getPrototypeOf,bt=Object.getOwnPropertyDescriptor,_=Object.freeze,b=Object.seal,St=Object.create,He=typeof Reflect!="undefined"&&Reflect,Z=He.apply,ce=He.construct;Z||(Z=function(n,o,s){return n.apply(o,s)}),_||(_=function(n){return n}),b||(b=function(n){return n}),ce||(ce=function(n,o){return K(n,g(o))});var Rt=y(Array.prototype.forEach),ze=y(Array.prototype.pop),$=y(Array.prototype.push),J=y(String.prototype.toLowerCase),pe=y(String.prototype.toString),Ot=y(String.prototype.match),S=y(String.prototype.replace),Nt=y(String.prototype.indexOf),Dt=y(String.prototype.trim),A=y(RegExp.prototype.test),me=Lt(TypeError);function y(r){return function(n){for(var o=arguments.length,s=new Array(o>1?o-1:0),f=1;f<o;f++)s[f-1]=arguments[f];return Z(r,n,s)}}function Lt(r){return function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return ce(r,o)}}function l(r,n,o){o=o||J,Ue&&Ue(r,null);for(var s=n.length;s--;){var f=n[s];if(typeof f=="string"){var O=o(f);O!==f&&(yt(n)||(n[s]=O),f=O)}r[f]=!0}return r}function x(r){var n=St(null),o;for(o in r)Z(Et,r,[o])===!0&&(n[o]=r[o]);return n}function Q(r,n){for(;r!==null;){var o=bt(r,n);if(o){if(o.get)return y(o.get);if(typeof o.value=="function")return y(o.value)}r=gt(r)}function s(f){return console.warn("fallback value for",f),null}return s}var Ge=_(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),de=_(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ve=_(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Mt=_(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),he=_(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),wt=_(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Be=_(["#text"]),We=_(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Te=_(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),$e=_(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ee=_(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ct=b(/\{\{[\w\W]*|[\w\W]*\}\}/gm),It=b(/<%[\w\W]*|[\w\W]*%>/gm),xt=b(/\${[\w\W]*}/gm),kt=b(/^data-[\-\w.\u00B7-\uFFFF]/),Pt=b(/^aria-[\-\w]+$/),Ft=b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ut=b(/^(?:\w+script|data):/i),Ht=b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zt=b(/^html$/i),Gt=function(){return typeof window=="undefined"?null:window},Bt=function(n,o){if(L(n)!=="object"||typeof n.createPolicy!="function")return null;var s=null,f="data-tt-policy-suffix";o.currentScript&&o.currentScript.hasAttribute(f)&&(s=o.currentScript.getAttribute(f));var O="dompurify"+(s?"#"+s:"");try{return n.createPolicy(O,{createHTML:function(N){return N},createScriptURL:function(N){return N}})}catch(M){return console.warn("TrustedTypes policy "+O+" could not be created."),null}};function je(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gt(),n=function(e){return je(e)};if(n.version="2.4.3",n.removed=[],!r||!r.document||r.document.nodeType!==9)return n.isSupported=!1,n;var o=r.document,s=r.document,f=r.DocumentFragment,O=r.HTMLTemplateElement,M=r.Node,N=r.Element,j=r.NodeFilter,Y=r.NamedNodeMap,$t=Y===void 0?r.NamedNodeMap||r.MozNamedAttrMap:Y,jt=r.HTMLFormElement,Yt=r.DOMParser,te=r.trustedTypes,re=N.prototype,Vt=Q(re,"cloneNode"),Xt=Q(re,"nextSibling"),qt=Q(re,"childNodes"),_e=Q(re,"parentNode");if(typeof O=="function"){var Ae=s.createElement("template");Ae.content&&Ae.content.ownerDocument&&(s=Ae.content.ownerDocument)}var R=Bt(te,o),Ee=R?R.createHTML(""):"",ae=s,ye=ae.implementation,Kt=ae.createNodeIterator,Zt=ae.createDocumentFragment,Jt=ae.getElementsByTagName,Qt=o.importNode,Ye={};try{Ye=x(s).documentMode?s.documentMode:{}}catch(i){}var D={};n.isSupported=typeof _e=="function"&&ye&&typeof ye.createHTMLDocument!="undefined"&&Ye!==9;var ge=Ct,be=It,Se=xt,er=kt,tr=Pt,rr=Ut,Ve=Ht,Re=Ft,p=null,Xe=l({},[].concat(g(Ge),g(de),g(ve),g(he),g(Be))),v=null,qe=l({},[].concat(g(We),g(Te),g($e),g(ee))),c=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),V=null,Oe=null,Ke=!0,Ne=!0,Ze=!1,F=!1,k=!1,De=!1,Le=!1,U=!1,ne=!1,ie=!1,Je=!0,Qe=!1,ar="user-content-",Me=!0,X=!1,H={},z=null,et=l({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tt=null,rt=l({},["audio","video","img","source","image","track"]),we=null,at=l({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),oe="http://www.w3.org/1998/Math/MathML",le="http://www.w3.org/2000/svg",w="http://www.w3.org/1999/xhtml",G=w,Ce=!1,Ie=null,nr=l({},[oe,le,w],pe),P,ir=["application/xhtml+xml","text/html"],or="text/html",m,B=null,lr=s.createElement("form"),nt=function(e){return e instanceof RegExp||e instanceof Function},xe=function(e){B&&B===e||((!e||L(e)!=="object")&&(e={}),e=x(e),P=ir.indexOf(e.PARSER_MEDIA_TYPE)===-1?P=or:P=e.PARSER_MEDIA_TYPE,m=P==="application/xhtml+xml"?pe:J,p="ALLOWED_TAGS"in e?l({},e.ALLOWED_TAGS,m):Xe,v="ALLOWED_ATTR"in e?l({},e.ALLOWED_ATTR,m):qe,Ie="ALLOWED_NAMESPACES"in e?l({},e.ALLOWED_NAMESPACES,pe):nr,we="ADD_URI_SAFE_ATTR"in e?l(x(at),e.ADD_URI_SAFE_ATTR,m):at,tt="ADD_DATA_URI_TAGS"in e?l(x(rt),e.ADD_DATA_URI_TAGS,m):rt,z="FORBID_CONTENTS"in e?l({},e.FORBID_CONTENTS,m):et,V="FORBID_TAGS"in e?l({},e.FORBID_TAGS,m):{},Oe="FORBID_ATTR"in e?l({},e.FORBID_ATTR,m):{},H="USE_PROFILES"in e?e.USE_PROFILES:!1,Ke=e.ALLOW_ARIA_ATTR!==!1,Ne=e.ALLOW_DATA_ATTR!==!1,Ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,F=e.SAFE_FOR_TEMPLATES||!1,k=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,Le=e.FORCE_BODY||!1,Je=e.SANITIZE_DOM!==!1,Qe=e.SANITIZE_NAMED_PROPS||!1,Me=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,Re=e.ALLOWED_URI_REGEXP||Re,G=e.NAMESPACE||w,e.CUSTOM_ELEMENT_HANDLING&&nt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(c.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&nt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(c.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(c.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),F&&(Ne=!1),ne&&(U=!0),H&&(p=l({},g(Be)),v=[],H.html===!0&&(l(p,Ge),l(v,We)),H.svg===!0&&(l(p,de),l(v,Te),l(v,ee)),H.svgFilters===!0&&(l(p,ve),l(v,Te),l(v,ee)),H.mathMl===!0&&(l(p,he),l(v,$e),l(v,ee))),e.ADD_TAGS&&(p===Xe&&(p=x(p)),l(p,e.ADD_TAGS,m)),e.ADD_ATTR&&(v===qe&&(v=x(v)),l(v,e.ADD_ATTR,m)),e.ADD_URI_SAFE_ATTR&&l(we,e.ADD_URI_SAFE_ATTR,m),e.FORBID_CONTENTS&&(z===et&&(z=x(z)),l(z,e.FORBID_CONTENTS,m)),Me&&(p["#text"]=!0),k&&l(p,["html","head","body"]),p.table&&(l(p,["tbody"]),delete V.tbody),_&&_(e),B=e)},it=l({},["mi","mo","mn","ms","mtext"]),ot=l({},["foreignobject","desc","title","annotation-xml"]),sr=l({},["title","style","font","a","script"]),se=l({},de);l(se,ve),l(se,Mt);var ke=l({},he);l(ke,wt);var ur=function(e){var t=_e(e);(!t||!t.tagName)&&(t={namespaceURI:G,tagName:"template"});var a=J(e.tagName),u=J(t.tagName);return Ie[e.namespaceURI]?e.namespaceURI===le?t.namespaceURI===w?a==="svg":t.namespaceURI===oe?a==="svg"&&(u==="annotation-xml"||it[u]):!!se[a]:e.namespaceURI===oe?t.namespaceURI===w?a==="math":t.namespaceURI===le?a==="math"&&ot[u]:!!ke[a]:e.namespaceURI===w?t.namespaceURI===le&&!ot[u]||t.namespaceURI===oe&&!it[u]?!1:!ke[a]&&(sr[a]||!se[a]):!!(P==="application/xhtml+xml"&&Ie[e.namespaceURI]):!1},C=function(e){$(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=Ee}catch(a){e.remove()}}},Pe=function(e,t){try{$(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(a){$(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is"&&!v[e])if(U||ne)try{C(t)}catch(a){}else try{t.setAttribute(e,"")}catch(a){}},lt=function(e){var t,a;if(Le)e="<remove></remove>"+e;else{var u=Ot(e,/^[\r\n\t ]+/);a=u&&u[0]}P==="application/xhtml+xml"&&G===w&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var E=R?R.createHTML(e):e;if(G===w)try{t=new Yt().parseFromString(E,P)}catch(h){}if(!t||!t.documentElement){t=ye.createDocument(G,"template",null);try{t.documentElement.innerHTML=Ce?Ee:E}catch(h){}}var T=t.body||t.documentElement;return e&&a&&T.insertBefore(s.createTextNode(a),T.childNodes[0]||null),G===w?Jt.call(t,k?"html":"body")[0]:k?t.documentElement:T},st=function(e){return Kt.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT,null,!1)},fr=function(e){return e instanceof jt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof $t)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},q=function(e){return L(M)==="object"?e instanceof M:e&&L(e)==="object"&&typeof e.nodeType=="number"&&typeof e.nodeName=="string"},I=function(e,t,a){D[e]&&Rt(D[e],function(u){u.call(n,t,a,B)})},ut=function(e){var t;if(I("beforeSanitizeElements",e,null),fr(e)||A(/[\u0080-\uFFFF]/,e.nodeName))return C(e),!0;var a=m(e.nodeName);if(I("uponSanitizeElement",e,{tagName:a,allowedTags:p}),e.hasChildNodes()&&!q(e.firstElementChild)&&(!q(e.content)||!q(e.content.firstElementChild))&&A(/<[/\w]/g,e.innerHTML)&&A(/<[/\w]/g,e.textContent)||a==="select"&&A(/<template/i,e.innerHTML))return C(e),!0;if(!p[a]||V[a]){if(!V[a]&&ct(a)&&(c.tagNameCheck instanceof RegExp&&A(c.tagNameCheck,a)||c.tagNameCheck instanceof Function&&c.tagNameCheck(a)))return!1;if(Me&&!z[a]){var u=_e(e)||e.parentNode,E=qt(e)||e.childNodes;if(E&&u)for(var T=E.length,h=T-1;h>=0;--h)u.insertBefore(Vt(E[h],!0),Xt(e))}return C(e),!0}return e instanceof N&&!ur(e)||(a==="noscript"||a==="noembed")&&A(/<\/no(script|embed)/i,e.innerHTML)?(C(e),!0):(F&&e.nodeType===3&&(t=e.textContent,t=S(t,ge," "),t=S(t,be," "),t=S(t,Se," "),e.textContent!==t&&($(n.removed,{element:e.cloneNode()}),e.textContent=t)),I("afterSanitizeElements",e,null),!1)},ft=function(e,t,a){if(Je&&(t==="id"||t==="name")&&(a in s||a in lr))return!1;if(!(Ne&&!Oe[t]&&A(er,t))){if(!(Ke&&A(tr,t))){if(!v[t]||Oe[t]){if(!(ct(e)&&(c.tagNameCheck instanceof RegExp&&A(c.tagNameCheck,e)||c.tagNameCheck instanceof Function&&c.tagNameCheck(e))&&(c.attributeNameCheck instanceof RegExp&&A(c.attributeNameCheck,t)||c.attributeNameCheck instanceof Function&&c.attributeNameCheck(t))||t==="is"&&c.allowCustomizedBuiltInElements&&(c.tagNameCheck instanceof RegExp&&A(c.tagNameCheck,a)||c.tagNameCheck instanceof Function&&c.tagNameCheck(a))))return!1}else if(!we[t]){if(!A(Re,S(a,Ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Nt(a,"data:")===0&&tt[e])){if(!(Ze&&!A(rr,S(a,Ve,"")))){if(a)return!1}}}}}}return!0},ct=function(e){return e.indexOf("-")>0},pt=function(e){var t,a,u,E;I("beforeSanitizeAttributes",e,null);var T=e.attributes;if(T){var h={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:v};for(E=T.length;E--;){t=T[E];var ue=t,d=ue.name,Fe=ue.namespaceURI;if(a=d==="value"?t.value:Dt(t.value),u=m(d),h.attrName=u,h.attrValue=a,h.keepAttr=!0,h.forceKeepAttr=void 0,I("uponSanitizeAttribute",e,h),a=h.attrValue,!h.forceKeepAttr&&(Pe(d,e),!!h.keepAttr)){if(A(/\/>/i,a)){Pe(d,e);continue}F&&(a=S(a,ge," "),a=S(a,be," "),a=S(a,Se," "));var mt=m(e.nodeName);if(ft(mt,u,a)){if(Qe&&(u==="id"||u==="name")&&(Pe(d,e),a=ar+a),R&&L(te)==="object"&&typeof te.getAttributeType=="function"&&!Fe)switch(te.getAttributeType(mt,u)){case"TrustedHTML":a=R.createHTML(a);break;case"TrustedScriptURL":a=R.createScriptURL(a);break}try{Fe?e.setAttributeNS(Fe,d,a):e.setAttribute(d,a),ze(n.removed)}catch(pr){}}}}I("afterSanitizeAttributes",e,null)}},cr=function i(e){var t,a=st(e);for(I("beforeSanitizeShadowDOM",e,null);t=a.nextNode();)I("uponSanitizeShadowNode",t,null),!ut(t)&&(t.content instanceof f&&i(t.content),pt(t));I("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a,u,E,T;if(Ce=!i,Ce&&(i="<!-->"),typeof i!="string"&&!q(i)){if(typeof i.toString!="function")throw me("toString is not a function");if(i=i.toString(),typeof i!="string")throw me("dirty is not a string, aborting")}if(!n.isSupported){if(L(r.toStaticHTML)==="object"||typeof r.toStaticHTML=="function"){if(typeof i=="string")return r.toStaticHTML(i);if(q(i))return r.toStaticHTML(i.outerHTML)}return i}if(De||xe(e),n.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){var h=m(i.nodeName);if(!p[h]||V[h])throw me("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof M)t=lt("<!---->"),a=t.ownerDocument.importNode(i,!0),a.nodeType===1&&a.nodeName==="BODY"||a.nodeName==="HTML"?t=a:t.appendChild(a);else{if(!U&&!F&&!k&&i.indexOf("<")===-1)return R&&ie?R.createHTML(i):i;if(t=lt(i),!t)return U?null:ie?Ee:""}t&&Le&&C(t.firstChild);for(var ue=st(X?i:t);u=ue.nextNode();)u.nodeType===3&&u===E||ut(u)||(u.content instanceof f&&cr(u.content),pt(u),E=u);if(E=null,X)return i;if(U){if(ne)for(T=Zt.call(t.ownerDocument);t.firstChild;)T.appendChild(t.firstChild);else T=t;return v.shadowroot&&(T=Qt.call(o,T,!0)),T}var d=k?t.outerHTML:t.innerHTML;return k&&p["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(zt,t.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
|
|
3
|
-
`+d),F&&(d=S(d,ge," "),d=S(d,be," "),d=S(d,Se," ")),R&&ie?R.createHTML(d):d},n.setConfig=function(i){xe(i),De=!0},n.clearConfig=function(){B=null,De=!1},n.isValidAttribute=function(i,e,t){B||xe({});var a=m(i),u=m(e);return ft(a,u,t)},n.addHook=function(i,e){typeof e=="function"&&(D[i]=D[i]||[],$(D[i],e))},n.removeHook=function(i){if(D[i])return ze(D[i])},n.removeHooks=function(i){D[i]&&(D[i]=[])},n.removeAllHooks=function(){D={}},n}var Wt=je();return Wt})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[1835],{49685:function(V,D,S){S.d(D,{WT:function(){return F}});var Y=1e-6,F=typeof Float32Array!="undefined"?Float32Array:Array,j=Math.random;function B(w){F=w}var k=Math.PI/180;function J(w){return w*k}function W(w,N){return Math.abs(w-N)<=Y*Math.max(1,Math.abs(w),Math.abs(N))}Math.hypot||(Math.hypot=function(){for(var w=0,N=arguments.length;N--;)w+=arguments[N]*arguments[N];return Math.sqrt(w)})},35600:function(V,D,S){S.d(D,{Jp:function(){return Q},U_:function(){return N},Us:function(){return Z},vc:function(){return C},xJ:function(){return K}});function Y(){var r=new glMatrix.ARRAY_TYPE(9);return glMatrix.ARRAY_TYPE!=Float32Array&&(r[1]=0,r[2]=0,r[3]=0,r[5]=0,r[6]=0,r[7]=0),r[0]=1,r[4]=1,r[8]=1,r}function F(r,a){return r[0]=a[0],r[1]=a[1],r[2]=a[2],r[3]=a[4],r[4]=a[5],r[5]=a[6],r[6]=a[8],r[7]=a[9],r[8]=a[10],r}function j(r){var a=new glMatrix.ARRAY_TYPE(9);return a[0]=r[0],a[1]=r[1],a[2]=r[2],a[3]=r[3],a[4]=r[4],a[5]=r[5],a[6]=r[6],a[7]=r[7],a[8]=r[8],a}function B(r,a){return r[0]=a[0],r[1]=a[1],r[2]=a[2],r[3]=a[3],r[4]=a[4],r[5]=a[5],r[6]=a[6],r[7]=a[7],r[8]=a[8],r}function k(r,a,M,l,x,d,g,m,A){var y=new glMatrix.ARRAY_TYPE(9);return y[0]=r,y[1]=a,y[2]=M,y[3]=l,y[4]=x,y[5]=d,y[6]=g,y[7]=m,y[8]=A,y}function J(r,a,M,l,x,d,g,m,A,y){return r[0]=a,r[1]=M,r[2]=l,r[3]=x,r[4]=d,r[5]=g,r[6]=m,r[7]=A,r[8]=y,r}function W(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=0,r[4]=1,r[5]=0,r[6]=0,r[7]=0,r[8]=1,r}function w(r,a){if(r===a){var M=a[1],l=a[2],x=a[5];r[1]=a[3],r[2]=a[6],r[3]=M,r[5]=a[7],r[6]=l,r[7]=x}else r[0]=a[0],r[1]=a[3],r[2]=a[6],r[3]=a[1],r[4]=a[4],r[5]=a[7],r[6]=a[2],r[7]=a[5],r[8]=a[8];return r}function N(r,a){var M=a[0],l=a[1],x=a[2],d=a[3],g=a[4],m=a[5],A=a[6],y=a[7],_=a[8],R=_*g-m*y,u=-_*d+m*A,z=y*d-g*A,i=M*R+l*u+x*z;return i?(i=1/i,r[0]=R*i,r[1]=(-_*l+x*y)*i,r[2]=(m*l-x*g)*i,r[3]=u*i,r[4]=(_*M-x*A)*i,r[5]=(-m*M+x*d)*i,r[6]=z*i,r[7]=(-y*M+l*A)*i,r[8]=(g*M-l*d)*i,r):null}function nr(r,a){var M=a[0],l=a[1],x=a[2],d=a[3],g=a[4],m=a[5],A=a[6],y=a[7],_=a[8];return r[0]=g*_-m*y,r[1]=x*y-l*_,r[2]=l*m-x*g,r[3]=m*A-d*_,r[4]=M*_-x*A,r[5]=x*d-M*m,r[6]=d*y-g*A,r[7]=l*A-M*y,r[8]=M*g-l*d,r}function ar(r){var a=r[0],M=r[1],l=r[2],x=r[3],d=r[4],g=r[5],m=r[6],A=r[7],y=r[8];return a*(y*d-g*A)+M*(-y*x+g*m)+l*(A*x-d*m)}function Q(r,a,M){var l=a[0],x=a[1],d=a[2],g=a[3],m=a[4],A=a[5],y=a[6],_=a[7],R=a[8],u=M[0],z=M[1],i=M[2],c=M[3],f=M[4],n=M[5],e=M[6],t=M[7],v=M[8];return r[0]=u*l+z*g+i*y,r[1]=u*x+z*m+i*_,r[2]=u*d+z*A+i*R,r[3]=c*l+f*g+n*y,r[4]=c*x+f*m+n*_,r[5]=c*d+f*A+n*R,r[6]=e*l+t*g+v*y,r[7]=e*x+t*m+v*_,r[8]=e*d+t*A+v*R,r}function X(r,a,M){var l=a[0],x=a[1],d=a[2],g=a[3],m=a[4],A=a[5],y=a[6],_=a[7],R=a[8],u=M[0],z=M[1];return r[0]=l,r[1]=x,r[2]=d,r[3]=g,r[4]=m,r[5]=A,r[6]=u*l+z*g+y,r[7]=u*x+z*m+_,r[8]=u*d+z*A+R,r}function H(r,a,M){var l=a[0],x=a[1],d=a[2],g=a[3],m=a[4],A=a[5],y=a[6],_=a[7],R=a[8],u=Math.sin(M),z=Math.cos(M);return r[0]=z*l+u*g,r[1]=z*x+u*m,r[2]=z*d+u*A,r[3]=z*g-u*l,r[4]=z*m-u*x,r[5]=z*A-u*d,r[6]=y,r[7]=_,r[8]=R,r}function er(r,a,M){var l=M[0],x=M[1];return r[0]=l*a[0],r[1]=l*a[1],r[2]=l*a[2],r[3]=x*a[3],r[4]=x*a[4],r[5]=x*a[5],r[6]=a[6],r[7]=a[7],r[8]=a[8],r}function C(r,a){return r[0]=1,r[1]=0,r[2]=0,r[3]=0,r[4]=1,r[5]=0,r[6]=a[0],r[7]=a[1],r[8]=1,r}function Z(r,a){var M=Math.sin(a),l=Math.cos(a);return r[0]=l,r[1]=M,r[2]=0,r[3]=-M,r[4]=l,r[5]=0,r[6]=0,r[7]=0,r[8]=1,r}function K(r,a){return r[0]=a[0],r[1]=0,r[2]=0,r[3]=0,r[4]=a[1],r[5]=0,r[6]=0,r[7]=0,r[8]=1,r}function ir(r,a){return r[0]=a[0],r[1]=a[1],r[2]=0,r[3]=a[2],r[4]=a[3],r[5]=0,r[6]=a[4],r[7]=a[5],r[8]=1,r}function $(r,a){var M=a[0],l=a[1],x=a[2],d=a[3],g=M+M,m=l+l,A=x+x,y=M*g,_=l*g,R=l*m,u=x*g,z=x*m,i=x*A,c=d*g,f=d*m,n=d*A;return r[0]=1-R-i,r[3]=_-n,r[6]=u+f,r[1]=_+n,r[4]=1-y-i,r[7]=z-c,r[2]=u-f,r[5]=z+c,r[8]=1-y-R,r}function tr(r,a){var M=a[0],l=a[1],x=a[2],d=a[3],g=a[4],m=a[5],A=a[6],y=a[7],_=a[8],R=a[9],u=a[10],z=a[11],i=a[12],c=a[13],f=a[14],n=a[15],e=M*m-l*g,t=M*A-x*g,v=M*y-d*g,h=l*A-x*m,s=l*y-d*m,E=x*y-d*A,p=_*c-R*i,P=_*f-u*i,q=_*n-z*i,L=R*f-u*c,O=R*n-z*c,I=u*n-z*f,T=e*I-t*O+v*L+h*q-s*P+E*p;return T?(T=1/T,r[0]=(m*I-A*O+y*L)*T,r[1]=(A*q-g*I-y*P)*T,r[2]=(g*O-m*q+y*p)*T,r[3]=(x*O-l*I-d*L)*T,r[4]=(M*I-x*q+d*P)*T,r[5]=(l*q-M*O-d*p)*T,r[6]=(c*E-f*s+n*h)*T,r[7]=(f*v-i*E-n*t)*T,r[8]=(i*s-c*v+n*e)*T,r):null}function cr(r,a,M){return r[0]=2/a,r[1]=0,r[2]=0,r[3]=0,r[4]=-2/M,r[5]=0,r[6]=-1,r[7]=1,r[8]=1,r}function fr(r){return"mat3("+r[0]+", "+r[1]+", "+r[2]+", "+r[3]+", "+r[4]+", "+r[5]+", "+r[6]+", "+r[7]+", "+r[8]+")"}function G(r){return Math.hypot(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8])}function U(r,a,M){return r[0]=a[0]+M[0],r[1]=a[1]+M[1],r[2]=a[2]+M[2],r[3]=a[3]+M[3],r[4]=a[4]+M[4],r[5]=a[5]+M[5],r[6]=a[6]+M[6],r[7]=a[7]+M[7],r[8]=a[8]+M[8],r}function vr(r,a,M){return r[0]=a[0]-M[0],r[1]=a[1]-M[1],r[2]=a[2]-M[2],r[3]=a[3]-M[3],r[4]=a[4]-M[4],r[5]=a[5]-M[5],r[6]=a[6]-M[6],r[7]=a[7]-M[7],r[8]=a[8]-M[8],r}function Mr(r,a,M){return r[0]=a[0]*M,r[1]=a[1]*M,r[2]=a[2]*M,r[3]=a[3]*M,r[4]=a[4]*M,r[5]=a[5]*M,r[6]=a[6]*M,r[7]=a[7]*M,r[8]=a[8]*M,r}function hr(r,a,M,l){return r[0]=a[0]+M[0]*l,r[1]=a[1]+M[1]*l,r[2]=a[2]+M[2]*l,r[3]=a[3]+M[3]*l,r[4]=a[4]+M[4]*l,r[5]=a[5]+M[5]*l,r[6]=a[6]+M[6]*l,r[7]=a[7]+M[7]*l,r[8]=a[8]+M[8]*l,r}function sr(r,a){return r[0]===a[0]&&r[1]===a[1]&&r[2]===a[2]&&r[3]===a[3]&&r[4]===a[4]&&r[5]===a[5]&&r[6]===a[6]&&r[7]===a[7]&&r[8]===a[8]}function lr(r,a){var M=r[0],l=r[1],x=r[2],d=r[3],g=r[4],m=r[5],A=r[6],y=r[7],_=r[8],R=a[0],u=a[1],z=a[2],i=a[3],c=a[4],f=a[5],n=a[6],e=a[7],t=a[8];return Math.abs(M-R)<=glMatrix.EPSILON*Math.max(1,Math.abs(M),Math.abs(R))&&Math.abs(l-u)<=glMatrix.EPSILON*Math.max(1,Math.abs(l),Math.abs(u))&&Math.abs(x-z)<=glMatrix.EPSILON*Math.max(1,Math.abs(x),Math.abs(z))&&Math.abs(d-i)<=glMatrix.EPSILON*Math.max(1,Math.abs(d),Math.abs(i))&&Math.abs(g-c)<=glMatrix.EPSILON*Math.max(1,Math.abs(g),Math.abs(c))&&Math.abs(m-f)<=glMatrix.EPSILON*Math.max(1,Math.abs(m),Math.abs(f))&&Math.abs(A-n)<=glMatrix.EPSILON*Math.max(1,Math.abs(A),Math.abs(n))&&Math.abs(y-e)<=glMatrix.EPSILON*Math.max(1,Math.abs(y),Math.abs(e))&&Math.abs(_-t)<=glMatrix.EPSILON*Math.max(1,Math.abs(_),Math.abs(t))}var b=null,o=null},31437:function(V,D,S){S.d(D,{$X:function(){return w},AK:function(){return U},EU:function(){return a},Fp:function(){return H},Fv:function(){return G},I6:function(){return x},IH:function(){return W},TE:function(){return K},VV:function(){return X},bA:function(){return C},kE:function(){return $},kK:function(){return b},lu:function(){return m}});var Y=S(49685);function F(){var i=new Y.WT(2);return Y.WT!=Float32Array&&(i[0]=0,i[1]=0),i}function j(i){var c=new glMatrix.ARRAY_TYPE(2);return c[0]=i[0],c[1]=i[1],c}function B(i,c){var f=new glMatrix.ARRAY_TYPE(2);return f[0]=i,f[1]=c,f}function k(i,c){return i[0]=c[0],i[1]=c[1],i}function J(i,c,f){return i[0]=c,i[1]=f,i}function W(i,c,f){return i[0]=c[0]+f[0],i[1]=c[1]+f[1],i}function w(i,c,f){return i[0]=c[0]-f[0],i[1]=c[1]-f[1],i}function N(i,c,f){return i[0]=c[0]*f[0],i[1]=c[1]*f[1],i}function nr(i,c,f){return i[0]=c[0]/f[0],i[1]=c[1]/f[1],i}function ar(i,c){return i[0]=Math.ceil(c[0]),i[1]=Math.ceil(c[1]),i}function Q(i,c){return i[0]=Math.floor(c[0]),i[1]=Math.floor(c[1]),i}function X(i,c,f){return i[0]=Math.min(c[0],f[0]),i[1]=Math.min(c[1],f[1]),i}function H(i,c,f){return i[0]=Math.max(c[0],f[0]),i[1]=Math.max(c[1],f[1]),i}function er(i,c){return i[0]=Math.round(c[0]),i[1]=Math.round(c[1]),i}function C(i,c,f){return i[0]=c[0]*f,i[1]=c[1]*f,i}function Z(i,c,f,n){return i[0]=c[0]+f[0]*n,i[1]=c[1]+f[1]*n,i}function K(i,c){var f=c[0]-i[0],n=c[1]-i[1];return Math.hypot(f,n)}function ir(i,c){var f=c[0]-i[0],n=c[1]-i[1];return f*f+n*n}function $(i){var c=i[0],f=i[1];return Math.hypot(c,f)}function tr(i){var c=i[0],f=i[1];return c*c+f*f}function cr(i,c){return i[0]=-c[0],i[1]=-c[1],i}function fr(i,c){return i[0]=1/c[0],i[1]=1/c[1],i}function G(i,c){var f=c[0],n=c[1],e=f*f+n*n;return e>0&&(e=1/Math.sqrt(e)),i[0]=c[0]*e,i[1]=c[1]*e,i}function U(i,c){return i[0]*c[0]+i[1]*c[1]}function vr(i,c,f){var n=c[0]*f[1]-c[1]*f[0];return i[0]=i[1]=0,i[2]=n,i}function Mr(i,c,f,n){var e=c[0],t=c[1];return i[0]=e+n*(f[0]-e),i[1]=t+n*(f[1]-t),i}function hr(i,c){c=c||1;var f=glMatrix.RANDOM()*2*Math.PI;return i[0]=Math.cos(f)*c,i[1]=Math.sin(f)*c,i}function sr(i,c,f){var n=c[0],e=c[1];return i[0]=f[0]*n+f[2]*e,i[1]=f[1]*n+f[3]*e,i}function lr(i,c,f){var n=c[0],e=c[1];return i[0]=f[0]*n+f[2]*e+f[4],i[1]=f[1]*n+f[3]*e+f[5],i}function b(i,c,f){var n=c[0],e=c[1];return i[0]=f[0]*n+f[3]*e+f[6],i[1]=f[1]*n+f[4]*e+f[7],i}function o(i,c,f){var n=c[0],e=c[1];return i[0]=f[0]*n+f[4]*e+f[12],i[1]=f[1]*n+f[5]*e+f[13],i}function r(i,c,f,n){var e=c[0]-f[0],t=c[1]-f[1],v=Math.sin(n),h=Math.cos(n);return i[0]=e*h-t*v+f[0],i[1]=e*v+t*h+f[1],i}function a(i,c){var f=i[0],n=i[1],e=c[0],t=c[1],v=Math.sqrt(f*f+n*n)*Math.sqrt(e*e+t*t),h=v&&(f*e+n*t)/v;return Math.acos(Math.min(Math.max(h,-1),1))}function M(i){return i[0]=0,i[1]=0,i}function l(i){return"vec2("+i[0]+", "+i[1]+")"}function x(i,c){return i[0]===c[0]&&i[1]===c[1]}function d(i,c){var f=i[0],n=i[1],e=c[0],t=c[1];return Math.abs(f-e)<=glMatrix.EPSILON*Math.max(1,Math.abs(f),Math.abs(e))&&Math.abs(n-t)<=glMatrix.EPSILON*Math.max(1,Math.abs(n),Math.abs(t))}var g=null,m=w,A=null,y=null,_=null,R=null,u=null,z=function(){var i=F();return function(c,f,n,e,t,v){var h,s;for(f||(f=2),n||(n=0),e?s=Math.min(e*f+n,c.length):s=c.length,h=n;h<s;h+=f)i[0]=c[h],i[1]=c[h+1],t(i,i,v),c[h]=i[0],c[h+1]=i[1];return c}}()},77160:function(V,D,S){S.d(D,{kK:function(){return o}});var Y=S(49685);function F(){var n=new Y.WT(3);return Y.WT!=Float32Array&&(n[0]=0,n[1]=0,n[2]=0),n}function j(n){var e=new glMatrix.ARRAY_TYPE(3);return e[0]=n[0],e[1]=n[1],e[2]=n[2],e}function B(n){var e=n[0],t=n[1],v=n[2];return Math.hypot(e,t,v)}function k(n,e,t){var v=new glMatrix.ARRAY_TYPE(3);return v[0]=n,v[1]=e,v[2]=t,v}function J(n,e){return n[0]=e[0],n[1]=e[1],n[2]=e[2],n}function W(n,e,t,v){return n[0]=e,n[1]=t,n[2]=v,n}function w(n,e,t){return n[0]=e[0]+t[0],n[1]=e[1]+t[1],n[2]=e[2]+t[2],n}function N(n,e,t){return n[0]=e[0]-t[0],n[1]=e[1]-t[1],n[2]=e[2]-t[2],n}function nr(n,e,t){return n[0]=e[0]*t[0],n[1]=e[1]*t[1],n[2]=e[2]*t[2],n}function ar(n,e,t){return n[0]=e[0]/t[0],n[1]=e[1]/t[1],n[2]=e[2]/t[2],n}function Q(n,e){return n[0]=Math.ceil(e[0]),n[1]=Math.ceil(e[1]),n[2]=Math.ceil(e[2]),n}function X(n,e){return n[0]=Math.floor(e[0]),n[1]=Math.floor(e[1]),n[2]=Math.floor(e[2]),n}function H(n,e,t){return n[0]=Math.min(e[0],t[0]),n[1]=Math.min(e[1],t[1]),n[2]=Math.min(e[2],t[2]),n}function er(n,e,t){return n[0]=Math.max(e[0],t[0]),n[1]=Math.max(e[1],t[1]),n[2]=Math.max(e[2],t[2]),n}function C(n,e){return n[0]=Math.round(e[0]),n[1]=Math.round(e[1]),n[2]=Math.round(e[2]),n}function Z(n,e,t){return n[0]=e[0]*t,n[1]=e[1]*t,n[2]=e[2]*t,n}function K(n,e,t,v){return n[0]=e[0]+t[0]*v,n[1]=e[1]+t[1]*v,n[2]=e[2]+t[2]*v,n}function ir(n,e){var t=e[0]-n[0],v=e[1]-n[1],h=e[2]-n[2];return Math.hypot(t,v,h)}function $(n,e){var t=e[0]-n[0],v=e[1]-n[1],h=e[2]-n[2];return t*t+v*v+h*h}function tr(n){var e=n[0],t=n[1],v=n[2];return e*e+t*t+v*v}function cr(n,e){return n[0]=-e[0],n[1]=-e[1],n[2]=-e[2],n}function fr(n,e){return n[0]=1/e[0],n[1]=1/e[1],n[2]=1/e[2],n}function G(n,e){var t=e[0],v=e[1],h=e[2],s=t*t+v*v+h*h;return s>0&&(s=1/Math.sqrt(s)),n[0]=e[0]*s,n[1]=e[1]*s,n[2]=e[2]*s,n}function U(n,e){return n[0]*e[0]+n[1]*e[1]+n[2]*e[2]}function vr(n,e,t){var v=e[0],h=e[1],s=e[2],E=t[0],p=t[1],P=t[2];return n[0]=h*P-s*p,n[1]=s*E-v*P,n[2]=v*p-h*E,n}function Mr(n,e,t,v){var h=e[0],s=e[1],E=e[2];return n[0]=h+v*(t[0]-h),n[1]=s+v*(t[1]-s),n[2]=E+v*(t[2]-E),n}function hr(n,e,t,v,h,s){var E=s*s,p=E*(2*s-3)+1,P=E*(s-2)+s,q=E*(s-1),L=E*(3-2*s);return n[0]=e[0]*p+t[0]*P+v[0]*q+h[0]*L,n[1]=e[1]*p+t[1]*P+v[1]*q+h[1]*L,n[2]=e[2]*p+t[2]*P+v[2]*q+h[2]*L,n}function sr(n,e,t,v,h,s){var E=1-s,p=E*E,P=s*s,q=p*E,L=3*s*p,O=3*P*E,I=P*s;return n[0]=e[0]*q+t[0]*L+v[0]*O+h[0]*I,n[1]=e[1]*q+t[1]*L+v[1]*O+h[1]*I,n[2]=e[2]*q+t[2]*L+v[2]*O+h[2]*I,n}function lr(n,e){e=e||1;var t=glMatrix.RANDOM()*2*Math.PI,v=glMatrix.RANDOM()*2-1,h=Math.sqrt(1-v*v)*e;return n[0]=Math.cos(t)*h,n[1]=Math.sin(t)*h,n[2]=v*e,n}function b(n,e,t){var v=e[0],h=e[1],s=e[2],E=t[3]*v+t[7]*h+t[11]*s+t[15];return E=E||1,n[0]=(t[0]*v+t[4]*h+t[8]*s+t[12])/E,n[1]=(t[1]*v+t[5]*h+t[9]*s+t[13])/E,n[2]=(t[2]*v+t[6]*h+t[10]*s+t[14])/E,n}function o(n,e,t){var v=e[0],h=e[1],s=e[2];return n[0]=v*t[0]+h*t[3]+s*t[6],n[1]=v*t[1]+h*t[4]+s*t[7],n[2]=v*t[2]+h*t[5]+s*t[8],n}function r(n,e,t){var v=t[0],h=t[1],s=t[2],E=t[3],p=e[0],P=e[1],q=e[2],L=h*q-s*P,O=s*p-v*q,I=v*P-h*p,T=h*I-s*O,xr=s*L-v*I,yr=v*O-h*L,rr=E*2;return L*=rr,O*=rr,I*=rr,T*=2,xr*=2,yr*=2,n[0]=p+L+T,n[1]=P+O+xr,n[2]=q+I+yr,n}function a(n,e,t,v){var h=[],s=[];return h[0]=e[0]-t[0],h[1]=e[1]-t[1],h[2]=e[2]-t[2],s[0]=h[0],s[1]=h[1]*Math.cos(v)-h[2]*Math.sin(v),s[2]=h[1]*Math.sin(v)+h[2]*Math.cos(v),n[0]=s[0]+t[0],n[1]=s[1]+t[1],n[2]=s[2]+t[2],n}function M(n,e,t,v){var h=[],s=[];return h[0]=e[0]-t[0],h[1]=e[1]-t[1],h[2]=e[2]-t[2],s[0]=h[2]*Math.sin(v)+h[0]*Math.cos(v),s[1]=h[1],s[2]=h[2]*Math.cos(v)-h[0]*Math.sin(v),n[0]=s[0]+t[0],n[1]=s[1]+t[1],n[2]=s[2]+t[2],n}function l(n,e,t,v){var h=[],s=[];return h[0]=e[0]-t[0],h[1]=e[1]-t[1],h[2]=e[2]-t[2],s[0]=h[0]*Math.cos(v)-h[1]*Math.sin(v),s[1]=h[0]*Math.sin(v)+h[1]*Math.cos(v),s[2]=h[2],n[0]=s[0]+t[0],n[1]=s[1]+t[1],n[2]=s[2]+t[2],n}function x(n,e){var t=n[0],v=n[1],h=n[2],s=e[0],E=e[1],p=e[2],P=Math.sqrt(t*t+v*v+h*h),q=Math.sqrt(s*s+E*E+p*p),L=P*q,O=L&&U(n,e)/L;return Math.acos(Math.min(Math.max(O,-1),1))}function d(n){return n[0]=0,n[1]=0,n[2]=0,n}function g(n){return"vec3("+n[0]+", "+n[1]+", "+n[2]+")"}function m(n,e){return n[0]===e[0]&&n[1]===e[1]&&n[2]===e[2]}function A(n,e){var t=n[0],v=n[1],h=n[2],s=e[0],E=e[1],p=e[2];return Math.abs(t-s)<=glMatrix.EPSILON*Math.max(1,Math.abs(t),Math.abs(s))&&Math.abs(v-E)<=glMatrix.EPSILON*Math.max(1,Math.abs(v),Math.abs(E))&&Math.abs(h-p)<=glMatrix.EPSILON*Math.max(1,Math.abs(h),Math.abs(p))}var y=null,_=null,R=null,u=null,z=null,i=null,c=null,f=function(){var n=F();return function(e,t,v,h,s,E){var p,P;for(t||(t=3),v||(v=0),h?P=Math.min(h*t+v,e.length):P=e.length,p=v;p<P;p+=t)n[0]=e[p],n[1]=e[p+1],n[2]=e[p+2],s(n,n,E),e[p]=n[0],e[p+1]=n[1],e[p+2]=n[2];return e}}()}}]);
|
|
@@ -1,2 +0,0 @@
|
|
|
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!=null?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?o:null,this.options=c!=null?c:E,this.elementCB=r!=null?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}}]);
|
|
@@ -1 +0,0 @@
|
|
|
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!="undefined"&&window.navigator&&typeof window.navigator.userAgentData=="undefined"&&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=="undefined"||!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(s){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=="undefined"||!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(s){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=="undefined"||!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(e){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=="undefined"||!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(s){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=="undefined"||!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(s){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!="undefined"&&(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}}]);
|
|
@@ -1,14 +0,0 @@
|
|
|
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!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&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(D){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(n){}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})}}]);
|