@barsanovinray/jscore 0.0.503 → 0.0.508

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/core.js +1 -1
  2. package/package.json +1 -1
package/core.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see core.js.LICENSE.txt */
2
- (()=>{var __webpack_modules__={12936:(t,e,n)=>{"use strict";var i;function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(o){var a,s=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,l=Math.ceil,u=Math.floor,c="[BigNumber Error] ",h=c+"Number primitive has more than 15 significant digits: ",d=1e14,f=14,m=9007199254740991,p=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],C=1e7,v=1e9;function g(t){var e=0|t;return t>0||t===e?e:e-1}function y(t){for(var e,n,i=1,r=t.length,o=t[0]+"";i<r;){for(e=t[i++]+"",n=f-e.length;n--;e="0"+e);o+=e}for(r=o.length;48===o.charCodeAt(--r););return o.slice(0,r+1||1)}function E(t,e){var n,i,r=t.c,o=e.c,a=t.s,s=e.s,l=t.e,u=e.e;if(!a||!s)return null;if(n=r&&!r[0],i=o&&!o[0],n||i)return n?i?0:-s:a;if(a!=s)return a;if(n=a<0,i=l==u,!r||!o)return i?0:!r^n?1:-1;if(!i)return l>u^n?1:-1;for(s=(l=r.length)<(u=o.length)?l:u,a=0;a<s;a++)if(r[a]!=o[a])return r[a]>o[a]^n?1:-1;return l==u?0:l>u^n?1:-1}function S(t,e,n,i){if(t<e||t>n||t!==u(t))throw Error(c+(i||"Argument")+("number"==typeof t?t<e||t>n?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function b(t){var e=t.c.length-1;return g(t.e/f)==e&&t.c[e]%2!=0}function x(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function w(t,e,n){var i,r;if(e<0){for(r=n+".";++e;r+=n);t=r+t}else if(++e>(i=t.length)){for(r=n,e-=i;--e;r+=n);t+=r}else e<i&&(t=t.slice(0,e)+"."+t.slice(e));return t}(a=function t(e){var n,i,o,a,_,I,A,U,F,M,D=H.prototype={constructor:H,toString:null,valueOf:null},T=new H(1),R=20,P=4,B=-7,L=21,O=-1e7,k=1e7,N=!1,G=1,V=0,j={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},W="0123456789abcdefghijklmnopqrstuvwxyz";function H(t,e){var n,r,a,l,c,d,p,C,v=this;if(!(v instanceof H))return new H(t,e);if(null==e){if(t&&!0===t._isBigNumber)return v.s=t.s,void(!t.c||t.e>k?v.c=v.e=null:t.e<O?v.c=[v.e=0]:(v.e=t.e,v.c=t.c.slice()));if((d="number"==typeof t)&&0*t==0){if(v.s=1/t<0?(t=-t,-1):1,t===~~t){for(l=0,c=t;c>=10;c/=10,l++);return void(l>k?v.c=v.e=null:(v.e=l,v.c=[t]))}C=String(t)}else{if(!s.test(C=String(t)))return o(v,C,d);v.s=45==C.charCodeAt(0)?(C=C.slice(1),-1):1}(l=C.indexOf("."))>-1&&(C=C.replace(".","")),(c=C.search(/e/i))>0?(l<0&&(l=c),l+=+C.slice(c+1),C=C.substring(0,c)):l<0&&(l=C.length)}else{if(S(e,2,W.length,"Base"),10==e)return K(v=new H(t),R+v.e+1,P);if(C=String(t),d="number"==typeof t){if(0*t!=0)return o(v,C,d,e);if(v.s=1/t<0?(C=C.slice(1),-1):1,H.DEBUG&&C.replace(/^0\.0*|\./,"").length>15)throw Error(h+t)}else v.s=45===C.charCodeAt(0)?(C=C.slice(1),-1):1;for(n=W.slice(0,e),l=c=0,p=C.length;c<p;c++)if(n.indexOf(r=C.charAt(c))<0){if("."==r){if(c>l){l=p;continue}}else if(!a&&(C==C.toUpperCase()&&(C=C.toLowerCase())||C==C.toLowerCase()&&(C=C.toUpperCase()))){a=!0,c=-1,l=0;continue}return o(v,String(t),d,e)}d=!1,(l=(C=i(C,e,10,v.s)).indexOf("."))>-1?C=C.replace(".",""):l=C.length}for(c=0;48===C.charCodeAt(c);c++);for(p=C.length;48===C.charCodeAt(--p););if(C=C.slice(c,++p)){if(p-=c,d&&H.DEBUG&&p>15&&(t>m||t!==u(t)))throw Error(h+v.s*t);if((l=l-c-1)>k)v.c=v.e=null;else if(l<O)v.c=[v.e=0];else{if(v.e=l,v.c=[],c=(l+1)%f,l<0&&(c+=f),c<p){for(c&&v.c.push(+C.slice(0,c)),p-=f;c<p;)v.c.push(+C.slice(c,c+=f));c=f-(C=C.slice(c)).length}else c-=p;for(;c--;C+="0");v.c.push(+C)}}else v.c=[v.e=0]}function $(t,e,n,i){var r,o,a,s,l;if(null==n?n=P:S(n,0,8),!t.c)return t.toString();if(r=t.c[0],a=t.e,null==e)l=y(t.c),l=1==i||2==i&&(a<=B||a>=L)?x(l,a):w(l,a,"0");else if(o=(t=K(new H(t),e,n)).e,s=(l=y(t.c)).length,1==i||2==i&&(e<=o||o<=B)){for(;s<e;l+="0",s++);l=x(l,o)}else if(e-=a,l=w(l,o,"0"),o+1>s){if(--e>0)for(l+=".";e--;l+="0");}else if((e+=o-s)>0)for(o+1==s&&(l+=".");e--;l+="0");return t.s<0&&r?"-"+l:l}function z(t,e){for(var n,i=1,r=new H(t[0]);i<t.length;i++){if(!(n=new H(t[i])).s){r=n;break}e.call(r,n)&&(r=n)}return r}function q(t,e,n){for(var i=1,r=e.length;!e[--r];e.pop());for(r=e[0];r>=10;r/=10,i++);return(n=i+n*f-1)>k?t.c=t.e=null:n<O?t.c=[t.e=0]:(t.e=n,t.c=e),t}function K(t,e,n,i){var r,o,a,s,c,h,m,C=t.c,v=p;if(C){t:{for(r=1,s=C[0];s>=10;s/=10,r++);if((o=e-r)<0)o+=f,a=e,m=(c=C[h=0])/v[r-a-1]%10|0;else if((h=l((o+1)/f))>=C.length){if(!i)break t;for(;C.length<=h;C.push(0));c=m=0,r=1,a=(o%=f)-f+1}else{for(c=s=C[h],r=1;s>=10;s/=10,r++);m=(a=(o%=f)-f+r)<0?0:c/v[r-a-1]%10|0}if(i=i||e<0||null!=C[h+1]||(a<0?c:c%v[r-a-1]),i=n<4?(m||i)&&(0==n||n==(t.s<0?3:2)):m>5||5==m&&(4==n||i||6==n&&(o>0?a>0?c/v[r-a]:0:C[h-1])%10&1||n==(t.s<0?8:7)),e<1||!C[0])return C.length=0,i?(e-=t.e+1,C[0]=v[(f-e%f)%f],t.e=-e||0):C[0]=t.e=0,t;if(0==o?(C.length=h,s=1,h--):(C.length=h+1,s=v[f-o],C[h]=a>0?u(c/v[r-a]%v[a])*s:0),i)for(;;){if(0==h){for(o=1,a=C[0];a>=10;a/=10,o++);for(a=C[0]+=s,s=1;a>=10;a/=10,s++);o!=s&&(t.e++,C[0]==d&&(C[0]=1));break}if(C[h]+=s,C[h]!=d)break;C[h--]=0,s=1}for(o=C.length;0===C[--o];C.pop());}t.e>k?t.c=t.e=null:t.e<O&&(t.c=[t.e=0])}return t}function Y(t){var e,n=t.e;return null===n?t.toString():(e=y(t.c),e=n<=B||n>=L?x(e,n):w(e,n,"0"),t.s<0?"-"+e:e)}return H.clone=t,H.ROUND_UP=0,H.ROUND_DOWN=1,H.ROUND_CEIL=2,H.ROUND_FLOOR=3,H.ROUND_HALF_UP=4,H.ROUND_HALF_DOWN=5,H.ROUND_HALF_EVEN=6,H.ROUND_HALF_CEIL=7,H.ROUND_HALF_FLOOR=8,H.EUCLID=9,H.config=H.set=function(t){var e,n;if(null!=t){if("object"!=r(t))throw Error(c+"Object expected: "+t);if(t.hasOwnProperty(e="DECIMAL_PLACES")&&(S(n=t[e],0,v,e),R=n),t.hasOwnProperty(e="ROUNDING_MODE")&&(S(n=t[e],0,8,e),P=n),t.hasOwnProperty(e="EXPONENTIAL_AT")&&((n=t[e])&&n.pop?(S(n[0],-v,0,e),S(n[1],0,v,e),B=n[0],L=n[1]):(S(n,-v,v,e),B=-(L=n<0?-n:n))),t.hasOwnProperty(e="RANGE"))if((n=t[e])&&n.pop)S(n[0],-v,-1,e),S(n[1],1,v,e),O=n[0],k=n[1];else{if(S(n,-v,v,e),!n)throw Error(c+e+" cannot be zero: "+n);O=-(k=n<0?-n:n)}if(t.hasOwnProperty(e="CRYPTO")){if((n=t[e])!==!!n)throw Error(c+e+" not true or false: "+n);if(n){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw N=!n,Error(c+"crypto unavailable");N=n}else N=n}if(t.hasOwnProperty(e="MODULO_MODE")&&(S(n=t[e],0,9,e),G=n),t.hasOwnProperty(e="POW_PRECISION")&&(S(n=t[e],0,v,e),V=n),t.hasOwnProperty(e="FORMAT")){if("object"!=r(n=t[e]))throw Error(c+e+" not an object: "+n);j=n}if(t.hasOwnProperty(e="ALPHABET")){if("string"!=typeof(n=t[e])||/^.?$|[+\-.\s]|(.).*\1/.test(n))throw Error(c+e+" invalid: "+n);W=n}}return{DECIMAL_PLACES:R,ROUNDING_MODE:P,EXPONENTIAL_AT:[B,L],RANGE:[O,k],CRYPTO:N,MODULO_MODE:G,POW_PRECISION:V,FORMAT:j,ALPHABET:W}},H.isBigNumber=function(t){if(!t||!0!==t._isBigNumber)return!1;if(!H.DEBUG)return!0;var e,n,i=t.c,r=t.e,o=t.s;t:if("[object Array]"=={}.toString.call(i)){if((1===o||-1===o)&&r>=-v&&r<=v&&r===u(r)){if(0===i[0]){if(0===r&&1===i.length)return!0;break t}if((e=(r+1)%f)<1&&(e+=f),String(i[0]).length==e){for(e=0;e<i.length;e++)if((n=i[e])<0||n>=d||n!==u(n))break t;if(0!==n)return!0}}}else if(null===i&&null===r&&(null===o||1===o||-1===o))return!0;throw Error(c+"Invalid BigNumber: "+t)},H.maximum=H.max=function(){return z(arguments,D.lt)},H.minimum=H.min=function(){return z(arguments,D.gt)},H.random=(a=9007199254740992,_=Math.random()*a&2097151?function(){return u(Math.random()*a)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(t){var e,n,i,r,o,a=0,s=[],h=new H(T);if(null==t?t=R:S(t,0,v),r=l(t/f),N)if(crypto.getRandomValues){for(e=crypto.getRandomValues(new Uint32Array(r*=2));a<r;)(o=131072*e[a]+(e[a+1]>>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),e[a]=n[0],e[a+1]=n[1]):(s.push(o%1e14),a+=2);a=r/2}else{if(!crypto.randomBytes)throw N=!1,Error(c+"crypto unavailable");for(e=crypto.randomBytes(r*=7);a<r;)(o=281474976710656*(31&e[a])+1099511627776*e[a+1]+4294967296*e[a+2]+16777216*e[a+3]+(e[a+4]<<16)+(e[a+5]<<8)+e[a+6])>=9e15?crypto.randomBytes(7).copy(e,a):(s.push(o%1e14),a+=7);a=r/7}if(!N)for(;a<r;)(o=_())<9e15&&(s[a++]=o%1e14);for(r=s[--a],t%=f,r&&t&&(o=p[f-t],s[a]=u(r/o)*o);0===s[a];s.pop(),a--);if(a<0)s=[i=0];else{for(i=-1;0===s[0];s.splice(0,1),i-=f);for(a=1,o=s[0];o>=10;o/=10,a++);a<f&&(i-=f-a)}return h.e=i,h.c=s,h}),H.sum=function(){for(var t=1,e=arguments,n=new H(e[0]);t<e.length;)n=n.plus(e[t++]);return n},i=function(){var t="0123456789";function e(t,e,n,i){for(var r,o,a=[0],s=0,l=t.length;s<l;){for(o=a.length;o--;a[o]*=e);for(a[0]+=i.indexOf(t.charAt(s++)),r=0;r<a.length;r++)a[r]>n-1&&(null==a[r+1]&&(a[r+1]=0),a[r+1]+=a[r]/n|0,a[r]%=n)}return a.reverse()}return function(i,r,o,a,s){var l,u,c,h,d,f,m,p,C=i.indexOf("."),v=R,g=P;for(C>=0&&(h=V,V=0,i=i.replace(".",""),f=(p=new H(r)).pow(i.length-C),V=h,p.c=e(w(y(f.c),f.e,"0"),10,o,t),p.e=p.c.length),c=h=(m=e(i,r,o,s?(l=W,t):(l=t,W))).length;0==m[--h];m.pop());if(!m[0])return l.charAt(0);if(C<0?--c:(f.c=m,f.e=c,f.s=a,m=(f=n(f,p,v,g,o)).c,d=f.r,c=f.e),C=m[u=c+v+1],h=o/2,d=d||u<0||null!=m[u+1],d=g<4?(null!=C||d)&&(0==g||g==(f.s<0?3:2)):C>h||C==h&&(4==g||d||6==g&&1&m[u-1]||g==(f.s<0?8:7)),u<1||!m[0])i=d?w(l.charAt(1),-v,l.charAt(0)):l.charAt(0);else{if(m.length=u,d)for(--o;++m[--u]>o;)m[u]=0,u||(++c,m=[1].concat(m));for(h=m.length;!m[--h];);for(C=0,i="";C<=h;i+=l.charAt(m[C++]));i=w(i,c,l.charAt(0))}return i}}(),n=function(){function t(t,e,n){var i,r,o,a,s=0,l=t.length,u=e%C,c=e/C|0;for(t=t.slice();l--;)s=((r=u*(o=t[l]%C)+(i=c*o+(a=t[l]/C|0)*u)%C*C+s)/n|0)+(i/C|0)+c*a,t[l]=r%n;return s&&(t=[s].concat(t)),t}function e(t,e,n,i){var r,o;if(n!=i)o=n>i?1:-1;else for(r=o=0;r<n;r++)if(t[r]!=e[r]){o=t[r]>e[r]?1:-1;break}return o}function n(t,e,n,i){for(var r=0;n--;)t[n]-=r,r=t[n]<e[n]?1:0,t[n]=r*i+t[n]-e[n];for(;!t[0]&&t.length>1;t.splice(0,1));}return function(i,r,o,a,s){var l,c,h,m,p,C,v,y,E,S,b,x,w,_,I,A,U,F=i.s==r.s?1:-1,M=i.c,D=r.c;if(!(M&&M[0]&&D&&D[0]))return new H(i.s&&r.s&&(M?!D||M[0]!=D[0]:D)?M&&0==M[0]||!D?0*F:F/0:NaN);for(E=(y=new H(F)).c=[],F=o+(c=i.e-r.e)+1,s||(s=d,c=g(i.e/f)-g(r.e/f),F=F/f|0),h=0;D[h]==(M[h]||0);h++);if(D[h]>(M[h]||0)&&c--,F<0)E.push(1),m=!0;else{for(_=M.length,A=D.length,h=0,F+=2,(p=u(s/(D[0]+1)))>1&&(D=t(D,p,s),M=t(M,p,s),A=D.length,_=M.length),w=A,b=(S=M.slice(0,A)).length;b<A;S[b++]=0);U=D.slice(),U=[0].concat(U),I=D[0],D[1]>=s/2&&I++;do{if(p=0,(l=e(D,S,A,b))<0){if(x=S[0],A!=b&&(x=x*s+(S[1]||0)),(p=u(x/I))>1)for(p>=s&&(p=s-1),v=(C=t(D,p,s)).length,b=S.length;1==e(C,S,v,b);)p--,n(C,A<v?U:D,v,s),v=C.length,l=1;else 0==p&&(l=p=1),v=(C=D.slice()).length;if(v<b&&(C=[0].concat(C)),n(S,C,b,s),b=S.length,-1==l)for(;e(D,S,A,b)<1;)p++,n(S,A<b?U:D,b,s),b=S.length}else 0===l&&(p++,S=[0]);E[h++]=p,S[0]?S[b++]=M[w]||0:(S=[M[w]],b=1)}while((w++<_||null!=S[0])&&F--);m=null!=S[0],E[0]||E.splice(0,1)}if(s==d){for(h=1,F=E[0];F>=10;F/=10,h++);K(y,o+(y.e=h+c*f-1)+1,a,m)}else y.e=c,y.r=+m;return y}}(),I=/^(-?)0([xbo])(?=\w[\w.]*$)/i,A=/^([^.]+)\.$/,U=/^\.([^.]+)$/,F=/^-?(Infinity|NaN)$/,M=/^\s*\+(?=[\w.])|^\s+|\s+$/g,o=function(t,e,n,i){var r,o=n?e:e.replace(M,"");if(F.test(o))t.s=isNaN(o)?null:o<0?-1:1;else{if(!n&&(o=o.replace(I,(function(t,e,n){return r="x"==(n=n.toLowerCase())?16:"b"==n?2:8,i&&i!=r?t:e})),i&&(r=i,o=o.replace(A,"$1").replace(U,"0.$1")),e!=o))return new H(o,r);if(H.DEBUG)throw Error(c+"Not a"+(i?" base "+i:"")+" number: "+e);t.s=null}t.c=t.e=null},D.absoluteValue=D.abs=function(){var t=new H(this);return t.s<0&&(t.s=1),t},D.comparedTo=function(t,e){return E(this,new H(t,e))},D.decimalPlaces=D.dp=function(t,e){var n,i,r,o=this;if(null!=t)return S(t,0,v),null==e?e=P:S(e,0,8),K(new H(o),t+o.e+1,e);if(!(n=o.c))return null;if(i=((r=n.length-1)-g(this.e/f))*f,r=n[r])for(;r%10==0;r/=10,i--);return i<0&&(i=0),i},D.dividedBy=D.div=function(t,e){return n(this,new H(t,e),R,P)},D.dividedToIntegerBy=D.idiv=function(t,e){return n(this,new H(t,e),0,1)},D.exponentiatedBy=D.pow=function(t,e){var n,i,r,o,a,s,h,d,m=this;if((t=new H(t)).c&&!t.isInteger())throw Error(c+"Exponent not an integer: "+Y(t));if(null!=e&&(e=new H(e)),a=t.e>14,!m.c||!m.c[0]||1==m.c[0]&&!m.e&&1==m.c.length||!t.c||!t.c[0])return d=new H(Math.pow(+Y(m),a?2-b(t):+Y(t))),e?d.mod(e):d;if(s=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new H(NaN);(i=!s&&m.isInteger()&&e.isInteger())&&(m=m.mod(e))}else{if(t.e>9&&(m.e>0||m.e<-1||(0==m.e?m.c[0]>1||a&&m.c[1]>=24e7:m.c[0]<8e13||a&&m.c[0]<=9999975e7)))return o=m.s<0&&b(t)?-0:0,m.e>-1&&(o=1/o),new H(s?1/o:o);V&&(o=l(V/f+2))}for(a?(n=new H(.5),s&&(t.s=1),h=b(t)):h=(r=Math.abs(+Y(t)))%2,d=new H(T);;){if(h){if(!(d=d.times(m)).c)break;o?d.c.length>o&&(d.c.length=o):i&&(d=d.mod(e))}if(r){if(0===(r=u(r/2)))break;h=r%2}else if(K(t=t.times(n),t.e+1,1),t.e>14)h=b(t);else{if(0==(r=+Y(t)))break;h=r%2}m=m.times(m),o?m.c&&m.c.length>o&&(m.c.length=o):i&&(m=m.mod(e))}return i?d:(s&&(d=T.div(d)),e?d.mod(e):o?K(d,V,P,void 0):d)},D.integerValue=function(t){var e=new H(this);return null==t?t=P:S(t,0,8),K(e,e.e+1,t)},D.isEqualTo=D.eq=function(t,e){return 0===E(this,new H(t,e))},D.isFinite=function(){return!!this.c},D.isGreaterThan=D.gt=function(t,e){return E(this,new H(t,e))>0},D.isGreaterThanOrEqualTo=D.gte=function(t,e){return 1===(e=E(this,new H(t,e)))||0===e},D.isInteger=function(){return!!this.c&&g(this.e/f)>this.c.length-2},D.isLessThan=D.lt=function(t,e){return E(this,new H(t,e))<0},D.isLessThanOrEqualTo=D.lte=function(t,e){return-1===(e=E(this,new H(t,e)))||0===e},D.isNaN=function(){return!this.s},D.isNegative=function(){return this.s<0},D.isPositive=function(){return this.s>0},D.isZero=function(){return!!this.c&&0==this.c[0]},D.minus=function(t,e){var n,i,r,o,a=this,s=a.s;if(e=(t=new H(t,e)).s,!s||!e)return new H(NaN);if(s!=e)return t.s=-e,a.plus(t);var l=a.e/f,u=t.e/f,c=a.c,h=t.c;if(!l||!u){if(!c||!h)return c?(t.s=-e,t):new H(h?a:NaN);if(!c[0]||!h[0])return h[0]?(t.s=-e,t):new H(c[0]?a:3==P?-0:0)}if(l=g(l),u=g(u),c=c.slice(),s=l-u){for((o=s<0)?(s=-s,r=c):(u=l,r=h),r.reverse(),e=s;e--;r.push(0));r.reverse()}else for(i=(o=(s=c.length)<(e=h.length))?s:e,s=e=0;e<i;e++)if(c[e]!=h[e]){o=c[e]<h[e];break}if(o&&(r=c,c=h,h=r,t.s=-t.s),(e=(i=h.length)-(n=c.length))>0)for(;e--;c[n++]=0);for(e=d-1;i>s;){if(c[--i]<h[i]){for(n=i;n&&!c[--n];c[n]=e);--c[n],c[i]+=d}c[i]-=h[i]}for(;0==c[0];c.splice(0,1),--u);return c[0]?q(t,c,u):(t.s=3==P?-1:1,t.c=[t.e=0],t)},D.modulo=D.mod=function(t,e){var i,r,o=this;return t=new H(t,e),!o.c||!t.s||t.c&&!t.c[0]?new H(NaN):!t.c||o.c&&!o.c[0]?new H(o):(9==G?(r=t.s,t.s=1,i=n(o,t,0,3),t.s=r,i.s*=r):i=n(o,t,0,G),(t=o.minus(i.times(t))).c[0]||1!=G||(t.s=o.s),t)},D.multipliedBy=D.times=function(t,e){var n,i,r,o,a,s,l,u,c,h,m,p,v,y,E,S=this,b=S.c,x=(t=new H(t,e)).c;if(!(b&&x&&b[0]&&x[0]))return!S.s||!t.s||b&&!b[0]&&!x||x&&!x[0]&&!b?t.c=t.e=t.s=null:(t.s*=S.s,b&&x?(t.c=[0],t.e=0):t.c=t.e=null),t;for(i=g(S.e/f)+g(t.e/f),t.s*=S.s,(l=b.length)<(h=x.length)&&(v=b,b=x,x=v,r=l,l=h,h=r),r=l+h,v=[];r--;v.push(0));for(y=d,E=C,r=h;--r>=0;){for(n=0,m=x[r]%E,p=x[r]/E|0,o=r+(a=l);o>r;)n=((u=m*(u=b[--a]%E)+(s=p*u+(c=b[a]/E|0)*m)%E*E+v[o]+n)/y|0)+(s/E|0)+p*c,v[o--]=u%y;v[o]=n}return n?++i:v.splice(0,1),q(t,v,i)},D.negated=function(){var t=new H(this);return t.s=-t.s||null,t},D.plus=function(t,e){var n,i=this,r=i.s;if(e=(t=new H(t,e)).s,!r||!e)return new H(NaN);if(r!=e)return t.s=-e,i.minus(t);var o=i.e/f,a=t.e/f,s=i.c,l=t.c;if(!o||!a){if(!s||!l)return new H(r/0);if(!s[0]||!l[0])return l[0]?t:new H(s[0]?i:0*r)}if(o=g(o),a=g(a),s=s.slice(),r=o-a){for(r>0?(a=o,n=l):(r=-r,n=s),n.reverse();r--;n.push(0));n.reverse()}for((r=s.length)-(e=l.length)<0&&(n=l,l=s,s=n,e=r),r=0;e;)r=(s[--e]=s[e]+l[e]+r)/d|0,s[e]=d===s[e]?0:s[e]%d;return r&&(s=[r].concat(s),++a),q(t,s,a)},D.precision=D.sd=function(t,e){var n,i,r,o=this;if(null!=t&&t!==!!t)return S(t,1,v),null==e?e=P:S(e,0,8),K(new H(o),t,e);if(!(n=o.c))return null;if(i=(r=n.length-1)*f+1,r=n[r]){for(;r%10==0;r/=10,i--);for(r=n[0];r>=10;r/=10,i++);}return t&&o.e+1>i&&(i=o.e+1),i},D.shiftedBy=function(t){return S(t,-9007199254740991,m),this.times("1e"+t)},D.squareRoot=D.sqrt=function(){var t,e,i,r,o,a=this,s=a.c,l=a.s,u=a.e,c=R+4,h=new H("0.5");if(1!==l||!s||!s[0])return new H(!l||l<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(l=Math.sqrt(+Y(a)))||l==1/0?(((e=y(s)).length+u)%2==0&&(e+="0"),l=Math.sqrt(+e),u=g((u+1)/2)-(u<0||u%2),i=new H(e=l==1/0?"5e"+u:(e=l.toExponential()).slice(0,e.indexOf("e")+1)+u)):i=new H(l+""),i.c[0])for((l=(u=i.e)+c)<3&&(l=0);;)if(o=i,i=h.times(o.plus(n(a,o,c,1))),y(o.c).slice(0,l)===(e=y(i.c)).slice(0,l)){if(i.e<u&&--l,"9999"!=(e=e.slice(l-3,l+1))&&(r||"4999"!=e)){+e&&(+e.slice(1)||"5"!=e.charAt(0))||(K(i,i.e+R+2,1),t=!i.times(i).eq(a));break}if(!r&&(K(o,o.e+R+2,0),o.times(o).eq(a))){i=o;break}c+=4,l+=4,r=1}return K(i,i.e+R+1,P,t)},D.toExponential=function(t,e){return null!=t&&(S(t,0,v),t++),$(this,t,e,1)},D.toFixed=function(t,e){return null!=t&&(S(t,0,v),t=t+this.e+1),$(this,t,e)},D.toFormat=function(t,e,n){var i,o=this;if(null==n)null!=t&&e&&"object"==r(e)?(n=e,e=null):t&&"object"==r(t)?(n=t,t=e=null):n=j;else if("object"!=r(n))throw Error(c+"Argument not an object: "+n);if(i=o.toFixed(t,e),o.c){var a,s=i.split("."),l=+n.groupSize,u=+n.secondaryGroupSize,h=n.groupSeparator||"",d=s[0],f=s[1],m=o.s<0,p=m?d.slice(1):d,C=p.length;if(u&&(a=l,l=u,u=a,C-=a),l>0&&C>0){for(a=C%l||l,d=p.substr(0,a);a<C;a+=l)d+=h+p.substr(a,l);u>0&&(d+=h+p.slice(a)),m&&(d="-"+d)}i=f?d+(n.decimalSeparator||"")+((u=+n.fractionGroupSize)?f.replace(new RegExp("\\d{"+u+"}\\B","g"),"$&"+(n.fractionGroupSeparator||"")):f):d}return(n.prefix||"")+i+(n.suffix||"")},D.toFraction=function(t){var e,i,r,o,a,s,l,u,h,d,m,C,v=this,g=v.c;if(null!=t&&(!(l=new H(t)).isInteger()&&(l.c||1!==l.s)||l.lt(T)))throw Error(c+"Argument "+(l.isInteger()?"out of range: ":"not an integer: ")+Y(l));if(!g)return new H(v);for(e=new H(T),h=i=new H(T),r=u=new H(T),C=y(g),a=e.e=C.length-v.e-1,e.c[0]=p[(s=a%f)<0?f+s:s],t=!t||l.comparedTo(e)>0?a>0?e:h:l,s=k,k=1/0,l=new H(C),u.c[0]=0;d=n(l,e,0,1),1!=(o=i.plus(d.times(r))).comparedTo(t);)i=r,r=o,h=u.plus(d.times(o=h)),u=o,e=l.minus(d.times(o=e)),l=o;return o=n(t.minus(i),r,0,1),u=u.plus(o.times(h)),i=i.plus(o.times(r)),u.s=h.s=v.s,m=n(h,r,a*=2,P).minus(v).abs().comparedTo(n(u,i,a,P).minus(v).abs())<1?[h,r]:[u,i],k=s,m},D.toNumber=function(){return+Y(this)},D.toPrecision=function(t,e){return null!=t&&S(t,1,v),$(this,t,e,2)},D.toString=function(t){var e,n=this,r=n.s,o=n.e;return null===o?r?(e="Infinity",r<0&&(e="-"+e)):e="NaN":(null==t?e=o<=B||o>=L?x(y(n.c),o):w(y(n.c),o,"0"):10===t?e=w(y((n=K(new H(n),R+o+1,P)).c),n.e,"0"):(S(t,2,W.length,"Base"),e=i(w(y(n.c),o,"0"),10,t,r,!0)),r<0&&n.c[0]&&(e="-"+e)),e},D.valueOf=D.toJSON=function(){return Y(this)},D._isBigNumber=!0,null!=e&&H.set(e),H}()).default=a.BigNumber=a,void 0===(i=function(){return a}.call(e,n,e,t))||(t.exports=i)}()},64191:(t,e,n)=>{"use strict";n(39961),n(82965),n(33302),n(85715),n(88672),n(74528),n(7806),n(32587),n(12358),n(84144),n(25137),n(74433),n(78032),n(4428),n(86483),n(73450),n(29836),n(45013),n(33835),n(53570),n(17276),n(40175),n(53950),n(29006),n(94328),n(72129),n(61185),n(24193),n(54215),n(53989),n(5374),n(13329),n(66219),n(24213),n(67543),n(12822),n(46064),n(34354),n(30423),n(39172),n(6996),n(130),n(85472),n(44954),n(12429),n(18270),n(92199),n(75398),n(51157),n(26889),n(93738),n(80366),n(50360),n(3991),n(86854),n(3925),n(60890),n(10881),n(26148),n(87741),n(5668),n(95168),n(9775),n(34538),n(87800),n(53717),n(57162),n(99932),n(17819),n(18030),n(40610),n(46559),n(96375),n(4337),n(31553),n(66676),n(21471),n(57939),n(74553),n(56830),n(87400),n(67538),n(72026),n(66613),n(51350),n(82514),n(95275),n(82151),n(20357),n(1657),n(63970),n(48560),n(94884),n(4807),n(57148),n(30818),n(74374),n(17138),n(20884),n(34638),n(16391),n(34526),n(56668),n(27026),n(73491),n(46235),n(80239),n(2242),n(62816),n(82181),n(21117),n(500),n(41063),n(16130),n(26268),n(89281),n(34266),n(32421),n(91001),n(86200),n(45255),n(55653),n(85620),n(69352),n(78841),n(84380),n(12933),n(83242),n(4552),n(55857),n(92188),n(4159),n(67038),n(63234),n(71826),n(74290),n(60081),n(58534),n(25207),n(68854),n(97836),n(69735),n(11975),n(30715),n(39285),n(7461),n(54153),n(36391),n(48038),n(60123),n(14835),n(54139),n(35009),n(48557),n(98311),n(63356),n(84400),n(23430),n(58387),n(43514),n(5855),n(54838),n(93902),n(41355),n(66329),n(86556),n(7370),n(72068),n(58053),n(65078),n(36555),n(44939),n(66120),n(17522),n(82086),n(31916),n(59973),n(65874),n(26389),n(81035),n(80217),n(51892),n(62278),n(41118),n(71576),n(39751),n(9479),n(98544),n(62251),n(99075),n(47888),n(76066),n(56933),n(40487),n(974),n(90961),n(53785),n(98740),n(94361),n(60240),n(7919),n(85044),n(17128),n(87458),n(66854),n(56940),n(6261),n(38154),n(35477),n(76294),n(41351),n(56884),n(73594),n(69997),n(34942),n(30947),n(19794),n(67023),n(12773),n(33390),n(4607),n(5147),n(93396),n(86565),n(47813),n(1943),n(13499),n(12133),n(74493),n(90367),n(52359),n(10476),n(12689),n(29849),n(27453),n(17795),n(43438),n(11621),n(87313),n(70990),n(17054),n(35628),n(48534),n(33726),n(73140),n(83424),n(41943),n(85486),n(33306),n(84800),n(80416),n(45724),n(30330),n(65527),n(18209),n(79869),n(69240),n(21144),n(36764),n(24573),n(43660),n(58267),n(92323),n(52250),n(5441),n(50054),n(50297),n(36676),n(7978),n(55649),n(9683),n(69105),n(26615),n(31305),n(247),n(9354),n(81816),n(6243),n(2062),n(77896),n(75355),n(72436),n(89275),n(86345),n(99071),n(82228),n(15101),n(60425),n(42959),n(28177),n(78593),n(6501),n(58391),n(96457),n(1178),n(44752),n(40537),n(90270),n(76369),n(7423),n(9527),n(68910),n(40815),n(21323),n(6564),n(98534),n(26261),n(7798),n(54395),n(2629),n(82910),n(24847),n(18674),n(25700),n(85683),n(59076),n(63937),n(44638),n(92339),n(71542),n(17963),n(88660),n(34138),n(77493),n(30874),n(49455),n(74084),n(90999),n(7199),n(50792),n(72853),n(54577),n(15181),n(30093),n(27785),n(64612),n(32492),n(19027),n(25440),n(47258),n(3650),n(67109),n(62765),n(30270),n(29945),n(75794),n(7934),n(66559),n(50303),n(74345),n(22165),n(43576),n(69432),n(66703),n(32108),n(8746),n(83385),n(55586),n(54133),n(65405),n(74352),n(61953),n(4945),n(82026),n(83275),n(37140),n(64247),n(90843),n(9495),n(18991),n(56040),n(17189),t.exports=n(94108)},98490:(t,e,n)=>{"use strict";t.exports=n(64191)},1823:(t,e,n)=>{"use strict";var i=n(16487),r=n(78197);t.exports=function(t){if(i(t))return t;throw TypeError(r(t)+" is not a function")}},7418:(t,e,n)=>{"use strict";var i=n(83787),r=n(78197);t.exports=function(t){if(i(t))return t;throw TypeError(r(t)+" is not a constructor")}},35523:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(16487);t.exports=function(t){if("object"===i(t)||r(t))return t;throw TypeError("Can't set "+String(t)+" as a prototype")}},42711:(t,e,n)=>{"use strict";var i=n(61219),r=n(85276),o=n(19090),a=i("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),t.exports=function(t){s[a][t]=!0}},87637:(t,e,n)=>{"use strict";var i=n(54409).charAt;t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},4827:t=>{"use strict";t.exports=function(t,e,n){if(t instanceof e)return t;throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}},5847:(t,e,n)=>{"use strict";var i=n(32176);t.exports=function(t){if(i(t))return t;throw TypeError(String(t)+" is not an object")}},21735:t=>{"use strict";t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},15290:(t,e,n)=>{"use strict";var i,r,o,a=n(21735),s=n(5857),l=n(85326),u=n(16487),c=n(32176),h=n(56896),d=n(40281),f=n(78197),m=n(28474),p=n(14387),C=n(19090).f,v=n(80715),g=n(15885),y=n(61219),E=n(46848),S=l.Int8Array,b=S&&S.prototype,x=l.Uint8ClampedArray,w=x&&x.prototype,_=S&&v(S),I=b&&v(b),A=Object.prototype,U=A.isPrototypeOf,F=y("toStringTag"),M=E("TYPED_ARRAY_TAG"),D=E("TYPED_ARRAY_CONSTRUCTOR"),T=a&&!!g&&"Opera"!==d(l.opera),R=!1,P={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},B={BigInt64Array:8,BigUint64Array:8},L=function(t){if(!c(t))return!1;var e=d(t);return h(P,e)||h(B,e)};for(i in P)(o=(r=l[i])&&r.prototype)?m(o,D,r):T=!1;for(i in B)(o=(r=l[i])&&r.prototype)&&m(o,D,r);if((!T||!u(_)||_===Function.prototype)&&(_=function(){throw TypeError("Incorrect invocation")},T))for(i in P)l[i]&&g(l[i],_);if((!T||!I||I===A)&&(I=_.prototype,T))for(i in P)l[i]&&g(l[i].prototype,I);if(T&&v(w)!==I&&g(w,I),s&&!h(I,F))for(i in R=!0,C(I,F,{get:function(){return c(this)?this[M]:void 0}}),P)l[i]&&m(l[i],M,i);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:T,TYPED_ARRAY_CONSTRUCTOR:D,TYPED_ARRAY_TAG:R&&M,aTypedArray:function(t){if(L(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(u(t)&&(!g||U.call(_,t)))return t;throw TypeError(f(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n){if(s){if(n)for(var i in P){var r=l[i];if(r&&h(r.prototype,t))try{delete r.prototype[t]}catch(t){}}I[t]&&!n||p(I,t,n?e:T&&b[t]||e)}},exportTypedArrayStaticMethod:function(t,e,n){var i,r;if(s){if(g){if(n)for(i in P)if((r=l[i])&&h(r,t))try{delete r[t]}catch(t){}if(_[t]&&!n)return;try{return p(_,t,n?e:T&&_[t]||e)}catch(t){}}for(i in P)!(r=l[i])||r[t]&&!n||p(r,t,e)}},isView:function(t){if(!c(t))return!1;var e=d(t);return"DataView"===e||h(P,e)||h(B,e)},isTypedArray:L,TypedArray:_,TypedArrayPrototype:I}},3077:(t,e,n)=>{"use strict";var i=n(85326),r=n(5857),o=n(21735),a=n(8599),s=n(28474),l=n(29906),u=n(48126),c=n(4827),h=n(49289),d=n(80624),f=n(48983),m=n(83568),p=n(80715),C=n(15885),v=n(43622).f,g=n(19090).f,y=n(34150),E=n(4005),S=n(74148),b=a.PROPER,x=a.CONFIGURABLE,w=S.get,_=S.set,I="ArrayBuffer",A="DataView",U="Wrong index",F=i.ArrayBuffer,M=F,D=i.DataView,T=D&&D.prototype,R=Object.prototype,P=i.RangeError,B=m.pack,L=m.unpack,O=function(t){return[255&t]},k=function(t){return[255&t,t>>8&255]},N=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},G=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},V=function(t){return B(t,23,4)},j=function(t){return B(t,52,8)},W=function(t,e){g(t.prototype,e,{get:function(){return w(this)[e]}})},H=function(t,e,n,i){var r=f(n),o=w(t);if(r+e>o.byteLength)throw P(U);var a=w(o.buffer).bytes,s=r+o.byteOffset,l=a.slice(s,s+e);return i?l:l.reverse()},$=function(t,e,n,i,r,o){var a=f(n),s=w(t);if(a+e>s.byteLength)throw P(U);for(var l=w(s.buffer).bytes,u=a+s.byteOffset,c=i(+r),h=0;h<e;h++)l[u+h]=c[o?h:e-h-1]};if(o){var z=b&&F.name!==I;if(u((function(){F(1)}))&&u((function(){new F(-1)}))&&!u((function(){return new F,new F(1.5),new F(NaN),z&&!x})))z&&x&&s(F,"name",I);else{for(var q,K=(M=function(t){return c(this,M),new F(f(t))}).prototype=F.prototype,Y=v(F),J=0;Y.length>J;)(q=Y[J++])in M||s(M,q,F[q]);K.constructor=M}C&&p(T)!==R&&C(T,R);var X=new D(new M(2)),Q=T.setInt8;X.setInt8(0,2147483648),X.setInt8(1,2147483649),!X.getInt8(0)&&X.getInt8(1)||l(T,{setInt8:function(t,e){Q.call(this,t,e<<24>>24)},setUint8:function(t,e){Q.call(this,t,e<<24>>24)}},{unsafe:!0})}else M=function(t){c(this,M,I);var e=f(t);_(this,{bytes:y.call(new Array(e),0),byteLength:e}),r||(this.byteLength=e)},D=function(t,e,n){c(this,D,A),c(t,M,A);var i=w(t).byteLength,o=h(e);if(o<0||o>i)throw P("Wrong offset");if(o+(n=void 0===n?i-o:d(n))>i)throw P("Wrong length");_(this,{buffer:t,byteLength:n,byteOffset:o}),r||(this.buffer=t,this.byteLength=n,this.byteOffset=o)},r&&(W(M,"byteLength"),W(D,"buffer"),W(D,"byteLength"),W(D,"byteOffset")),l(D.prototype,{getInt8:function(t){return H(this,1,t)[0]<<24>>24},getUint8:function(t){return H(this,1,t)[0]},getInt16:function(t){var e=H(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=H(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return G(H(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return G(H(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return L(H(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return L(H(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){$(this,1,t,O,e)},setUint8:function(t,e){$(this,1,t,O,e)},setInt16:function(t,e){$(this,2,t,k,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){$(this,2,t,k,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){$(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){$(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){$(this,4,t,V,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){$(this,8,t,j,e,arguments.length>2?arguments[2]:void 0)}});E(M,I),E(D,A),t.exports={ArrayBuffer:M,DataView:D}},1448:(t,e,n)=>{"use strict";var i=n(40120),r=n(20618),o=n(80624),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=i(this),s=o(n.length),l=r(t,s),u=r(e,s),c=arguments.length>2?arguments[2]:void 0,h=a((void 0===c?s:r(c,s))-u,s-l),d=1;for(u<l&&l<u+h&&(d=-1,u+=h-1,l+=h-1);h-- >0;)u in n?n[l]=n[u]:delete n[l],l+=d,u+=d;return n}},34150:(t,e,n)=>{"use strict";var i=n(40120),r=n(20618),o=n(80624);t.exports=function(t){for(var e=i(this),n=o(e.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:r(l,n);u>s;)e[s++]=t;return e}},85713:(t,e,n)=>{"use strict";var i=n(16443).forEach,r=n(7037)("forEach");t.exports=r?[].forEach:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}},16364:(t,e,n)=>{"use strict";var i=n(97571),r=n(40120),o=n(83787),a=n(27563),s=n(43948),l=n(60675),u=n(65109),c=n(19643),h=n(61219),d=n(8988),f=n(74850).toArray,m=h("asyncIterator"),p=c("Array").values;t.exports=function(t){var e=r(t),n=arguments.length,c=n>1?arguments[1]:void 0;void 0!==c&&(c=i(c,n>2?arguments[2]:void 0,2));var h,C=u(e,m);C||(h=l(e));var v=o(this)?new this:[],g=C?a(e,C):new d(s(e,h||p));return f(g,c,v)}},12674:t=>{"use strict";t.exports=function(t,e){for(var n=0,i=e.length,r=new t(i);i>n;)r[n]=e[n++];return r}},15202:(t,e,n)=>{"use strict";var i=n(97571),r=n(40120),o=n(65174),a=n(54e3),s=n(83787),l=n(80624),u=n(71119),c=n(43948),h=n(60675);t.exports=function(t){var e=r(t),n=s(this),d=arguments.length,f=d>1?arguments[1]:void 0,m=void 0!==f;m&&(f=i(f,d>2?arguments[2]:void 0,2));var p,C,v,g,y,E,S=h(e),b=0;if(!S||this==Array&&a(S))for(p=l(e.length),C=n?new this(p):Array(p);p>b;b++)E=m?f(e[b],b):e[b],u(C,b,E);else for(y=(g=c(e,S)).next,C=n?new this:[];!(v=y.call(g)).done;b++)E=m?o(g,f,[v.value,b],!0):v.value,u(C,b,E);return C.length=b,C}},19878:(t,e,n)=>{"use strict";var i=n(97571),r=n(44809),o=n(40120),a=n(80624),s=n(58255),l=n(85276),u=n(12674),c=[].push;t.exports=function(t,e,n,h){for(var d,f,m,p=o(t),C=r(p),v=i(e,n,3),g=l(null),y=a(C.length),E=0;y>E;E++)m=C[E],(f=s(v(m,E,p)))in g?c.call(g[f],m):g[f]=[m];if(h&&(d=h(p))!==Array)for(f in g)g[f]=u(d,g[f]);return g}},47858:(t,e,n)=>{"use strict";var i=n(24563),r=n(80624),o=n(20618),a=function(t){return function(e,n,a){var s,l=i(e),u=r(l.length),c=o(a,u);if(t&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},40321:(t,e,n)=>{"use strict";var i=n(97571),r=n(44809),o=n(40120),a=n(80624),s=function(t){var e=1==t;return function(n,s,l){for(var u,c=o(n),h=r(c),d=i(s,l,3),f=a(h.length);f-- >0;)if(d(u=h[f],f,c))switch(t){case 0:return u;case 1:return f}return e?-1:void 0}};t.exports={findLast:s(0),findLastIndex:s(1)}},16443:(t,e,n)=>{"use strict";var i=n(97571),r=n(44809),o=n(40120),a=n(80624),s=n(23903),l=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,c=4==t,h=6==t,d=7==t,f=5==t||h;return function(m,p,C,v){for(var g,y,E=o(m),S=r(E),b=i(p,C,3),x=a(S.length),w=0,_=v||s,I=e?_(m,x):n||d?_(m,0):void 0;x>w;w++)if((f||w in S)&&(y=b(g=S[w],w,E),t))if(e)I[w]=y;else if(y)switch(t){case 3:return!0;case 5:return g;case 6:return w;case 2:l.call(I,g)}else switch(t){case 4:return!1;case 7:l.call(I,g)}return h?-1:u||c?c:I}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},94042:(t,e,n)=>{"use strict";var i=n(24563),r=n(49289),o=n(80624),a=n(7037),s=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,c=a("lastIndexOf"),h=u||!c;t.exports=h?function(t){if(u)return l.apply(this,arguments)||0;var e=i(this),n=o(e.length),a=n-1;for(arguments.length>1&&(a=s(a,r(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:l},82838:(t,e,n)=>{"use strict";var i=n(48126),r=n(61219),o=n(91038),a=r("species");t.exports=function(t){return o>=51||!i((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},7037:(t,e,n)=>{"use strict";var i=n(48126);t.exports=function(t,e){var n=[][t];return!!n&&i((function(){n.call(null,e||function(){throw 1},1)}))}},96040:(t,e,n)=>{"use strict";var i=n(1823),r=n(40120),o=n(44809),a=n(80624),s=function(t){return function(e,n,s,l){i(n);var u=r(e),c=o(u),h=a(u.length),d=t?h-1:0,f=t?-1:1;if(s<2)for(;;){if(d in c){l=c[d],d+=f;break}if(d+=f,t?d<0:h<=d)throw TypeError("Reduce of empty array with no initial value")}for(;t?d>=0:h>d;d+=f)d in c&&(l=n(l,c[d],d,u));return l}};t.exports={left:s(!1),right:s(!0)}},36384:t=>{"use strict";var e=Math.floor;t.exports=function t(n,i){var r=n.length,o=e(r/2);return r<8?function(t,e){for(var n,i,r=t.length,o=1;o<r;){for(i=o,n=t[o];i&&e(t[i-1],n)>0;)t[i]=t[--i];i!==o++&&(t[i]=n)}return t}(n,i):function(t,e,n){for(var i=t.length,r=e.length,o=0,a=0,s=[];o<i||a<r;)o<i&&a<r?s.push(n(t[o],e[a])<=0?t[o++]:e[a++]):s.push(o<i?t[o++]:e[a++]);return s}(t(n.slice(0,o),i),t(n.slice(o),i),i)}},35997:(t,e,n)=>{"use strict";var i=n(17512),r=n(83787),o=n(32176),a=n(61219)("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,(r(e)&&(e===Array||i(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?Array:e}},23903:(t,e,n)=>{"use strict";var i=n(35997);t.exports=function(t,e){return new(i(t))(0===e?0:e)}},39537:(t,e,n)=>{"use strict";var i=n(1823),r=n(80624),o=n(40120),a=n(73683),s=n(23903),l=[].push;t.exports=function(t){var e,n,u,c,h=o(this),d=r(h.length),f=s(h,0),m=new(a("Map"));for(e=null!=t?i(t):function(t){return t},n=0;n<d;n++)c=e(u=h[n]),m.has(c)||m.set(c,u);return m.forEach((function(t){l.call(f,t)})),f}},8988:(t,e,n)=>{"use strict";var i=n(5847),r=n(85276),o=n(65109),a=n(29906),s=n(74148),l=n(73683),u=n(11193),c=l("Promise"),h=s.set,d=s.get,f=function(t,e,n){var i=t.done;c.resolve(t.value).then((function(t){e({done:i,value:t})}),n)},m=function(t){h(this,{iterator:i(t),next:t.next})};m.prototype=a(r(u),{next:function(t){var e=d(this),n=!!arguments.length;return new c((function(r,o){var a=i(e.next.apply(e.iterator,n?[t]:[]));f(a,r,o)}))},return:function(t){var e=d(this).iterator,n=!!arguments.length;return new c((function(r,a){var s=o(e,"return");if(void 0===s)return r({done:!0,value:t});var l=i(s.apply(e,n?[t]:[]));f(l,r,a)}))},throw:function(t){var e=d(this).iterator,n=!!arguments.length;return new c((function(r,a){var s=o(e,"throw");if(void 0===s)return a(t);var l=i(s.apply(e,n?[t]:[]));f(l,r,a)}))}}),t.exports=m},36678:(t,e,n)=>{"use strict";var i=n(1823),r=n(5847),o=n(85276),a=n(28474),s=n(29906),l=n(61219),u=n(74148),c=n(73683),h=n(65109),d=n(11193),f=c("Promise"),m=u.set,p=u.get,C=l("toStringTag");t.exports=function(t,e){var n=function(t){t.next=i(t.iterator.next),t.done=!1,t.ignoreArgument=!e,m(this,t)};return n.prototype=s(o(d),{next:function(n){var i=this,o=!!arguments.length;return new f((function(a){var s=p(i),l=o?[s.ignoreArgument?void 0:n]:e?[]:[void 0];s.ignoreArgument=!1,a(s.done?{done:!0,value:void 0}:r(t.call(s,f,l)))}))},return:function(t){var e=this;return new f((function(n,i){var o=p(e),a=o.iterator;o.done=!0;var s=h(a,"return");if(void 0===s)return n({done:!0,value:t});f.resolve(s.call(a,t)).then((function(e){r(e),n({done:!0,value:t})}),i)}))},throw:function(t){var e=this;return new f((function(n,i){var r=p(e),o=r.iterator;r.done=!0;var a=h(o,"throw");if(void 0===a)return i(t);n(a.call(o,t))}))}}),e||a(n.prototype,C,"Generator"),n}},74850:(t,e,n)=>{"use strict";var i=n(1823),r=n(5847),o=n(73683),a=n(65109),s=function(t){var e=0==t,n=1==t,s=2==t,l=3==t;return function(t,u,c){r(t);var h=o("Promise"),d=i(t.next),f=0,m=void 0!==u;return!m&&e||i(u),new h((function(i,o){var p=function(e,n){try{var i=a(t,"return");if(i)return h.resolve(i.call(t)).then((function(){e(n)}),(function(t){o(t)}))}catch(t){return o(t)}e(n)},C=function(t){p(o,t)};!function o(){try{if(e&&f>9007199254740991&&m)throw TypeError("The allowed number of iterations has been exceeded");h.resolve(r(d.call(t))).then((function(t){try{if(r(t).done)e?(c.length=f,i(c)):i(!l&&(s||void 0));else{var a=t.value;m?h.resolve(e?u(a,f):u(a)).then((function(t){n?o():s?t?o():p(i,!1):e?(c[f++]=t,o()):t?p(i,l||a):o()}),C):(c[f++]=a,o())}}catch(t){C(t)}}),C)}catch(t){C(t)}}()}))}};t.exports={toArray:s(0),forEach:s(1),every:s(2),some:s(3),find:s(4)}},11193:(t,e,n)=>{"use strict";var i,r,o=n(85326),a=n(51857),s=n(16487),l=n(85276),u=n(80715),c=n(14387),h=n(61219),d=n(37312),f=h("asyncIterator"),m=o.AsyncIterator,p=a.AsyncIteratorPrototype;if(p)i=p;else if(s(m))i=m.prototype;else if(a.USE_FUNCTION_CONSTRUCTOR||o.USE_FUNCTION_CONSTRUCTOR)try{r=u(u(u(Function("return async function*(){}()")()))),u(r)===Object.prototype&&(i=r)}catch(t){}i?d&&(i=l(i)):i={},s(i[f])||c(i,f,(function(){return this})),t.exports=i},65174:(t,e,n)=>{"use strict";var i=n(5847),r=n(75065);t.exports=function(t,e,n,o){try{return o?e(i(n)[0],n[1]):e(n)}catch(e){r(t,"throw",e)}}},85512:(t,e,n)=>{"use strict";var i=n(61219)("iterator"),r=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){r=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o={};o[i]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(t){}return n}},22619:t=>{"use strict";var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},40281:(t,e,n)=>{"use strict";var i=n(74254),r=n(16487),o=n(22619),a=n(61219)("toStringTag"),s="Arguments"==o(function(){return arguments}());t.exports=i?o:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),a))?n:s?o(e):"Object"==(i=o(e))&&r(e.callee)?"Arguments":i}},16188:(t,e,n)=>{"use strict";var i=n(1823),r=n(5847);t.exports=function(){for(var t=r(this),e=i(t.add),n=0,o=arguments.length;n<o;n++)e.call(t,arguments[n]);return t}},73994:(t,e,n)=>{"use strict";var i=n(1823),r=n(5847);t.exports=function(){for(var t,e=r(this),n=i(e.delete),o=!0,a=0,s=arguments.length;a<s;a++)t=n.call(e,arguments[a]),o=o&&t;return!!o}},23057:(t,e,n)=>{"use strict";var i=n(1823),r=n(7418),o=n(97571),a=n(95046);t.exports=function(t){var e,n,s,l,u=arguments.length,c=u>1?arguments[1]:void 0;return r(this),(e=void 0!==c)&&i(c),null==t?new this:(n=[],e?(s=0,l=o(c,u>2?arguments[2]:void 0,2),a(t,(function(t){n.push(l(t,s++))}))):a(t,n.push,{that:n}),new this(n))}},21226:t=>{"use strict";t.exports=function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}},84110:(t,e,n)=>{"use strict";var i=n(19090).f,r=n(85276),o=n(29906),a=n(97571),s=n(4827),l=n(95046),u=n(71394),c=n(48342),h=n(5857),d=n(84395).fastKey,f=n(74148),m=f.set,p=f.getterFor;t.exports={getConstructor:function(t,e,n,u){var c=t((function(t,i){s(t,c,e),m(t,{type:e,index:r(null),first:void 0,last:void 0,size:0}),h||(t.size=0),null!=i&&l(i,t[u],{that:t,AS_ENTRIES:n})})),f=p(e),C=function(t,e,n){var i,r,o=f(t),a=v(t,e);return a?a.value=n:(o.last=a={index:r=d(e,!0),key:e,value:n,previous:i=o.last,next:void 0,removed:!1},o.first||(o.first=a),i&&(i.next=a),h?o.size++:t.size++,"F"!==r&&(o.index[r]=a)),t},v=function(t,e){var n,i=f(t),r=d(e);if("F"!==r)return i.index[r];for(n=i.first;n;n=n.next)if(n.key==e)return n};return o(c.prototype,{clear:function(){for(var t=f(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,h?t.size=0:this.size=0},delete:function(t){var e=this,n=f(e),i=v(e,t);if(i){var r=i.next,o=i.previous;delete n.index[i.index],i.removed=!0,o&&(o.next=r),r&&(r.previous=o),n.first==i&&(n.first=r),n.last==i&&(n.last=o),h?n.size--:e.size--}return!!i},forEach:function(t){for(var e,n=f(this),i=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(i(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!v(this,t)}}),o(c.prototype,n?{get:function(t){var e=v(this,t);return e&&e.value},set:function(t,e){return C(this,0===t?0:t,e)}}:{add:function(t){return C(this,t=0===t?0:t,t)}}),h&&i(c.prototype,"size",{get:function(){return f(this).size}}),c},setStrong:function(t,e,n){var i=e+" Iterator",r=p(e),o=p(i);u(t,e,(function(t,e){m(this,{type:i,target:t,state:r(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(e)}}},8223:(t,e,n)=>{"use strict";var i=n(29906),r=n(84395).getWeakData,o=n(5847),a=n(32176),s=n(4827),l=n(95046),u=n(16443),c=n(56896),h=n(74148),d=h.set,f=h.getterFor,m=u.find,p=u.findIndex,C=0,v=function(t){return t.frozen||(t.frozen=new g)},g=function(){this.entries=[]},y=function(t,e){return m(t.entries,(function(t){return t[0]===e}))};g.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=p(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,u){var h=t((function(t,i){s(t,h,e),d(t,{type:e,id:C++,frozen:void 0}),null!=i&&l(i,t[u],{that:t,AS_ENTRIES:n})})),m=f(e),p=function(t,e,n){var i=m(t),a=r(o(e),!0);return!0===a?v(i).set(e,n):a[i.id]=n,t};return i(h.prototype,{delete:function(t){var e=m(this);if(!a(t))return!1;var n=r(t);return!0===n?v(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!a(t))return!1;var n=r(t);return!0===n?v(e).has(t):n&&c(n,e.id)}}),i(h.prototype,n?{get:function(t){var e=m(this);if(a(t)){var n=r(t);return!0===n?v(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return p(this,t,e)}}:{add:function(t){return p(this,t,!0)}}),h}}},14701:(t,e,n)=>{"use strict";var i=n(70351),r=n(85326),o=n(72491),a=n(14387),s=n(84395),l=n(95046),u=n(4827),c=n(16487),h=n(32176),d=n(48126),f=n(85512),m=n(4005),p=n(44517);t.exports=function(t,e,n){var C=-1!==t.indexOf("Map"),v=-1!==t.indexOf("Weak"),g=C?"set":"add",y=r[t],E=y&&y.prototype,S=y,b={},x=function(t){var e=E[t];a(E,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(v&&!h(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!h(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(v&&!h(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(o(t,!c(y)||!(v||E.forEach&&!d((function(){(new y).entries().next()})))))S=n.getConstructor(e,t,C,g),s.enable();else if(o(t,!0)){var w=new S,_=w[g](v?{}:-0,1)!=w,I=d((function(){w.has(1)})),A=f((function(t){new y(t)})),U=!v&&d((function(){for(var t=new y,e=5;e--;)t[g](e,e);return!t.has(-0)}));A||((S=e((function(e,n){u(e,S,t);var i=p(new y,e,S);return null!=n&&l(n,i[g],{that:i,AS_ENTRIES:C}),i}))).prototype=E,E.constructor=S),(I||U)&&(x("delete"),x("has"),C&&x("get")),(U||_)&&x(g),v&&E.clear&&delete E.clear}return b[t]=S,i({global:!0,forced:S!=y},b),m(S,t),v||n.setStrong(S,t,C),S}},92617:(t,e,n)=>{"use strict";var i=n(53717),r=n(4607),o=n(85276),a=n(32176),s=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=o(null)};s.prototype.get=function(t,e){return this[t]||(this[t]=e())},s.prototype.next=function(t,e,n){var o=n?this.objectsByIndex[t]||(this.objectsByIndex[t]=new r):this.primitives||(this.primitives=new i),a=o.get(e);return a||o.set(e,a=new s),a};var l=new s;t.exports=function(){var t,e,n=l,i=arguments.length;for(t=0;t<i;t++)a(e=arguments[t])&&(n=n.next(t,e,!0));if(this===Object&&n===l)throw TypeError("Composite keys must contain a non-primitive component");for(t=0;t<i;t++)a(e=arguments[t])||(n=n.next(t,e,!1));return n}},48734:(t,e,n)=>{"use strict";var i=n(56896),r=n(47234),o=n(9277),a=n(19090);t.exports=function(t,e){for(var n=r(e),s=a.f,l=o.f,u=0;u<n.length;u++){var c=n[u];i(t,c)||s(t,c,l(e,c))}}},46901:(t,e,n)=>{"use strict";var i=n(61219)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(t){}}return!1}},1040:(t,e,n)=>{"use strict";var i=n(48126);t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},66901:(t,e,n)=>{"use strict";var i=n(96583),r=n(95683),o=/"/g;t.exports=function(t,e,n,a){var s=r(i(t)),l="<"+e;return""!==n&&(l+=" "+n+'="'+r(a).replace(o,"&quot;")+'"'),l+">"+s+"</"+e+">"}},97719:(t,e,n)=>{"use strict";var i=n(71251).IteratorPrototype,r=n(85276),o=n(61276),a=n(4005),s=n(45842),l=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=r(i,{next:o(1,n)}),a(t,u,!1,!0),s[u]=l,t}},28474:(t,e,n)=>{"use strict";var i=n(5857),r=n(19090),o=n(61276);t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},61276:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},71119:(t,e,n)=>{"use strict";var i=n(58255),r=n(19090),o=n(61276);t.exports=function(t,e,n){var a=i(e);a in t?r.f(t,a,o(0,n)):t[a]=n}},41921:(t,e,n)=>{"use strict";var i=n(48126),r=n(681).start,o=Math.abs,a=Date.prototype,s=a.getTime,l=a.toISOString;t.exports=i((function(){return"0385-07-25T07:06:39.999Z"!=l.call(new Date(-50000000000001))}))||!i((function(){l.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),i=e<0?"-":e>9999?"+":"";return i+r(o(e),i?6:4,0)+"-"+r(t.getUTCMonth()+1,2,0)+"-"+r(t.getUTCDate(),2,0)+"T"+r(t.getUTCHours(),2,0)+":"+r(t.getUTCMinutes(),2,0)+":"+r(t.getUTCSeconds(),2,0)+"."+r(n,3,0)+"Z"}:l},33869:(t,e,n)=>{"use strict";var i=n(5847),r=n(13247);t.exports=function(t){if(i(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw TypeError("Incorrect hint");return r(this,t)}},71394:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(8599),a=n(16487),s=n(97719),l=n(80715),u=n(15885),c=n(4005),h=n(28474),d=n(14387),f=n(61219),m=n(45842),p=n(71251),C=o.PROPER,v=o.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,E=f("iterator"),S="keys",b="values",x="entries",w=function(){return this};t.exports=function(t,e,n,o,f,p,_){s(n,e,o);var I,A,U,F=function(t){if(t===f&&P)return P;if(!y&&t in T)return T[t];switch(t){case S:case b:case x:return function(){return new n(this,t)}}return function(){return new n(this)}},M=e+" Iterator",D=!1,T=t.prototype,R=T[E]||T["@@iterator"]||f&&T[f],P=!y&&R||F(f),B="Array"==e&&T.entries||R;if(B&&(I=l(B.call(new t)))!==Object.prototype&&I.next&&(r||l(I)===g||(u?u(I,g):a(I[E])||d(I,E,w)),c(I,M,!0,!0),r&&(m[M]=w)),C&&f==b&&R&&R.name!==b&&(!r&&v?h(T,"name",b):(D=!0,P=function(){return R.call(this)})),f)if(A={values:F(b),keys:p?P:F(S),entries:F(x)},_)for(U in A)(y||D||!(U in T))&&d(T,U,A[U]);else i({target:e,proto:!0,forced:y||D},A);return r&&!_||T[E]===P||d(T,E,P,{name:f}),m[e]=P,A}},21005:(t,e,n)=>{"use strict";var i=n(94108),r=n(56896),o=n(38708),a=n(19090).f;t.exports=function(t){var e=i.Symbol||(i.Symbol={});r(e,t)||a(e,t,{value:o.f(t)})}},5857:(t,e,n)=>{"use strict";var i=n(48126);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},76986:(t,e,n)=>{"use strict";var i=n(85326),r=n(32176),o=i.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},45466:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},54706:(t,e,n)=>{"use strict";var i=n(76986)("span").classList,r=i&&i.constructor&&i.constructor.prototype;t.exports=r===Object.prototype?void 0:r},43956:(t,e,n)=>{"use strict";var i=n(329).match(/firefox\/(\d+)/i);t.exports=!!i&&+i[1]},19257:t=>{"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports="object"==("undefined"==typeof window?"undefined":e(window))},65374:(t,e,n)=>{"use strict";var i=n(329);t.exports=/MSIE|Trident/.test(i)},64456:(t,e,n)=>{"use strict";var i=n(329),r=n(85326);t.exports=/ipad|iphone|ipod/i.test(i)&&void 0!==r.Pebble},12874:(t,e,n)=>{"use strict";var i=n(329);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(i)},23961:(t,e,n)=>{"use strict";var i=n(22619),r=n(85326);t.exports="process"==i(r.process)},99648:(t,e,n)=>{"use strict";var i=n(329);t.exports=/web0s(?!.*chrome)/i.test(i)},329:(t,e,n)=>{"use strict";var i=n(73683);t.exports=i("navigator","userAgent")||""},91038:(t,e,n)=>{"use strict";var i,r,o=n(85326),a=n(329),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,c=u&&u.v8;c?r=(i=c.split("."))[0]<4?1:i[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(r=i[1]),t.exports=r&&+r},94050:(t,e,n)=>{"use strict";var i=n(329).match(/AppleWebKit\/(\d+)\./);t.exports=!!i&&+i[1]},19643:(t,e,n)=>{"use strict";var i=n(85326);t.exports=function(t){return i[t].prototype}},61822:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},70351:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(85326),o=n(9277).f,a=n(28474),s=n(14387),l=n(65189),u=n(48734),c=n(72491);t.exports=function(t,e){var n,h,d,f,m,p=t.target,C=t.global,v=t.stat;if(n=C?r:v?r[p]||l(p,{}):(r[p]||{}).prototype)for(h in e){if(f=e[h],d=t.noTargetGet?(m=o(n,h))&&m.value:n[h],!c(C?h:p+(v?".":"#")+h,t.forced)&&void 0!==d){if(i(f)===i(d))continue;u(f,d)}(t.sham||d&&d.sham)&&a(f,"sham",!0),s(n,h,f,t)}}},48126:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},26036:(t,e,n)=>{"use strict";n(39285);var i=n(14387),r=n(38604),o=n(48126),a=n(61219),s=n(28474),l=a("species"),u=RegExp.prototype;t.exports=function(t,e,n,c){var h=a(t),d=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),f=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!d||!f||n){var m=/./[h],p=e(h,""[t],(function(t,e,n,i,o){var a=e.exec;return a===r||a===u.exec?d&&!o?{done:!0,value:m.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}));i(String.prototype,t,p[0]),i(u,h,p[1])}c&&s(u[h],"sham",!0)}},3677:(t,e,n)=>{"use strict";var i=n(17512),r=n(80624),o=n(97571);t.exports=function t(e,n,a,s,l,u,c,h){for(var d,f=l,m=0,p=!!c&&o(c,h,3);m<s;){if(m in a){if(d=p?p(a[m],m,n):a[m],u>0&&i(d))f=t(e,n,d,r(d.length),f,u-1)-1;else{if(f>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[f]=d}f++}m++}return f}},96512:(t,e,n)=>{"use strict";var i=n(48126);t.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},97571:(t,e,n)=>{"use strict";var i=n(1823);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},49676:(t,e,n)=>{"use strict";var i=n(1823),r=n(32176),o=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";a[e]=Function("C,a","return new C("+i.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=i(this),n=o.call(arguments,1),a=function(){var i=n.concat(o.call(arguments));return this instanceof a?s(e,i.length,i):e.apply(t,i)};return r(e.prototype)&&(a.prototype=e.prototype),a}},8599:(t,e,n)=>{"use strict";var i=n(5857),r=n(56896),o=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=r(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!i||i&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},27563:(t,e,n)=>{"use strict";var i=n(8988),r=n(5847),o=n(43948),a=n(65109),s=n(61219)("asyncIterator");t.exports=function(t,e){var n=arguments.length<2?a(t,s):e;return n?r(n.call(t)):new i(o(t))}},73683:(t,e,n)=>{"use strict";var i=n(85326),r=n(16487),o=function(t){return r(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t]):i[t]&&i[t][e]}},60675:(t,e,n)=>{"use strict";var i=n(40281),r=n(65109),o=n(45842),a=n(61219)("iterator");t.exports=function(t){if(null!=t)return r(t,a)||r(t,"@@iterator")||o[i(t)]}},43948:(t,e,n)=>{"use strict";var i=n(1823),r=n(5847),o=n(60675);t.exports=function(t,e){var n=arguments.length<2?o(t):e;if(i(n))return r(n.call(t));throw TypeError(String(t)+" is not iterable")}},52153:t=>{"use strict";t.exports=function(t){return Map.prototype.entries.call(t)}},65109:(t,e,n)=>{"use strict";var i=n(1823);t.exports=function(t,e){var n=t[e];return null==n?void 0:i(n)}},3691:t=>{"use strict";t.exports=function(t){return Set.prototype.values.call(t)}},38174:(t,e,n)=>{"use strict";var i=n(40120),r=Math.floor,o="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,l,u,c){var h=n+t.length,d=l.length,f=s;return void 0!==u&&(u=i(u),f=a),o.call(c,f,(function(i,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(h);case"<":a=u[o.slice(1,-1)];break;default:var s=+o;if(0===s)return i;if(s>d){var c=r(s/10);return 0===c?i:c<=d?void 0===l[c-1]?o.charAt(1):l[c-1]+o.charAt(1):i}a=l[s-1]}return void 0===a?"":a}))}},85326:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":i(globalThis))&&globalThis)||r("object"==("undefined"==typeof window?"undefined":i(window))&&window)||r("object"==("undefined"==typeof self?"undefined":i(self))&&self)||r("object"==(void 0===n.g?"undefined":i(n.g))&&n.g)||function(){return this}()||Function("return this")()},56896:(t,e,n)=>{"use strict";var i=n(40120),r={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return r.call(i(t),e)}},65693:t=>{"use strict";t.exports={}},6138:(t,e,n)=>{"use strict";var i=n(85326);t.exports=function(t,e){var n=i.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},66397:(t,e,n)=>{"use strict";var i=n(73683);t.exports=i("document","documentElement")},73054:(t,e,n)=>{"use strict";var i=n(5857),r=n(48126),o=n(76986);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},83568:t=>{"use strict";var e=Math.abs,n=Math.pow,i=Math.floor,r=Math.log,o=Math.LN2;t.exports={pack:function(t,a,s){var l,u,c,h=new Array(s),d=8*s-a-1,f=(1<<d)-1,m=f>>1,p=23===a?n(2,-24)-n(2,-77):0,C=t<0||0===t&&1/t<0?1:0,v=0;for((t=e(t))!=t||t===1/0?(u=t!=t?1:0,l=f):(l=i(r(t)/o),t*(c=n(2,-l))<1&&(l--,c*=2),(t+=l+m>=1?p/c:p*n(2,1-m))*c>=2&&(l++,c/=2),l+m>=f?(u=0,l=f):l+m>=1?(u=(t*c-1)*n(2,a),l+=m):(u=t*n(2,m-1)*n(2,a),l=0));a>=8;h[v++]=255&u,u/=256,a-=8);for(l=l<<a|u,d+=a;d>0;h[v++]=255&l,l/=256,d-=8);return h[--v]|=128*C,h},unpack:function(t,e){var i,r=t.length,o=8*r-e-1,a=(1<<o)-1,s=a>>1,l=o-7,u=r-1,c=t[u--],h=127&c;for(c>>=7;l>0;h=256*h+t[u],u--,l-=8);for(i=h&(1<<-l)-1,h>>=-l,l+=e;l>0;i=256*i+t[u],u--,l-=8);if(0===h)h=1-s;else{if(h===a)return i?NaN:c?-1/0:1/0;i+=n(2,e),h-=s}return(c?-1:1)*i*n(2,h-e)}}},44809:(t,e,n)=>{"use strict";var i=n(48126),r=n(22619),o="".split;t.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},44517:(t,e,n)=>{"use strict";var i=n(16487),r=n(32176),o=n(15885);t.exports=function(t,e,n){var a,s;return o&&i(a=e.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},60365:(t,e,n)=>{"use strict";var i=n(16487),r=n(51857),o=Function.toString;i(r.inspectSource)||(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},84395:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(70351),o=n(65693),a=n(32176),s=n(56896),l=n(19090).f,u=n(43622),c=n(14203),h=n(46848),d=n(96512),f=!1,m=h("meta"),p=0,C=Object.isExtensible||function(){return!0},v=function(t){l(t,m,{value:{objectID:"O"+p++,weakData:{}}})},g=t.exports={enable:function(){g.enable=function(){},f=!0;var t=u.f,e=[].splice,n={};n[m]=1,t(n).length&&(u.f=function(n){for(var i=t(n),r=0,o=i.length;r<o;r++)if(i[r]===m){e.call(i,r,1);break}return i},r({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==i(t)?t:("string"==typeof t?"S":"P")+t;if(!s(t,m)){if(!C(t))return"F";if(!e)return"E";v(t)}return t[m].objectID},getWeakData:function(t,e){if(!s(t,m)){if(!C(t))return!0;if(!e)return!1;v(t)}return t[m].weakData},onFreeze:function(t){return d&&f&&C(t)&&!s(t,m)&&v(t),t}};o[m]=!0},74148:(t,e,n)=>{"use strict";var i,r,o,a=n(85127),s=n(85326),l=n(32176),u=n(28474),c=n(56896),h=n(51857),d=n(71237),f=n(65693),m="Object already initialized",p=s.WeakMap;if(a||h.state){var C=h.state||(h.state=new p),v=C.get,g=C.has,y=C.set;i=function(t,e){if(g.call(C,t))throw new TypeError(m);return e.facade=t,y.call(C,t,e),e},r=function(t){return v.call(C,t)||{}},o=function(t){return g.call(C,t)}}else{var E=d("state");f[E]=!0,i=function(t,e){if(c(t,E))throw new TypeError(m);return e.facade=t,u(t,E,e),e},r=function(t){return c(t,E)?t[E]:{}},o=function(t){return c(t,E)}}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},54e3:(t,e,n)=>{"use strict";var i=n(61219),r=n(45842),o=i("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||a[o]===t)}},17512:(t,e,n)=>{"use strict";var i=n(22619);t.exports=Array.isArray||function(t){return"Array"==i(t)}},16487:t=>{"use strict";t.exports=function(t){return"function"==typeof t}},83787:(t,e,n)=>{"use strict";var i=n(48126),r=n(16487),o=n(40281),a=n(73683),s=n(60365),l=[],u=a("Reflect","construct"),c=/^\s*(?:class|function)\b/,h=c.exec,d=!c.exec((function(){})),f=function(t){if(!r(t))return!1;try{return u(Object,l,t),!0}catch(t){return!1}};t.exports=!u||i((function(){var t;return f(f.call)||!f(Object)||!f((function(){t=!0}))||t}))?function(t){if(!r(t))return!1;switch(o(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!h.call(c,s(t))}:f},71758:(t,e,n)=>{"use strict";var i=n(56896);t.exports=function(t){return void 0!==t&&(i(t,"value")||i(t,"writable"))}},72491:(t,e,n)=>{"use strict";var i=n(48126),r=n(16487),o=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n==c||n!=u&&(r(e)?i(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},87312:(t,e,n)=>{"use strict";var i=n(32176),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},32176:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(16487);t.exports=function(t){return"object"===i(t)?null!==t:r(t)}},37312:t=>{"use strict";t.exports=!1},40121:(t,e,n)=>{"use strict";var i=n(32176),r=n(22619),o=n(61219)("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},57302:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(16487),o=n(73683),a=n(46727);t.exports=a?function(t){return"symbol"==i(t)}:function(t){var e=o("Symbol");return r(e)&&Object(t)instanceof e}},95046:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(5847),o=n(54e3),a=n(80624),s=n(97571),l=n(43948),u=n(60675),c=n(75065),h=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var d,f,m,p,C,v,g,y=n&&n.that,E=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_ITERATOR),b=!(!n||!n.INTERRUPTED),x=s(e,y,1+E+b),w=function(t){return d&&c(d,"normal",t),new h(!0,t)},_=function(t){return E?(r(t),b?x(t[0],t[1],w):x(t[0],t[1])):b?x(t,w):x(t)};if(S)d=t;else{if(!(f=u(t)))throw TypeError(String(t)+" is not iterable");if(o(f)){for(m=0,p=a(t.length);p>m;m++)if((C=_(t[m]))&&C instanceof h)return C;return new h(!1)}d=l(t,f)}for(v=d.next;!(g=v.call(d)).done;){try{C=_(g.value)}catch(t){c(d,"throw",t)}if("object"==i(C)&&C&&C instanceof h)return C}return new h(!1)}},75065:(t,e,n)=>{"use strict";var i=n(5847),r=n(65109);t.exports=function(t,e,n){var o,a;i(t);try{if(!(o=r(t,"return"))){if("throw"===e)throw n;return n}o=o.call(t)}catch(t){a=!0,o=t}if("throw"===e)throw n;if(a)throw o;return i(o),n}},59965:(t,e,n)=>{"use strict";var i=n(1823),r=n(5847),o=n(85276),a=n(28474),s=n(29906),l=n(61219),u=n(74148),c=n(65109),h=n(71251).IteratorPrototype,d=u.set,f=u.get,m=l("toStringTag");t.exports=function(t,e){var n=function(t){t.next=i(t.iterator.next),t.done=!1,t.ignoreArg=!e,d(this,t)};return n.prototype=s(o(h),{next:function(n){var i=f(this),r=arguments.length?[i.ignoreArg?void 0:n]:e?[]:[void 0];i.ignoreArg=!1;var o=i.done?void 0:t.call(i,r);return{done:i.done,value:o}},return:function(t){var e=f(this),n=e.iterator;e.done=!0;var i=c(n,"return");return{done:!0,value:i?r(i.call(n,t)).value:t}},throw:function(t){var e=f(this),n=e.iterator;e.done=!0;var i=c(n,"throw");if(i)return i.call(n,t);throw t}}),e||a(n.prototype,m,"Generator"),n}},71251:(t,e,n)=>{"use strict";var i,r,o,a=n(48126),s=n(16487),l=n(85276),u=n(80715),c=n(14387),h=n(61219),d=n(37312),f=h("iterator"),m=!1;[].keys&&("next"in(o=[].keys())?(r=u(u(o)))!==Object.prototype&&(i=r):m=!0),null==i||a((function(){var t={};return i[f].call(t)!==t}))?i={}:d&&(i=l(i)),s(i[f])||c(i,f,(function(){return this})),t.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:m}},45842:t=>{"use strict";t.exports={}},36993:(t,e,n)=>{"use strict";var i=n(5847);t.exports=function(t,e){var n=i(this),r=n.has(t)&&"update"in e?e.update(n.get(t),t,n):e.insert(t,n);return n.set(t,r),r}},54440:(t,e,n)=>{"use strict";var i=n(16487),r=n(5847);t.exports=function(t,e){var n,o=r(this),a=arguments.length>2?arguments[2]:void 0;if(!i(e)&&!i(a))throw TypeError("At least one callback required");return o.has(t)?(n=o.get(t),i(e)&&(n=e(n),o.set(t,n))):i(a)&&(n=a(),o.set(t,n)),n}},13978:t=>{"use strict";var e=Math.expm1,n=Math.exp;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}:e},18099:(t,e,n)=>{"use strict";var i=n(88617),r=Math.abs,o=Math.pow,a=o(2,-52),s=o(2,-23),l=o(2,127)*(2-s),u=o(2,-126);t.exports=Math.fround||function(t){var e,n,o=r(t),c=i(t);return o<u?c*(o/u/s+1/a-1/a)*u*s:(n=(e=(1+s/a)*o)-(e-o))>l||n!=n?c*(1/0):c*n}},18284:t=>{"use strict";var e=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:e(1+t)}},51697:t=>{"use strict";t.exports=Math.scale||function(t,e,n,i,r){return 0===arguments.length||t!=t||e!=e||n!=n||i!=i||r!=r?NaN:t===1/0||t===-1/0?t:(t-e)*(r-i)/(n-e)+i}},88617:t=>{"use strict";t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},50065:(t,e,n)=>{"use strict";var i,r,o,a,s,l,u,c,h=n(85326),d=n(9277).f,f=n(32973).set,m=n(12874),p=n(64456),C=n(99648),v=n(23961),g=h.MutationObserver||h.WebKitMutationObserver,y=h.document,E=h.process,S=h.Promise,b=d(h,"queueMicrotask"),x=b&&b.value;x||(i=function(){var t,e;for(v&&(t=E.domain)&&t.exit();r;){e=r.fn,r=r.next;try{e()}catch(t){throw r?a():o=void 0,t}}o=void 0,t&&t.enter()},m||v||C||!g||!y?!p&&S&&S.resolve?((u=S.resolve(void 0)).constructor=S,c=u.then,a=function(){c.call(u,i)}):a=v?function(){E.nextTick(i)}:function(){f.call(h,i)}:(s=!0,l=y.createTextNode(""),new g(i).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),t.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),r||(r=e,a()),o=e}},41556:(t,e,n)=>{"use strict";var i=n(85326);t.exports=i.Promise},65878:(t,e,n)=>{"use strict";var i=n(91038),r=n(48126);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},57166:(t,e,n)=>{"use strict";var i=n(48126),r=n(61219),o=n(37312),a=r("iterator");t.exports=!i((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,i){e.delete("b"),n+=i+t})),o&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},85127:(t,e,n)=>{"use strict";var i=n(85326),r=n(16487),o=n(60365),a=i.WeakMap;t.exports=r(a)&&/native code/.test(o(a))},41658:(t,e,n)=>{"use strict";var i=n(1823),r=function(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)};t.exports.f=function(t){return new r(t)}},70417:(t,e,n)=>{"use strict";var i=n(40121);t.exports=function(t){if(i(t))throw TypeError("The method doesn't accept regular expressions");return t}},70085:(t,e,n)=>{"use strict";var i=n(85326).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&i(t)}},38112:(t,e,n)=>{"use strict";var i=n(85326),r=n(48126),o=n(95683),a=n(98980).trim,s=n(3158),l=i.parseFloat,u=i.Symbol,c=u&&u.iterator,h=1/l(s+"-0")!=-1/0||c&&!r((function(){l(Object(c))}));t.exports=h?function(t){var e=a(o(t)),n=l(e);return 0===n&&"-"==e.charAt(0)?-0:n}:l},67061:(t,e,n)=>{"use strict";var i=n(85326),r=n(48126),o=n(95683),a=n(98980).trim,s=n(3158),l=i.parseInt,u=i.Symbol,c=u&&u.iterator,h=/^[+-]?0[Xx]/,d=8!==l(s+"08")||22!==l(s+"0x16")||c&&!r((function(){l(Object(c))}));t.exports=d?function(t,e){var n=a(o(t));return l(n,e>>>0||(h.test(n)?16:10))}:l},8704:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(74148),o=n(97719),a=n(32176),s=n(784),l=n(5857),u="Incorrect Number.range arguments",c="NumericRangeIterator",h=r.set,d=r.getterFor(c),f=o((function(t,e,n,r,o,s){if(i(t)!=r||e!==1/0&&e!==-1/0&&i(e)!=r)throw new TypeError(u);if(t===1/0||t===-1/0)throw new RangeError(u);var d,f=e>t,m=!1;if(void 0===n)d=void 0;else if(a(n))d=n.step,m=!!n.inclusive;else{if(i(n)!=r)throw new TypeError(u);d=n}if(null==d&&(d=f?s:-s),i(d)!=r)throw new TypeError(u);if(d===1/0||d===-1/0||d===o&&t!==e)throw new RangeError(u);h(this,{type:c,start:t,end:e,step:d,inclusiveEnd:m,hitsEnd:t!=t||e!=e||d!=d||e>t!=d>o,currentCount:o,zero:o}),l||(this.start=t,this.end=e,this.step=d,this.inclusive=m)}),c,(function(){var t=d(this);if(t.hitsEnd)return{value:void 0,done:!0};var e=t.start,n=t.end,i=e+t.step*t.currentCount++;i===n&&(t.hitsEnd=!0);var r=t.inclusiveEnd;return(n>e?r?i>n:i>=n:r?n>i:n>=i)?{value:void 0,done:t.hitsEnd=!0}:{value:i,done:!1}})),m=function(t){return{get:t,set:function(){},configurable:!0,enumerable:!1}};l&&s(f.prototype,{start:m((function(){return d(this).start})),end:m((function(){return d(this).end})),inclusive:m((function(){return d(this).inclusiveEnd})),step:m((function(){return d(this).step}))}),t.exports=f},78890:(t,e,n)=>{"use strict";var i=n(5857),r=n(48126),o=n(46599),a=n(10581),s=n(40011),l=n(40120),u=n(44809),c=Object.assign,h=Object.defineProperty;t.exports=!c||r((function(){if(i&&1!==c({b:1},c(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||o(c({},e)).join("")!=r}))?function(t,e){for(var n=l(t),r=arguments.length,c=1,h=a.f,d=s.f;r>c;)for(var f,m=u(arguments[c++]),p=h?o(m).concat(h(m)):o(m),C=p.length,v=0;C>v;)f=p[v++],i&&!d.call(m,f)||(n[f]=m[f]);return n}:c},85276:(t,e,n)=>{"use strict";var i,r=n(5847),o=n(784),a=n(61822),s=n(65693),l=n(66397),u=n(76986),c=n(71237)("IE_PROTO"),h=function(){},d=function(t){return"<script>"+t+"<\/script>"},f=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}var t,e;m="undefined"!=typeof document?document.domain&&i?f(i):((e=u("iframe")).style.display="none",l.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F):f(i);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[c]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(h.prototype=r(t),n=new h,h.prototype=null,n[c]=t):n=m(),void 0===e?n:o(n,e)}},784:(t,e,n)=>{"use strict";var i=n(5857),r=n(19090),o=n(5847),a=n(46599);t.exports=i?Object.defineProperties:function(t,e){o(t);for(var n,i=a(e),s=i.length,l=0;s>l;)r.f(t,n=i[l++],e[n]);return t}},19090:(t,e,n)=>{"use strict";var i=n(5857),r=n(73054),o=n(5847),a=n(58255),s=Object.defineProperty;e.f=i?s:function(t,e,n){if(o(t),e=a(e),o(n),r)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},9277:(t,e,n)=>{"use strict";var i=n(5857),r=n(40011),o=n(61276),a=n(24563),s=n(58255),l=n(56896),u=n(73054),c=Object.getOwnPropertyDescriptor;e.f=i?c:function(t,e){if(t=a(t),e=s(e),u)try{return c(t,e)}catch(t){}if(l(t,e))return o(!r.f.call(t,e),t[e])}},14203:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(24563),o=n(43622).f,a={}.toString,s="object"==("undefined"==typeof window?"undefined":i(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"[object Window]"==a.call(t)?function(t){try{return o(t)}catch(t){return s.slice()}}(t):o(r(t))}},43622:(t,e,n)=>{"use strict";var i=n(32302),r=n(61822).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},10581:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},80715:(t,e,n)=>{"use strict";var i=n(56896),r=n(16487),o=n(40120),a=n(71237),s=n(1040),l=a("IE_PROTO"),u=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){var e=o(t);if(i(e,l))return e[l];var n=e.constructor;return r(n)&&e instanceof n?n.prototype:e instanceof Object?u:null}},56688:(t,e,n)=>{"use strict";var i=n(74148),r=n(97719),o=n(56896),a=n(46599),s=n(40120),l="Object Iterator",u=i.set,c=i.getterFor(l);t.exports=r((function(t,e){var n=s(t);u(this,{type:l,mode:e,object:n,keys:a(n),index:0})}),"Object",(function(){for(var t=c(this),e=t.keys;;){if(null===e||t.index>=e.length)return t.object=t.keys=null,{value:void 0,done:!0};var n=e[t.index++],i=t.object;if(o(i,n)){switch(t.mode){case"keys":return{value:n,done:!1};case"values":return{value:i[n],done:!1}}return{value:[n,i[n]],done:!1}}}}))},32302:(t,e,n)=>{"use strict";var i=n(56896),r=n(24563),o=n(47858).indexOf,a=n(65693);t.exports=function(t,e){var n,s=r(t),l=0,u=[];for(n in s)!i(a,n)&&i(s,n)&&u.push(n);for(;e.length>l;)i(s,n=e[l++])&&(~o(u,n)||u.push(n));return u}},46599:(t,e,n)=>{"use strict";var i=n(32302),r=n(61822);t.exports=Object.keys||function(t){return i(t,r)}},40011:(t,e)=>{"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!n.call({1:2},1);e.f=r?function(t){var e=i(this,t);return!!e&&e.enumerable}:n},4358:(t,e,n)=>{"use strict";var i=n(37312),r=n(85326),o=n(48126),a=n(94050);t.exports=i||!o((function(){if(!(a&&a<535)){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete r[t]}}))},15885:(t,e,n)=>{"use strict";var i=n(5847),r=n(35523);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,o){return i(n),r(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},8841:(t,e,n)=>{"use strict";var i=n(5857),r=n(46599),o=n(24563),a=n(40011).f,s=function(t){return function(e){for(var n,s=o(e),l=r(s),u=l.length,c=0,h=[];u>c;)n=l[c++],i&&!a.call(s,n)||h.push(t?[n,s[n]]:s[n]);return h}};t.exports={entries:s(!0),values:s(!1)}},36349:(t,e,n)=>{"use strict";var i=n(74254),r=n(40281);t.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},13247:(t,e,n)=>{"use strict";var i=n(16487),r=n(32176);t.exports=function(t,e){var n,o;if("string"===e&&i(n=t.toString)&&!r(o=n.call(t)))return o;if(i(n=t.valueOf)&&!r(o=n.call(t)))return o;if("string"!==e&&i(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},47234:(t,e,n)=>{"use strict";var i=n(73683),r=n(43622),o=n(10581),a=n(5847);t.exports=i("Reflect","ownKeys")||function(t){var e=r.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},94108:(t,e,n)=>{"use strict";var i=n(85326);t.exports=i},6060:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},61666:(t,e,n)=>{"use strict";var i=n(5847),r=n(32176),o=n(41658);t.exports=function(t,e){if(i(t),r(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},29906:(t,e,n)=>{"use strict";var i=n(14387);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},14387:(t,e,n)=>{"use strict";var i=n(85326),r=n(16487),o=n(56896),a=n(28474),s=n(65189),l=n(60365),u=n(74148),c=n(8599).CONFIGURABLE,h=u.get,d=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,l){var u,h=!!l&&!!l.unsafe,m=!!l&&!!l.enumerable,p=!!l&&!!l.noTargetGet,C=l&&void 0!==l.name?l.name:e;r(n)&&("Symbol("===String(C).slice(0,7)&&(C="["+String(C).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!o(n,"name")||c&&n.name!==C)&&a(n,"name",C),(u=d(n)).source||(u.source=f.join("string"==typeof C?C:""))),t!==i?(h?!p&&t[e]&&(m=!0):delete t[e],m?t[e]=n:a(t,e,n)):m?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return r(this)&&h(this).source||l(this)}))},41131:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(53717),o=n(4607),a=n(33760)("metadata"),s=a.store||(a.store=new o),l=function(t,e,n){var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o};t.exports={store:s,getMap:l,has:function(t,e,n){var i=l(e,n,!1);return void 0!==i&&i.has(t)},get:function(t,e,n){var i=l(e,n,!1);return void 0===i?void 0:i.get(t)},set:function(t,e,n,i){l(n,i,!0).set(t,e)},keys:function(t,e){var n=l(t,e,!1),i=[];return n&&n.forEach((function(t,e){i.push(e)})),i},toKey:function(t){return void 0===t||"symbol"==i(t)?t:String(t)}}},25372:(t,e,n)=>{"use strict";var i=n(5847),r=n(16487),o=n(22619),a=n(38604);t.exports=function(t,e){var n=t.exec;if(r(n)){var s=n.call(t,e);return null!==s&&i(s),s}if("RegExp"===o(t))return a.call(t,e);throw TypeError("RegExp#exec called on incompatible receiver")}},38604:(t,e,n)=>{"use strict";var i,r,o=n(95683),a=n(73845),s=n(64672),l=n(33760),u=n(85276),c=n(74148).get,h=n(18292),d=n(163),f=RegExp.prototype.exec,m=l("native-string-replace",String.prototype.replace),p=f,C=(i=/a/,r=/b*/g,f.call(i,"a"),f.call(r,"a"),0!==i.lastIndex||0!==r.lastIndex),v=s.UNSUPPORTED_Y||s.BROKEN_CARET,g=void 0!==/()??/.exec("")[1];(C||g||v||h||d)&&(p=function(t){var e,n,i,r,s,l,h,d=this,y=c(d),E=o(t),S=y.raw;if(S)return S.lastIndex=d.lastIndex,e=p.call(S,E),d.lastIndex=S.lastIndex,e;var b=y.groups,x=v&&d.sticky,w=a.call(d),_=d.source,I=0,A=E;if(x&&(-1===(w=w.replace("y","")).indexOf("g")&&(w+="g"),A=E.slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==E.charAt(d.lastIndex-1))&&(_="(?: "+_+")",A=" "+A,I++),n=new RegExp("^(?:"+_+")",w)),g&&(n=new RegExp("^"+_+"$(?!\\s)",w)),C&&(i=d.lastIndex),r=f.call(x?n:d,A),x?r?(r.input=r.input.slice(I),r[0]=r[0].slice(I),r.index=d.lastIndex,d.lastIndex+=r[0].length):d.lastIndex=0:C&&r&&(d.lastIndex=d.global?r.index+r[0].length:i),g&&r&&r.length>1&&m.call(r[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(r[s]=void 0)})),r&&b)for(r.groups=l=u(null),s=0;s<b.length;s++)l[(h=b[s])[0]]=r[h[1]];return r}),t.exports=p},73845:(t,e,n)=>{"use strict";var i=n(5847);t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},64672:(t,e,n)=>{"use strict";var i=n(48126),r=n(85326).RegExp;e.UNSUPPORTED_Y=i((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=i((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},18292:(t,e,n)=>{"use strict";var i=n(48126),r=n(85326).RegExp;t.exports=i((function(){var t=r(".","s");return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},163:(t,e,n)=>{"use strict";var i=n(48126),r=n(85326).RegExp;t.exports=i((function(){var t=r("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},96583:t=>{"use strict";t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},66869:t=>{"use strict";t.exports=function(t,e){return t===e||t!=t&&e!=e}},99803:t=>{"use strict";t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},65189:(t,e,n)=>{"use strict";var i=n(85326);t.exports=function(t,e){try{Object.defineProperty(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},48342:(t,e,n)=>{"use strict";var i=n(73683),r=n(19090),o=n(61219),a=n(5857),s=o("species");t.exports=function(t){var e=i(t),n=r.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},4005:(t,e,n)=>{"use strict";var i=n(19090).f,r=n(56896),o=n(61219)("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},71237:(t,e,n)=>{"use strict";var i=n(33760),r=n(46848),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},51857:(t,e,n)=>{"use strict";var i=n(85326),r=n(65189),o="__core-js_shared__",a=i[o]||r(o,{});t.exports=a},33760:(t,e,n)=>{"use strict";var i=n(37312),r=n(51857);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.18.0",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},44847:(t,e,n)=>{"use strict";var i=n(5847),r=n(7418),o=n(61219)("species");t.exports=function(t,e){var n,a=i(t).constructor;return void 0===a||null==(n=i(a)[o])?e:r(n)}},49531:(t,e,n)=>{"use strict";var i=n(48126);t.exports=function(t){return i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},54409:(t,e,n)=>{"use strict";var i=n(49289),r=n(95683),o=n(96583),a=function(t){return function(e,n){var a,s,l=r(o(e)),u=i(n),c=l.length;return u<0||u>=c?t?"":void 0:(a=l.charCodeAt(u))<55296||a>56319||u+1===c||(s=l.charCodeAt(u+1))<56320||s>57343?t?l.charAt(u):a:t?l.slice(u,u+2):s-56320+(a-55296<<10)+65536}};t.exports={codeAt:a(!1),charAt:a(!0)}},89627:(t,e,n)=>{"use strict";var i=n(329);t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(i)},681:(t,e,n)=>{"use strict";var i=n(80624),r=n(95683),o=n(65102),a=n(96583),s=Math.ceil,l=function(t){return function(e,n,l){var u,c,h=r(a(e)),d=h.length,f=void 0===l?" ":r(l),m=i(n);return m<=d||""==f?h:(u=m-d,(c=o.call(f,s(u/f.length))).length>u&&(c=c.slice(0,u)),t?h+c:c+h)}};t.exports={start:l(!1),end:l(!0)}},13312:t=>{"use strict";var e=2147483647,n=/[^\0-\u007E]/,i=/[.\u3002\uFF0E\uFF61]/g,r="Overflow: input needs wider integers to process",o=Math.floor,a=String.fromCharCode,s=function(t){return t+22+75*(t<26)},l=function(t,e,n){var i=0;for(t=n?o(t/700):t>>1,t+=o(t/e);t>455;i+=36)t=o(t/35);return o(i+36*t/(t+38))},u=function(t){var n,i,u=[],c=(t=function(t){for(var e=[],n=0,i=t.length;n<i;){var r=t.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){var o=t.charCodeAt(n++);56320==(64512&o)?e.push(((1023&r)<<10)+(1023&o)+65536):(e.push(r),n--)}else e.push(r)}return e}(t)).length,h=128,d=0,f=72;for(n=0;n<t.length;n++)(i=t[n])<128&&u.push(a(i));var m=u.length,p=m;for(m&&u.push("-");p<c;){var C=e;for(n=0;n<t.length;n++)(i=t[n])>=h&&i<C&&(C=i);var v=p+1;if(C-h>o((e-d)/v))throw RangeError(r);for(d+=(C-h)*v,h=C,n=0;n<t.length;n++){if((i=t[n])<h&&++d>e)throw RangeError(r);if(i==h){for(var g=d,y=36;;y+=36){var E=y<=f?1:y>=f+26?26:y-f;if(g<E)break;var S=g-E,b=36-E;u.push(a(s(E+S%b))),g=o(S/b)}u.push(a(s(g))),f=l(d,v,p==m),d=0,++p}}++d,++h}return u.join("")};t.exports=function(t){var e,r,o=[],a=t.toLowerCase().replace(i,".").split(".");for(e=0;e<a.length;e++)r=a[e],o.push(n.test(r)?"xn--"+u(r):r);return o.join(".")}},65102:(t,e,n)=>{"use strict";var i=n(49289),r=n(95683),o=n(96583);t.exports=function(t){var e=r(o(this)),n="",a=i(t);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(n+=e);return n}},8072:(t,e,n)=>{"use strict";var i=n(8599).PROPER,r=n(48126),o=n(3158);t.exports=function(t){return r((function(){return!!o[t]()||"​…᠎"!=="​…᠎"[t]()||i&&o[t].name!==t}))}},98980:(t,e,n)=>{"use strict";var i=n(96583),r=n(95683),o="["+n(3158)+"]",a=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),l=function(t){return function(e){var n=r(i(e));return 1&t&&(n=n.replace(a,"")),2&t&&(n=n.replace(s,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},32973:(t,e,n)=>{"use strict";var i,r,o,a,s=n(85326),l=n(16487),u=n(48126),c=n(97571),h=n(66397),d=n(76986),f=n(12874),m=n(23961),p=s.setImmediate,C=s.clearImmediate,v=s.process,g=s.MessageChannel,y=s.Dispatch,E=0,S={};try{i=s.location}catch(t){}var b=function(t){if(S.hasOwnProperty(t)){var e=S[t];delete S[t],e()}},x=function(t){return function(){b(t)}},w=function(t){b(t.data)},_=function(t){s.postMessage(String(t),i.protocol+"//"+i.host)};p&&C||(p=function(t){for(var e=[],n=arguments.length,i=1;n>i;)e.push(arguments[i++]);return S[++E]=function(){(l(t)?t:Function(t)).apply(void 0,e)},r(E),E},C=function(t){delete S[t]},m?r=function(t){v.nextTick(x(t))}:y&&y.now?r=function(t){y.now(x(t))}:g&&!f?(a=(o=new g).port2,o.port1.onmessage=w,r=c(a.postMessage,a,1)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&i&&"file:"!==i.protocol&&!u(_)?(r=_,s.addEventListener("message",w,!1)):r="onreadystatechange"in d("script")?function(t){h.appendChild(d("script")).onreadystatechange=function(){h.removeChild(this),b(t)}}:function(t){setTimeout(x(t),0)}),t.exports={set:p,clear:C}},38300:t=>{"use strict";var e=1..valueOf;t.exports=function(t){return e.call(t)}},20618:(t,e,n)=>{"use strict";var i=n(49289),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},48983:(t,e,n)=>{"use strict";var i=n(49289),r=n(80624);t.exports=function(t){if(void 0===t)return 0;var e=i(t),n=r(e);if(e!==n)throw RangeError("Wrong length or index");return n}},24563:(t,e,n)=>{"use strict";var i=n(44809),r=n(96583);t.exports=function(t){return i(r(t))}},49289:t=>{"use strict";var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},80624:(t,e,n)=>{"use strict";var i=n(49289),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},40120:(t,e,n)=>{"use strict";var i=n(96583);t.exports=function(t){return Object(i(t))}},68794:(t,e,n)=>{"use strict";var i=n(48737);t.exports=function(t,e){var n=i(t);if(n%e)throw RangeError("Wrong offset");return n}},48737:(t,e,n)=>{"use strict";var i=n(49289);t.exports=function(t){var e=i(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},18503:(t,e,n)=>{"use strict";var i=n(32176),r=n(57302),o=n(65109),a=n(13247),s=n(61219)("toPrimitive");t.exports=function(t,e){if(!i(t)||r(t))return t;var n,l=o(t,s);if(l){if(void 0===e&&(e="default"),n=l.call(t,e),!i(n)||r(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},58255:(t,e,n)=>{"use strict";var i=n(18503),r=n(57302);t.exports=function(t){var e=i(t,"string");return r(e)?e:String(e)}},74254:(t,e,n)=>{"use strict";var i={};i[n(61219)("toStringTag")]="z",t.exports="[object z]"===String(i)},95683:(t,e,n)=>{"use strict";var i=n(40281);t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},78197:t=>{"use strict";t.exports=function(t){try{return String(t)}catch(t){return"Object"}}},65230:(t,e,n)=>{"use strict";var i=n(70351),r=n(85326),o=n(5857),a=n(97361),s=n(15290),l=n(3077),u=n(4827),c=n(61276),h=n(28474),d=n(87312),f=n(80624),m=n(48983),p=n(68794),C=n(58255),v=n(56896),g=n(40281),y=n(32176),E=n(57302),S=n(85276),b=n(15885),x=n(43622).f,w=n(65704),_=n(16443).forEach,I=n(48342),A=n(19090),U=n(9277),F=n(74148),M=n(44517),D=F.get,T=F.set,R=A.f,P=U.f,B=Math.round,L=r.RangeError,O=l.ArrayBuffer,k=l.DataView,N=s.NATIVE_ARRAY_BUFFER_VIEWS,G=s.TYPED_ARRAY_CONSTRUCTOR,V=s.TYPED_ARRAY_TAG,j=s.TypedArray,W=s.TypedArrayPrototype,H=s.aTypedArrayConstructor,$=s.isTypedArray,z="BYTES_PER_ELEMENT",q="Wrong length",K=function(t,e){for(var n=0,i=e.length,r=new(H(t))(i);i>n;)r[n]=e[n++];return r},Y=function(t,e){R(t,e,{get:function(){return D(this)[e]}})},J=function(t){var e;return t instanceof O||"ArrayBuffer"==(e=g(t))||"SharedArrayBuffer"==e},X=function(t,e){return $(t)&&!E(e)&&e in t&&d(+e)&&e>=0},Q=function(t,e){return e=C(e),X(t,e)?c(2,t[e]):P(t,e)},Z=function(t,e,n){return e=C(e),!(X(t,e)&&y(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?R(t,e,n):(t[e]=n.value,t)};o?(N||(U.f=Q,A.f=Z,Y(W,"buffer"),Y(W,"byteOffset"),Y(W,"byteLength"),Y(W,"length")),i({target:"Object",stat:!0,forced:!N},{getOwnPropertyDescriptor:Q,defineProperty:Z}),t.exports=function(t,e,n){var o=t.match(/\d+$/)[0]/8,s=t+(n?"Clamped":"")+"Array",l="get"+t,c="set"+t,d=r[s],C=d,v=C&&C.prototype,g={},E=function(t,e){R(t,e,{get:function(){return function(t,e){var n=D(t);return n.view[l](e*o+n.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,i){var r=D(t);n&&(i=(i=B(i))<0?0:i>255?255:255&i),r.view[c](e*o+r.byteOffset,i,!0)}(this,e,t)},enumerable:!0})};N?a&&(C=e((function(t,e,n,i){return u(t,C,s),M(y(e)?J(e)?void 0!==i?new d(e,p(n,o),i):void 0!==n?new d(e,p(n,o)):new d(e):$(e)?K(C,e):w.call(C,e):new d(m(e)),t,C)})),b&&b(C,j),_(x(d),(function(t){t in C||h(C,t,d[t])})),C.prototype=v):(C=e((function(t,e,n,i){u(t,C,s);var r,a,l,c=0,h=0;if(y(e)){if(!J(e))return $(e)?K(C,e):w.call(C,e);r=e,h=p(n,o);var d=e.byteLength;if(void 0===i){if(d%o)throw L(q);if((a=d-h)<0)throw L(q)}else if((a=f(i)*o)+h>d)throw L(q);l=a/o}else l=m(e),r=new O(a=l*o);for(T(t,{buffer:r,byteOffset:h,byteLength:a,length:l,view:new k(r)});c<l;)E(t,c++)})),b&&b(C,j),v=C.prototype=S(W)),v.constructor!==C&&h(v,"constructor",C),h(v,G,C),V&&h(v,V,s),g[s]=C,i({global:!0,forced:C!=d,sham:!N},g),z in C||h(C,z,o),z in v||h(v,z,o),I(s)}):t.exports=function(){}},97361:(t,e,n)=>{"use strict";var i=n(85326),r=n(48126),o=n(85512),a=n(15290).NATIVE_ARRAY_BUFFER_VIEWS,s=i.ArrayBuffer,l=i.Int8Array;t.exports=!a||!r((function(){l(1)}))||!r((function(){new l(-1)}))||!o((function(t){new l,new l(null),new l(1.5),new l(t)}),!0)||r((function(){return 1!==new l(new s(2),1,void 0).length}))},57660:(t,e,n)=>{"use strict";var i=n(12674),r=n(12079);t.exports=function(t,e){return i(r(t),e)}},65704:(t,e,n)=>{"use strict";var i=n(7418),r=n(40120),o=n(80624),a=n(43948),s=n(60675),l=n(54e3),u=n(97571),c=n(15290).aTypedArrayConstructor;t.exports=function(t){var e,n,h,d,f,m,p=i(this),C=r(t),v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,E=s(C);if(E&&!l(E))for(m=(f=a(C,E)).next,C=[];!(d=m.call(f)).done;)C.push(d.value);for(y&&v>2&&(g=u(g,arguments[2],2)),n=o(C.length),h=new(c(p))(n),e=0;n>e;e++)h[e]=y?g(C[e],e):C[e];return h}},12079:(t,e,n)=>{"use strict";var i=n(15290),r=n(44847),o=i.TYPED_ARRAY_CONSTRUCTOR,a=i.aTypedArrayConstructor;t.exports=function(t){return a(r(t,t[o]))}},46848:t=>{"use strict";var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},46727:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=n(65878);t.exports=r&&!Symbol.sham&&"symbol"==i(Symbol.iterator)},38708:(t,e,n)=>{"use strict";var i=n(61219);e.f=i},61219:(t,e,n)=>{"use strict";var i=n(85326),r=n(33760),o=n(56896),a=n(46848),s=n(65878),l=n(46727),u=r("wks"),c=i.Symbol,h=l?c:c&&c.withoutSetter||a;t.exports=function(t){return o(u,t)&&(s||"string"==typeof u[t])||(s&&o(c,t)?u[t]=c[t]:u[t]=h("Symbol."+t)),u[t]}},3158:t=>{"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},73450:(t,e,n)=>{"use strict";var i=n(70351),r=n(80715),o=n(15885),a=n(85276),s=n(28474),l=n(61276),u=n(95046),c=n(95683),h=function(t,e){var n=this;if(!(n instanceof h))return new h(t,e);o&&(n=o(new Error(void 0),r(n))),void 0!==e&&s(n,"message",c(e));var i=[];return u(t,i.push,{that:i}),s(n,"errors",i),n};h.prototype=a(Error.prototype,{constructor:l(5,h),message:l(5,""),name:l(5,"AggregateError")}),i({global:!0},{AggregateError:h})},92199:(t,e,n)=>{"use strict";var i=n(70351),r=n(85326),o=n(3077),a=n(48342),s=o.ArrayBuffer;i({global:!0,forced:r.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},75398:(t,e,n)=>{"use strict";var i=n(70351),r=n(15290);i({target:"ArrayBuffer",stat:!0,forced:!r.NATIVE_ARRAY_BUFFER_VIEWS},{isView:r.isView})},51157:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(3077),a=n(5847),s=n(20618),l=n(80624),u=n(44847),c=o.ArrayBuffer,h=o.DataView,d=c.prototype.slice;i({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:r((function(){return!new c(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(void 0!==d&&void 0===e)return d.call(a(this),t);for(var n=a(this).byteLength,i=s(t,n),r=s(void 0===e?n:e,n),o=new(u(this,c))(l(r-i)),f=new h(this),m=new h(o),p=0;i<r;)m.setUint8(p++,f.getUint8(i++));return o}})},29836:(t,e,n)=>{"use strict";var i=n(70351),r=n(40120),o=n(80624),a=n(49289),s=n(42711);i({target:"Array",proto:!0},{at:function(t){var e=r(this),n=o(e.length),i=a(t),s=i>=0?i:n+i;return s<0||s>=n?void 0:e[s]}}),s("at")},45013:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(17512),a=n(32176),s=n(40120),l=n(80624),u=n(71119),c=n(23903),h=n(82838),d=n(61219),f=n(91038),m=d("isConcatSpreadable"),p=9007199254740991,C="Maximum allowed index exceeded",v=f>=51||!r((function(){var t=[];return t[m]=!1,t.concat()[0]!==t})),g=h("concat"),y=function(t){if(!a(t))return!1;var e=t[m];return void 0!==e?!!e:o(t)};i({target:"Array",proto:!0,forced:!v||!g},{concat:function(t){var e,n,i,r,o,a=s(this),h=c(a,0),d=0;for(e=-1,i=arguments.length;e<i;e++)if(y(o=-1===e?a:arguments[e])){if(d+(r=l(o.length))>p)throw TypeError(C);for(n=0;n<r;n++,d++)n in o&&u(h,d,o[n])}else{if(d>=p)throw TypeError(C);u(h,d++,o)}return h.length=d,h}})},33835:(t,e,n)=>{"use strict";var i=n(70351),r=n(1448),o=n(42711);i({target:"Array",proto:!0},{copyWithin:r}),o("copyWithin")},53570:(t,e,n)=>{"use strict";var i=n(70351),r=n(16443).every;i({target:"Array",proto:!0,forced:!n(7037)("every")},{every:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},17276:(t,e,n)=>{"use strict";var i=n(70351),r=n(34150),o=n(42711);i({target:"Array",proto:!0},{fill:r}),o("fill")},40175:(t,e,n)=>{"use strict";var i=n(70351),r=n(16443).filter;i({target:"Array",proto:!0,forced:!n(82838)("filter")},{filter:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},29006:(t,e,n)=>{"use strict";var i=n(70351),r=n(16443).findIndex,o=n(42711),a="findIndex",s=!0;a in[]&&Array(1).findIndex((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{findIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},53950:(t,e,n)=>{"use strict";var i=n(70351),r=n(16443).find,o=n(42711),a="find",s=!0;a in[]&&Array(1).find((function(){s=!1})),i({target:"Array",proto:!0,forced:s},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},72129:(t,e,n)=>{"use strict";var i=n(70351),r=n(3677),o=n(1823),a=n(40120),s=n(80624),l=n(23903);i({target:"Array",proto:!0},{flatMap:function(t){var e,n=a(this),i=s(n.length);return o(t),(e=l(n,0)).length=r(e,n,n,i,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},94328:(t,e,n)=>{"use strict";var i=n(70351),r=n(3677),o=n(40120),a=n(80624),s=n(49289),l=n(23903);i({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=o(this),n=a(e.length),i=l(e,0);return i.length=r(i,e,e,n,0,void 0===t?1:s(t)),i}})},61185:(t,e,n)=>{"use strict";var i=n(70351),r=n(85713);i({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},24193:(t,e,n)=>{"use strict";var i=n(70351),r=n(15202);i({target:"Array",stat:!0,forced:!n(85512)((function(t){Array.from(t)}))},{from:r})},54215:(t,e,n)=>{"use strict";var i=n(70351),r=n(47858).includes,o=n(42711);i({target:"Array",proto:!0},{includes:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("includes")},53989:(t,e,n)=>{"use strict";var i=n(70351),r=n(47858).indexOf,o=n(7037),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,l=o("indexOf");i({target:"Array",proto:!0,forced:s||!l},{indexOf:function(t){return s?a.apply(this,arguments)||0:r(this,t,arguments.length>1?arguments[1]:void 0)}})},5374:(t,e,n)=>{"use strict";n(70351)({target:"Array",stat:!0},{isArray:n(17512)})},13329:(t,e,n)=>{"use strict";var i=n(24563),r=n(42711),o=n(45842),a=n(74148),s=n(71394),l="Array Iterator",u=a.set,c=a.getterFor(l);t.exports=s(Array,"Array",(function(t,e){u(this,{type:l,target:i(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,i=t.index++;return!e||i>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:e[i],done:!1}:{value:[i,e[i]],done:!1}}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},66219:(t,e,n)=>{"use strict";var i=n(70351),r=n(44809),o=n(24563),a=n(7037),s=[].join,l=r!=Object,u=a("join",",");i({target:"Array",proto:!0,forced:l||!u},{join:function(t){return s.call(o(this),void 0===t?",":t)}})},24213:(t,e,n)=>{"use strict";var i=n(70351),r=n(94042);i({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},67543:(t,e,n)=>{"use strict";var i=n(70351),r=n(16443).map;i({target:"Array",proto:!0,forced:!n(82838)("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},12822:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(83787),a=n(71119);i({target:"Array",stat:!0,forced:r((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new(o(this)?this:Array)(e);e>t;)a(n,t,arguments[t++]);return n.length=e,n}})},34354:(t,e,n)=>{"use strict";var i=n(70351),r=n(96040).right,o=n(7037),a=n(91038),s=n(23961);i({target:"Array",proto:!0,forced:!o("reduceRight")||!s&&a>79&&a<83},{reduceRight:function(t){return r(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},46064:(t,e,n)=>{"use strict";var i=n(70351),r=n(96040).left,o=n(7037),a=n(91038),s=n(23961);i({target:"Array",proto:!0,forced:!o("reduce")||!s&&a>79&&a<83},{reduce:function(t){return r(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},30423:(t,e,n)=>{"use strict";var i=n(70351),r=n(17512),o=[].reverse,a=[1,2];i({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return r(this)&&(this.length=this.length),o.call(this)}})},39172:(t,e,n)=>{"use strict";var i=n(70351),r=n(17512),o=n(83787),a=n(32176),s=n(20618),l=n(80624),u=n(24563),c=n(71119),h=n(61219),d=n(82838)("slice"),f=h("species"),m=[].slice,p=Math.max;i({target:"Array",proto:!0,forced:!d},{slice:function(t,e){var n,i,h,d=u(this),C=l(d.length),v=s(t,C),g=s(void 0===e?C:e,C);if(r(d)&&(n=d.constructor,(o(n)&&(n===Array||r(n.prototype))||a(n)&&null===(n=n[f]))&&(n=void 0),n===Array||void 0===n))return m.call(d,v,g);for(i=new(void 0===n?Array:n)(p(g-v,0)),h=0;v<g;v++,h++)v in d&&c(i,h,d[v]);return i.length=h,i}})},6996:(t,e,n)=>{"use strict";var i=n(70351),r=n(16443).some;i({target:"Array",proto:!0,forced:!n(7037)("some")},{some:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},130:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(40120),a=n(80624),s=n(95683),l=n(48126),u=n(36384),c=n(7037),h=n(43956),d=n(65374),f=n(91038),m=n(94050),p=[],C=p.sort,v=l((function(){p.sort(void 0)})),g=l((function(){p.sort(null)})),y=c("sort"),E=!l((function(){if(f)return f<70;if(!(h&&h>3)){if(d)return!0;if(m)return m<603;var t,e,n,i,r="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)p.push({k:e+i,v:n})}for(p.sort((function(t,e){return e.v-t.v})),i=0;i<p.length;i++)e=p[i].k.charAt(0),r.charAt(r.length-1)!==e&&(r+=e);return"DGBEFHACIJK"!==r}}));i({target:"Array",proto:!0,forced:v||!g||!y||!E},{sort:function(t){void 0!==t&&r(t);var e=o(this);if(E)return void 0===t?C.call(e):C.call(e,t);var n,i,l=[],c=a(e.length);for(i=0;i<c;i++)i in e&&l.push(e[i]);for(n=(l=u(l,function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:s(e)>s(n)?1:-1}}(t))).length,i=0;i<n;)e[i]=l[i++];for(;i<c;)delete e[i++];return e}})},85472:(t,e,n)=>{"use strict";n(48342)("Array")},44954:(t,e,n)=>{"use strict";var i=n(70351),r=n(20618),o=n(49289),a=n(80624),s=n(40120),l=n(23903),u=n(71119),c=n(82838)("splice"),h=Math.max,d=Math.min,f=9007199254740991,m="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!c},{splice:function(t,e){var n,i,c,p,C,v,g=s(this),y=a(g.length),E=r(t,y),S=arguments.length;if(0===S?n=i=0:1===S?(n=0,i=y-E):(n=S-2,i=d(h(o(e),0),y-E)),y+n-i>f)throw TypeError(m);for(c=l(g,i),p=0;p<i;p++)(C=E+p)in g&&u(c,p,g[C]);if(c.length=i,n<i){for(p=E;p<y-i;p++)v=p+n,(C=p+i)in g?g[v]=g[C]:delete g[v];for(p=y;p>y-i+n;p--)delete g[p-1]}else if(n>i)for(p=y-i;p>E;p--)v=p+n-1,(C=p+i-1)in g?g[v]=g[C]:delete g[v];for(p=0;p<n;p++)g[p+E]=arguments[p+2];return g.length=y-i+n,c}})},18270:(t,e,n)=>{"use strict";n(42711)("flatMap")},12429:(t,e,n)=>{"use strict";n(42711)("flat")},26889:(t,e,n)=>{"use strict";var i=n(70351),r=n(3077);i({global:!0,forced:!n(21735)},{DataView:r.DataView})},93738:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126)((function(){return 120!==new Date(16e11).getYear()})),o=Date.prototype.getFullYear;i({target:"Date",proto:!0,forced:r},{getYear:function(){return o.call(this)-1900}})},80366:(t,e,n)=>{"use strict";n(70351)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},50360:(t,e,n)=>{"use strict";var i=n(70351),r=n(49289),o=Date.prototype.getTime,a=Date.prototype.setFullYear;i({target:"Date",proto:!0},{setYear:function(t){o.call(this);var e=r(t),n=0<=e&&e<=99?e+1900:e;return a.call(this,n)}})},3991:(t,e,n)=>{"use strict";n(70351)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},86854:(t,e,n)=>{"use strict";var i=n(70351),r=n(41921);i({target:"Date",proto:!0,forced:Date.prototype.toISOString!==r},{toISOString:r})},3925:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(40120),a=n(18503);i({target:"Date",proto:!0,forced:r((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=o(this),n=a(e,"number");return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},60890:(t,e,n)=>{"use strict";var i=n(14387),r=n(33869),o=n(61219)("toPrimitive"),a=Date.prototype;o in a||i(a,o,r)},10881:(t,e,n)=>{"use strict";var i=n(14387),r=Date.prototype,o="Invalid Date",a=r.toString,s=r.getTime;String(new Date(NaN))!=o&&i(r,"toString",(function(){var t=s.call(this);return t==t?a.call(this):o}))},26148:(t,e,n)=>{"use strict";var i=n(70351),r=n(95683),o=/[\w*+\-./@]/,a=function(t,e){for(var n=t.toString(16);n.length<e;)n="0"+n;return n};i({global:!0},{escape:function(t){for(var e,n,i=r(t),s="",l=i.length,u=0;u<l;)e=i.charAt(u++),o.test(e)?s+=e:s+=(n=e.charCodeAt(0))<256?"%"+a(n,2):"%u"+a(n,4).toUpperCase();return s}})},87741:(t,e,n)=>{"use strict";n(70351)({target:"Function",proto:!0},{bind:n(49676)})},5668:(t,e,n)=>{"use strict";var i=n(16487),r=n(32176),o=n(19090),a=n(80715),s=n(61219)("hasInstance"),l=Function.prototype;s in l||o.f(l,s,{value:function(t){if(!i(this)||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=a(t);)if(this.prototype===t)return!0;return!1}})},95168:(t,e,n)=>{"use strict";var i=n(5857),r=n(8599).EXISTS,o=n(19090).f,a=Function.prototype,s=a.toString,l=/^\s*function ([^ (]*)/;i&&!r&&o(a,"name",{configurable:!0,get:function(){try{return s.call(this).match(l)[1]}catch(t){return""}}})},9775:(t,e,n)=>{"use strict";n(70351)({global:!0},{globalThis:n(85326)})},34538:(t,e,n)=>{"use strict";var i=n(70351),r=n(73683),o=n(48126),a=r("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,u=/^[\uDC00-\uDFFF]$/,c=function(t,e,n){var i=n.charAt(e-1),r=n.charAt(e+1);return l.test(t)&&!u.test(r)||u.test(t)&&!l.test(i)?"\\u"+t.charCodeAt(0).toString(16):t},h=o((function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")}));a&&i({target:"JSON",stat:!0,forced:h},{stringify:function(t,e,n){var i=a.apply(null,arguments);return"string"==typeof i?i.replace(s,c):i}})},87800:(t,e,n)=>{"use strict";var i=n(85326);n(4005)(i.JSON,"JSON",!0)},53717:(t,e,n)=>{"use strict";var i=n(14701),r=n(84110);t.exports=i("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r)},57162:(t,e,n)=>{"use strict";var i=n(70351),r=n(18284),o=Math.acosh,a=Math.log,s=Math.sqrt,l=Math.LN2;i({target:"Math",stat:!0,forced:!o||710!=Math.floor(o(Number.MAX_VALUE))||o(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+l:r(t-1+s(t-1)*s(t+1))}})},99932:(t,e,n)=>{"use strict";var i=n(70351),r=Math.asinh,o=Math.log,a=Math.sqrt;i({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):o(e+a(e*e+1)):e}})},17819:(t,e,n)=>{"use strict";var i=n(70351),r=Math.atanh,o=Math.log;i({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:o((1+t)/(1-t))/2}})},18030:(t,e,n)=>{"use strict";var i=n(70351),r=n(88617),o=Math.abs,a=Math.pow;i({target:"Math",stat:!0},{cbrt:function(t){return r(t=+t)*a(o(t),1/3)}})},40610:(t,e,n)=>{"use strict";var i=n(70351),r=Math.floor,o=Math.log,a=Math.LOG2E;i({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-r(o(t+.5)*a):32}})},46559:(t,e,n)=>{"use strict";var i=n(70351),r=n(13978),o=Math.cosh,a=Math.abs,s=Math.E;i({target:"Math",stat:!0,forced:!o||o(710)===1/0},{cosh:function(t){var e=r(a(t)-1)+1;return(e+1/(e*s*s))*(s/2)}})},96375:(t,e,n)=>{"use strict";var i=n(70351),r=n(13978);i({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},4337:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{fround:n(18099)})},31553:(t,e,n)=>{"use strict";var i=n(70351),r=Math.hypot,o=Math.abs,a=Math.sqrt;i({target:"Math",stat:!0,forced:!!r&&r(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,i,r=0,s=0,l=arguments.length,u=0;s<l;)u<(n=o(arguments[s++]))?(r=r*(i=u/n)*i+1,u=n):r+=n>0?(i=n/u)*i:n;return u===1/0?1/0:u*a(r)}})},66676:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=Math.imul;i({target:"Math",stat:!0,forced:r((function(){return-5!=o(4294967295,5)||2!=o.length}))},{imul:function(t,e){var n=65535,i=+t,r=+e,o=n&i,a=n&r;return 0|o*a+((n&i>>>16)*a+o*(n&r>>>16)<<16>>>0)}})},21471:(t,e,n)=>{"use strict";var i=n(70351),r=Math.log,o=Math.LOG10E;i({target:"Math",stat:!0},{log10:function(t){return r(t)*o}})},57939:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{log1p:n(18284)})},74553:(t,e,n)=>{"use strict";var i=n(70351),r=Math.log,o=Math.LN2;i({target:"Math",stat:!0},{log2:function(t){return r(t)/o}})},56830:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{sign:n(88617)})},87400:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(13978),a=Math.abs,s=Math.exp,l=Math.E;i({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(o(t)-o(-t))/2:(s(t-1)-s(-t-1))*(l/2)}})},67538:(t,e,n)=>{"use strict";var i=n(70351),r=n(13978),o=Math.exp;i({target:"Math",stat:!0},{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},72026:(t,e,n)=>{"use strict";n(4005)(Math,"Math",!0)},66613:(t,e,n)=>{"use strict";var i=n(70351),r=Math.ceil,o=Math.floor;i({target:"Math",stat:!0},{trunc:function(t){return(t>0?o:r)(t)}})},51350:(t,e,n)=>{"use strict";var i=n(5857),r=n(85326),o=n(72491),a=n(14387),s=n(56896),l=n(22619),u=n(44517),c=n(57302),h=n(18503),d=n(48126),f=n(85276),m=n(43622).f,p=n(9277).f,C=n(19090).f,v=n(98980).trim,g="Number",y=r.Number,E=y.prototype,S=l(f(E))==g,b=function(t){if(c(t))throw TypeError("Cannot convert a Symbol value to a number");var e,n,i,r,o,a,s,l,u=h(t,"number");if("string"==typeof u&&u.length>2)if(43===(e=(u=v(u)).charCodeAt(0))||45===e){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+u}for(a=(o=u.slice(2)).length,s=0;s<a;s++)if((l=o.charCodeAt(s))<48||l>r)return NaN;return parseInt(o,i)}return+u};if(o(g,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var x,w=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof w&&(S?d((function(){E.valueOf.call(n)})):l(n)!=g)?u(new y(b(e)),n,w):b(e)},_=i?m(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),I=0;_.length>I;I++)s(y,x=_[I])&&!s(w,x)&&C(w,x,p(y,x));w.prototype=E,E.constructor=w,a(r,g,w)}},82514:(t,e,n)=>{"use strict";n(70351)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},95275:(t,e,n)=>{"use strict";n(70351)({target:"Number",stat:!0},{isFinite:n(70085)})},82151:(t,e,n)=>{"use strict";n(70351)({target:"Number",stat:!0},{isInteger:n(87312)})},20357:(t,e,n)=>{"use strict";n(70351)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},1657:(t,e,n)=>{"use strict";var i=n(70351),r=n(87312),o=Math.abs;i({target:"Number",stat:!0},{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},63970:(t,e,n)=>{"use strict";n(70351)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},48560:(t,e,n)=>{"use strict";n(70351)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},94884:(t,e,n)=>{"use strict";var i=n(70351),r=n(38112);i({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},4807:(t,e,n)=>{"use strict";var i=n(70351),r=n(67061);i({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},57148:(t,e,n)=>{"use strict";var i=n(70351),r=n(49289),o=n(38300),a=n(65102),s=n(48126),l=1..toFixed,u=Math.floor,c=function t(e,n,i){return 0===n?i:n%2==1?t(e,n-1,i*e):t(e*e,n/2,i)},h=function(t,e,n){for(var i=-1,r=n;++i<6;)r+=e*t[i],t[i]=r%1e7,r=u(r/1e7)},d=function(t,e){for(var n=6,i=0;--n>=0;)i+=t[n],t[n]=u(i/e),i=i%e*1e7},f=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var i=String(t[e]);n=""===n?i:n+a.call("0",7-i.length)+i}return n};i({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){l.call({})}))},{toFixed:function(t){var e,n,i,s,l=o(this),u=r(t),m=[0,0,0,0,0,0],p="",C="0";if(u<0||u>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(p="-",l=-l),l>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(l*c(2,69,1))-69)<0?l*c(2,-e,1):l/c(2,e,1),n*=4503599627370496,(e=52-e)>0){for(h(m,0,n),i=u;i>=7;)h(m,1e7,0),i-=7;for(h(m,c(10,i,1),0),i=e-1;i>=23;)d(m,1<<23),i-=23;d(m,1<<i),h(m,1,1),d(m,2),C=f(m)}else h(m,0,n),h(m,1<<-e,0),C=f(m)+a.call("0",u);return u>0?p+((s=C.length)<=u?"0."+a.call("0",u-s)+C:C.slice(0,s-u)+"."+C.slice(s-u)):p+C}})},30818:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(38300),a=1..toPrecision;i({target:"Number",proto:!0,forced:r((function(){return"1"!==a.call(1,void 0)}))||!r((function(){a.call({})}))},{toPrecision:function(t){return void 0===t?a.call(o(this)):a.call(o(this),t)}})},74374:(t,e,n)=>{"use strict";var i=n(70351),r=n(78890);i({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},17138:(t,e,n)=>{"use strict";n(70351)({target:"Object",stat:!0,sham:!n(5857)},{create:n(85276)})},20884:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857),o=n(4358),a=n(1823),s=n(40120),l=n(19090);r&&i({target:"Object",proto:!0,forced:o},{__defineGetter__:function(t,e){l.f(s(this),t,{get:a(e),enumerable:!0,configurable:!0})}})},34638:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857);i({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(784)})},16391:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857);i({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n(19090).f})},34526:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857),o=n(4358),a=n(1823),s=n(40120),l=n(19090);r&&i({target:"Object",proto:!0,forced:o},{__defineSetter__:function(t,e){l.f(s(this),t,{set:a(e),enumerable:!0,configurable:!0})}})},56668:(t,e,n)=>{"use strict";var i=n(70351),r=n(8841).entries;i({target:"Object",stat:!0},{entries:function(t){return r(t)}})},27026:(t,e,n)=>{"use strict";var i=n(70351),r=n(96512),o=n(48126),a=n(32176),s=n(84395).onFreeze,l=Object.freeze;i({target:"Object",stat:!0,forced:o((function(){l(1)})),sham:!r},{freeze:function(t){return l&&a(t)?l(s(t)):t}})},73491:(t,e,n)=>{"use strict";var i=n(70351),r=n(95046),o=n(71119);i({target:"Object",stat:!0},{fromEntries:function(t){var e={};return r(t,(function(t,n){o(e,t,n)}),{AS_ENTRIES:!0}),e}})},46235:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(24563),a=n(9277).f,s=n(5857),l=r((function(){a(1)}));i({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},80239:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857),o=n(47234),a=n(24563),s=n(9277),l=n(71119);i({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(t){for(var e,n,i=a(t),r=s.f,u=o(i),c={},h=0;u.length>h;)void 0!==(n=r(i,e=u[h++]))&&l(c,e,n);return c}})},2242:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(14203).f;i({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:o})},62816:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(40120),a=n(80715),s=n(1040);i({target:"Object",stat:!0,forced:r((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},82181:(t,e,n)=>{"use strict";n(70351)({target:"Object",stat:!0},{hasOwn:n(56896)})},500:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(32176),a=Object.isExtensible;i({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isExtensible:function(t){return!!o(t)&&(!a||a(t))}})},41063:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(32176),a=Object.isFrozen;i({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isFrozen:function(t){return!o(t)||!!a&&a(t)}})},16130:(t,e,n)=>{"use strict";var i=n(70351),r=n(48126),o=n(32176),a=Object.isSealed;i({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isSealed:function(t){return!o(t)||!!a&&a(t)}})},21117:(t,e,n)=>{"use strict";n(70351)({target:"Object",stat:!0},{is:n(99803)})},26268:(t,e,n)=>{"use strict";var i=n(70351),r=n(40120),o=n(46599);i({target:"Object",stat:!0,forced:n(48126)((function(){o(1)}))},{keys:function(t){return o(r(t))}})},89281:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857),o=n(4358),a=n(40120),s=n(58255),l=n(80715),u=n(9277).f;r&&i({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(t){var e,n=a(this),i=s(t);do{if(e=u(n,i))return e.get}while(n=l(n))}})},34266:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857),o=n(4358),a=n(40120),s=n(58255),l=n(80715),u=n(9277).f;r&&i({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(t){var e,n=a(this),i=s(t);do{if(e=u(n,i))return e.set}while(n=l(n))}})},32421:(t,e,n)=>{"use strict";var i=n(70351),r=n(32176),o=n(84395).onFreeze,a=n(96512),s=n(48126),l=Object.preventExtensions;i({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{preventExtensions:function(t){return l&&r(t)?l(o(t)):t}})},91001:(t,e,n)=>{"use strict";var i=n(70351),r=n(32176),o=n(84395).onFreeze,a=n(96512),s=n(48126),l=Object.seal;i({target:"Object",stat:!0,forced:s((function(){l(1)})),sham:!a},{seal:function(t){return l&&r(t)?l(o(t)):t}})},86200:(t,e,n)=>{"use strict";n(70351)({target:"Object",stat:!0},{setPrototypeOf:n(15885)})},45255:(t,e,n)=>{"use strict";var i=n(74254),r=n(14387),o=n(36349);i||r(Object.prototype,"toString",o,{unsafe:!0})},55653:(t,e,n)=>{"use strict";var i=n(70351),r=n(8841).values;i({target:"Object",stat:!0},{values:function(t){return r(t)}})},85620:(t,e,n)=>{"use strict";var i=n(70351),r=n(38112);i({global:!0,forced:parseFloat!=r},{parseFloat:r})},69352:(t,e,n)=>{"use strict";var i=n(70351),r=n(67061);i({global:!0,forced:parseInt!=r},{parseInt:r})},84380:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(41658),a=n(6060),s=n(95046);i({target:"Promise",stat:!0},{allSettled:function(t){var e=this,n=o.f(e),i=n.resolve,l=n.reject,u=a((function(){var n=r(e.resolve),o=[],a=0,l=1;s(t,(function(t){var r=a++,s=!1;o.push(void 0),l++,n.call(e,t).then((function(t){s||(s=!0,o[r]={status:"fulfilled",value:t},--l||i(o))}),(function(t){s||(s=!0,o[r]={status:"rejected",reason:t},--l||i(o))}))})),--l||i(o)}));return u.error&&l(u.value),n.promise}})},12933:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(73683),a=n(41658),s=n(6060),l=n(95046),u="No one promise resolved";i({target:"Promise",stat:!0},{any:function(t){var e=this,n=a.f(e),i=n.resolve,c=n.reject,h=s((function(){var n=r(e.resolve),a=[],s=0,h=1,d=!1;l(t,(function(t){var r=s++,l=!1;a.push(void 0),h++,n.call(e,t).then((function(t){l||d||(d=!0,i(t))}),(function(t){l||d||(l=!0,a[r]=t,--h||c(new(o("AggregateError"))(a,u)))}))})),--h||c(new(o("AggregateError"))(a,u))}));return h.error&&c(h.value),n.promise}})},83242:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(41556),a=n(48126),s=n(73683),l=n(16487),u=n(44847),c=n(61666),h=n(14387);if(i({target:"Promise",proto:!0,real:!0,forced:!!o&&a((function(){o.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var e=u(this,s("Promise")),n=l(t);return this.then(n?function(n){return c(e,t()).then((function(){return n}))}:t,n?function(n){return c(e,t()).then((function(){throw n}))}:t)}}),!r&&l(o)){var d=s("Promise").prototype.finally;o.prototype.finally!==d&&h(o.prototype,"finally",d,{unsafe:!0})}},78841:(t,e,n)=>{"use strict";var i,r,o,a,s=n(70351),l=n(37312),u=n(85326),c=n(73683),h=n(41556),d=n(14387),f=n(29906),m=n(15885),p=n(4005),C=n(48342),v=n(1823),g=n(16487),y=n(32176),E=n(4827),S=n(60365),b=n(95046),x=n(85512),w=n(44847),_=n(32973).set,I=n(50065),A=n(61666),U=n(6138),F=n(41658),M=n(6060),D=n(74148),T=n(72491),R=n(61219),P=n(19257),B=n(23961),L=n(91038),O=R("species"),k="Promise",N=D.get,G=D.set,V=D.getterFor(k),j=h&&h.prototype,W=h,H=j,$=u.TypeError,z=u.document,q=u.process,K=F.f,Y=K,J=!!(z&&z.createEvent&&u.dispatchEvent),X=g(u.PromiseRejectionEvent),Q="unhandledrejection",Z=!1,tt=T(k,(function(){var t=S(W),e=t!==String(W);if(!e&&66===L)return!0;if(l&&!H.finally)return!0;if(L>=51&&/native code/.test(t))return!1;var n=new W((function(t){t(1)})),i=function(t){t((function(){}),(function(){}))};return(n.constructor={})[O]=i,!(Z=n.then((function(){}))instanceof i)||!e&&P&&!X})),et=tt||!x((function(t){W.all(t).catch((function(){}))})),nt=function(t){var e;return!(!y(t)||!g(e=t.then))&&e},it=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;I((function(){for(var i=t.value,r=1==t.state,o=0;n.length>o;){var a,s,l,u=n[o++],c=r?u.ok:u.fail,h=u.resolve,d=u.reject,f=u.domain;try{c?(r||(2===t.rejection&&st(t),t.rejection=1),!0===c?a=i:(f&&f.enter(),a=c(i),f&&(f.exit(),l=!0)),a===u.promise?d($("Promise-chain cycle")):(s=nt(a))?s.call(a,h,d):h(a)):d(i)}catch(t){f&&!l&&f.exit(),d(t)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&ot(t)}))}},rt=function(t,e,n){var i,r;J?((i=z.createEvent("Event")).promise=e,i.reason=n,i.initEvent(t,!1,!0),u.dispatchEvent(i)):i={promise:e,reason:n},!X&&(r=u["on"+t])?r(i):t===Q&&U("Unhandled promise rejection",n)},ot=function(t){_.call(u,(function(){var e,n=t.facade,i=t.value;if(at(t)&&(e=M((function(){B?q.emit("unhandledRejection",i,n):rt(Q,n,i)})),t.rejection=B||at(t)?2:1,e.error))throw e.value}))},at=function(t){return 1!==t.rejection&&!t.parent},st=function(t){_.call(u,(function(){var e=t.facade;B?q.emit("rejectionHandled",e):rt("rejectionhandled",e,t.value)}))},lt=function(t,e,n){return function(i){t(e,i,n)}},ut=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,it(t,!0))},ct=function t(e,n,i){if(!e.done){e.done=!0,i&&(e=i);try{if(e.facade===n)throw $("Promise can't be resolved itself");var r=nt(n);r?I((function(){var i={done:!1};try{r.call(n,lt(t,i,e),lt(ut,i,e))}catch(t){ut(i,t,e)}})):(e.value=n,e.state=1,it(e,!1))}catch(t){ut({done:!1},t,e)}}};if(tt&&(H=(W=function(t){E(this,W,k),v(t),i.call(this);var e=N(this);try{t(lt(ct,e),lt(ut,e))}catch(t){ut(e,t)}}).prototype,(i=function(t){G(this,{type:k,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(H,{then:function(t,e){var n=V(this),i=K(w(this,W));return i.ok=!g(t)||t,i.fail=g(e)&&e,i.domain=B?q.domain:void 0,n.parent=!0,n.reactions.push(i),0!=n.state&&it(n,!1),i.promise},catch:function(t){return this.then(void 0,t)}}),r=function(){var t=new i,e=N(t);this.promise=t,this.resolve=lt(ct,e),this.reject=lt(ut,e)},F.f=K=function(t){return t===W||t===o?new r(t):Y(t)},!l&&g(h)&&j!==Object.prototype)){a=j.then,Z||(d(j,"then",(function(t,e){var n=this;return new W((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),d(j,"catch",H.catch,{unsafe:!0}));try{delete j.constructor}catch(t){}m&&m(j,H)}s({global:!0,wrap:!0,forced:tt},{Promise:W}),p(W,k,!1,!0),C(k),o=c(k),s({target:k,stat:!0,forced:tt},{reject:function(t){var e=K(this);return e.reject.call(void 0,t),e.promise}}),s({target:k,stat:!0,forced:l||tt},{resolve:function(t){return A(l&&this===o?W:this,t)}}),s({target:k,stat:!0,forced:et},{all:function(t){var e=this,n=K(e),i=n.resolve,r=n.reject,o=M((function(){var n=v(e.resolve),o=[],a=0,s=1;b(t,(function(t){var l=a++,u=!1;o.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,o[l]=t,--s||i(o))}),r)})),--s||i(o)}));return o.error&&r(o.value),n.promise},race:function(t){var e=this,n=K(e),i=n.reject,r=M((function(){var r=v(e.resolve);b(t,(function(t){r.call(e,t).then(n.resolve,i)}))}));return r.error&&i(r.value),n.promise}})},4552:(t,e,n)=>{"use strict";var i=n(70351),r=n(73683),o=n(1823),a=n(5847),s=n(48126),l=r("Reflect","apply"),u=Function.apply;i({target:"Reflect",stat:!0,forced:!s((function(){l((function(){}))}))},{apply:function(t,e,n){return o(t),a(n),l?l(t,e,n):u.call(t,e,n)}})},55857:(t,e,n)=>{"use strict";var i=n(70351),r=n(73683),o=n(7418),a=n(5847),s=n(32176),l=n(85276),u=n(49676),c=n(48126),h=r("Reflect","construct"),d=c((function(){function t(){}return!(h((function(){}),[],t)instanceof t)})),f=!c((function(){h((function(){}))})),m=d||f;i({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(f&&!d)return h(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return i.push.apply(i,e),new(u.apply(t,i))}var r=n.prototype,c=l(s(r)?r:Object.prototype),m=Function.apply.call(t,c,e);return s(m)?m:c}})},92188:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857),o=n(5847),a=n(58255),s=n(19090);i({target:"Reflect",stat:!0,forced:n(48126)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!r},{defineProperty:function(t,e,n){o(t);var i=a(e);o(n);try{return s.f(t,i,n),!0}catch(t){return!1}}})},4159:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(9277).f;i({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=o(r(t),e);return!(n&&!n.configurable)&&delete t[e]}})},63234:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857),o=n(5847),a=n(9277);i({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(t,e){return a.f(o(t),e)}})},71826:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(80715);i({target:"Reflect",stat:!0,sham:!n(1040)},{getPrototypeOf:function(t){return o(r(t))}})},67038:(t,e,n)=>{"use strict";var i=n(70351),r=n(32176),o=n(5847),a=n(71758),s=n(9277),l=n(80715);i({target:"Reflect",stat:!0},{get:function t(e,n){var i,u,c=arguments.length<3?e:arguments[2];return o(e)===c?e[n]:(i=s.f(e,n))?a(i)?i.value:void 0===i.get?void 0:i.get.call(c):r(u=l(e))?t(u,n,c):void 0}})},74290:(t,e,n)=>{"use strict";n(70351)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},60081:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=Object.isExtensible;i({target:"Reflect",stat:!0},{isExtensible:function(t){return r(t),!o||o(t)}})},58534:(t,e,n)=>{"use strict";n(70351)({target:"Reflect",stat:!0},{ownKeys:n(47234)})},25207:(t,e,n)=>{"use strict";var i=n(70351),r=n(73683),o=n(5847);i({target:"Reflect",stat:!0,sham:!n(96512)},{preventExtensions:function(t){o(t);try{var e=r("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}})},97836:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(35523),a=n(15885);a&&i({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){r(t),o(e);try{return a(t,e),!0}catch(t){return!1}}})},68854:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(32176),a=n(71758),s=n(48126),l=n(19090),u=n(9277),c=n(80715),h=n(61276);i({target:"Reflect",stat:!0,forced:s((function(){var t=function(){},e=l.f(new t,"a",{configurable:!0});return!1!==Reflect.set(t.prototype,"a",1,e)}))},{set:function t(e,n,i){var s,d,f,m=arguments.length<4?e:arguments[3],p=u.f(r(e),n);if(!p){if(o(d=c(e)))return t(d,n,i,m);p=h(0)}if(a(p)){if(!1===p.writable||!o(m))return!1;if(s=u.f(m,n)){if(s.get||s.set||!1===s.writable)return!1;s.value=i,l.f(m,n,s)}else l.f(m,n,h(0,i))}else{if(void 0===(f=p.set))return!1;f.call(m,i)}return!0}})},69735:(t,e,n)=>{"use strict";var i=n(70351),r=n(85326),o=n(4005);i({global:!0},{Reflect:{}}),o(r.Reflect,"Reflect",!0)},11975:(t,e,n)=>{"use strict";var i=n(5857),r=n(85326),o=n(72491),a=n(44517),s=n(28474),l=n(19090).f,u=n(43622).f,c=n(40121),h=n(95683),d=n(73845),f=n(64672),m=n(14387),p=n(48126),C=n(56896),v=n(74148).enforce,g=n(48342),y=n(61219),E=n(18292),S=n(163),b=y("match"),x=r.RegExp,w=x.prototype,_=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,I=/a/g,A=/a/g,U=new x(I)!==I,F=f.UNSUPPORTED_Y;if(o("RegExp",i&&(!U||F||E||S||p((function(){return A[b]=!1,x(I)!=I||x(A)==A||"/a/i"!=x(I,"i")}))))){for(var M=function(t,e){var n,i,r,o,l,u,f=this instanceof M,m=c(t),p=void 0===e,g=[],y=t;if(!f&&m&&p&&t.constructor===M)return t;if((m||t instanceof M)&&(t=t.source,p&&(e="flags"in y?y.flags:d.call(y))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),y=t,E&&"dotAll"in I&&(i=!!e&&e.indexOf("s")>-1)&&(e=e.replace(/s/g,"")),n=e,F&&"sticky"in I&&(r=!!e&&e.indexOf("y")>-1)&&(e=e.replace(/y/g,"")),S&&(t=(o=function(t){for(var e,n=t.length,i=0,r="",o=[],a={},s=!1,l=!1,u=0,c="";i<=n;i++){if("\\"===(e=t.charAt(i)))e+=t.charAt(++i);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:_.test(t.slice(i+1))&&(i+=2,l=!0),r+=e,u++;continue;case">"===e&&l:if(""===c||C(a,c))throw new SyntaxError("Invalid capture group name");a[c]=!0,o.push([c,u]),l=!1,c="";continue}l?c+=e:r+=e}return[r,o]}(t))[0],g=o[1]),l=a(x(t,e),f?this:w,M),(i||r||g.length)&&(u=v(l),i&&(u.dotAll=!0,u.raw=M(function(t){for(var e,n=t.length,i=0,r="",o=!1;i<=n;i++)"\\"!==(e=t.charAt(i))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),r+=e):r+="[\\s\\S]":r+=e+t.charAt(++i);return r}(t),n)),r&&(u.sticky=!0),g.length&&(u.groups=g)),t!==y)try{s(l,"source",""===y?"(?:)":y)}catch(t){}return l},D=function(t){t in M||l(M,t,{configurable:!0,get:function(){return x[t]},set:function(e){x[t]=e}})},T=u(x),R=0;T.length>R;)D(T[R++]);w.constructor=M,M.prototype=w,m(r,"RegExp",M)}g("RegExp")},30715:(t,e,n)=>{"use strict";var i=n(5857),r=n(18292),o=n(19090).f,a=n(74148).get,s=RegExp.prototype;i&&r&&o(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if(this instanceof RegExp)return!!a(this).dotAll;throw TypeError("Incompatible receiver, RegExp required")}}})},39285:(t,e,n)=>{"use strict";var i=n(70351),r=n(38604);i({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},7461:(t,e,n)=>{"use strict";var i=n(5857),r=n(19090),o=n(73845),a=n(48126);i&&a((function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})}))&&r.f(RegExp.prototype,"flags",{configurable:!0,get:o})},54153:(t,e,n)=>{"use strict";var i=n(5857),r=n(64672).UNSUPPORTED_Y,o=n(19090).f,a=n(74148).get,s=RegExp.prototype;i&&r&&o(s,"sticky",{configurable:!0,get:function(){if(this!==s){if(this instanceof RegExp)return!!a(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},36391:(t,e,n)=>{"use strict";n(39285);var i,r,o=n(70351),a=n(16487),s=n(32176),l=(i=!1,(r=/[ac]/).exec=function(){return i=!0,/./.exec.apply(this,arguments)},!0===r.test("abc")&&i),u=/./.test;o({target:"RegExp",proto:!0,forced:!l},{test:function(t){var e=this.exec;if(!a(e))return u.call(this,t);var n=e.call(this,t);if(null!==n&&!s(n))throw new Error("RegExp exec method returned something other than an Object or null");return!!n}})},48038:(t,e,n)=>{"use strict";var i=n(8599).PROPER,r=n(14387),o=n(5847),a=n(95683),s=n(48126),l=n(73845),u="toString",c=RegExp.prototype,h=c.toString,d=s((function(){return"/a/b"!=h.call({source:"a",flags:"b"})})),f=i&&h.name!=u;(d||f)&&r(RegExp.prototype,u,(function(){var t=o(this),e=a(t.source),n=t.flags;return"/"+e+"/"+a(void 0===n&&t instanceof RegExp&&!("flags"in c)?l.call(t):n)}),{unsafe:!0})},60123:(t,e,n)=>{"use strict";var i=n(14701),r=n(84110);t.exports=i("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r)},44939:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("anchor")},{anchor:function(t){return r(this,"a","name",t)}})},14835:(t,e,n)=>{"use strict";var i=n(70351),r=n(96583),o=n(49289),a=n(80624),s=n(95683);i({target:"String",proto:!0,forced:n(48126)((function(){return"\ud842"!=="𠮷".at(0)}))},{at:function(t){var e=s(r(this)),n=a(e.length),i=o(t),l=i>=0?i:n+i;return l<0||l>=n?void 0:e.charAt(l)}})},66120:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("big")},{big:function(){return r(this,"big","","")}})},17522:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("blink")},{blink:function(){return r(this,"blink","","")}})},82086:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("bold")},{bold:function(){return r(this,"b","","")}})},54139:(t,e,n)=>{"use strict";var i=n(70351),r=n(54409).codeAt;i({target:"String",proto:!0},{codePointAt:function(t){return r(this,t)}})},35009:(t,e,n)=>{"use strict";var i,r=n(70351),o=n(9277).f,a=n(80624),s=n(95683),l=n(70417),u=n(96583),c=n(46901),h=n(37312),d="".endsWith,f=Math.min,m=c("endsWith");r({target:"String",proto:!0,forced:!(!h&&!m&&(i=o(String.prototype,"endsWith"),i&&!i.writable)||m)},{endsWith:function(t){var e=s(u(this));l(t);var n=arguments.length>1?arguments[1]:void 0,i=a(e.length),r=void 0===n?i:f(a(n),i),o=s(t);return d?d.call(e,o,r):e.slice(r-o.length,r)===o}})},31916:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("fixed")},{fixed:function(){return r(this,"tt","","")}})},59973:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("fontcolor")},{fontcolor:function(t){return r(this,"font","color",t)}})},65874:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("fontsize")},{fontsize:function(t){return r(this,"font","size",t)}})},48557:(t,e,n)=>{"use strict";var i=n(70351),r=n(20618),o=String.fromCharCode,a=String.fromCodePoint;i({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,a=0;i>a;){if(e=+arguments[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},98311:(t,e,n)=>{"use strict";var i=n(70351),r=n(70417),o=n(96583),a=n(95683);i({target:"String",proto:!0,forced:!n(46901)("includes")},{includes:function(t){return!!~a(o(this)).indexOf(a(r(t)),arguments.length>1?arguments[1]:void 0)}})},26389:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("italics")},{italics:function(){return r(this,"i","","")}})},63356:(t,e,n)=>{"use strict";var i=n(54409).charAt,r=n(95683),o=n(74148),a=n(71394),s="String Iterator",l=o.set,u=o.getterFor(s);a(String,"String",(function(t){l(this,{type:s,string:r(t),index:0})}),(function(){var t,e=u(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=i(n,r),e.index+=t.length,{value:t,done:!1})}))},81035:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("link")},{link:function(t){return r(this,"a","href",t)}})},23430:(t,e,n)=>{"use strict";var i=n(70351),r=n(97719),o=n(96583),a=n(80624),s=n(95683),l=n(5847),u=n(22619),c=n(40121),h=n(73845),d=n(65109),f=n(14387),m=n(48126),p=n(61219),C=n(44847),v=n(87637),g=n(25372),y=n(74148),E=n(37312),S=p("matchAll"),b="RegExp String Iterator",x=y.set,w=y.getterFor(b),_=RegExp.prototype,I="".matchAll,A=!!I&&!m((function(){"a".matchAll(/./)})),U=r((function(t,e,n,i){x(this,{type:b,regexp:t,string:e,global:n,unicode:i,done:!1})}),"RegExp String",(function(){var t=w(this);if(t.done)return{value:void 0,done:!0};var e=t.regexp,n=t.string,i=g(e,n);return null===i?{value:void 0,done:t.done=!0}:t.global?(""===s(i[0])&&(e.lastIndex=v(n,a(e.lastIndex),t.unicode)),{value:i,done:!1}):(t.done=!0,{value:i,done:!1})})),F=function(t){var e,n,i,r,o,u,c=l(this),d=s(t);return e=C(c,RegExp),void 0===(n=c.flags)&&c instanceof RegExp&&!("flags"in _)&&(n=h.call(c)),i=void 0===n?"":s(n),r=new e(e===RegExp?c.source:c,i),o=!!~i.indexOf("g"),u=!!~i.indexOf("u"),r.lastIndex=a(c.lastIndex),new U(r,d,o,u)};i({target:"String",proto:!0,forced:A},{matchAll:function(t){var e,n,i,r=o(this);if(null!=t){if(c(t)&&!~s(o("flags"in _?t.flags:h.call(t))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(A)return I.apply(r,arguments);if(void 0===(n=d(t,S))&&E&&"RegExp"==u(t)&&(n=F),n)return n.call(t,r)}else if(A)return I.apply(r,arguments);return e=s(r),i=new RegExp(t,"g"),E?F.call(i,e):i[S](e)}}),E||S in _||f(_,S,F)},84400:(t,e,n)=>{"use strict";var i=n(26036),r=n(5847),o=n(80624),a=n(95683),s=n(96583),l=n(65109),u=n(87637),c=n(25372);i("match",(function(t,e,n){return[function(e){var n=s(this),i=null==e?void 0:l(e,t);return i?i.call(e,n):new RegExp(e)[t](a(n))},function(t){var i=r(this),s=a(t),l=n(e,i,s);if(l.done)return l.value;if(!i.global)return c(i,s);var h=i.unicode;i.lastIndex=0;for(var d,f=[],m=0;null!==(d=c(i,s));){var p=a(d[0]);f[m]=p,""===p&&(i.lastIndex=u(s,o(i.lastIndex),h)),m++}return 0===m?null:f}]}))},58387:(t,e,n)=>{"use strict";var i=n(70351),r=n(681).end;i({target:"String",proto:!0,forced:n(89627)},{padEnd:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},43514:(t,e,n)=>{"use strict";var i=n(70351),r=n(681).start;i({target:"String",proto:!0,forced:n(89627)},{padStart:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},5855:(t,e,n)=>{"use strict";var i=n(70351),r=n(24563),o=n(40120),a=n(80624),s=n(95683),l=Array.prototype,u=l.push,c=l.join;i({target:"String",stat:!0},{raw:function(t){for(var e=r(o(t).raw),n=a(e.length),i=arguments.length,l=[],h=0;n>h;)u.call(l,s(e[h++])),h<i&&u.call(l,s(arguments[h]));return c.call(l,"")}})},54838:(t,e,n)=>{"use strict";n(70351)({target:"String",proto:!0},{repeat:n(65102)})},41355:(t,e,n)=>{"use strict";var i=n(70351),r=n(96583),o=n(16487),a=n(40121),s=n(95683),l=n(65109),u=n(73845),c=n(38174),h=n(61219),d=n(37312),f=h("replace"),m=RegExp.prototype,p=Math.max,C=function(t,e,n){return n>t.length?-1:""===e?n:t.indexOf(e,n)};i({target:"String",proto:!0},{replaceAll:function(t,e){var n,i,h,v,g,y,E,S,b=r(this),x=0,w=0,_="";if(null!=t){if((n=a(t))&&!~s(r("flags"in m?t.flags:u.call(t))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(i=l(t,f))return i.call(t,b,e);if(d&&n)return s(b).replace(t,e)}for(h=s(b),v=s(t),(g=o(e))||(e=s(e)),y=v.length,E=p(1,y),x=C(h,v,0);-1!==x;)S=g?s(e(v,x,h)):c(v,h,x,[],void 0,e),_+=h.slice(w,x)+S,w=x+y,x=C(h,v,x+E);return w<h.length&&(_+=h.slice(w)),_}})},93902:(t,e,n)=>{"use strict";var i=n(26036),r=n(48126),o=n(5847),a=n(16487),s=n(49289),l=n(80624),u=n(95683),c=n(96583),h=n(87637),d=n(65109),f=n(38174),m=n(25372),p=n(61219)("replace"),C=Math.max,v=Math.min,g="$0"==="a".replace(/./,"$0"),y=!!/./[p]&&""===/./[p]("a","$0");i("replace",(function(t,e,n){var i=y?"$":"$0";return[function(t,n){var i=c(this),r=null==t?void 0:d(t,p);return r?r.call(t,i,n):e.call(u(i),t,n)},function(t,r){var c=o(this),d=u(t);if("string"==typeof r&&-1===r.indexOf(i)&&-1===r.indexOf("$<")){var p=n(e,c,d,r);if(p.done)return p.value}var g=a(r);g||(r=u(r));var y=c.global;if(y){var E=c.unicode;c.lastIndex=0}for(var S=[];;){var b=m(c,d);if(null===b)break;if(S.push(b),!y)break;""===u(b[0])&&(c.lastIndex=h(d,l(c.lastIndex),E))}for(var x,w="",_=0,I=0;I<S.length;I++){b=S[I];for(var A=u(b[0]),U=C(v(s(b.index),d.length),0),F=[],M=1;M<b.length;M++)F.push(void 0===(x=b[M])?x:String(x));var D=b.groups;if(g){var T=[A].concat(F,U,d);void 0!==D&&T.push(D);var R=u(r.apply(void 0,T))}else R=f(A,d,U,F,D,r);U>=_&&(w+=d.slice(_,U)+R,_=U+A.length)}return w+d.slice(_)}]}),!!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!g||y)},66329:(t,e,n)=>{"use strict";var i=n(26036),r=n(5847),o=n(96583),a=n(99803),s=n(95683),l=n(65109),u=n(25372);i("search",(function(t,e,n){return[function(e){var n=o(this),i=null==e?void 0:l(e,t);return i?i.call(e,n):new RegExp(e)[t](s(n))},function(t){var i=r(this),o=s(t),l=n(e,i,o);if(l.done)return l.value;var c=i.lastIndex;a(c,0)||(i.lastIndex=0);var h=u(i,o);return a(i.lastIndex,c)||(i.lastIndex=c),null===h?-1:h.index}]}))},80217:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("small")},{small:function(){return r(this,"small","","")}})},86556:(t,e,n)=>{"use strict";var i=n(26036),r=n(40121),o=n(5847),a=n(96583),s=n(44847),l=n(87637),u=n(80624),c=n(95683),h=n(65109),d=n(25372),f=n(38604),m=n(64672),p=n(48126),C=m.UNSUPPORTED_Y,v=[].push,g=Math.min,y=4294967295;i("split",(function(t,e,n){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=c(a(this)),o=void 0===n?y:n>>>0;if(0===o)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,t,o);for(var s,l,u,h=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),m=0,p=new RegExp(t.source,d+"g");(s=f.call(p,i))&&!((l=p.lastIndex)>m&&(h.push(i.slice(m,s.index)),s.length>1&&s.index<i.length&&v.apply(h,s.slice(1)),u=s[0].length,m=l,h.length>=o));)p.lastIndex===s.index&&p.lastIndex++;return m===i.length?!u&&p.test("")||h.push(""):h.push(i.slice(m)),h.length>o?h.slice(0,o):h}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var r=a(this),o=null==e?void 0:h(e,t);return o?o.call(e,r,n):i.call(c(r),e,n)},function(t,r){var a=o(this),h=c(t),f=n(i,a,h,r,i!==e);if(f.done)return f.value;var m=s(a,RegExp),p=a.unicode,v=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(C?"g":"y"),E=new m(C?"^(?:"+a.source+")":a,v),S=void 0===r?y:r>>>0;if(0===S)return[];if(0===h.length)return null===d(E,h)?[h]:[];for(var b=0,x=0,w=[];x<h.length;){E.lastIndex=C?0:x;var _,I=d(E,C?h.slice(x):h);if(null===I||(_=g(u(E.lastIndex+(C?x:0)),h.length))===b)x=l(h,x,p);else{if(w.push(h.slice(b,x)),w.length===S)return w;for(var A=1;A<=I.length-1;A++)if(w.push(I[A]),w.length===S)return w;x=b=_}}return w.push(h.slice(b)),w}]}),!!p((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),C)},7370:(t,e,n)=>{"use strict";var i,r=n(70351),o=n(9277).f,a=n(80624),s=n(95683),l=n(70417),u=n(96583),c=n(46901),h=n(37312),d="".startsWith,f=Math.min,m=c("startsWith");r({target:"String",proto:!0,forced:!(!h&&!m&&(i=o(String.prototype,"startsWith"),i&&!i.writable)||m)},{startsWith:function(t){var e=s(u(this));l(t);var n=a(f(arguments.length>1?arguments[1]:void 0,e.length)),i=s(t);return d?d.call(e,i,n):e.slice(n,n+i.length)===i}})},51892:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("strike")},{strike:function(){return r(this,"strike","","")}})},62278:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("sub")},{sub:function(){return r(this,"sub","","")}})},72068:(t,e,n)=>{"use strict";var i=n(70351),r=n(96583),o=n(49289),a=n(95683),s="".slice,l=Math.max,u=Math.min;i({target:"String",proto:!0},{substr:function(t,e){var n,i,c=a(r(this)),h=c.length,d=o(t);return d===1/0&&(d=0),d<0&&(d=l(h+d,0)),(n=void 0===e?h:o(e))<=0||n===1/0||d>=(i=u(d+n,h))?"":s.call(c,d,i)}})},41118:(t,e,n)=>{"use strict";var i=n(70351),r=n(66901);i({target:"String",proto:!0,forced:n(49531)("sup")},{sup:function(){return r(this,"sup","","")}})},65078:(t,e,n)=>{"use strict";var i=n(70351),r=n(98980).end,o=n(8072)("trimEnd"),a=o?function(){return r(this)}:"".trimEnd;i({target:"String",proto:!0,name:"trimEnd",forced:o},{trimEnd:a,trimRight:a})},36555:(t,e,n)=>{"use strict";var i=n(70351),r=n(98980).start,o=n(8072)("trimStart"),a=o?function(){return r(this)}:"".trimStart;i({target:"String",proto:!0,name:"trimStart",forced:o},{trimStart:a,trimLeft:a})},58053:(t,e,n)=>{"use strict";var i=n(70351),r=n(98980).trim;i({target:"String",proto:!0,forced:n(8072)("trim")},{trim:function(){return r(this)}})},33302:(t,e,n)=>{"use strict";n(21005)("asyncIterator")},82965:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857),o=n(85326),a=n(56896),s=n(16487),l=n(32176),u=n(19090).f,c=n(48734),h=o.Symbol;if(r&&s(h)&&(!("description"in h.prototype)||void 0!==h().description)){var d={},f=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof f?new h(t):void 0===t?h():h(t);return""===t&&(d[e]=!0),e};c(f,h);var m=f.prototype=h.prototype;m.constructor=f;var p=m.toString,C="Symbol(test)"==String(h("test")),v=/^Symbol\((.*)\)[^)]+$/;u(m,"description",{configurable:!0,get:function(){var t=l(this)?this.valueOf():this,e=p.call(t);if(a(d,t))return"";var n=C?e.slice(7,-1):e.replace(v,"$1");return""===n?void 0:n}}),i({global:!0,forced:!0},{Symbol:f})}},85715:(t,e,n)=>{"use strict";n(21005)("hasInstance")},88672:(t,e,n)=>{"use strict";n(21005)("isConcatSpreadable")},74528:(t,e,n)=>{"use strict";n(21005)("iterator")},39961:(t,e,n)=>{"use strict";var i=n(70351),r=n(85326),o=n(73683),a=n(37312),s=n(5857),l=n(65878),u=n(48126),c=n(56896),h=n(17512),d=n(16487),f=n(32176),m=n(57302),p=n(5847),C=n(40120),v=n(24563),g=n(58255),y=n(95683),E=n(61276),S=n(85276),b=n(46599),x=n(43622),w=n(14203),_=n(10581),I=n(9277),A=n(19090),U=n(40011),F=n(14387),M=n(33760),D=n(71237),T=n(65693),R=n(46848),P=n(61219),B=n(38708),L=n(21005),O=n(4005),k=n(74148),N=n(16443).forEach,G=D("hidden"),V="Symbol",j=P("toPrimitive"),W=k.set,H=k.getterFor(V),$=Object.prototype,z=r.Symbol,q=o("JSON","stringify"),K=I.f,Y=A.f,J=w.f,X=U.f,Q=M("symbols"),Z=M("op-symbols"),tt=M("string-to-symbol-registry"),et=M("symbol-to-string-registry"),nt=M("wks"),it=r.QObject,rt=!it||!it.prototype||!it.prototype.findChild,ot=s&&u((function(){return 7!=S(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=K($,e);i&&delete $[e],Y(t,e,n),i&&t!==$&&Y($,e,i)}:Y,at=function(t,e){var n=Q[t]=S(z.prototype);return W(n,{type:V,tag:t,description:e}),s||(n.description=e),n},st=function(t,e,n){t===$&&st(Z,e,n),p(t);var i=g(e);return p(n),c(Q,i)?(n.enumerable?(c(t,G)&&t[G][i]&&(t[G][i]=!1),n=S(n,{enumerable:E(0,!1)})):(c(t,G)||Y(t,G,E(1,{})),t[G][i]=!0),ot(t,i,n)):Y(t,i,n)},lt=function(t,e){p(t);var n=v(e),i=b(n).concat(dt(n));return N(i,(function(e){s&&!ut.call(n,e)||st(t,e,n[e])})),t},ut=function(t){var e=g(t),n=X.call(this,e);return!(this===$&&c(Q,e)&&!c(Z,e))&&(!(n||!c(this,e)||!c(Q,e)||c(this,G)&&this[G][e])||n)},ct=function(t,e){var n=v(t),i=g(e);if(n!==$||!c(Q,i)||c(Z,i)){var r=K(n,i);return!r||!c(Q,i)||c(n,G)&&n[G][i]||(r.enumerable=!0),r}},ht=function(t){var e=J(v(t)),n=[];return N(e,(function(t){c(Q,t)||c(T,t)||n.push(t)})),n},dt=function(t){var e=t===$,n=J(e?Z:v(t)),i=[];return N(n,(function(t){!c(Q,t)||e&&!c($,t)||i.push(Q[t])})),i};if(l||(F((z=function(){if(this instanceof z)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),n=function t(n){this===$&&t.call(Z,n),c(this,G)&&c(this[G],e)&&(this[G][e]=!1),ot(this,e,E(1,n))};return s&&rt&&ot($,e,{configurable:!0,set:n}),at(e,t)}).prototype,"toString",(function(){return H(this).tag})),F(z,"withoutSetter",(function(t){return at(R(t),t)})),U.f=ut,A.f=st,I.f=ct,x.f=w.f=ht,_.f=dt,B.f=function(t){return at(P(t),t)},s&&(Y(z.prototype,"description",{configurable:!0,get:function(){return H(this).description}}),a||F($,"propertyIsEnumerable",ut,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:z}),N(b(nt),(function(t){L(t)})),i({target:V,stat:!0,forced:!l},{for:function(t){var e=y(t);if(c(tt,e))return tt[e];var n=z(e);return tt[e]=n,et[n]=e,n},keyFor:function(t){if(!m(t))throw TypeError(t+" is not a symbol");if(c(et,t))return et[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),i({target:"Object",stat:!0,forced:!l,sham:!s},{create:function(t,e){return void 0===e?S(t):lt(S(t),e)},defineProperty:st,defineProperties:lt,getOwnPropertyDescriptor:ct}),i({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ht,getOwnPropertySymbols:dt}),i({target:"Object",stat:!0,forced:u((function(){_.f(1)}))},{getOwnPropertySymbols:function(t){return _.f(C(t))}}),q&&i({target:"JSON",stat:!0,forced:!l||u((function(){var t=z();return"[null]"!=q([t])||"{}"!=q({a:t})||"{}"!=q(Object(t))}))},{stringify:function(t,e,n){for(var i,r=[t],o=1;arguments.length>o;)r.push(arguments[o++]);if(i=e,(f(e)||void 0!==t)&&!m(t))return h(e)||(e=function(t,e){if(d(i)&&(e=i.call(this,t,e)),!m(e))return e}),r[1]=e,q.apply(null,r)}}),!z.prototype[j]){var ft=z.prototype.valueOf;F(z.prototype,j,(function(){return ft.apply(this,arguments)}))}O(z,V),T[G]=!0},32587:(t,e,n)=>{"use strict";n(21005)("matchAll")},7806:(t,e,n)=>{"use strict";n(21005)("match")},12358:(t,e,n)=>{"use strict";n(21005)("replace")},84144:(t,e,n)=>{"use strict";n(21005)("search")},25137:(t,e,n)=>{"use strict";n(21005)("species")},74433:(t,e,n)=>{"use strict";n(21005)("split")},78032:(t,e,n)=>{"use strict";n(21005)("toPrimitive")},4428:(t,e,n)=>{"use strict";n(21005)("toStringTag")},86483:(t,e,n)=>{"use strict";n(21005)("unscopables")},40487:(t,e,n)=>{"use strict";var i=n(15290),r=n(80624),o=n(49289),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("at",(function(t){var e=a(this),n=r(e.length),i=o(t),s=i>=0?i:n+i;return s<0||s>=n?void 0:e[s]}))},974:(t,e,n)=>{"use strict";var i=n(15290),r=n(1448),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(t,e){return r.call(o(this),t,e,arguments.length>2?arguments[2]:void 0)}))},90961:(t,e,n)=>{"use strict";var i=n(15290),r=n(16443).every,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("every",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},53785:(t,e,n)=>{"use strict";var i=n(15290),r=n(34150),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("fill",(function(t){return r.apply(o(this),arguments)}))},98740:(t,e,n)=>{"use strict";var i=n(15290),r=n(16443).filter,o=n(57660),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("filter",(function(t){var e=r(a(this),t,arguments.length>1?arguments[1]:void 0);return o(this,e)}))},60240:(t,e,n)=>{"use strict";var i=n(15290),r=n(16443).findIndex,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("findIndex",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},94361:(t,e,n)=>{"use strict";var i=n(15290),r=n(16443).find,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("find",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},71576:(t,e,n)=>{"use strict";n(65230)("Float32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},39751:(t,e,n)=>{"use strict";n(65230)("Float64",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},7919:(t,e,n)=>{"use strict";var i=n(15290),r=n(16443).forEach,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("forEach",(function(t){r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},85044:(t,e,n)=>{"use strict";var i=n(97361);(0,n(15290).exportTypedArrayStaticMethod)("from",n(65704),i)},17128:(t,e,n)=>{"use strict";var i=n(15290),r=n(47858).includes,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("includes",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},87458:(t,e,n)=>{"use strict";var i=n(15290),r=n(47858).indexOf,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("indexOf",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},98544:(t,e,n)=>{"use strict";n(65230)("Int16",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},62251:(t,e,n)=>{"use strict";n(65230)("Int32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},9479:(t,e,n)=>{"use strict";n(65230)("Int8",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},66854:(t,e,n)=>{"use strict";var i=n(85326),r=n(8599).PROPER,o=n(15290),a=n(13329),s=n(61219)("iterator"),l=i.Uint8Array,u=a.values,c=a.keys,h=a.entries,d=o.aTypedArray,f=o.exportTypedArrayMethod,m=l&&l.prototype[s],p=!!m&&"values"===m.name,C=function(){return u.call(d(this))};f("entries",(function(){return h.call(d(this))})),f("keys",(function(){return c.call(d(this))})),f("values",C,r&&!p),f(s,C,r&&!p)},56940:(t,e,n)=>{"use strict";var i=n(15290),r=i.aTypedArray,o=i.exportTypedArrayMethod,a=[].join;o("join",(function(t){return a.apply(r(this),arguments)}))},6261:(t,e,n)=>{"use strict";var i=n(15290),r=n(94042),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("lastIndexOf",(function(t){return r.apply(o(this),arguments)}))},38154:(t,e,n)=>{"use strict";var i=n(15290),r=n(16443).map,o=n(12079),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("map",(function(t){return r(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(o(t))(e)}))}))},35477:(t,e,n)=>{"use strict";var i=n(15290),r=n(97361),o=i.aTypedArrayConstructor;(0,i.exportTypedArrayStaticMethod)("of",(function(){for(var t=0,e=arguments.length,n=new(o(this))(e);e>t;)n[t]=arguments[t++];return n}),r)},41351:(t,e,n)=>{"use strict";var i=n(15290),r=n(96040).right,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("reduceRight",(function(t){return r(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},76294:(t,e,n)=>{"use strict";var i=n(15290),r=n(96040).left,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("reduce",(function(t){return r(o(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},56884:(t,e,n)=>{"use strict";var i=n(15290),r=i.aTypedArray,o=i.exportTypedArrayMethod,a=Math.floor;o("reverse",(function(){for(var t,e=this,n=r(e).length,i=a(n/2),o=0;o<i;)t=e[o],e[o++]=e[--n],e[n]=t;return e}))},73594:(t,e,n)=>{"use strict";var i=n(15290),r=n(80624),o=n(68794),a=n(40120),s=n(48126),l=i.aTypedArray;(0,i.exportTypedArrayMethod)("set",(function(t){l(this);var e=o(arguments.length>1?arguments[1]:void 0,1),n=this.length,i=a(t),s=r(i.length),u=0;if(s+e>n)throw RangeError("Wrong length");for(;u<s;)this[e+u]=i[u++]}),s((function(){new Int8Array(1).set({})})))},69997:(t,e,n)=>{"use strict";var i=n(15290),r=n(12079),o=n(48126),a=i.aTypedArray,s=i.exportTypedArrayMethod,l=[].slice;s("slice",(function(t,e){for(var n=l.call(a(this),t,e),i=r(this),o=0,s=n.length,u=new i(s);s>o;)u[o]=n[o++];return u}),o((function(){new Int8Array(1).slice()})))},34942:(t,e,n)=>{"use strict";var i=n(15290),r=n(16443).some,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("some",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},30947:(t,e,n)=>{"use strict";var i=n(15290),r=n(85326),o=n(48126),a=n(1823),s=n(80624),l=n(36384),u=n(43956),c=n(65374),h=n(91038),d=n(94050),f=i.aTypedArray,m=i.exportTypedArrayMethod,p=r.Uint16Array,C=p&&p.prototype.sort,v=!!C&&!o((function(){var t=new p(2);t.sort(null),t.sort({})})),g=!!C&&!o((function(){if(h)return h<74;if(u)return u<67;if(c)return!0;if(d)return d<602;var t,e,n=new p(516),i=Array(516);for(t=0;t<516;t++)e=t%4,n[t]=515-t,i[t]=t-2*e+3;for(n.sort((function(t,e){return(t/4|0)-(e/4|0)})),t=0;t<516;t++)if(n[t]!==i[t])return!0}));m("sort",(function(t){var e=this;if(void 0!==t&&a(t),g)return C.call(e,t);f(e);var n,i=s(e.length),r=Array(i);for(n=0;n<i;n++)r[n]=e[n];for(r=l(e,function(t){return function(e,n){return void 0!==t?+t(e,n)||0:n!=n?-1:e!=e?1:0===e&&0===n?1/e>0&&1/n<0?1:-1:e>n}}(t)),n=0;n<i;n++)e[n]=r[n];return e}),!g||v)},19794:(t,e,n)=>{"use strict";var i=n(15290),r=n(80624),o=n(20618),a=n(12079),s=i.aTypedArray;(0,i.exportTypedArrayMethod)("subarray",(function(t,e){var n=s(this),i=n.length,l=o(t,i);return new(a(n))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,r((void 0===e?i:o(e,i))-l))}))},67023:(t,e,n)=>{"use strict";var i=n(85326),r=n(15290),o=n(48126),a=i.Int8Array,s=r.aTypedArray,l=r.exportTypedArrayMethod,u=[].toLocaleString,c=[].slice,h=!!a&&o((function(){u.call(new a(1))}));l("toLocaleString",(function(){return u.apply(h?c.call(s(this)):s(this),arguments)}),o((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!o((function(){a.prototype.toLocaleString.call([1,2])})))},12773:(t,e,n)=>{"use strict";var i=n(15290).exportTypedArrayMethod,r=n(48126),o=n(85326).Uint8Array,a=o&&o.prototype||{},s=[].toString,l=[].join;r((function(){s.call({})}))&&(s=function(){return l.call(this)});var u=a.toString!=s;i("toString",s,u)},76066:(t,e,n)=>{"use strict";n(65230)("Uint16",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},56933:(t,e,n)=>{"use strict";n(65230)("Uint32",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},99075:(t,e,n)=>{"use strict";n(65230)("Uint8",(function(t){return function(e,n,i){return t(this,e,n,i)}}))},47888:(t,e,n)=>{"use strict";n(65230)("Uint8",(function(t){return function(e,n,i){return t(this,e,n,i)}}),!0)},33390:(t,e,n)=>{"use strict";var i=n(70351),r=n(95683),o=String.fromCharCode,a=/^[\da-f]{2}$/i,s=/^[\da-f]{4}$/i;i({global:!0},{unescape:function(t){for(var e,n,i=r(t),l="",u=i.length,c=0;c<u;){if("%"===(e=i.charAt(c++)))if("u"===i.charAt(c)){if(n=i.slice(c+1,c+5),s.test(n)){l+=o(parseInt(n,16)),c+=5;continue}}else if(n=i.slice(c,c+2),a.test(n)){l+=o(parseInt(n,16)),c+=2;continue}l+=e}return l}})},4607:(t,e,n)=>{"use strict";var i,r=n(85326),o=n(29906),a=n(84395),s=n(14701),l=n(8223),u=n(32176),c=n(74148).enforce,h=n(85127),d=!r.ActiveXObject&&"ActiveXObject"in r,f=Object.isExtensible,m=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},p=t.exports=s("WeakMap",m,l);if(h&&d){i=l.getConstructor(m,"WeakMap",!0),a.enable();var C=p.prototype,v=C.delete,g=C.has,y=C.get,E=C.set;o(C,{delete:function(t){if(u(t)&&!f(t)){var e=c(this);return e.frozen||(e.frozen=new i),v.call(this,t)||e.frozen.delete(t)}return v.call(this,t)},has:function(t){if(u(t)&&!f(t)){var e=c(this);return e.frozen||(e.frozen=new i),g.call(this,t)||e.frozen.has(t)}return g.call(this,t)},get:function(t){if(u(t)&&!f(t)){var e=c(this);return e.frozen||(e.frozen=new i),g.call(this,t)?y.call(this,t):e.frozen.get(t)}return y.call(this,t)},set:function(t,e){if(u(t)&&!f(t)){var n=c(this);n.frozen||(n.frozen=new i),g.call(this,t)?E.call(this,t,e):n.frozen.set(t,e)}else E.call(this,t,e);return this}})}},5147:(t,e,n)=>{"use strict";n(14701)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(8223))},93396:(t,e,n)=>{"use strict";n(73450)},47813:(t,e,n)=>{"use strict";n(29836)},1943:(t,e,n)=>{"use strict";var i=n(70351),r=n(16443).filterReject,o=n(42711);i({target:"Array",proto:!0},{filterOut:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("filterOut")},13499:(t,e,n)=>{"use strict";var i=n(70351),r=n(16443).filterReject,o=n(42711);i({target:"Array",proto:!0},{filterReject:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("filterReject")},74493:(t,e,n)=>{"use strict";var i=n(70351),r=n(40321).findLastIndex,o=n(42711);i({target:"Array",proto:!0},{findLastIndex:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},12133:(t,e,n)=>{"use strict";var i=n(70351),r=n(40321).findLast,o=n(42711);i({target:"Array",proto:!0},{findLast:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},86565:(t,e,n)=>{"use strict";n(70351)({target:"Array",stat:!0},{fromAsync:n(16364)})},90367:(t,e,n)=>{"use strict";var i=n(70351),r=n(19878),o=n(35997),a=n(42711);i({target:"Array",proto:!0},{groupBy:function(t){var e=arguments.length>1?arguments[1]:void 0;return r(this,t,e,o)}}),a("groupBy")},52359:(t,e,n)=>{"use strict";var i=n(70351),r=n(17512),o=Object.isFrozen,a=function(t,e){if(!o||!r(t)||!o(t))return!1;for(var n,i=0,a=t.length;i<a;)if(!("string"==typeof(n=t[i++])||e&&void 0===n))return!1;return 0!==a};i({target:"Array",stat:!0},{isTemplateObject:function(t){if(!a(t,!0))return!1;var e=t.raw;return!(e.length!==t.length||!a(e,!1))}})},10476:(t,e,n)=>{"use strict";var i=n(5857),r=n(42711),o=n(40120),a=n(80624),s=n(19090).f;i&&!("lastIndex"in[])&&(s(Array.prototype,"lastIndex",{configurable:!0,get:function(){var t=o(this),e=a(t.length);return 0==e?0:e-1}}),r("lastIndex"))},12689:(t,e,n)=>{"use strict";var i=n(5857),r=n(42711),o=n(40120),a=n(80624),s=n(19090).f;i&&!("lastItem"in[])&&(s(Array.prototype,"lastItem",{configurable:!0,get:function(){var t=o(this),e=a(t.length);return 0==e?void 0:t[e-1]},set:function(t){var e=o(this),n=a(e.length);return e[0==n?0:n-1]=t}}),r("lastItem"))},29849:(t,e,n)=>{"use strict";var i=n(70351),r=n(42711);i({target:"Array",proto:!0},{uniqueBy:n(39537)}),r("uniqueBy")},17795:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(36678)((function(t,e){var n=this,i=n.iterator;return t.resolve(r(n.next.apply(i,e))).then((function(t){return r(t).done?(n.done=!0,{done:!0,value:void 0}):{done:!1,value:[n.index++,t.value]}}))}));i({target:"AsyncIterator",proto:!0,real:!0},{asIndexedPairs:function(){return new o({iterator:r(this),index:0})}})},27453:(t,e,n)=>{"use strict";var i=n(70351),r=n(4827),o=n(28474),a=n(56896),s=n(61219),l=n(11193),u=n(37312),c=s("toStringTag"),h=function(){r(this,h)};h.prototype=l,a(l,c)||o(l,c,"AsyncIterator"),!u&&a(l,"constructor")&&l.constructor!==Object||o(l,"constructor",h),i({global:!0,forced:u},{AsyncIterator:h})},43438:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(48737),a=n(36678)((function(t,e){var n=this;return new t((function(i,o){!function a(){try{t.resolve(r(n.next.apply(n.iterator,n.remaining?[]:e))).then((function(t){try{r(t).done?(n.done=!0,i({done:!0,value:void 0})):n.remaining?(n.remaining--,a()):i({done:!1,value:t.value})}catch(t){o(t)}}),o)}catch(t){o(t)}}()}))}));i({target:"AsyncIterator",proto:!0,real:!0},{drop:function(t){return new a({iterator:r(this),remaining:o(t)})}})},11621:(t,e,n)=>{"use strict";var i=n(70351),r=n(74850).every;i({target:"AsyncIterator",proto:!0,real:!0},{every:function(t){return r(this,t)}})},87313:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(5847),a=n(36678)((function(t,e){var n=this,i=n.filterer;return new t((function(r,a){!function s(){try{t.resolve(o(n.next.apply(n.iterator,e))).then((function(e){try{if(o(e).done)n.done=!0,r({done:!0,value:void 0});else{var l=e.value;t.resolve(i(l)).then((function(t){t?r({done:!1,value:l}):s()}),a)}}catch(t){a(t)}}),a)}catch(t){a(t)}}()}))}));i({target:"AsyncIterator",proto:!0,real:!0},{filter:function(t){return new a({iterator:o(this),filterer:r(t)})}})},70990:(t,e,n)=>{"use strict";var i=n(70351),r=n(74850).find;i({target:"AsyncIterator",proto:!0,real:!0},{find:function(t){return r(this,t)}})},17054:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(5847),a=n(36678),s=n(27563),l=a((function(t){var e,n=this,i=n.mapper;return new t((function(a,l){var u=function(){try{t.resolve(o(n.next.call(n.iterator))).then((function(u){try{o(u).done?(n.done=!0,a({done:!0,value:void 0})):t.resolve(i(u.value)).then((function(t){try{return n.innerIterator=e=s(t),n.innerNext=r(e.next),c()}catch(t){l(t)}}),l)}catch(t){l(t)}}),l)}catch(t){l(t)}},c=function(){if(e=n.innerIterator)try{t.resolve(o(n.innerNext.call(e))).then((function(t){try{o(t).done?(n.innerIterator=n.innerNext=null,u()):a({done:!1,value:t.value})}catch(t){l(t)}}),l)}catch(t){l(t)}else u()};c()}))}));i({target:"AsyncIterator",proto:!0,real:!0},{flatMap:function(t){return new l({iterator:o(this),mapper:r(t),innerIterator:null,innerNext:null})}})},35628:(t,e,n)=>{"use strict";var i=n(70351),r=n(74850).forEach;i({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(t){return r(this,t)}})},48534:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(40120),a=n(11193),s=n(36678),l=n(27563),u=n(43948),c=n(60675),h=n(65109),d=n(61219),f=n(8988),m=d("asyncIterator"),p={}.isPrototypeOf,C=s((function(t,e){return r(this.next.apply(this.iterator,e))}),!0);i({target:"AsyncIterator",stat:!0},{from:function(t){var e,n=o(t),i=h(n,m);return i&&(e=l(n,i),p.call(a,e))?e:void 0===e&&(i=c(n))?new f(u(n,i)):new C({iterator:void 0!==e?e:n})}})},33726:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(5847),a=n(36678)((function(t,e){var n=this,i=n.mapper;return t.resolve(o(n.next.apply(n.iterator,e))).then((function(e){return o(e).done?(n.done=!0,{done:!0,value:void 0}):t.resolve(i(e.value)).then((function(t){return{done:!1,value:t}}))}))}));i({target:"AsyncIterator",proto:!0,real:!0},{map:function(t){return new a({iterator:o(this),mapper:r(t)})}})},73140:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(5847),a=n(73683)("Promise");i({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(t){var e=o(this),n=r(e.next),i=arguments.length<2,s=i?void 0:arguments[1];return r(t),new a((function(r,l){!function u(){try{a.resolve(o(n.call(e))).then((function(e){try{if(o(e).done)i?l(TypeError("Reduce of empty iterator with no initial value")):r(s);else{var n=e.value;i?(i=!1,s=n,u()):a.resolve(t(s,n)).then((function(t){s=t,u()}),l)}}catch(t){l(t)}}),l)}catch(t){l(t)}}()}))}})},83424:(t,e,n)=>{"use strict";var i=n(70351),r=n(74850).some;i({target:"AsyncIterator",proto:!0,real:!0},{some:function(t){return r(this,t)}})},41943:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(48737),a=n(36678)((function(t,e){var n,i,r=this.iterator;return this.remaining--?this.next.apply(r,e):(i={done:!0,value:void 0},this.done=!0,void 0!==(n=r.return)?t.resolve(n.call(r)).then((function(){return i})):i)}));i({target:"AsyncIterator",proto:!0,real:!0},{take:function(t){return new a({iterator:r(this),remaining:o(t)})}})},85486:(t,e,n)=>{"use strict";var i=n(70351),r=n(74850).toArray;i({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return r(this,void 0,[])}})},33306:(t,e,n)=>{"use strict";var i=n(70351),r=n(8704);"function"==typeof BigInt&&i({target:"BigInt",stat:!0},{range:function(t,e,n){return new r(t,e,n,"bigint",BigInt(0),BigInt(1))}})},84800:(t,e,n)=>{"use strict";var i=n(70351),r=n(92617),o=n(73683),a=n(85276),s=function(){var t=o("Object","freeze");return t?t(a(null)):a(null)};i({global:!0},{compositeKey:function(){return r.apply(Object,arguments).get("object",s)}})},80416:(t,e,n)=>{"use strict";var i=n(70351),r=n(92617),o=n(73683);i({global:!0},{compositeSymbol:function(){return 1===arguments.length&&"string"==typeof arguments[0]?o("Symbol").for(arguments[0]):r.apply(null,arguments).get("symbol",o("Symbol"))}})},45724:(t,e,n)=>{"use strict";n(9775)},65527:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(59965)((function(t){var e=r(this.next.apply(this.iterator,t));if(!(this.done=!!e.done))return[this.index++,e.value]}));i({target:"Iterator",proto:!0,real:!0},{asIndexedPairs:function(){return new o({iterator:r(this),index:0})}})},30330:(t,e,n)=>{"use strict";var i=n(70351),r=n(85326),o=n(4827),a=n(16487),s=n(28474),l=n(48126),u=n(56896),c=n(61219),h=n(71251).IteratorPrototype,d=n(37312),f=c("toStringTag"),m=r.Iterator,p=d||!a(m)||m.prototype!==h||!l((function(){m({})})),C=function(){o(this,C)};u(h,f)||s(h,f,"Iterator"),!p&&u(h,"constructor")&&h.constructor!==Object||s(h,"constructor",C),C.prototype=h,i({global:!0,forced:p},{Iterator:C})},18209:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(48737),a=n(59965)((function(t){for(var e,n=this.iterator,i=this.next;this.remaining;)if(this.remaining--,e=r(i.call(n)),this.done=!!e.done)return;if(e=r(i.apply(n,t)),!(this.done=!!e.done))return e.value}));i({target:"Iterator",proto:!0,real:!0},{drop:function(t){return new a({iterator:r(this),remaining:o(t)})}})},79869:(t,e,n)=>{"use strict";var i=n(70351),r=n(95046),o=n(1823),a=n(5847);i({target:"Iterator",proto:!0,real:!0},{every:function(t){return a(this),o(t),!r(this,(function(e,n){if(!t(e))return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},69240:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(5847),a=n(59965),s=n(65174),l=a((function(t){for(var e,n,i=this.iterator,r=this.filterer,a=this.next;;){if(e=o(a.apply(i,t)),this.done=!!e.done)return;if(n=e.value,s(i,r,n))return n}}));i({target:"Iterator",proto:!0,real:!0},{filter:function(t){return new l({iterator:o(this),filterer:r(t)})}})},21144:(t,e,n)=>{"use strict";var i=n(70351),r=n(95046),o=n(1823),a=n(5847);i({target:"Iterator",proto:!0,real:!0},{find:function(t){return a(this),o(t),r(this,(function(e,n){if(t(e))return n(e)}),{IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},36764:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(5847),a=n(60675),s=n(59965),l=n(75065),u=s((function(){for(var t,e,n,i,s=this.iterator,u=this.mapper;;)try{if(i=this.innerIterator){if(!(t=o(this.innerNext.call(i))).done)return t.value;this.innerIterator=this.innerNext=null}if(t=o(this.next.call(s)),this.done=!!t.done)return;if(e=u(t.value),!(n=a(e)))throw TypeError(".flatMap callback should return an iterable object");this.innerIterator=i=o(n.call(e)),this.innerNext=r(i.next)}catch(t){l(s,"throw",t)}}));i({target:"Iterator",proto:!0,real:!0},{flatMap:function(t){return new u({iterator:o(this),mapper:r(t),innerIterator:null,innerNext:null})}})},24573:(t,e,n)=>{"use strict";var i=n(70351),r=n(95046),o=n(5847);i({target:"Iterator",proto:!0,real:!0},{forEach:function(t){r(o(this),t,{IS_ITERATOR:!0})}})},43660:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(40120),a=n(71251).IteratorPrototype,s=n(59965),l=n(43948),u=n(60675),c={}.isPrototypeOf,h=s((function(t){var e=r(this.next.apply(this.iterator,t));if(!(this.done=!!e.done))return e.value}),!0);i({target:"Iterator",stat:!0},{from:function(t){var e,n=o(t),i=u(n);if(i){if(e=l(n,i),c.call(a,e))return e}else e=n;return new h({iterator:e})}})},58267:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(5847),a=n(59965),s=n(65174),l=a((function(t){var e=this.iterator,n=o(this.next.apply(e,t));if(!(this.done=!!n.done))return s(e,this.mapper,n.value)}));i({target:"Iterator",proto:!0,real:!0},{map:function(t){return new l({iterator:o(this),mapper:r(t)})}})},92323:(t,e,n)=>{"use strict";var i=n(70351),r=n(95046),o=n(1823),a=n(5847);i({target:"Iterator",proto:!0,real:!0},{reduce:function(t){a(this),o(t);var e=arguments.length<2,n=e?void 0:arguments[1];if(r(this,(function(i){e?(e=!1,n=i):n=t(n,i)}),{IS_ITERATOR:!0}),e)throw TypeError("Reduce of empty iterator with no initial value");return n}})},52250:(t,e,n)=>{"use strict";var i=n(70351),r=n(95046),o=n(1823),a=n(5847);i({target:"Iterator",proto:!0,real:!0},{some:function(t){return a(this),o(t),r(this,(function(e,n){if(t(e))return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},5441:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(48737),a=n(59965),s=n(75065),l=a((function(t){var e=this.iterator;if(!this.remaining--)return this.done=!0,s(e,"normal",void 0);var n=r(this.next.apply(e,t));return(this.done=!!n.done)?void 0:n.value}));i({target:"Iterator",proto:!0,real:!0},{take:function(t){return new l({iterator:r(this),remaining:o(t)})}})},50054:(t,e,n)=>{"use strict";var i=n(70351),r=n(95046),o=n(5847),a=[].push;i({target:"Iterator",proto:!0,real:!0},{toArray:function(){var t=[];return r(o(this),a,{that:t,IS_ITERATOR:!0}),t}})},50297:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73994);i({target:"Map",proto:!0,real:!0,forced:r},{deleteAll:function(){return o.apply(this,arguments)}})},36676:(t,e,n)=>{"use strict";n(70351)({target:"Map",proto:!0,real:!0,forced:n(37312)},{emplace:n(36993)})},7978:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(97571),s=n(52153),l=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{every:function(t){var e=o(this),n=s(e),i=a(t,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(t,n,r){if(!i(n,t,e))return r()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},55649:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73683),a=n(1823),s=n(5847),l=n(97571),u=n(44847),c=n(52153),h=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{filter:function(t){var e=s(this),n=c(e),i=l(t,arguments.length>1?arguments[1]:void 0,3),r=new(u(e,o("Map"))),d=a(r.set);return h(n,(function(t,n){i(n,t,e)&&d.call(r,t,n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),r}})},69105:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(97571),s=n(52153),l=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{findKey:function(t){var e=o(this),n=s(e),i=a(t,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(t,n,r){if(i(n,t,e))return r(t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},9683:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(97571),s=n(52153),l=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{find:function(t){var e=o(this),n=s(e),i=a(t,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(t,n,r){if(i(n,t,e))return r(n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},26615:(t,e,n)=>{"use strict";n(70351)({target:"Map",stat:!0},{from:n(23057)})},31305:(t,e,n)=>{"use strict";var i=n(70351),r=n(1823),o=n(43948),a=n(95046);i({target:"Map",stat:!0},{groupBy:function(t,e){r(e);var n=o(t),i=new this,s=r(i.has),l=r(i.get),u=r(i.set);return a(n,(function(t){var n=e(t);s.call(i,n)?l.call(i,n).push(t):u.call(i,n,[t])}),{IS_ITERATOR:!0}),i}})},247:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(52153),s=n(66869),l=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{includes:function(t){return l(a(o(this)),(function(e,n,i){if(s(n,t))return i()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},9354:(t,e,n)=>{"use strict";var i=n(70351),r=n(95046),o=n(1823);i({target:"Map",stat:!0},{keyBy:function(t,e){var n=new this;o(e);var i=o(n.set);return r(t,(function(t){i.call(n,e(t),t)})),n}})},81816:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(52153),s=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{keyOf:function(t){return s(a(o(this)),(function(e,n,i){if(n===t)return i(e)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},6243:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73683),a=n(1823),s=n(5847),l=n(97571),u=n(44847),c=n(52153),h=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{mapKeys:function(t){var e=s(this),n=c(e),i=l(t,arguments.length>1?arguments[1]:void 0,3),r=new(u(e,o("Map"))),d=a(r.set);return h(n,(function(t,n){d.call(r,i(n,t,e),n)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),r}})},2062:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73683),a=n(1823),s=n(5847),l=n(97571),u=n(44847),c=n(52153),h=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{mapValues:function(t){var e=s(this),n=c(e),i=l(t,arguments.length>1?arguments[1]:void 0,3),r=new(u(e,o("Map"))),d=a(r.set);return h(n,(function(t,n){d.call(r,t,i(n,t,e))}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),r}})},77896:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(1823),a=n(5847),s=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{merge:function(t){for(var e=a(this),n=o(e.set),i=arguments.length,r=0;r<i;)s(arguments[r++],n,{that:e,AS_ENTRIES:!0});return e}})},75355:(t,e,n)=>{"use strict";n(70351)({target:"Map",stat:!0},{of:n(21226)})},72436:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(1823),s=n(52153),l=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{reduce:function(t){var e=o(this),n=s(e),i=arguments.length<2,r=i?void 0:arguments[1];if(a(t),l(n,(function(n,o){i?(i=!1,r=o):r=t(r,o,n,e)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),i)throw TypeError("Reduce of empty map with no initial value");return r}})},89275:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(97571),s=n(52153),l=n(95046);i({target:"Map",proto:!0,real:!0,forced:r},{some:function(t){var e=o(this),n=s(e),i=a(t,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(t,n,r){if(i(n,t,e))return r()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},99071:(t,e,n)=>{"use strict";n(70351)({target:"Map",proto:!0,real:!0,name:"upsert",forced:n(37312)},{updateOrInsert:n(54440)})},86345:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(1823);i({target:"Map",proto:!0,real:!0,forced:r},{update:function(t,e){var n=o(this),i=arguments.length;a(e);var r=n.has(t);if(!r&&i<3)throw TypeError("Updating absent value");var s=r?n.get(t):a(i>2?arguments[2]:void 0)(t,n);return n.set(t,e(s,t,n)),n}})},82228:(t,e,n)=>{"use strict";n(70351)({target:"Map",proto:!0,real:!0,forced:n(37312)},{upsert:n(54440)})},15101:(t,e,n)=>{"use strict";var i=n(70351),r=Math.min,o=Math.max;i({target:"Math",stat:!0},{clamp:function(t,e,n){return r(n,o(e,t))}})},60425:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{DEG_PER_RAD:Math.PI/180})},42959:(t,e,n)=>{"use strict";var i=n(70351),r=180/Math.PI;i({target:"Math",stat:!0},{degrees:function(t){return t*r}})},28177:(t,e,n)=>{"use strict";var i=n(70351),r=n(51697),o=n(18099);i({target:"Math",stat:!0},{fscale:function(t,e,n,i,a){return o(r(t,e,n,i,a))}})},78593:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{iaddh:function(t,e,n,i){var r=t>>>0,o=n>>>0;return(e>>>0)+(i>>>0)+((r&o|(r|o)&~(r+o>>>0))>>>31)|0}})},6501:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{imulh:function(t,e){var n=65535,i=+t,r=+e,o=i&n,a=r&n,s=i>>16,l=r>>16,u=(s*a>>>0)+(o*a>>>16);return s*l+(u>>16)+((o*l>>>0)+(u&n)>>16)}})},58391:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{isubh:function(t,e,n,i){var r=t>>>0,o=n>>>0;return(e>>>0)-(i>>>0)-((~r&o|~(r^o)&r-o>>>0)>>>31)|0}})},96457:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},1178:(t,e,n)=>{"use strict";var i=n(70351),r=Math.PI/180;i({target:"Math",stat:!0},{radians:function(t){return t*r}})},44752:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{scale:n(51697)})},40537:(t,e,n)=>{"use strict";var i=n(70351),r=n(5847),o=n(70085),a=n(97719),s=n(74148),l="Seeded Random Generator",u=s.set,c=s.getterFor(l),h=a((function(t){u(this,{type:l,seed:t%2147483647})}),"Seeded Random",(function(){var t=c(this);return{value:(1073741823&(t.seed=(1103515245*t.seed+12345)%2147483647))/1073741823,done:!1}}));i({target:"Math",stat:!0,forced:!0},{seededPRNG:function(t){var e=r(t).seed;if(!o(e))throw TypeError('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new h(e)}})},90270:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{signbit:function(t){return(t=+t)==t&&0==t?1/t==-1/0:t<0}})},76369:(t,e,n)=>{"use strict";n(70351)({target:"Math",stat:!0},{umulh:function(t,e){var n=65535,i=+t,r=+e,o=i&n,a=r&n,s=i>>>16,l=r>>>16,u=(s*a>>>0)+(o*a>>>16);return s*l+(u>>>16)+((o*l>>>0)+(u&n)>>>16)}})},7423:(t,e,n)=>{"use strict";var i=n(70351),r=n(49289),o=n(67061),a="Invalid number representation",s=/^[\da-z]+$/;i({target:"Number",stat:!0},{fromString:function(t,e){var n,i,l=1;if("string"!=typeof t)throw TypeError(a);if(!t.length)throw SyntaxError(a);if("-"==t.charAt(0)&&(l=-1,!(t=t.slice(1)).length))throw SyntaxError(a);if((n=void 0===e?10:r(e))<2||n>36)throw RangeError("Invalid radix");if(!s.test(t)||(i=o(t,n)).toString(n)!==t)throw SyntaxError(a);return l*i}})},9527:(t,e,n)=>{"use strict";var i=n(70351),r=n(8704);i({target:"Number",stat:!0},{range:function(t,e,n){return new r(t,e,n,"number",0,1)}})},68910:(t,e,n)=>{"use strict";n(82181)},40815:(t,e,n)=>{"use strict";var i=n(70351),r=n(56688);i({target:"Object",stat:!0},{iterateEntries:function(t){return new r(t,"entries")}})},21323:(t,e,n)=>{"use strict";var i=n(70351),r=n(56688);i({target:"Object",stat:!0},{iterateKeys:function(t){return new r(t,"keys")}})},6564:(t,e,n)=>{"use strict";var i=n(70351),r=n(56688);i({target:"Object",stat:!0},{iterateValues:function(t){return new r(t,"values")}})},98534:(t,e,n)=>{"use strict";var i=n(70351),r=n(5857),o=n(48342),a=n(1823),s=n(16487),l=n(83787),u=n(5847),c=n(32176),h=n(4827),d=n(19090).f,f=n(14387),m=n(29906),p=n(43948),C=n(65109),v=n(95046),g=n(6138),y=n(61219),E=n(74148),S=y("observable"),b=E.get,x=E.set,w=function(t){var e=t.cleanup;if(e){t.cleanup=void 0;try{e()}catch(t){g(t)}}},_=function(t){return void 0===t.observer},I=function(t){var e=t.facade;if(!r){e.closed=!0;var n=t.subscriptionObserver;n&&(n.closed=!0)}t.observer=void 0},A=function(t,e){var n,i=x(this,{cleanup:void 0,observer:u(t),subscriptionObserver:void 0});r||(this.closed=!1);try{(n=C(t,"start"))&&n.call(t,this)}catch(t){g(t)}if(!_(i)){var o=i.subscriptionObserver=new U(this);try{var l=e(o),c=l;null!=l&&(i.cleanup=s(l.unsubscribe)?function(){c.unsubscribe()}:a(l))}catch(t){return void o.error(t)}_(i)&&w(i)}};A.prototype=m({},{unsubscribe:function(){var t=b(this);_(t)||(I(t),w(t))}}),r&&d(A.prototype,"closed",{configurable:!0,get:function(){return _(b(this))}});var U=function(t){x(this,{subscription:t}),r||(this.closed=!1)};U.prototype=m({},{next:function(t){var e=b(b(this).subscription);if(!_(e)){var n=e.observer;try{var i=C(n,"next");i&&i.call(n,t)}catch(t){g(t)}}},error:function(t){var e=b(b(this).subscription);if(!_(e)){var n=e.observer;I(e);try{var i=C(n,"error");i?i.call(n,t):g(t)}catch(t){g(t)}w(e)}},complete:function(){var t=b(b(this).subscription);if(!_(t)){var e=t.observer;I(t);try{var n=C(e,"complete");n&&n.call(e)}catch(t){g(t)}w(t)}}}),r&&d(U.prototype,"closed",{configurable:!0,get:function(){return _(b(b(this).subscription))}});var F=function(t){h(this,F,"Observable"),x(this,{subscriber:a(t)})};m(F.prototype,{subscribe:function(t){var e=arguments.length;return new A(s(t)?{next:t,error:e>1?arguments[1]:void 0,complete:e>2?arguments[2]:void 0}:c(t)?t:{},b(this).subscriber)}}),m(F,{from:function(t){var e=l(this)?this:F,n=C(u(t),S);if(n){var i=u(n.call(t));return i.constructor===e?i:new e((function(t){return i.subscribe(t)}))}var r=p(t);return new e((function(t){v(r,(function(e,n){if(t.next(e),t.closed)return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}),t.complete()}))},of:function(){for(var t=l(this)?this:F,e=arguments.length,n=new Array(e),i=0;i<e;)n[i]=arguments[i++];return new t((function(t){for(var i=0;i<e;i++)if(t.next(n[i]),t.closed)return;t.complete()}))}}),f(F.prototype,S,(function(){return this})),i({global:!0},{Observable:F}),o("Observable")},26261:(t,e,n)=>{"use strict";n(84380)},7798:(t,e,n)=>{"use strict";n(12933)},54395:(t,e,n)=>{"use strict";var i=n(70351),r=n(41658),o=n(6060);i({target:"Promise",stat:!0},{try:function(t){var e=r.f(this),n=o(t);return(n.error?e.reject:e.resolve)(n.value),e.promise}})},2629:(t,e,n)=>{"use strict";var i=n(70351),r=n(41131),o=n(5847),a=r.toKey,s=r.set;i({target:"Reflect",stat:!0},{defineMetadata:function(t,e,n){var i=arguments.length<4?void 0:a(arguments[3]);s(t,e,o(n),i)}})},82910:(t,e,n)=>{"use strict";var i=n(70351),r=n(41131),o=n(5847),a=r.toKey,s=r.getMap,l=r.store;i({target:"Reflect",stat:!0},{deleteMetadata:function(t,e){var n=arguments.length<3?void 0:a(arguments[2]),i=s(o(e),n,!1);if(void 0===i||!i.delete(t))return!1;if(i.size)return!0;var r=l.get(e);return r.delete(n),!!r.size||l.delete(e)}})},18674:(t,e,n)=>{"use strict";var i=n(70351),r=n(60123),o=n(41131),a=n(5847),s=n(80715),l=n(95046),u=o.keys,c=o.toKey,h=function t(e,n){var i=u(e,n),o=s(e);if(null===o)return i;var a,c,h=t(o,n);return h.length?i.length?(a=new r(i.concat(h)),l(a,(c=[]).push,{that:c}),c):h:i};i({target:"Reflect",stat:!0},{getMetadataKeys:function(t){var e=arguments.length<2?void 0:c(arguments[1]);return h(a(t),e)}})},24847:(t,e,n)=>{"use strict";var i=n(70351),r=n(41131),o=n(5847),a=n(80715),s=r.has,l=r.get,u=r.toKey,c=function t(e,n,i){if(s(e,n,i))return l(e,n,i);var r=a(n);return null!==r?t(e,r,i):void 0};i({target:"Reflect",stat:!0},{getMetadata:function(t,e){var n=arguments.length<3?void 0:u(arguments[2]);return c(t,o(e),n)}})},85683:(t,e,n)=>{"use strict";var i=n(70351),r=n(41131),o=n(5847),a=r.keys,s=r.toKey;i({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(t){var e=arguments.length<2?void 0:s(arguments[1]);return a(o(t),e)}})},25700:(t,e,n)=>{"use strict";var i=n(70351),r=n(41131),o=n(5847),a=r.get,s=r.toKey;i({target:"Reflect",stat:!0},{getOwnMetadata:function(t,e){var n=arguments.length<3?void 0:s(arguments[2]);return a(t,o(e),n)}})},59076:(t,e,n)=>{"use strict";var i=n(70351),r=n(41131),o=n(5847),a=n(80715),s=r.has,l=r.toKey,u=function t(e,n,i){if(s(e,n,i))return!0;var r=a(n);return null!==r&&t(e,r,i)};i({target:"Reflect",stat:!0},{hasMetadata:function(t,e){var n=arguments.length<3?void 0:l(arguments[2]);return u(t,o(e),n)}})},63937:(t,e,n)=>{"use strict";var i=n(70351),r=n(41131),o=n(5847),a=r.has,s=r.toKey;i({target:"Reflect",stat:!0},{hasOwnMetadata:function(t,e){var n=arguments.length<3?void 0:s(arguments[2]);return a(t,o(e),n)}})},44638:(t,e,n)=>{"use strict";var i=n(70351),r=n(41131),o=n(5847),a=r.toKey,s=r.set;i({target:"Reflect",stat:!0},{metadata:function(t,e){return function(n,i){s(t,e,o(n),a(i))}}})},92339:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(16188);i({target:"Set",proto:!0,real:!0,forced:r},{addAll:function(){return o.apply(this,arguments)}})},71542:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73994);i({target:"Set",proto:!0,real:!0,forced:r},{deleteAll:function(){return o.apply(this,arguments)}})},17963:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73683),a=n(1823),s=n(5847),l=n(44847),u=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{difference:function(t){var e=s(this),n=new(l(e,o("Set")))(e),i=a(n.delete);return u(t,(function(t){i.call(n,t)})),n}})},88660:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(97571),s=n(3691),l=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{every:function(t){var e=o(this),n=s(e),i=a(t,arguments.length>1?arguments[1]:void 0,3);return!l(n,(function(t,n){if(!i(t,t,e))return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},34138:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73683),a=n(1823),s=n(5847),l=n(97571),u=n(44847),c=n(3691),h=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{filter:function(t){var e=s(this),n=c(e),i=l(t,arguments.length>1?arguments[1]:void 0,3),r=new(u(e,o("Set"))),d=a(r.add);return h(n,(function(t){i(t,t,e)&&d.call(r,t)}),{IS_ITERATOR:!0}),r}})},77493:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(97571),s=n(3691),l=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{find:function(t){var e=o(this),n=s(e),i=a(t,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(t,n){if(i(t,t,e))return n(t)}),{IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},30874:(t,e,n)=>{"use strict";n(70351)({target:"Set",stat:!0},{from:n(23057)})},49455:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73683),a=n(1823),s=n(5847),l=n(44847),u=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{intersection:function(t){var e=s(this),n=new(l(e,o("Set"))),i=a(e.has),r=a(n.add);return u(t,(function(t){i.call(e,t)&&r.call(n,t)})),n}})},74084:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(1823),a=n(5847),s=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{isDisjointFrom:function(t){var e=a(this),n=o(e.has);return!s(t,(function(t,i){if(!0===n.call(e,t))return i()}),{INTERRUPTED:!0}).stopped}})},90999:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73683),a=n(1823),s=n(16487),l=n(5847),u=n(43948),c=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{isSubsetOf:function(t){var e=u(this),n=l(t),i=n.has;return s(i)||(n=new(o("Set"))(t),i=a(n.has)),!c(e,(function(t,e){if(!1===i.call(n,t))return e()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},7199:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(1823),a=n(5847),s=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{isSupersetOf:function(t){var e=a(this),n=o(e.has);return!s(t,(function(t,i){if(!1===n.call(e,t))return i()}),{INTERRUPTED:!0}).stopped}})},50792:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(3691),s=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{join:function(t){var e=o(this),n=a(e),i=void 0===t?",":String(t),r=[];return s(n,r.push,{that:r,IS_ITERATOR:!0}),r.join(i)}})},72853:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73683),a=n(1823),s=n(5847),l=n(97571),u=n(44847),c=n(3691),h=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{map:function(t){var e=s(this),n=c(e),i=l(t,arguments.length>1?arguments[1]:void 0,3),r=new(u(e,o("Set"))),d=a(r.add);return h(n,(function(t){d.call(r,i(t,t,e))}),{IS_ITERATOR:!0}),r}})},54577:(t,e,n)=>{"use strict";n(70351)({target:"Set",stat:!0},{of:n(21226)})},15181:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(1823),a=n(5847),s=n(3691),l=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{reduce:function(t){var e=a(this),n=s(e),i=arguments.length<2,r=i?void 0:arguments[1];if(o(t),l(n,(function(n){i?(i=!1,r=n):r=t(r,n,n,e)}),{IS_ITERATOR:!0}),i)throw TypeError("Reduce of empty set with no initial value");return r}})},30093:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(5847),a=n(97571),s=n(3691),l=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{some:function(t){var e=o(this),n=s(e),i=a(t,arguments.length>1?arguments[1]:void 0,3);return l(n,(function(t,n){if(i(t,t,e))return n()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},27785:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73683),a=n(1823),s=n(5847),l=n(44847),u=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{symmetricDifference:function(t){var e=s(this),n=new(l(e,o("Set")))(e),i=a(n.delete),r=a(n.add);return u(t,(function(t){i.call(n,t)||r.call(n,t)})),n}})},64612:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73683),a=n(1823),s=n(5847),l=n(44847),u=n(95046);i({target:"Set",proto:!0,real:!0,forced:r},{union:function(t){var e=s(this),n=new(l(e,o("Set")))(e);return u(t,a(n.add),{that:n}),n}})},32492:(t,e,n)=>{"use strict";var i=n(70351),r=n(54409).charAt;i({target:"String",proto:!0,forced:n(48126)((function(){return"𠮷"!=="𠮷".at(0)}))},{at:function(t){return r(this,t)}})},19027:(t,e,n)=>{"use strict";var i=n(70351),r=n(97719),o=n(96583),a=n(95683),s=n(74148),l=n(54409),u=l.codeAt,c=l.charAt,h="String Iterator",d=s.set,f=s.getterFor(h),m=r((function(t){d(this,{type:h,string:t,index:0})}),"String",(function(){var t,e=f(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=c(n,i),e.index+=t.length,{value:{codePoint:u(t,0),position:i},done:!1})}));i({target:"String",proto:!0},{codePoints:function(){return new m(a(o(this)))}})},25440:(t,e,n)=>{"use strict";n(23430)},47258:(t,e,n)=>{"use strict";n(41355)},3650:(t,e,n)=>{"use strict";n(21005)("asyncDispose")},67109:(t,e,n)=>{"use strict";n(21005)("dispose")},62765:(t,e,n)=>{"use strict";n(21005)("matcher")},30270:(t,e,n)=>{"use strict";n(21005)("metadata")},29945:(t,e,n)=>{"use strict";n(21005)("observable")},75794:(t,e,n)=>{"use strict";n(21005)("patternMatch")},7934:(t,e,n)=>{"use strict";n(21005)("replaceAll")},50303:(t,e,n)=>{"use strict";n(40487)},74345:(t,e,n)=>{"use strict";var i=n(15290),r=n(16443).filterReject,o=n(57660),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("filterOut",(function(t){var e=r(a(this),t,arguments.length>1?arguments[1]:void 0);return o(this,e)}))},22165:(t,e,n)=>{"use strict";var i=n(15290),r=n(16443).filterReject,o=n(57660),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("filterReject",(function(t){var e=r(a(this),t,arguments.length>1?arguments[1]:void 0);return o(this,e)}))},69432:(t,e,n)=>{"use strict";var i=n(15290),r=n(40321).findLastIndex,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("findLastIndex",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},43576:(t,e,n)=>{"use strict";var i=n(15290),r=n(40321).findLast,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("findLast",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},66559:(t,e,n)=>{"use strict";var i=n(7418),r=n(16364),o=n(97361),a=n(15290),s=n(12674),l=a.aTypedArrayConstructor;(0,a.exportTypedArrayStaticMethod)("fromAsync",(function(t){var e=i(this);return r.apply(Array,arguments).then((function(t){return s(l(e),t)}))}),o)},66703:(t,e,n)=>{"use strict";var i=n(15290),r=n(19878),o=n(12079),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("groupBy",(function(t){var e=arguments.length>1?arguments[1]:void 0;return r(a(this),t,e,o)}))},32108:(t,e,n)=>{"use strict";var i=n(15290),r=n(39537),o=n(57660),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("uniqueBy",(function(t){return o(this,r.call(a(this),t))}))},8746:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73994);i({target:"WeakMap",proto:!0,real:!0,forced:r},{deleteAll:function(){return o.apply(this,arguments)}})},54133:(t,e,n)=>{"use strict";n(70351)({target:"WeakMap",proto:!0,real:!0,forced:n(37312)},{emplace:n(36993)})},83385:(t,e,n)=>{"use strict";n(70351)({target:"WeakMap",stat:!0},{from:n(23057)})},55586:(t,e,n)=>{"use strict";n(70351)({target:"WeakMap",stat:!0},{of:n(21226)})},65405:(t,e,n)=>{"use strict";n(70351)({target:"WeakMap",proto:!0,real:!0,forced:n(37312)},{upsert:n(54440)})},74352:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(16188);i({target:"WeakSet",proto:!0,real:!0,forced:r},{addAll:function(){return o.apply(this,arguments)}})},61953:(t,e,n)=>{"use strict";var i=n(70351),r=n(37312),o=n(73994);i({target:"WeakSet",proto:!0,real:!0,forced:r},{deleteAll:function(){return o.apply(this,arguments)}})},4945:(t,e,n)=>{"use strict";n(70351)({target:"WeakSet",stat:!0},{from:n(23057)})},82026:(t,e,n)=>{"use strict";n(70351)({target:"WeakSet",stat:!0},{of:n(21226)})},83275:(t,e,n)=>{"use strict";var i=n(85326),r=n(45466),o=n(54706),a=n(85713),s=n(28474),l=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var u in r)l(i[u]&&i[u].prototype);l(o)},37140:(t,e,n)=>{"use strict";var i=n(85326),r=n(45466),o=n(54706),a=n(13329),s=n(28474),l=n(61219),u=l("iterator"),c=l("toStringTag"),h=a.values,d=function(t,e){if(t){if(t[u]!==h)try{s(t,u,h)}catch(e){t[u]=h}if(t[c]||s(t,c,e),r[e])for(var n in a)if(t[n]!==a[n])try{s(t,n,a[n])}catch(e){t[n]=a[n]}}};for(var f in r)d(i[f]&&i[f].prototype,f);d(o,"DOMTokenList")},64247:(t,e,n)=>{"use strict";var i=n(70351),r=n(85326),o=n(32973);i({global:!0,bind:!0,enumerable:!0,forced:!r.setImmediate||!r.clearImmediate},{setImmediate:o.set,clearImmediate:o.clear})},90843:(t,e,n)=>{"use strict";var i=n(70351),r=n(85326),o=n(50065),a=n(23961),s=r.process;i({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){var e=a&&s.domain;o(e?e.bind(t):t)}})},9495:(t,e,n)=>{"use strict";var i=n(70351),r=n(85326),o=n(16487),a=n(329),s=[].slice,l=function(t){return function(e,n){var i=arguments.length>2,r=i?s.call(arguments,2):void 0;return t(i?function(){(o(e)?e:Function(e)).apply(this,r)}:e,n)}};i({global:!0,bind:!0,forced:/MSIE .\./.test(a)},{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},17189:(t,e,n)=>{"use strict";n(13329);var i=n(70351),r=n(73683),o=n(57166),a=n(14387),s=n(29906),l=n(4005),u=n(97719),c=n(74148),h=n(4827),d=n(16487),f=n(56896),m=n(97571),p=n(40281),C=n(5847),v=n(32176),g=n(95683),y=n(85276),E=n(61276),S=n(43948),b=n(60675),x=n(61219),w=r("fetch"),_=r("Request"),I=_&&_.prototype,A=r("Headers"),U=x("iterator"),F="URLSearchParams",M="URLSearchParamsIterator",D=c.set,T=c.getterFor(F),R=c.getterFor(M),P=/\+/g,B=Array(4),L=function(t){return B[t-1]||(B[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},O=function(t){try{return decodeURIComponent(t)}catch(e){return t}},k=function(t){var e=t.replace(P," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(L(n--),O);return e}},N=/[!'()~]|%20/g,G={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},V=function(t){return G[t]},j=function(t){return encodeURIComponent(t).replace(N,V)},W=function(t,e){if(e)for(var n,i,r=e.split("&"),o=0;o<r.length;)(n=r[o++]).length&&(i=n.split("="),t.push({key:k(i.shift()),value:k(i.join("="))}))},H=function(t){this.entries.length=0,W(this.entries,t)},$=function(t,e){if(t<e)throw TypeError("Not enough arguments")},z=u((function(t,e){D(this,{type:M,iterator:S(T(t).entries),kind:e})}),"Iterator",(function(){var t=R(this),e=t.kind,n=t.iterator.next(),i=n.value;return n.done||(n.value="keys"===e?i.key:"values"===e?i.value:[i.key,i.value]),n})),q=function(){h(this,q,F);var t,e,n,i,r,o,a,s,l,u=arguments.length>0?arguments[0]:void 0,c=this,d=[];if(D(c,{type:F,entries:d,updateURL:function(){},updateSearchParams:H}),void 0!==u)if(v(u))if(t=b(u))for(n=(e=S(u,t)).next;!(i=n.call(e)).done;){if((a=(o=(r=S(C(i.value))).next).call(r)).done||(s=o.call(r)).done||!o.call(r).done)throw TypeError("Expected sequence with length 2");d.push({key:g(a.value),value:g(s.value)})}else for(l in u)f(u,l)&&d.push({key:l,value:g(u[l])});else W(d,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:g(u))},K=q.prototype;if(s(K,{append:function(t,e){$(arguments.length,2);var n=T(this);n.entries.push({key:g(t),value:g(e)}),n.updateURL()},delete:function(t){$(arguments.length,1);for(var e=T(this),n=e.entries,i=g(t),r=0;r<n.length;)n[r].key===i?n.splice(r,1):r++;e.updateURL()},get:function(t){$(arguments.length,1);for(var e=T(this).entries,n=g(t),i=0;i<e.length;i++)if(e[i].key===n)return e[i].value;return null},getAll:function(t){$(arguments.length,1);for(var e=T(this).entries,n=g(t),i=[],r=0;r<e.length;r++)e[r].key===n&&i.push(e[r].value);return i},has:function(t){$(arguments.length,1);for(var e=T(this).entries,n=g(t),i=0;i<e.length;)if(e[i++].key===n)return!0;return!1},set:function(t,e){$(arguments.length,1);for(var n,i=T(this),r=i.entries,o=!1,a=g(t),s=g(e),l=0;l<r.length;l++)(n=r[l]).key===a&&(o?r.splice(l--,1):(o=!0,n.value=s));o||r.push({key:a,value:s}),i.updateURL()},sort:function(){var t,e,n,i=T(this),r=i.entries,o=r.slice();for(r.length=0,n=0;n<o.length;n++){for(t=o[n],e=0;e<n;e++)if(r[e].key>t.key){r.splice(e,0,t);break}e===n&&r.push(t)}i.updateURL()},forEach:function(t){for(var e,n=T(this).entries,i=m(t,arguments.length>1?arguments[1]:void 0,3),r=0;r<n.length;)i((e=n[r++]).value,e.key,this)},keys:function(){return new z(this,"keys")},values:function(){return new z(this,"values")},entries:function(){return new z(this,"entries")}},{enumerable:!0}),a(K,U,K.entries,{name:"entries"}),a(K,"toString",(function(){for(var t,e=T(this).entries,n=[],i=0;i<e.length;)t=e[i++],n.push(j(t.key)+"="+j(t.value));return n.join("&")}),{enumerable:!0}),l(q,F),i({global:!0,forced:!o},{URLSearchParams:q}),!o&&d(A)){var Y=function(t){if(v(t)){var e,n=t.body;if(p(n)===F)return(e=t.headers?new A(t.headers):new A).has("content-type")||e.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),y(t,{body:E(0,String(n)),headers:E(0,e)})}return t};if(d(w)&&i({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return w(t,arguments.length>1?Y(arguments[1]):{})}}),d(_)){var J=function(t){return h(this,J,"Request"),new _(t,arguments.length>1?Y(arguments[1]):{})};I.constructor=J,J.prototype=I,i({global:!0,forced:!0},{Request:J})}}t.exports={URLSearchParams:q,getState:T}},18991:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}n(63356);var r,o=n(70351),a=n(5857),s=n(57166),l=n(85326),u=n(784),c=n(14387),h=n(4827),d=n(56896),f=n(78890),m=n(15202),p=n(54409).codeAt,C=n(13312),v=n(95683),g=n(4005),y=n(17189),E=n(74148),S=l.URL,b=y.URLSearchParams,x=y.getState,w=E.set,_=E.getterFor("URL"),I=Math.floor,A=Math.pow,U="Invalid scheme",F="Invalid host",M="Invalid port",D=/[A-Za-z]/,T=/[\d+-.A-Za-z]/,R=/\d/,P=/^0x/i,B=/^[0-7]+$/,L=/^\d+$/,O=/^[\dA-Fa-f]+$/,k=/[\0\t\n\r #%/:<>?@[\\\]^|]/,N=/[\0\t\n\r #/:<>?@[\\\]^|]/,G=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,V=/[\t\n\r]/g,j=function(t,e){var n,i,r;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return F;if(!(n=H(e.slice(1,-1))))return F;t.host=n}else if(Q(t)){if(e=C(e),k.test(e))return F;if(null===(n=W(e)))return F;t.host=n}else{if(N.test(e))return F;for(n="",i=m(e),r=0;r<i.length;r++)n+=J(i[r],z);t.host=n}},W=function(t){var e,n,i,r,o,a,s,l=t.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(e=l.length)>4)return t;for(n=[],i=0;i<e;i++){if(""==(r=l[i]))return t;if(o=10,r.length>1&&"0"==r.charAt(0)&&(o=P.test(r)?16:8,r=r.slice(8==o?1:2)),""===r)a=0;else{if(!(10==o?L:8==o?B:O).test(r))return t;a=parseInt(r,o)}n.push(a)}for(i=0;i<e;i++)if(a=n[i],i==e-1){if(a>=A(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),i=0;i<n.length;i++)s+=n[i]*A(256,3-i);return s},H=function(t){var e,n,i,r,o,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,h=0,d=function(){return t.charAt(h)};if(":"==d()){if(":"!=t.charAt(1))return;h+=2,c=++u}for(;d();){if(8==u)return;if(":"!=d()){for(e=n=0;n<4&&O.test(d());)e=16*e+parseInt(d(),16),h++,n++;if("."==d()){if(0==n)return;if(h-=n,u>6)return;for(i=0;d();){if(r=null,i>0){if(!("."==d()&&i<4))return;h++}if(!R.test(d()))return;for(;R.test(d());){if(o=parseInt(d(),10),null===r)r=o;else{if(0==r)return;r=10*r+o}if(r>255)return;h++}l[u]=256*l[u]+r,2!=++i&&4!=i||u++}if(4!=i)return;break}if(":"==d()){if(h++,!d())return}else if(d())return;l[u++]=e}else{if(null!==c)return;h++,c=++u}}if(null!==c)for(a=u-c,u=7;0!=u&&a>0;)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s;else if(8!=u)return;return l},$=function(t){var e,n,r,o;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=I(t/256);return e.join(".")}if("object"==i(t)){for(e="",r=function(t){for(var e=null,n=1,i=null,r=0,o=0;o<8;o++)0!==t[o]?(r>n&&(e=i,n=r),i=null,r=0):(null===i&&(i=o),++r);return r>n&&(e=i,n=r),e}(t),n=0;n<8;n++)o&&0===t[n]||(o&&(o=!1),r===n?(e+=n?":":"::",o=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},z={},q=f({},z,{" ":1,'"':1,"<":1,">":1,"`":1}),K=f({},q,{"#":1,"?":1,"{":1,"}":1}),Y=f({},K,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),J=function(t,e){var n=p(t,0);return n>32&&n<127&&!d(e,t)?t:encodeURIComponent(t)},X={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Q=function(t){return d(X,t.scheme)},Z=function(t){return""!=t.username||""!=t.password},tt=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},et=function(t,e){var n;return 2==t.length&&D.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},nt=function(t){var e;return t.length>1&&et(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},it=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&et(e[0],!0)||e.pop()},rt=function(t){return"."===t||"%2e"===t.toLowerCase()},ot={},at={},st={},lt={},ut={},ct={},ht={},dt={},ft={},mt={},pt={},Ct={},vt={},gt={},yt={},Et={},St={},bt={},xt={},wt={},_t={},It=function(t,e,n,i){var o,a,s,l,u,c=n||ot,h=0,f="",p=!1,C=!1,v=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(G,"")),e=e.replace(V,""),o=m(e);h<=o.length;){switch(a=o[h],c){case ot:if(!a||!D.test(a)){if(n)return U;c=st;continue}f+=a.toLowerCase(),c=at;break;case at:if(a&&(T.test(a)||"+"==a||"-"==a||"."==a))f+=a.toLowerCase();else{if(":"!=a){if(n)return U;f="",c=st,h=0;continue}if(n&&(Q(t)!=d(X,f)||"file"==f&&(Z(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=f,n)return void(Q(t)&&X[t.scheme]==t.port&&(t.port=null));f="","file"==t.scheme?c=gt:Q(t)&&i&&i.scheme==t.scheme?c=lt:Q(t)?c=dt:"/"==o[h+1]?(c=ut,h++):(t.cannotBeABaseURL=!0,t.path.push(""),c=xt)}break;case st:if(!i||i.cannotBeABaseURL&&"#"!=a)return U;if(i.cannotBeABaseURL&&"#"==a){t.scheme=i.scheme,t.path=i.path.slice(),t.query=i.query,t.fragment="",t.cannotBeABaseURL=!0,c=_t;break}c="file"==i.scheme?gt:ct;continue;case lt:if("/"!=a||"/"!=o[h+1]){c=ct;continue}c=ft,h++;break;case ut:if("/"==a){c=mt;break}c=bt;continue;case ct:if(t.scheme=i.scheme,a==r)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query;else if("/"==a||"\\"==a&&Q(t))c=ht;else if("?"==a)t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query="",c=wt;else{if("#"!=a){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.path.pop(),c=bt;continue}t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,t.path=i.path.slice(),t.query=i.query,t.fragment="",c=_t}break;case ht:if(!Q(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=i.username,t.password=i.password,t.host=i.host,t.port=i.port,c=bt;continue}c=mt}else c=ft;break;case dt:if(c=ft,"/"!=a||"/"!=f.charAt(h+1))continue;h++;break;case ft:if("/"!=a&&"\\"!=a){c=mt;continue}break;case mt:if("@"==a){p&&(f="%40"+f),p=!0,s=m(f);for(var g=0;g<s.length;g++){var y=s[g];if(":"!=y||v){var E=J(y,Y);v?t.password+=E:t.username+=E}else v=!0}f=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(t)){if(p&&""==f)return"Invalid authority";h-=m(f).length+1,f="",c=pt}else f+=a;break;case pt:case Ct:if(n&&"file"==t.scheme){c=Et;continue}if(":"!=a||C){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(t)){if(Q(t)&&""==f)return F;if(n&&""==f&&(Z(t)||null!==t.port))return;if(l=j(t,f))return l;if(f="",c=St,n)return;continue}"["==a?C=!0:"]"==a&&(C=!1),f+=a}else{if(""==f)return F;if(l=j(t,f))return l;if(f="",c=vt,n==Ct)return}break;case vt:if(!R.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(t)||n){if(""!=f){var S=parseInt(f,10);if(S>65535)return M;t.port=Q(t)&&S===X[t.scheme]?null:S,f=""}if(n)return;c=St;continue}return M}f+=a;break;case gt:if(t.scheme="file","/"==a||"\\"==a)c=yt;else{if(!i||"file"!=i.scheme){c=bt;continue}if(a==r)t.host=i.host,t.path=i.path.slice(),t.query=i.query;else if("?"==a)t.host=i.host,t.path=i.path.slice(),t.query="",c=wt;else{if("#"!=a){nt(o.slice(h).join(""))||(t.host=i.host,t.path=i.path.slice(),it(t)),c=bt;continue}t.host=i.host,t.path=i.path.slice(),t.query=i.query,t.fragment="",c=_t}}break;case yt:if("/"==a||"\\"==a){c=Et;break}i&&"file"==i.scheme&&!nt(o.slice(h).join(""))&&(et(i.path[0],!0)?t.path.push(i.path[0]):t.host=i.host),c=bt;continue;case Et:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&et(f))c=bt;else if(""==f){if(t.host="",n)return;c=St}else{if(l=j(t,f))return l;if("localhost"==t.host&&(t.host=""),n)return;f="",c=St}continue}f+=a;break;case St:if(Q(t)){if(c=bt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(c=bt,"/"!=a))continue}else t.fragment="",c=_t;else t.query="",c=wt;break;case bt:if(a==r||"/"==a||"\\"==a&&Q(t)||!n&&("?"==a||"#"==a)){if(".."===(u=(u=f).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(it(t),"/"==a||"\\"==a&&Q(t)||t.path.push("")):rt(f)?"/"==a||"\\"==a&&Q(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&et(f)&&(t.host&&(t.host=""),f=f.charAt(0)+":"),t.path.push(f)),f="","file"==t.scheme&&(a==r||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",c=wt):"#"==a&&(t.fragment="",c=_t)}else f+=J(a,K);break;case xt:"?"==a?(t.query="",c=wt):"#"==a?(t.fragment="",c=_t):a!=r&&(t.path[0]+=J(a,z));break;case wt:n||"#"!=a?a!=r&&("'"==a&&Q(t)?t.query+="%27":t.query+="#"==a?"%23":J(a,z)):(t.fragment="",c=_t);break;case _t:a!=r&&(t.fragment+=J(a,q))}h++}},At=function(t){var e,n,i=h(this,At,"URL"),r=arguments.length>1?arguments[1]:void 0,o=v(t),s=w(i,{type:"URL"});if(void 0!==r)if(r instanceof At)e=_(r);else if(n=It(e={},v(r)))throw TypeError(n);if(n=It(s,o,null,e))throw TypeError(n);var l=s.searchParams=new b,u=x(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},a||(i.href=Ft.call(i),i.origin=Mt.call(i),i.protocol=Dt.call(i),i.username=Tt.call(i),i.password=Rt.call(i),i.host=Pt.call(i),i.hostname=Bt.call(i),i.port=Lt.call(i),i.pathname=Ot.call(i),i.search=kt.call(i),i.searchParams=Nt.call(i),i.hash=Gt.call(i))},Ut=At.prototype,Ft=function(){var t=_(this),e=t.scheme,n=t.username,i=t.password,r=t.host,o=t.port,a=t.path,s=t.query,l=t.fragment,u=e+":";return null!==r?(u+="//",Z(t)&&(u+=n+(i?":"+i:"")+"@"),u+=$(r),null!==o&&(u+=":"+o)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},Mt=function(){var t=_(this),e=t.scheme,n=t.port;if("blob"==e)try{return new At(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Q(t)?e+"://"+$(t.host)+(null!==n?":"+n:""):"null"},Dt=function(){return _(this).scheme+":"},Tt=function(){return _(this).username},Rt=function(){return _(this).password},Pt=function(){var t=_(this),e=t.host,n=t.port;return null===e?"":null===n?$(e):$(e)+":"+n},Bt=function(){var t=_(this).host;return null===t?"":$(t)},Lt=function(){var t=_(this).port;return null===t?"":String(t)},Ot=function(){var t=_(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},kt=function(){var t=_(this).query;return t?"?"+t:""},Nt=function(){return _(this).searchParams},Gt=function(){var t=_(this).fragment;return t?"#"+t:""},Vt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(a&&u(Ut,{href:Vt(Ft,(function(t){var e=_(this),n=v(t),i=It(e,n);if(i)throw TypeError(i);x(e.searchParams).updateSearchParams(e.query)})),origin:Vt(Mt),protocol:Vt(Dt,(function(t){var e=_(this);It(e,v(t)+":",ot)})),username:Vt(Tt,(function(t){var e=_(this),n=m(v(t));if(!tt(e)){e.username="";for(var i=0;i<n.length;i++)e.username+=J(n[i],Y)}})),password:Vt(Rt,(function(t){var e=_(this),n=m(v(t));if(!tt(e)){e.password="";for(var i=0;i<n.length;i++)e.password+=J(n[i],Y)}})),host:Vt(Pt,(function(t){var e=_(this);e.cannotBeABaseURL||It(e,v(t),pt)})),hostname:Vt(Bt,(function(t){var e=_(this);e.cannotBeABaseURL||It(e,v(t),Ct)})),port:Vt(Lt,(function(t){var e=_(this);tt(e)||(""==(t=v(t))?e.port=null:It(e,t,vt))})),pathname:Vt(Ot,(function(t){var e=_(this);e.cannotBeABaseURL||(e.path=[],It(e,v(t),St))})),search:Vt(kt,(function(t){var e=_(this);""==(t=v(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",It(e,t,wt)),x(e.searchParams).updateSearchParams(e.query)})),searchParams:Vt(Nt),hash:Vt(Gt,(function(t){var e=_(this);""!=(t=v(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",It(e,t,_t)):e.fragment=null}))}),c(Ut,"toJSON",(function(){return Ft.call(this)}),{enumerable:!0}),c(Ut,"toString",(function(){return Ft.call(this)}),{enumerable:!0}),S){var jt=S.createObjectURL,Wt=S.revokeObjectURL;jt&&c(At,"createObjectURL",(function(t){return jt.apply(S,arguments)})),Wt&&c(At,"revokeObjectURL",(function(t){return Wt.apply(S,arguments)}))}g(At,"URL"),o({global:!0,forced:!s,sham:!a},{URL:At})},56040:(t,e,n)=>{"use strict";n(70351)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},94453:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(){if("object"===("undefined"==typeof globalThis?"undefined":i(globalThis)))return globalThis;var t;try{t=this||new Function("return this")()}catch(t){if("object"===("undefined"==typeof window?"undefined":i(window)))return window;if("object"===("undefined"==typeof self?"undefined":i(self)))return self;if(void 0!==n.g)return n.g}return t}()},69275:(t,e,n)=>{"use strict";var i,r,o;function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t=n.nmd(t),r="undefined"!=typeof window?window:void 0,o=function(n,r){var o=[],s=Object.getPrototypeOf,l=o.slice,u=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},c=o.push,h=o.indexOf,d={},f=d.toString,m=d.hasOwnProperty,p=m.toString,C=p.call(Object),v={},g=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function(t){return null!=t&&t===t.window},E=n.document,S={type:!0,src:!0,nonce:!0,noModule:!0};function b(t,e,n){var i,r,o=(n=n||E).createElement("script");if(o.text=t,e)for(i in S)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function x(t){return null==t?t+"":"object"===a(t)||"function"==typeof t?d[f.call(t)]||"object":a(t)}var w="3.5.1",_=function t(e,n){return new t.fn.init(e,n)};function I(t){var e=!!t&&"length"in t&&t.length,n=x(t);return!g(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}_.fn=_.prototype={jquery:w,constructor:_,length:0,toArray:function(){return l.call(this)},get:function(t){return null==t?l.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=_.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return _.each(this,t)},map:function(t){return this.pushStack(_.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(_.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:o.sort,splice:o.splice},_.extend=_.fn.extend=function(){var t,e,n,i,r,o,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"===a(s)||g(s)||(s={}),l===u&&(s=this,l--);l<u;l++)if(null!=(t=arguments[l]))for(e in t)i=t[e],"__proto__"!==e&&s!==i&&(c&&i&&(_.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[e],o=r&&!Array.isArray(n)?[]:r||_.isPlainObject(n)?n:{},r=!1,s[e]=_.extend(c,o,i)):void 0!==i&&(s[e]=i));return s},_.extend({expando:"jQuery"+(w+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==f.call(t)||(e=s(t))&&("function"!=typeof(n=m.call(e,"constructor")&&e.constructor)||p.call(n)!==C))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){b(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(I(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(I(Object(t))?_.merge(n,"string"==typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:h.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,a=!n;r<o;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,a=[];if(I(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&a.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&a.push(r);return u(a)},guid:1,support:v}),"function"==typeof Symbol&&(_.fn[Symbol.iterator]=o[Symbol.iterator]),_.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){d["[object "+e+"]"]=e.toLowerCase()}));var A=function(t){var e,n,i,r,o,a,s,l,u,c,h,d,f,m,p,C,v,g,y,E="sizzle"+1*new Date,S=t.document,b=0,x=0,w=lt(),_=lt(),I=lt(),A=lt(),U=function(t,e){return t===e&&(h=!0),0},F={}.hasOwnProperty,M=[],D=M.pop,T=M.push,R=M.push,P=M.slice,B=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="[\\x20\\t\\r\\n\\f]",k="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",N="\\[[\\x20\\t\\r\\n\\f]*("+k+")(?:"+O+"*([*^$|!~]?=)"+O+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+k+"))|)"+O+"*\\]",G=":("+k+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",V=new RegExp(O+"+","g"),j=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),W=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),H=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),$=new RegExp(O+"|>"),z=new RegExp(G),q=new RegExp("^"+k+"$"),K={ID:new RegExp("^#("+k+")"),CLASS:new RegExp("^\\.("+k+")"),TAG:new RegExp("^("+k+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+G),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){d()},at=Et((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{R.apply(M=P.call(S.childNodes),S.childNodes),M[S.childNodes.length].nodeType}catch(t){R={apply:M.length?function(t,e){T.apply(t,P.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function st(t,e,i,r){var o,s,u,c,h,m,v,g=e&&e.ownerDocument,S=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==S&&9!==S&&11!==S)return i;if(!r&&(d(e),e=e||f,p)){if(11!==S&&(h=Z.exec(t)))if(o=h[1]){if(9===S){if(!(u=e.getElementById(o)))return i;if(u.id===o)return i.push(u),i}else if(g&&(u=g.getElementById(o))&&y(e,u)&&u.id===o)return i.push(u),i}else{if(h[2])return R.apply(i,e.getElementsByTagName(t)),i;if((o=h[3])&&n.getElementsByClassName&&e.getElementsByClassName)return R.apply(i,e.getElementsByClassName(o)),i}if(n.qsa&&!A[t+" "]&&(!C||!C.test(t))&&(1!==S||"object"!==e.nodeName.toLowerCase())){if(v=t,g=e,1===S&&($.test(t)||H.test(t))){for((g=tt.test(t)&&vt(e.parentNode)||e)===e&&n.scope||((c=e.getAttribute("id"))?c=c.replace(it,rt):e.setAttribute("id",c=E)),s=(m=a(t)).length;s--;)m[s]=(c?"#"+c:":scope")+" "+yt(m[s]);v=m.join(",")}try{return R.apply(i,g.querySelectorAll(v)),i}catch(e){A(t,!0)}finally{c===E&&e.removeAttribute("id")}}}return l(t.replace(j,"$1"),e,i,r)}function lt(){var t=[];return function e(n,r){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=r}}function ut(t){return t[E]=!0,t}function ct(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ht(t,e){for(var n=t.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=e}function dt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function mt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function pt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&at(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function Ct(t){return ut((function(e){return e=+e,ut((function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))}))}))}function vt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=st.support={},o=st.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!Y.test(e||n&&n.nodeName||"HTML")},d=st.setDocument=function(t){var e,r,a=t?t.ownerDocument||t:S;return a!=f&&9===a.nodeType&&a.documentElement?(m=(f=a).documentElement,p=!o(f),S!=f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ot,!1):r.attachEvent&&r.attachEvent("onunload",ot)),n.scope=ct((function(t){return m.appendChild(t).appendChild(f.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ct((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ct((function(t){return t.appendChild(f.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(f.getElementsByClassName),n.getById=ct((function(t){return m.appendChild(t).id=E,!f.getElementsByName||!f.getElementsByName(E).length})),n.getById?(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&p){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find.ID=function(t,e){if(void 0!==e.getElementById&&p){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&p)return e.getElementsByClassName(t)},v=[],C=[],(n.qsa=Q.test(f.querySelectorAll))&&(ct((function(t){var e;m.appendChild(t).innerHTML="<a id='"+E+"'></a><select id='"+E+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&C.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll("[selected]").length||C.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+L+")"),t.querySelectorAll("[id~="+E+"-]").length||C.push("~="),(e=f.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||C.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),t.querySelectorAll(":checked").length||C.push(":checked"),t.querySelectorAll("a#"+E+"+*").length||C.push(".#.+[+~]"),t.querySelectorAll("\\\f"),C.push("[\\r\\n\\f]")})),ct((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=f.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&C.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&C.push(":enabled",":disabled"),m.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&C.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),C.push(",.*:")}))),(n.matchesSelector=Q.test(g=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&ct((function(t){n.disconnectedMatch=g.call(t,"*"),g.call(t,"[s!='']:x"),v.push("!=",G)})),C=C.length&&new RegExp(C.join("|")),v=v.length&&new RegExp(v.join("|")),e=Q.test(m.compareDocumentPosition),y=e||Q.test(m.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return h=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t==f||t.ownerDocument==S&&y(S,t)?-1:e==f||e.ownerDocument==S&&y(S,e)?1:c?B(c,t)-B(c,e):0:4&i?-1:1)}:function(t,e){if(t===e)return h=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!r||!o)return t==f?-1:e==f?1:r?-1:o?1:c?B(c,t)-B(c,e):0;if(r===o)return dt(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?dt(a[i],s[i]):a[i]==S?-1:s[i]==S?1:0},f):f},st.matches=function(t,e){return st(t,null,null,e)},st.matchesSelector=function(t,e){if(d(t),n.matchesSelector&&p&&!A[e+" "]&&(!v||!v.test(e))&&(!C||!C.test(e)))try{var i=g.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){A(e,!0)}return st(e,f,null,[t]).length>0},st.contains=function(t,e){return(t.ownerDocument||t)!=f&&d(t),y(t,e)},st.attr=function(t,e){(t.ownerDocument||t)!=f&&d(t);var r=i.attrHandle[e.toLowerCase()],o=r&&F.call(i.attrHandle,e.toLowerCase())?r(t,e,!p):void 0;return void 0!==o?o:n.attributes||!p?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},st.escape=function(t){return(t+"").replace(it,rt)},st.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},st.uniqueSort=function(t){var e,i=[],r=0,o=0;if(h=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(U),h){for(;e=t[o++];)e===t[o]&&(r=i.push(o));for(;r--;)t.splice(i[r],1)}return c=null,t},r=st.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},(i=st.selectors={cacheLength:50,createPseudo:ut,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||st.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&st.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return K.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&z.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=w[t+" "];return e||(e=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+t+"("+O+"|$)"))&&w(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var r=st.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(V," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,h,d,f,m,p=o!==a?"nextSibling":"previousSibling",C=e.parentNode,v=s&&e.nodeName.toLowerCase(),g=!l&&!s,y=!1;if(C){if(o){for(;p;){for(d=e;d=d[p];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;m=p="only"===t&&!m&&"nextSibling"}return!0}if(m=[a?C.firstChild:C.lastChild],a&&g){for(y=(f=(u=(c=(h=(d=C)[E]||(d[E]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===b&&u[1])&&u[2],d=f&&C.childNodes[f];d=++f&&d&&d[p]||(y=f=0)||m.pop();)if(1===d.nodeType&&++y&&d===e){c[t]=[b,f,y];break}}else if(g&&(y=f=(u=(c=(h=(d=e)[E]||(d[E]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===b&&u[1]),!1===y)for(;(d=++f&&d&&d[p]||(y=f=0)||m.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++y||(g&&((c=(h=d[E]||(d[E]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]=[b,y]),d!==e)););return(y-=r)===i||y%i==0&&y/i>=0}}},PSEUDO:function(t,e){var n,r=i.pseudos[t]||i.setFilters[t.toLowerCase()]||st.error("unsupported pseudo: "+t);return r[E]?r(e):r.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?ut((function(t,n){for(var i,o=r(t,e),a=o.length;a--;)t[i=B(t,o[a])]=!(n[i]=o[a])})):function(t){return r(t,0,n)}):r}},pseudos:{not:ut((function(t){var e=[],n=[],i=s(t.replace(j,"$1"));return i[E]?ut((function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))})):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}})),has:ut((function(t){return function(e){return st(t,e).length>0}})),contains:ut((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||r(e)).indexOf(t)>-1}})),lang:ut((function(t){return q.test(t||"")||st.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=p?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===m},focus:function(t){return t===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:pt(!1),disabled:pt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return X.test(t.nodeName)},input:function(t){return J.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:Ct((function(){return[0]})),last:Ct((function(t,e){return[e-1]})),eq:Ct((function(t,e,n){return[n<0?n+e:n]})),even:Ct((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:Ct((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:Ct((function(t,e,n){for(var i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t})),gt:Ct((function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t}))}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=ft(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=mt(e);function gt(){}function yt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function Et(t,e,n){var i=e.dir,r=e.next,o=r||i,a=n&&"parentNode"===o,s=x++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,r);return!1}:function(e,n,l){var u,c,h,d=[b,s];if(l){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||a)if(c=(h=e[E]||(e[E]={}))[e.uniqueID]||(h[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[i]||e;else{if((u=c[o])&&u[0]===b&&u[1]===s)return d[2]=u[2];if(c[o]=d,d[2]=t(e,n,l))return!0}return!1}}function St(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function bt(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),u&&e.push(s)));return a}function xt(t,e,n,i,r,o){return i&&!i[E]&&(i=xt(i)),r&&!r[E]&&(r=xt(r,o)),ut((function(o,a,s,l){var u,c,h,d=[],f=[],m=a.length,p=o||function(t,e,n){for(var i=0,r=e.length;i<r;i++)st(t,e[i],n);return n}(e||"*",s.nodeType?[s]:s,[]),C=!t||!o&&e?p:bt(p,d,t,s,l),v=n?r||(o?t:m||i)?[]:a:C;if(n&&n(C,v,s,l),i)for(u=bt(v,f),i(u,[],s,l),c=u.length;c--;)(h=u[c])&&(v[f[c]]=!(C[f[c]]=h));if(o){if(r||t){if(r){for(u=[],c=v.length;c--;)(h=v[c])&&u.push(C[c]=h);r(null,v=[],u,l)}for(c=v.length;c--;)(h=v[c])&&(u=r?B(o,h):d[c])>-1&&(o[u]=!(a[u]=h))}}else v=bt(v===a?v.splice(m,v.length):v),r?r(null,a,v,l):R.apply(a,v)}))}function wt(t){for(var e,n,r,o=t.length,a=i.relative[t[0].type],s=a||i.relative[" "],l=a?1:0,c=Et((function(t){return t===e}),s,!0),h=Et((function(t){return B(e,t)>-1}),s,!0),d=[function(t,n,i){var r=!a&&(i||n!==u)||((e=n).nodeType?c(t,n,i):h(t,n,i));return e=null,r}];l<o;l++)if(n=i.relative[t[l].type])d=[Et(St(d),n)];else{if((n=i.filter[t[l].type].apply(null,t[l].matches))[E]){for(r=++l;r<o&&!i.relative[t[r].type];r++);return xt(l>1&&St(d),l>1&&yt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(j,"$1"),n,l<r&&wt(t.slice(l,r)),r<o&&wt(t=t.slice(r)),r<o&&yt(t))}d.push(n)}return St(d)}return gt.prototype=i.filters=i.pseudos,i.setFilters=new gt,a=st.tokenize=function(t,e){var n,r,o,a,s,l,u,c=_[t+" "];if(c)return e?0:c.slice(0);for(s=t,l=[],u=i.preFilter;s;){for(a in n&&!(r=W.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),n=!1,(r=H.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(j," ")}),s=s.slice(n.length)),i.filter)!(r=K[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return e?s.length:s?st.error(t):_(t,l).slice(0)},s=st.compile=function(t,e){var n,r=[],o=[],s=I[t+" "];if(!s){for(e||(e=a(t)),n=e.length;n--;)(s=wt(e[n]))[E]?r.push(s):o.push(s);(s=I(t,function(t,e){var n=e.length>0,r=t.length>0,o=function(o,a,s,l,c){var h,m,C,v=0,g="0",y=o&&[],E=[],S=u,x=o||r&&i.find.TAG("*",c),w=b+=null==S?1:Math.random()||.1,_=x.length;for(c&&(u=a==f||a||c);g!==_&&null!=(h=x[g]);g++){if(r&&h){for(m=0,a||h.ownerDocument==f||(d(h),s=!p);C=t[m++];)if(C(h,a||f,s)){l.push(h);break}c&&(b=w)}n&&((h=!C&&h)&&v--,o&&y.push(h))}if(v+=g,n&&g!==v){for(m=0;C=e[m++];)C(y,E,a,s);if(o){if(v>0)for(;g--;)y[g]||E[g]||(E[g]=D.call(l));E=bt(E)}R.apply(l,E),c&&!o&&E.length>0&&v+e.length>1&&st.uniqueSort(l)}return c&&(b=w,u=S),y};return n?ut(o):o}(o,r))).selector=t}return s},l=st.select=function(t,e,n,r){var o,l,u,c,h,d="function"==typeof t&&t,f=!r&&a(t=d.selector||t);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===e.nodeType&&p&&i.relative[l[1].type]){if(!(e=(i.find.ID(u.matches[0].replace(et,nt),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=K.needsContext.test(t)?0:l.length;o--&&(u=l[o],!i.relative[c=u.type]);)if((h=i.find[c])&&(r=h(u.matches[0].replace(et,nt),tt.test(l[0].type)&&vt(e.parentNode)||e))){if(l.splice(o,1),!(t=r.length&&yt(l)))return R.apply(n,r),n;break}}return(d||s(t,f))(r,e,!p,n,!e||tt.test(t)&&vt(e.parentNode)||e),n},n.sortStable=E.split("").sort(U).join("")===E,n.detectDuplicates=!!h,d(),n.sortDetached=ct((function(t){return 1&t.compareDocumentPosition(f.createElement("fieldset"))})),ct((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||ht("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ct((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ht("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ct((function(t){return null==t.getAttribute("disabled")}))||ht(L,(function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null})),st}(n);_.find=A,(_.expr=A.selectors)[":"]=_.expr.pseudos,_.uniqueSort=_.unique=A.uniqueSort,_.text=A.getText,_.isXMLDoc=A.isXML,_.contains=A.contains,_.escapeSelector=A.escape;var U=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&_(t).is(n))break;i.push(t)}return i},F=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},M=_.expr.match.needsContext;function D(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var T=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(t,e,n){return g(e)?_.grep(t,(function(t,i){return!!e.call(t,i,t)!==n})):e.nodeType?_.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?_.grep(t,(function(t){return h.call(e,t)>-1!==n})):_.filter(e,t,n)}_.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?_.find.matchesSelector(i,t)?[i]:[]:_.find.matches(t,_.grep(e,(function(t){return 1===t.nodeType})))},_.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(_(t).filter((function(){for(e=0;e<i;e++)if(_.contains(r[e],this))return!0})));for(n=this.pushStack([]),e=0;e<i;e++)_.find(t,r[e],n);return i>1?_.uniqueSort(n):n},filter:function(t){return this.pushStack(R(this,t||[],!1))},not:function(t){return this.pushStack(R(this,t||[],!0))},is:function(t){return!!R(this,"string"==typeof t&&M.test(t)?_(t):t||[],!1).length}});var P,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(_.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||P,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:B.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof _?e[0]:e,_.merge(this,_.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:E,!0)),T.test(i[1])&&_.isPlainObject(e))for(i in e)g(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=E.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):g(t)?void 0!==n.ready?n.ready(t):t(_):_.makeArray(t,this)}).prototype=_.fn,P=_(E);var L=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function k(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}_.fn.extend({has:function(t){var e=_(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(_.contains(this,e[t]))return!0}))},closest:function(t,e){var n,i=0,r=this.length,o=[],a="string"!=typeof t&&_(t);if(!M.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&_.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?_.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?h.call(_(t),this[0]):h.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),_.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return U(t,"parentNode")},parentsUntil:function(t,e,n){return U(t,"parentNode",n)},next:function(t){return k(t,"nextSibling")},prev:function(t){return k(t,"previousSibling")},nextAll:function(t){return U(t,"nextSibling")},prevAll:function(t){return U(t,"previousSibling")},nextUntil:function(t,e,n){return U(t,"nextSibling",n)},prevUntil:function(t,e,n){return U(t,"previousSibling",n)},siblings:function(t){return F((t.parentNode||{}).firstChild,t)},children:function(t){return F(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(D(t,"template")&&(t=t.content||t),_.merge([],t.childNodes))}},(function(t,e){_.fn[t]=function(n,i){var r=_.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=_.filter(i,r)),this.length>1&&(O[t]||_.uniqueSort(r),L.test(t)&&r.reverse()),this.pushStack(r)}}));var N=/[^\x20\t\r\n\f]+/g;function G(t){return t}function V(t){throw t}function j(t,e,n,i){var r;try{t&&g(r=t.promise)?r.call(t).done(e).fail(n):t&&g(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}_.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return _.each(t.match(N)||[],(function(t,n){e[n]=!0})),e}(t):_.extend({},t);var e,n,i,r,o=[],a=[],s=-1,l=function(){for(r=r||t.once,i=e=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!e&&(s=o.length-1,a.push(n)),function e(n){_.each(n,(function(n,i){g(i)?t.unique&&u.has(i)||o.push(i):i&&i.length&&"string"!==x(i)&&e(i)}))}(arguments),n&&!e&&l()),this},remove:function(){return _.each(arguments,(function(t,e){for(var n;(n=_.inArray(e,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(t){return t?_.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=a=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],a.push(n),e||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},_.extend({Deferred:function(t){var e=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return _.Deferred((function(n){_.each(e,(function(e,i){var r=g(t[i[4]])&&t[i[4]];o[i[1]]((function(){var t=r&&r.apply(this,arguments);t&&g(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)}))})),t=null})).promise()},then:function(t,i,r){var o=0;function s(t,e,i,r){return function(){var l=this,u=arguments,c=function(){var n,c;if(!(t<o)){if((n=i.apply(l,u))===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"===a(n)||"function"==typeof n)&&n.then,g(c)?r?c.call(n,s(o,e,G,r),s(o,e,V,r)):(o++,c.call(n,s(o,e,G,r),s(o,e,V,r),s(o,e,G,e.notifyWith))):(i!==G&&(l=void 0,u=[n]),(r||e.resolveWith)(l,u))}},h=r?c:function(){try{c()}catch(n){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(n,h.stackTrace),t+1>=o&&(i!==V&&(l=void 0,u=[n]),e.rejectWith(l,u))}};t?h():(_.Deferred.getStackHook&&(h.stackTrace=_.Deferred.getStackHook()),n.setTimeout(h))}}return _.Deferred((function(n){e[0][3].add(s(0,n,g(r)?r:G,n.notifyWith)),e[1][3].add(s(0,n,g(t)?t:G)),e[2][3].add(s(0,n,g(i)?i:V))})).promise()},promise:function(t){return null!=t?_.extend(t,r):r}},o={};return _.each(e,(function(t,n){var a=n[2],s=n[5];r[n[1]]=a.add,s&&a.add((function(){i=s}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith})),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=l.call(arguments),o=_.Deferred(),a=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?l.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(j(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||g(r[n]&&r[n].then)))return o.then();for(;n--;)j(r[n],a(n),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&W.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},_.readyException=function(t){n.setTimeout((function(){throw t}))};var H=_.Deferred();function $(){E.removeEventListener("DOMContentLoaded",$),n.removeEventListener("load",$),_.ready()}_.fn.ready=function(t){return H.then(t).catch((function(t){_.readyException(t)})),this},_.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--_.readyWait:_.isReady)||(_.isReady=!0,!0!==t&&--_.readyWait>0||H.resolveWith(E,[_]))}}),_.ready.then=H.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?n.setTimeout(_.ready):(E.addEventListener("DOMContentLoaded",$),n.addEventListener("load",$));var z=function t(e,n,i,r,o,a,s){var l=0,u=e.length,c=null==i;if("object"===x(i))for(l in o=!0,i)t(e,n,l,i[l],!0,a,s);else if(void 0!==r&&(o=!0,g(r)||(s=!0),c&&(s?(n.call(e,r),n=null):(c=n,n=function(t,e,n){return c.call(_(t),n)})),n))for(;l<u;l++)n(e[l],i,s?r:r.call(e[l],l,n(e[l],i)));return o?e:c?n.call(e):u?n(e[0],i):a},q=/^-ms-/,K=/-([a-z])/g;function Y(t,e){return e.toUpperCase()}function J(t){return t.replace(q,"ms-").replace(K,Y)}var X=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Q(){this.expando=_.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(t){var e=t[this.expando];return e||(e={},X(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[J(e)]=n;else for(i in e)r[J(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][J(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(J):(e=J(e))in i?[e]:e.match(N)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||_.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!_.isEmptyObject(e)}};var Z=new Q,tt=new Q,et=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,nt=/[A-Z]/g;function it(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(nt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:et.test(t)?JSON.parse(t):t)}(n)}catch(t){}tt.set(t,e,n)}else n=void 0;return n}_.extend({hasData:function(t){return tt.hasData(t)||Z.hasData(t)},data:function(t,e,n){return tt.access(t,e,n)},removeData:function(t,e){tt.remove(t,e)},_data:function(t,e,n){return Z.access(t,e,n)},_removeData:function(t,e){Z.remove(t,e)}}),_.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=tt.get(o),1===o.nodeType&&!Z.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=J(i.slice(5)),it(o,i,r[i]));Z.set(o,"hasDataAttrs",!0)}return r}return"object"===a(t)?this.each((function(){tt.set(this,t)})):z(this,(function(e){var n;if(o&&void 0===e)return void 0!==(n=tt.get(o,t))||void 0!==(n=it(o,t))?n:void 0;this.each((function(){tt.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){tt.remove(this,t)}))}}),_.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Z.get(t,e),n&&(!i||Array.isArray(n)?i=Z.access(t,e,_.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){var n=_.queue(t,e=e||"fx"),i=n.length,r=n.shift(),o=_._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,(function(){_.dequeue(t,e)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Z.get(t,n)||Z.access(t,n,{empty:_.Callbacks("once memory").add((function(){Z.remove(t,[e+"queue",n])}))})}}),_.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?_.queue(this[0],t):void 0===e?this:this.each((function(){var n=_.queue(this,t,e);_._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&_.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){_.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=_.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Z.get(o[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var rt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ot=new RegExp("^(?:([+-])=|)("+rt+")([a-z%]*)$","i"),at=["Top","Right","Bottom","Left"],st=E.documentElement,lt=function(t){return _.contains(t.ownerDocument,t)},ut={composed:!0};st.getRootNode&&(lt=function(t){return _.contains(t.ownerDocument,t)||t.getRootNode(ut)===t.ownerDocument});var ct=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&lt(t)&&"none"===_.css(t,"display")};function ht(t,e,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return _.css(t,e,"")},l=s(),u=n&&n[3]||(_.cssNumber[e]?"":"px"),c=t.nodeType&&(_.cssNumber[e]||"px"!==u&&+l)&&ot.exec(_.css(t,e));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)_.style(t,e,c+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),c/=o;_.style(t,e,(c*=2)+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}var dt={};function ft(t){var e,n=t.ownerDocument,i=t.nodeName,r=dt[i];return r||(e=n.body.appendChild(n.createElement(i)),r=_.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),dt[i]=r,r)}function mt(t,e){for(var n,i,r=[],o=0,a=t.length;o<a;o++)(i=t[o]).style&&(n=i.style.display,e?("none"===n&&(r[o]=Z.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&ct(i)&&(r[o]=ft(i))):"none"!==n&&(r[o]="none",Z.set(i,"display",n)));for(o=0;o<a;o++)null!=r[o]&&(t[o].style.display=r[o]);return t}_.fn.extend({show:function(){return mt(this,!0)},hide:function(){return mt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){ct(this)?_(this).show():_(this).hide()}))}});var pt,Ct,vt=/^(?:checkbox|radio)$/i,gt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,yt=/^$|^module$|\/(?:java|ecma)script/i;pt=E.createDocumentFragment().appendChild(E.createElement("div")),(Ct=E.createElement("input")).setAttribute("type","radio"),Ct.setAttribute("checked","checked"),Ct.setAttribute("name","t"),pt.appendChild(Ct),v.checkClone=pt.cloneNode(!0).cloneNode(!0).lastChild.checked,pt.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!pt.cloneNode(!0).lastChild.defaultValue,pt.innerHTML="<option></option>",v.option=!!pt.lastChild;var Et={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function St(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&D(t,e)?_.merge([t],n):n}function bt(t,e){for(var n=0,i=t.length;n<i;n++)Z.set(t[n],"globalEval",!e||Z.get(e[n],"globalEval"))}Et.tbody=Et.tfoot=Et.colgroup=Et.caption=Et.thead,Et.th=Et.td,v.option||(Et.optgroup=Et.option=[1,"<select multiple='multiple'>","</select>"]);var xt=/<|&#?\w+;/;function wt(t,e,n,i,r){for(var o,a,s,l,u,c,h=e.createDocumentFragment(),d=[],f=0,m=t.length;f<m;f++)if((o=t[f])||0===o)if("object"===x(o))_.merge(d,o.nodeType?[o]:o);else if(xt.test(o)){for(a=a||h.appendChild(e.createElement("div")),s=(gt.exec(o)||["",""])[1].toLowerCase(),l=Et[s]||Et._default,a.innerHTML=l[1]+_.htmlPrefilter(o)+l[2],c=l[0];c--;)a=a.lastChild;_.merge(d,a.childNodes),(a=h.firstChild).textContent=""}else d.push(e.createTextNode(o));for(h.textContent="",f=0;o=d[f++];)if(i&&_.inArray(o,i)>-1)r&&r.push(o);else if(u=lt(o),a=St(h.appendChild(o),"script"),u&&bt(a),n)for(c=0;o=a[c++];)yt.test(o.type||"")&&n.push(o);return h}var _t=/^key/,It=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,At=/^([^.]*)(?:\.(.+)|)/;function Ut(){return!0}function Ft(){return!1}function Mt(t,e){return t===function(){try{return E.activeElement}catch(t){}}()==("focus"===e)}function Dt(t,e,n,i,r,o){var s,l;if("object"===a(e)){for(l in"string"!=typeof n&&(i=i||n,n=void 0),e)Dt(t,l,n,i,e[l],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Ft;else if(!r)return t;return 1===o&&(s=r,(r=function(t){return _().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=_.guid++)),t.each((function(){_.event.add(this,e,r,i,n)}))}function Tt(t,e,n){n?(Z.set(t,e,!1),_.event.add(t,e,{namespace:!1,handler:function(t){var i,r,o=Z.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(_.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=l.call(arguments),Z.set(this,e,o),i=n(this,e),this[e](),o!==(r=Z.get(this,e))||i?Z.set(this,e,!1):r={},o!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else o.length&&(Z.set(this,e,{value:_.event.trigger(_.extend(o[0],_.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Z.get(t,e)&&_.event.add(t,e,Ut)}_.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,h,d,f,m,p,C=Z.get(t);if(X(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&_.find.matchesSelector(st,r),n.guid||(n.guid=_.guid++),(l=C.events)||(l=C.events=Object.create(null)),(a=C.handle)||(a=C.handle=function(e){return _.event.triggered!==e.type?_.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(N)||[""]).length;u--;)f=p=(s=At.exec(e[u])||[])[1],m=(s[2]||"").split(".").sort(),f&&(h=_.event.special[f]||{},f=(r?h.delegateType:h.bindType)||f,h=_.event.special[f]||{},c=_.extend({type:f,origType:p,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&_.expr.match.needsContext.test(r),namespace:m.join(".")},o),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,i,m,a)||t.addEventListener&&t.addEventListener(f,a)),h.add&&(h.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?d.splice(d.delegateCount++,0,c):d.push(c),_.event.global[f]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,u,c,h,d,f,m,p,C=Z.hasData(t)&&Z.get(t);if(C&&(l=C.events)){for(u=(e=(e||"").match(N)||[""]).length;u--;)if(f=p=(s=At.exec(e[u])||[])[1],m=(s[2]||"").split(".").sort(),f){for(h=_.event.special[f]||{},d=l[f=(i?h.delegateType:h.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!r&&p!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,h.remove&&h.remove.call(t,c));a&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,m,C.handle)||_.removeEvent(t,f,C.handle),delete l[f])}else for(f in l)_.event.remove(t,f+e[u],n,i,!0);_.isEmptyObject(l)&&Z.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,a,s=new Array(arguments.length),l=_.event.fix(t),u=(Z.get(this,"events")||Object.create(null))[l.type]||[],c=_.event.special[l.type]||{};for(s[0]=l,e=1;e<arguments.length;e++)s[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=_.event.handlers.call(this,l,u),e=0;(r=a[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((_.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,r,o,a,s=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[r=(i=e[n]).selector+" "]&&(a[r]=i.needsContext?_(r,this).index(u)>-1:_.find(r,this,null,[u]).length),a[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return u=this,l<e.length&&s.push({elem:u,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(_.Event.prototype,t,{enumerable:!0,configurable:!0,get:g(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[_.expando]?t:new _.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return vt.test(e.type)&&e.click&&D(e,"input")&&Tt(e,"click",Ut),!1},trigger:function(t){var e=this||t;return vt.test(e.type)&&e.click&&D(e,"input")&&Tt(e,"click"),!0},_default:function(t){var e=t.target;return vt.test(e.type)&&e.click&&D(e,"input")&&Z.get(e,"click")||D(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},_.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},(_.Event=function(t,e){if(!(this instanceof _.Event))return new _.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Ut:Ft,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&_.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[_.expando]=!0}).prototype={constructor:_.Event,isDefaultPrevented:Ft,isPropagationStopped:Ft,isImmediatePropagationStopped:Ft,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Ut,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Ut,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Ut,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},_.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&_t.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&It.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},(function(t,e){_.event.special[t]={setup:function(){return Tt(this,t,Mt),!1},trigger:function(){return Tt(this,t),!0},delegateType:e}})),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){_.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||_.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}})),_.fn.extend({on:function(t,e,n,i){return Dt(this,t,e,n,i)},one:function(t,e,n,i){return Dt(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,_(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"===a(t)){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=Ft),this.each((function(){_.event.remove(this,t,n,e)}))}});var Rt=/<script|<style|<link/i,Pt=/checked\s*(?:[^=]|=\s*.checked.)/i,Bt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Lt(t,e){return D(t,"table")&&D(11!==e.nodeType?e:e.firstChild,"tr")&&_(t).children("tbody")[0]||t}function Ot(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function kt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Nt(t,e){var n,i,r,o,a,s;if(1===e.nodeType){if(Z.hasData(t)&&(s=Z.get(t).events))for(r in Z.remove(e,"handle events"),s)for(n=0,i=s[r].length;n<i;n++)_.event.add(e,r,s[r][n]);tt.hasData(t)&&(o=tt.access(t),a=_.extend({},o),tt.set(e,a))}}function Gt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&vt.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Vt(t,e,n,i){e=u(e);var r,o,a,s,l,c,h=0,d=t.length,f=d-1,m=e[0],p=g(m);if(p||d>1&&"string"==typeof m&&!v.checkClone&&Pt.test(m))return t.each((function(r){var o=t.eq(r);p&&(e[0]=m.call(this,r,o.html())),Vt(o,e,n,i)}));if(d&&(o=(r=wt(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(s=(a=_.map(St(r,"script"),Ot)).length;h<d;h++)l=r,h!==f&&(l=_.clone(l,!0,!0),s&&_.merge(a,St(l,"script"))),n.call(t[h],l,h);if(s)for(c=a[a.length-1].ownerDocument,_.map(a,kt),h=0;h<s;h++)l=a[h],yt.test(l.type||"")&&!Z.access(l,"globalEval")&&_.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?_._evalUrl&&!l.noModule&&_._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):b(l.textContent.replace(Bt,""),l,c))}return t}function jt(t,e,n){for(var i,r=e?_.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||_.cleanData(St(i)),i.parentNode&&(n&&lt(i)&&bt(St(i,"script")),i.parentNode.removeChild(i));return t}_.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,a,s=t.cloneNode(!0),l=lt(t);if(!(v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||_.isXMLDoc(t)))for(a=St(s),i=0,r=(o=St(t)).length;i<r;i++)Gt(o[i],a[i]);if(e)if(n)for(o=o||St(t),a=a||St(s),i=0,r=o.length;i<r;i++)Nt(o[i],a[i]);else Nt(t,s);return(a=St(s,"script")).length>0&&bt(a,!l&&St(t,"script")),s},cleanData:function(t){for(var e,n,i,r=_.event.special,o=0;void 0!==(n=t[o]);o++)if(X(n)){if(e=n[Z.expando]){if(e.events)for(i in e.events)r[i]?_.event.remove(n,i):_.removeEvent(n,i,e.handle);n[Z.expando]=void 0}n[tt.expando]&&(n[tt.expando]=void 0)}}}),_.fn.extend({detach:function(t){return jt(this,t,!0)},remove:function(t){return jt(this,t)},text:function(t){return z(this,(function(t){return void 0===t?_.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Vt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Lt(this,t).appendChild(t)}))},prepend:function(){return Vt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Lt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Vt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Vt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(_.cleanData(St(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return _.clone(this,t,e)}))},html:function(t){return z(this,(function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Rt.test(t)&&!Et[(gt.exec(t)||["",""])[1].toLowerCase()]){t=_.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(_.cleanData(St(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Vt(this,arguments,(function(e){var n=this.parentNode;_.inArray(this,t)<0&&(_.cleanData(St(this)),n&&n.replaceChild(e,this))}),t)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){_.fn[t]=function(t){for(var n,i=[],r=_(t),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),_(r[a])[e](n),c.apply(i,n.get());return this.pushStack(i)}}));var Wt=new RegExp("^("+rt+")(?!px)[a-z%]+$","i"),Ht=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},$t=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},zt=new RegExp(at.join("|"),"i");function qt(t,e,n){var i,r,o,a,s=t.style;return(n=n||Ht(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||lt(t)||(a=_.style(t,e)),!v.pixelBoxStyles()&&Wt.test(a)&&zt.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function Kt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",st.appendChild(u).appendChild(c);var t=n.getComputedStyle(c);i="1%"!==t.top,l=12===e(t.marginLeft),c.style.right="60%",a=36===e(t.right),r=36===e(t.width),c.style.position="absolute",o=12===e(c.offsetWidth/3),st.removeChild(u),c=null}}function e(t){return Math.round(parseFloat(t))}var i,r,o,a,s,l,u=E.createElement("div"),c=E.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===c.style.backgroundClip,_.extend(v,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,i,r;return null==s&&(t=E.createElement("table"),e=E.createElement("tr"),i=E.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",i.style.height="9px",st.appendChild(t).appendChild(e).appendChild(i),r=n.getComputedStyle(e),s=parseInt(r.height)>3,st.removeChild(t)),s}}))}();var Yt=["Webkit","Moz","ms"],Jt=E.createElement("div").style,Xt={};function Qt(t){return _.cssProps[t]||Xt[t]||(t in Jt?t:Xt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Yt.length;n--;)if((t=Yt[n]+e)in Jt)return t}(t)||t)}var Zt=/^(none|table(?!-c[ea]).+)/,te=/^--/,ee={position:"absolute",visibility:"hidden",display:"block"},ne={letterSpacing:"0",fontWeight:"400"};function ie(t,e,n){var i=ot.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function re(t,e,n,i,r,o){var a="width"===e?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=_.css(t,n+at[a],!0,r)),i?("content"===n&&(l-=_.css(t,"padding"+at[a],!0,r)),"margin"!==n&&(l-=_.css(t,"border"+at[a]+"Width",!0,r))):(l+=_.css(t,"padding"+at[a],!0,r),"padding"!==n?l+=_.css(t,"border"+at[a]+"Width",!0,r):s+=_.css(t,"border"+at[a]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))||0),l}function oe(t,e,n){var i=Ht(t),r=(!v.boxSizingReliable()||n)&&"border-box"===_.css(t,"boxSizing",!1,i),o=r,a=qt(t,e,i),s="offset"+e[0].toUpperCase()+e.slice(1);if(Wt.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&r||!v.reliableTrDimensions()&&D(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===_.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===_.css(t,"boxSizing",!1,i),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+re(t,e,n||(r?"border":"content"),o,i,a)+"px"}function ae(t,e,n,i,r){return new ae.prototype.init(t,e,n,i,r)}_.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=qt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,l=J(e),u=te.test(e),c=t.style;if(u||(e=Qt(l)),s=_.cssHooks[e]||_.cssHooks[l],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:c[e];"string"===(o=a(n))&&(r=ot.exec(n))&&r[1]&&(n=ht(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=r&&r[3]||(_.cssNumber[l]?"":"px")),v.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,i))||(u?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,i){var r,o,a,s=J(e);return te.test(e)||(e=Qt(s)),(a=_.cssHooks[e]||_.cssHooks[s])&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=qt(t,e,i)),"normal"===r&&e in ne&&(r=ne[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),_.each(["height","width"],(function(t,e){_.cssHooks[e]={get:function(t,n,i){if(n)return!Zt.test(_.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?oe(t,e,i):$t(t,ee,(function(){return oe(t,e,i)}))},set:function(t,n,i){var r,o=Ht(t),a=!v.scrollboxSize()&&"absolute"===o.position,s=(a||i)&&"border-box"===_.css(t,"boxSizing",!1,o),l=i?re(t,e,i,s,o):0;return s&&a&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-re(t,e,"border",!1,o)-.5)),l&&(r=ot.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=_.css(t,e)),ie(0,n,l)}}})),_.cssHooks.marginLeft=Kt(v.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(qt(t,"marginLeft"))||t.getBoundingClientRect().left-$t(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),_.each({margin:"",padding:"",border:"Width"},(function(t,e){_.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+at[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(_.cssHooks[t+e].set=ie)})),_.fn.extend({css:function(t,e){return z(this,(function(t,e,n){var i,r,o={},a=0;if(Array.isArray(e)){for(i=Ht(t),r=e.length;a<r;a++)o[e[a]]=_.css(t,e[a],!1,i);return o}return void 0!==n?_.style(t,e,n):_.css(t,e)}),t,e,arguments.length>1)}}),_.Tween=ae,ae.prototype={constructor:ae,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||_.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(_.cssNumber[n]?"":"px")},cur:function(){var t=ae.propHooks[this.prop];return t&&t.get?t.get(this):ae.propHooks._default.get(this)},run:function(t){var e,n=ae.propHooks[this.prop];return this.options.duration?this.pos=e=_.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ae.propHooks._default.set(this),this}},ae.prototype.init.prototype=ae.prototype,ae.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=_.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){_.fx.step[t.prop]?_.fx.step[t.prop](t):1!==t.elem.nodeType||!_.cssHooks[t.prop]&&null==t.elem.style[Qt(t.prop)]?t.elem[t.prop]=t.now:_.style(t.elem,t.prop,t.now+t.unit)}}},ae.propHooks.scrollTop=ae.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},_.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},(_.fx=ae.prototype.init).step={};var se,le,ue=/^(?:toggle|show|hide)$/,ce=/queueHooks$/;function he(){le&&(!1===E.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(he):n.setTimeout(he,_.fx.interval),_.fx.tick())}function de(){return n.setTimeout((function(){se=void 0})),se=Date.now()}function fe(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=at[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function me(t,e,n){for(var i,r=(pe.tweeners[e]||[]).concat(pe.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function pe(t,e,n){var i,r,o=0,a=pe.prefilters.length,s=_.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var e=se||de(),n=Math.max(0,u.startTime+u.duration-e),i=1-(n/u.duration||0),o=0,a=u.tweens.length;o<a;o++)u.tweens[o].run(i);return s.notifyWith(t,[u,i,n]),i<1&&a?n:(a||s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:_.extend({},e),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},n),originalProperties:e,originalOptions:n,startTime:se||de(),duration:n.duration,tweens:[],createTween:function(e,n){var i=_.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),c=u.props;for(function(t,e){var n,i,r,o,a;for(n in t)if(r=e[i=J(n)],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=_.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(c,u.opts.specialEasing);o<a;o++)if(i=pe.prefilters[o].call(u,t,c,u.opts))return g(i.stop)&&(_._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return _.map(c,me,u),g(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),_.fx.timer(_.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u}_.Animation=_.extend(pe,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ht(n.elem,t,ot.exec(e),n),n}]},tweener:function(t,e){g(t)?(e=t,t=["*"]):t=t.match(N);for(var n,i=0,r=t.length;i<r;i++)n=t[i],pe.tweeners[n]=pe.tweeners[n]||[],pe.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,o,a,s,l,u,c,h="width"in e||"height"in e,d=this,f={},m=t.style,p=t.nodeType&&ct(t),C=Z.get(t,"fxshow");for(i in n.queue||(null==(a=_._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,_.queue(t,"fx").length||a.empty.fire()}))}))),e)if(r=e[i],ue.test(r)){if(delete e[i],o=o||"toggle"===r,r===(p?"hide":"show")){if("show"!==r||!C||void 0===C[i])continue;p=!0}f[i]=C&&C[i]||_.style(t,i)}if((l=!_.isEmptyObject(e))||!_.isEmptyObject(f))for(i in h&&1===t.nodeType&&(n.overflow=[m.overflow,m.overflowX,m.overflowY],null==(u=C&&C.display)&&(u=Z.get(t,"display")),"none"===(c=_.css(t,"display"))&&(u?c=u:(mt([t],!0),u=t.style.display||u,c=_.css(t,"display"),mt([t]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===_.css(t,"float")&&(l||(d.done((function(){m.display=u})),null==u&&(c=m.display,u="none"===c?"":c)),m.display="inline-block")),n.overflow&&(m.overflow="hidden",d.always((function(){m.overflow=n.overflow[0],m.overflowX=n.overflow[1],m.overflowY=n.overflow[2]}))),l=!1,f)l||(C?"hidden"in C&&(p=C.hidden):C=Z.access(t,"fxshow",{display:u}),o&&(C.hidden=!p),p&&mt([t],!0),d.done((function(){for(i in p||mt([t]),Z.remove(t,"fxshow"),f)_.style(t,i,f[i])}))),l=me(p?C[i]:0,i,d),i in C||(C[i]=l.start,p&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?pe.prefilters.unshift(t):pe.prefilters.push(t)}}),_.speed=function(t,e,n){var i=t&&"object"===a(t)?_.extend({},t):{complete:n||!n&&e||g(t)&&t,duration:t,easing:n&&e||e&&!g(e)&&e};return _.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in _.fx.speeds?i.duration=_.fx.speeds[i.duration]:i.duration=_.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){g(i.old)&&i.old.call(this),i.queue&&_.dequeue(this,i.queue)},i},_.fn.extend({fadeTo:function(t,e,n,i){return this.filter(ct).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=_.isEmptyObject(t),o=_.speed(e,n,i),a=function(){var e=pe(this,_.extend({},t),o);(r||Z.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,r=null!=t&&t+"queueHooks",o=_.timers,a=Z.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&ce.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||_.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=Z.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=_.timers,a=i?i.length:0;for(n.finish=!0,_.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish}))}}),_.each(["toggle","show","hide"],(function(t,e){var n=_.fn[e];_.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(fe(e,!0),t,i,r)}})),_.each({slideDown:fe("show"),slideUp:fe("hide"),slideToggle:fe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){_.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}})),_.timers=[],_.fx.tick=function(){var t,e=0,n=_.timers;for(se=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||_.fx.stop(),se=void 0},_.fx.timer=function(t){_.timers.push(t),_.fx.start()},_.fx.interval=13,_.fx.start=function(){le||(le=!0,he())},_.fx.stop=function(){le=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(t,e){return t=_.fx&&_.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}}))},function(){var t=E.createElement("input"),e=E.createElement("select").appendChild(E.createElement("option"));t.type="checkbox",v.checkOn=""!==t.value,v.optSelected=e.selected,(t=E.createElement("input")).value="t",t.type="radio",v.radioValue="t"===t.value}();var Ce,ve=_.expr.attrHandle;_.fn.extend({attr:function(t,e){return z(this,_.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){_.removeAttr(this,t)}))}}),_.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?_.prop(t,e,n):(1===o&&_.isXMLDoc(t)||(r=_.attrHooks[e.toLowerCase()]||(_.expr.match.bool.test(e)?Ce:void 0)),void 0!==n?null===n?void _.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=_.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!v.radioValue&&"radio"===e&&D(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(N);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),Ce={set:function(t,e,n){return!1===e?_.removeAttr(t,n):t.setAttribute(n,n),n}},_.each(_.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=ve[e]||_.find.attr;ve[e]=function(t,e,i){var r,o,a=e.toLowerCase();return i||(o=ve[a],ve[a]=r,r=null!=n(t,e,i)?a:null,ve[a]=o),r}}));var ge=/^(?:input|select|textarea|button)$/i,ye=/^(?:a|area)$/i;function Ee(t){return(t.match(N)||[]).join(" ")}function Se(t){return t.getAttribute&&t.getAttribute("class")||""}function be(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(N)||[]}_.fn.extend({prop:function(t,e){return z(this,_.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[_.propFix[t]||t]}))}}),_.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&_.isXMLDoc(t)||(e=_.propFix[e]||e,r=_.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=_.find.attr(t,"tabindex");return e?parseInt(e,10):ge.test(t.nodeName)||ye.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(_.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){_.propFix[this.toLowerCase()]=this})),_.fn.extend({addClass:function(t){var e,n,i,r,o,a,s,l=0;if(g(t))return this.each((function(e){_(this).addClass(t.call(this,e,Se(this)))}));if((e=be(t)).length)for(;n=this[l++];)if(r=Se(n),i=1===n.nodeType&&" "+Ee(r)+" "){for(a=0;o=e[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(s=Ee(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,a,s,l=0;if(g(t))return this.each((function(e){_(this).removeClass(t.call(this,e,Se(this)))}));if(!arguments.length)return this.attr("class","");if((e=be(t)).length)for(;n=this[l++];)if(r=Se(n),i=1===n.nodeType&&" "+Ee(r)+" "){for(a=0;o=e[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(s=Ee(i))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=a(t),i="string"===n||Array.isArray(t);return"boolean"==typeof e&&i?e?this.addClass(t):this.removeClass(t):g(t)?this.each((function(n){_(this).toggleClass(t.call(this,n,Se(this),e),e)})):this.each((function(){var e,r,o,a;if(i)for(r=0,o=_(this),a=be(t);e=a[r++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=Se(this))&&Z.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Z.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+Ee(Se(n))+" ").indexOf(e)>-1)return!0;return!1}});var xe=/\r/g;_.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=g(t),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,_(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=_.map(r,(function(t){return null==t?"":t+""}))),(e=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=_.valHooks[r.type]||_.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(xe,""):null==n?"":n:void 0}}),_.extend({valHooks:{option:{get:function(t){var e=_.find.attr(t,"value");return null!=e?e:Ee(_.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],l=a?o+1:r.length;for(i=o<0?l:a?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!D(n.parentNode,"optgroup"))){if(e=_(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,o=_.makeArray(e),a=r.length;a--;)((i=r[a]).selected=_.inArray(_.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),_.each(["radio","checkbox"],(function(){_.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=_.inArray(_(t).val(),e)>-1}},v.checkOn||(_.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),v.focusin="onfocusin"in n;var we=/^(?:focusinfocus|focusoutblur)$/,_e=function(t){t.stopPropagation()};_.extend(_.event,{trigger:function(t,e,i,r){var o,s,l,u,c,h,d,f,p=[i||E],C=m.call(t,"type")?t.type:t,v=m.call(t,"namespace")?t.namespace.split("."):[];if(s=f=l=i=i||E,3!==i.nodeType&&8!==i.nodeType&&!we.test(C+_.event.triggered)&&(C.indexOf(".")>-1&&(v=C.split("."),C=v.shift(),v.sort()),c=C.indexOf(":")<0&&"on"+C,(t=t[_.expando]?t:new _.Event(C,"object"===a(t)&&t)).isTrigger=r?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:_.makeArray(e,[t]),d=_.event.special[C]||{},r||!d.trigger||!1!==d.trigger.apply(i,e))){if(!r&&!d.noBubble&&!y(i)){for(u=d.delegateType||C,we.test(u+C)||(s=s.parentNode);s;s=s.parentNode)p.push(s),l=s;l===(i.ownerDocument||E)&&p.push(l.defaultView||l.parentWindow||n)}for(o=0;(s=p[o++])&&!t.isPropagationStopped();)f=s,t.type=o>1?u:d.bindType||C,(h=(Z.get(s,"events")||Object.create(null))[t.type]&&Z.get(s,"handle"))&&h.apply(s,e),(h=c&&s[c])&&h.apply&&X(s)&&(t.result=h.apply(s,e),!1===t.result&&t.preventDefault());return t.type=C,r||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),e)||!X(i)||c&&g(i[C])&&!y(i)&&((l=i[c])&&(i[c]=null),_.event.triggered=C,t.isPropagationStopped()&&f.addEventListener(C,_e),i[C](),t.isPropagationStopped()&&f.removeEventListener(C,_e),_.event.triggered=void 0,l&&(i[c]=l)),t.result}},simulate:function(t,e,n){var i=_.extend(new _.Event,n,{type:t,isSimulated:!0});_.event.trigger(i,null,e)}}),_.fn.extend({trigger:function(t,e){return this.each((function(){_.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return _.event.trigger(t,e,n,!0)}}),v.focusin||_.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){_.event.simulate(e,t.target,_.event.fix(t))};_.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=Z.access(i,e);r||i.addEventListener(t,n,!0),Z.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=Z.access(i,e)-1;r?Z.access(i,e,r):(i.removeEventListener(t,n,!0),Z.remove(i,e))}}}));var Ie=n.location,Ae={guid:Date.now()},Ue=/\?/;_.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||_.error("Invalid XML: "+t),e};var Fe=/\[\]$/,Me=/\r?\n/g,De=/^(?:submit|button|image|reset|file)$/i,Te=/^(?:input|select|textarea|keygen)/i;function Re(t,e,n,i){var r;if(Array.isArray(e))_.each(e,(function(e,r){n||Fe.test(t)?i(t,r):Re(t+"["+("object"===a(r)&&null!=r?e:"")+"]",r,n,i)}));else if(n||"object"!==x(e))i(t,e);else for(r in e)Re(t+"["+r+"]",e[r],n,i)}_.param=function(t,e){var n,i=[],r=function(t,e){var n=g(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!_.isPlainObject(t))_.each(t,(function(){r(this.name,this.value)}));else for(n in t)Re(n,t[n],e,r);return i.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=_.prop(this,"elements");return t?_.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!_(this).is(":disabled")&&Te.test(this.nodeName)&&!De.test(t)&&(this.checked||!vt.test(t))})).map((function(t,e){var n=_(this).val();return null==n?null:Array.isArray(n)?_.map(n,(function(t){return{name:e.name,value:t.replace(Me,"\r\n")}})):{name:e.name,value:n.replace(Me,"\r\n")}})).get()}});var Pe=/%20/g,Be=/#.*$/,Le=/([?&])_=[^&]*/,Oe=/^(.*?):[ \t]*([^\r\n]*)$/gm,ke=/^(?:GET|HEAD)$/,Ne=/^\/\//,Ge={},Ve={},je="*/".concat("*"),We=E.createElement("a");function He(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(N)||[];if(g(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function $e(t,e,n,i){var r={},o=t===Ve;function a(s){var l;return r[s]=!0,_.each(t[s]||[],(function(t,s){var u=s(e,n,i);return"string"!=typeof u||o||r[u]?o?!(l=u):void 0:(e.dataTypes.unshift(u),a(u),!1)})),l}return a(e.dataTypes[0])||!r["*"]&&a("*")}function ze(t,e){var n,i,r=_.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&_.extend(!0,t,i),t}We.href=Ie.href,_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ie.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ie.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":je,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ze(ze(t,_.ajaxSettings),e):ze(_.ajaxSettings,t)},ajaxPrefilter:He(Ge),ajaxTransport:He(Ve),ajax:function(t,e){"object"===a(t)&&(e=t,t=void 0);var i,r,o,s,l,u,c,h,d,f,m=_.ajaxSetup({},e=e||{}),p=m.context||m,C=m.context&&(p.nodeType||p.jquery)?_(p):_.event,v=_.Deferred(),g=_.Callbacks("once memory"),y=m.statusCode||{},S={},b={},x="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Oe.exec(o);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(t,e){return null==c&&(t=b[t.toLowerCase()]=b[t.toLowerCase()]||t,S[t]=e),this},overrideMimeType:function(t){return null==c&&(m.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)w.always(t[w.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||x;return i&&i.abort(e),I(0,e),this}};if(v.promise(w),m.url=((t||m.url||Ie.href)+"").replace(Ne,Ie.protocol+"//"),m.type=e.method||e.type||m.method||m.type,m.dataTypes=(m.dataType||"*").toLowerCase().match(N)||[""],null==m.crossDomain){u=E.createElement("a");try{u.href=m.url,u.href=u.href,m.crossDomain=We.protocol+"//"+We.host!=u.protocol+"//"+u.host}catch(t){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=_.param(m.data,m.traditional)),$e(Ge,m,e,w),c)return w;for(d in(h=_.event&&m.global)&&0==_.active++&&_.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!ke.test(m.type),r=m.url.replace(Be,""),m.hasContent?m.data&&m.processData&&0===(m.contentType||"").indexOf("application/x-www-form-urlencoded")&&(m.data=m.data.replace(Pe,"+")):(f=m.url.slice(r.length),m.data&&(m.processData||"string"==typeof m.data)&&(r+=(Ue.test(r)?"&":"?")+m.data,delete m.data),!1===m.cache&&(r=r.replace(Le,"$1"),f=(Ue.test(r)?"&":"?")+"_="+Ae.guid+++f),m.url=r+f),m.ifModified&&(_.lastModified[r]&&w.setRequestHeader("If-Modified-Since",_.lastModified[r]),_.etag[r]&&w.setRequestHeader("If-None-Match",_.etag[r])),(m.data&&m.hasContent&&!1!==m.contentType||e.contentType)&&w.setRequestHeader("Content-Type",m.contentType),w.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+je+"; q=0.01":""):m.accepts["*"]),m.headers)w.setRequestHeader(d,m.headers[d]);if(m.beforeSend&&(!1===m.beforeSend.call(p,w,m)||c))return w.abort();if(x="abort",g.add(m.complete),w.done(m.success),w.fail(m.error),i=$e(Ve,m,e,w)){if(w.readyState=1,h&&C.trigger("ajaxSend",[w,m]),c)return w;m.async&&m.timeout>0&&(l=n.setTimeout((function(){w.abort("timeout")}),m.timeout));try{c=!1,i.send(S,I)}catch(t){if(c)throw t;I(-1,t)}}else I(-1,"No Transport");function I(t,e,a,s){var u,d,f,E,S,b=e;c||(c=!0,l&&n.clearTimeout(l),i=void 0,o=s||"",w.readyState=t>0?4:0,u=t>=200&&t<300||304===t,a&&(E=function(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(m,w,a)),!u&&_.inArray("script",m.dataTypes)>-1&&(m.converters["text script"]=function(){}),E=function(t,e,n,i){var r,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(r in u)if((s=r.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(m,E,w,u),u?(m.ifModified&&((S=w.getResponseHeader("Last-Modified"))&&(_.lastModified[r]=S),(S=w.getResponseHeader("etag"))&&(_.etag[r]=S)),204===t||"HEAD"===m.type?b="nocontent":304===t?b="notmodified":(b=E.state,d=E.data,u=!(f=E.error))):(f=b,!t&&b||(b="error",t<0&&(t=0))),w.status=t,w.statusText=(e||b)+"",u?v.resolveWith(p,[d,b,w]):v.rejectWith(p,[w,b,f]),w.statusCode(y),y=void 0,h&&C.trigger(u?"ajaxSuccess":"ajaxError",[w,m,u?d:f]),g.fireWith(p,[w,b]),h&&(C.trigger("ajaxComplete",[w,m]),--_.active||_.event.trigger("ajaxStop")))}return w},getJSON:function(t,e,n){return _.get(t,e,n,"json")},getScript:function(t,e){return _.get(t,void 0,e,"script")}}),_.each(["get","post"],(function(t,e){_[e]=function(t,n,i,r){return g(n)&&(r=r||i,i=n,n=void 0),_.ajax(_.extend({url:t,type:e,dataType:r,data:n,success:i},_.isPlainObject(t)&&t))}})),_.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),_._evalUrl=function(t,e,n){return _.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){_.globalEval(t,e,n)}})},_.fn.extend({wrapAll:function(t){var e;return this[0]&&(g(t)&&(t=t.call(this[0])),e=_(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return g(t)?this.each((function(e){_(this).wrapInner(t.call(this,e))})):this.each((function(){var e=_(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=g(t);return this.each((function(n){_(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){_(this).replaceWith(this.childNodes)})),this}}),_.expr.pseudos.hidden=function(t){return!_.expr.pseudos.visible(t)},_.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var qe={0:200,1223:204},Ke=_.ajaxSettings.xhr();v.cors=!!Ke&&"withCredentials"in Ke,v.ajax=Ke=!!Ke,_.ajaxTransport((function(t){var e,i;if(v.cors||Ke&&!t.crossDomain)return{send:function(r,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);e=function(t){return function(){e&&(e=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(qe[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),i=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout((function(){e&&i()}))},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),_.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return _.globalEval(t),t}}}),_.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),_.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=_("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),E.head.appendChild(e[0])},abort:function(){n&&n()}}}));var Ye,Je=[],Xe=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Je.pop()||_.expando+"_"+Ae.guid++;return this[t]=!0,t}}),_.ajaxPrefilter("json jsonp",(function(t,e,i){var r,o,a,s=!1!==t.jsonp&&(Xe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xe.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Xe,"$1"+r):!1!==t.jsonp&&(t.url+=(Ue.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||_.error(r+" was not called"),a[0]},t.dataTypes[0]="json",o=n[r],n[r]=function(){a=arguments},i.always((function(){void 0===o?_(n).removeProp(r):n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,Je.push(r)),a&&g(o)&&o(a[0]),a=o=void 0})),"script"})),v.createHTMLDocument=((Ye=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ye.childNodes.length),_.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(v.createHTMLDocument?((i=(e=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,e.head.appendChild(i)):e=E),o=!n&&[],(r=T.exec(t))?[e.createElement(r[1])]:(r=wt([t],e,o),o&&o.length&&_(o).remove(),_.merge([],r.childNodes)));var i,r,o},_.fn.load=function(t,e,n){var i,r,o,s=this,l=t.indexOf(" ");return l>-1&&(i=Ee(t.slice(l)),t=t.slice(0,l)),g(e)?(n=e,e=void 0):e&&"object"===a(e)&&(r="POST"),s.length>0&&_.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){o=arguments,s.html(i?_("<div>").append(_.parseHTML(t)).find(i):t)})).always(n&&function(t,e){s.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},_.expr.pseudos.animated=function(t){return _.grep(_.timers,(function(e){return t===e.elem})).length},_.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,u=_.css(t,"position"),c=_(t),h={};"static"===u&&(t.style.position="relative"),s=c.offset(),o=_.css(t,"top"),l=_.css(t,"left"),("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1?(a=(i=c.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),g(e)&&(e=e.call(t,n,_.extend({},s))),null!=e.top&&(h.top=e.top-s.top+a),null!=e.left&&(h.left=e.left-s.left+r),"using"in e?e.using.call(t,h):("number"==typeof h.top&&(h.top+="px"),"number"==typeof h.left&&(h.left+="px"),c.css(h))}},_.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){_.offset.setOffset(this,t,e)}));var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===_.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===_.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=_(t).offset()).top+=_.css(t,"borderTopWidth",!0),r.left+=_.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-_.css(i,"marginTop",!0),left:e.left-r.left-_.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===_.css(t,"position");)t=t.offsetParent;return t||st}))}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;_.fn[t]=function(i){return z(this,(function(t,i,r){var o;if(y(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r}),t,i,arguments.length)}})),_.each(["top","left"],(function(t,e){_.cssHooks[e]=Kt(v.pixelPosition,(function(t,n){if(n)return n=qt(t,e),Wt.test(n)?_(t).position()[e]+"px":n}))})),_.each({Height:"height",Width:"width"},(function(t,e){_.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,i){_.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===o?"margin":"border");return z(this,(function(e,n,r){var o;return y(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?_.css(e,n,s):_.style(e,n,r,s)}),e,a?r:void 0,a)}}))})),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){_.fn[e]=function(t){return this.on(e,t)}})),_.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),_.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){_.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var Qe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;_.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),g(t))return i=l.call(arguments,2),(r=function(){return t.apply(e||this,i.concat(l.call(arguments)))}).guid=t.guid=t.guid||_.guid++,r},_.holdReady=function(t){t?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=D,_.isFunction=g,_.isWindow=y,_.camelCase=J,_.type=x,_.now=Date.now,_.isNumeric=function(t){var e=_.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},_.trim=function(t){return null==t?"":(t+"").replace(Qe,"")},void 0===(i=function(){return _}.apply(e,[]))||(t.exports=i);var Ze=n.jQuery,tn=n.$;return _.noConflict=function(t){return n.$===_&&(n.$=tn),t&&n.jQuery===_&&(n.jQuery=Ze),_},void 0===r&&(n.jQuery=n.$=_),_},"object"===a(t)&&"object"===a(t.exports)?t.exports=r.document?o(r,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return o(t)}:o(r)},1822:(t,e,n)=>{"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r=function(t){var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function c(t,e,n,i){var r=e&&e.prototype instanceof v?e:v,o=Object.create(r.prototype),a=new F(i||[]);return o._invoke=function(t,e,n){var i=d;return function(r,o){if(i===m)throw new Error("Generator is already running");if(i===p){if("throw"===r)throw o;return D()}for(n.method=r,n.arg=o;;){var a=n.delegate;if(a){var s=I(a,n);if(s){if(s===C)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=m;var l=h(t,e,n);if("normal"===l.type){if(i=n.done?p:f,l.arg===C)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}(t,n,a),o}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var d="suspendedStart",f="suspendedYield",m="executing",p="completed",C={};function v(){}function g(){}function y(){}var E={};u(E,a,(function(){return this}));var S=Object.getPrototypeOf,b=S&&S(S(M([])));b&&b!==n&&r.call(b,a)&&(E=b);var x=y.prototype=v.prototype=Object.create(E);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(o,a,s,l){var u=h(t[o],t,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"===i(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,s,l)}),(function(t){n("throw",t,s,l)})):e.resolve(d).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,l)}))}l(u.arg)}var o;this._invoke=function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return o=o?o.then(r,r):r()}}function I(t,n){var i=t.iterator[n.method];if(i===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,I(t,n),"throw"===n.method))return C;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return C}var r=h(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,C;var o=r.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,C):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,C)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function U(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function M(t){if(t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}return{next:D}}function D(){return{value:e,done:!0}}return g.prototype=y,u(x,"constructor",y),u(y,"constructor",g),g.displayName=u(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},w(_.prototype),u(_.prototype,s,(function(){return this})),t.AsyncIterator=_,t.async=function(e,n,i,r,o){void 0===o&&(o=Promise);var a=new _(c(e,n,i,r),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(x),u(x,l,"Generator"),u(x,a,(function(){return this})),u(x,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var i=e.pop();if(i in t)return n.value=i,n.done=!1,n}return n.done=!0,n}},t.values=M,F.prototype={constructor:F,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(U),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(i,r){return s.type="throw",s.arg=t,n.next=i,r&&(n.method="next",n.arg=e),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,C):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),C},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),U(n),C}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;U(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:M(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),C}},t}("object"===i(t=n.nmd(t))?t.exports:{});try{regeneratorRuntime=r}catch(t){"object"===("undefined"==typeof globalThis?"undefined":i(globalThis))?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},34429:()=>{Common.Cs.Define("Bw.App","Bw.Wrapper",{singleton:!0,HandlerEvent:function(t,e,n){Ul.ApplicationCtrlr.on(t,e,n)},FireEvent:function(t,e,n){Ul.ApplicationCtrlr.FireEvent(t,e,n)},GetActiveSystem:function(){var t=Ul.ApplicationCtrlr.GetSelectedSystem();return Bw._wrap(t)},GetSystemById:function(t){var e=Ul.ApplicationCtrlr.GetSystemCtrlrById(t);return Bw._wrap(e)},GetSystemByName:function(t){var e=Ul.ApplicationCtrlr.GetSystemCtrlrByName(t);return Bw._wrap(e)},GetActiveReport:function(){var t=Ul.ApplicationCtrlr.GetSelectedSystem().GetSelectedUlv();return Bw._wrap(t)},SelectSystemById:function(t){Ul.ApplicationCtrlr.SelectSystem(t)},RunDynamicCommandByFolderId:function(t){Common.CustomCodeManager.RunDynamicCommand(t)},GetCurrentSystemNavigator:function(){return Bw.App.GetActiveSystem()._System.SystemData.Navigator}})},56905:()=>{Common.Cs.Define("Bw","",{singleton:!0,dictionary:{},_getWrapper:function(t){return t instanceof Common.MetaObjectWeb?Bw.Mo:t instanceof Common.MetaObjectListWeb?Bw.MoList:t instanceof Ul.FormPanelCtrlr?Bw.Form:t instanceof Ul.FieldInfoBaseCtrlr?Bw.Field:t instanceof Ul.UlvMainCtrlr?Bw.Report:t instanceof Ul.SystemCtrlr?Bw.System:void 0},_wrap:function(t){if(0==Ext.isObject(t)&&0==Ext.isArray(t)||t instanceof Bw.Wrapper)return t;if(Ext.isNotEmpty(t.$Wrapper))return t.$Wrapper;if(Ext.isArray(t)){var e=[];return t.forEach((function(t){e.push(Bw._wrap(t))})),e}var n=Bw._getWrapper(t);if(n){var i=new n(t);return t.$Wrapper=i,i}return t},_unwrap:function(t){if(t instanceof Bw.Wrapper)return t.Unwrap();if(Ext.isArray(t)){var e=[];return t.forEach((function(t){e.push(Bw._unwrap(t))})),e}return t},EditHome:function(){Bw.TilesService&&Bw.TilesService.setEditHome(!0)},RestartStructure:function(t){Bw.Msg.Wait(1e4,"","",""),Common.Ajax.GetServerData("Command.RestartStructure",null,(function(){Bw.Msg.Hide(),"function"==typeof t?t():Bw.Reload()}))},GetWindowSize:function(){var t=document.body.getBoundingClientRect().width;return t<600?"small":t>599&&t<1024?"medium":t>1023&&t<1440?"large":"extra-large"},Logout:function(){Ul.ApplicationCtrlr.Logout()},SetCultureByDisplayName:function(t){var e=null,n=LoginFormData.Cultures;Object.keys(n).forEach((function(i){n[i]==t&&(e=i)})),null!=e&&LoginForm.Language!=e&&LoginForm.setCulture(e)},Reload:function(){window.location.reload()},LocationHref:function(){return window.location.href},Origin:function(){return window.location.origin},Login:function(t,e){var n=e.onSuccess,i=e.onError,r=JSON.stringify(t),o=new Date;AjaxHelper.AjaxRequest("/api/auth/login",r,!0,(function(t){Common.LogManager.AddServerCall("Login",o),LoginAction.ReceiveLoginResult(t,n,i)}),(function(t){"function"==typeof i&&i(t)}),null)},ChangePassword:function(t,e){var n=e.onSuccess,i=e.onError;return Ext.isEmpty(t.newPassword)||Ext.isEmpty(t.newPassword2)||Ext.isEmpty(t.oldPassword)?i(BBB.AlertCompleteFormData):t.newPassword!==t.newPassword2?i(BBB.AlertChangePasswordConfirmationAreNotTheSameDescription):t.oldPassword===t.newPassword?i(BBB.AlertChangePasswordOldNewPasswordAreTheSameDescription):void Common.Ajax.GetServerData_Sync("System94.ChangePassword",t,(function(t){n(t)}),null,(function(t){i(t)}),!0)},ExecuteReport:function(t,e,n,i){return Common.Ajax.GetServerData("List94.GetUnifiedList",t,e,n,i,this)},NavigateTo:function(t){window.document.location.href=t},RunBlMethod:function(){var t=Array.prototype.slice.call(arguments),e=t[0],n=t.slice(1);Bw._unwrapParameters(n);var i=Common.Ajax.RunBlMethod_Server({method:e,parameters:n});return Ext.isObject(i)?i=Bw._makeItObjectAndWrapIt(i):Ext.isArray(i)&&(i=i.map((function(t){return Bw._makeItObjectAndWrapIt(t)}))),i},GetItem:function(t){return this.dictionary[t]},SetItem:function(t,e){this.dictionary[t]=e},RemoveItem:function(t){delete this.dictionary[t]},RunBlMethodAsync:function(t){t=Ext.value(t,{}),Bw._unwrapParameters(t.Parameters),Common.Ajax.RunBlMethod_Async({method:t.Method,parameters:t.Parameters},t.SuccessFn,t.FailFn,t.Scope,t.doReturn)},RunBlMethodWithProgress:function(t){Common.ProgressHelper.RunBlMethodWithProgress(t)},_makeItObjectAndWrapIt:function(t){var e=Common.Util.TryGetValue(t,"$Type");return e&&(t.xtype=e,t=Ext.create(t)),Bw._wrap(t)},RunServiceMethod:function(t,e,n,i,r,o){var a;return Bw._unwrapParameters(e),1==n?a=Common.Ajax.GetServerData_Sync(t,e,i,o,r):Common.Ajax.GetServerData(t,e,i,r,null,o),a},_minifyObject:function(t){var e;return Ext.isObject(t)?t instanceof Common.MetaObjectListWeb?(e=[],t.ForEach((function(t){e.push(t.GetChangedObject())}))):Ext.isFunction(t.GetChangedObject)&&(e=t.GetChangedObject()):e=t,e},_unwrapParameters:function(t){if(Ext.isArray(t))for(var e=0;e<t.length;e++)1==Ext.isArray(t[e])&&this._unwrapParameters(t[e]),0!=Ext.isObject(t[e])&&(t[e]instanceof Bw.Wrapper&&(t[e]=Bw._unwrap(t[e])),t[e]=this._minifyObject(t[e]));else if(Ext.isObject(t))for(var n in t)0!=Ext.isObject(t[n])&&(t[n]instanceof Bw.Wrapper&&(t[n]=Bw._unwrap(t[n])),t[n]=this._minifyObject(t[n]))},_unwrapParameters11111:function(t){if(Ext.isArray(t))for(var e=0;e<t.length;e++)1==Ext.isArray(t[e])&&this._unwrapParameters(t[e]),0!=Ext.isObject(t[e])&&(t[e]instanceof Bw.Wrapper&&(t[e]=Bw._unwrap(t[e])),Ext.isFunction(t[e].GetChangedObject)&&(t[e]=t[e].GetChangedObject()));else if(Ext.isObject(t))for(var n in t)0!=Ext.isObject(t[n])&&(t[n]instanceof Bw.Wrapper&&(t[n]=Bw._unwrap(t[n])),Ext.isFunction(t[n].GetChangedObject)&&(t[n]=t[n].GetChangedObject()))},StartWorkflow:function(t,e){var n={workflowDefId:t.WorkflowDefId,systemName:t.SystemName,workflowName:t.WorkflowName,startActivityName:t.StartActivityName,startObjectId:t.StartObjectId};Ul.WorkflowPanelCtrlr.StartWorkflow(n,e)},IsEmpty:function(t){return Ext.isEmpty(t)},IsNotEmpty:function(t){return!Ext.isEmpty(t)},IsEmptyOrZero:function(t){return Ext.isEmpty(t)||0==t||"0"==t},NewLine:function(){return"<br>"},Decode:function(t){return Ext.decode(t)},TryGetValue:function(t,e,n){return Common.Util.TryGetValue(t,e,n)},Value:function(t,e){return Ext.value(t,defaultvalue)},TryGetId:function(t){return t instanceof Bw.Mo?t.GetId():Ext.isObject(t)?t.Id:(Ext.isString(t),t)},Waterfall:function(t,e,n){Common.Async.Waterfall(t,e,n)},GetChangedMo:function(t){return(t=Bw._unwrap(t))instanceof Common.MetaObjectWeb?t=t.GetChangedObject():Ext.isObject(t)&&Common.Util.TryGetValue(t,"$Type")&&(t=(t=Common.MetaObjectWeb.CreateMo(t)).GetChangedObject()),t},Defer:function(t,e,n){Ext.defer(t,e,n)}}),Common.Cs.Define("Bw.Wrapper","",{_isWrapper:!0,_Object:null,constructor:function(t){this.callParent(arguments),this._Object=t},Unwrap:function(){return this._Object},statics:{_isWrapper:!0}}),Common.Cs.Define("Bw.File","",{singleton:!0,Download:function(t){var e={Url:null,FileId:null,Field:null,Index:0,UseAgent:!1,ViewInBrowser:!1,ConvertTo:null,IsReadOnly:!1,Tag:null};if(e=Common.Merger.Merge(e,t),Ext.isEmpty(e.Url)){if(Ext.isEmpty(e.FileId)&&(e.FileId=this._getFileIdOfField(e.Field,e.Index)),Ext.isEmpty(e.FileId))return void Bw.Msg.Error("شناسه فایل یافت نشد.");Common.File.OpenFile(e.FileId,e.ViewInBrowser,e.Field,e.IsReadOnly,e.UseAgent,e.ConvertTo,e.Tag)}else this.DownloadFile(e.Url)},MailMergeField:function(t,e,n,i,r){t=Bw._unwrap(t),Common.File.MailMerge(t,e,n,i)},_getFileIdOfField:function(t,e){if(!Ext.isEmpty(t)){var n=(t=Bw._unwrap(t)).GetValue();if(!(Ext.isEmpty(n.Files)||(e=Ext.value(e,0),n.Files.length<e+1)))return n.Files[e].Id}},DownloadFile:function(t){t=Ul.ApplicationCtrlr.Const.FileWordPath+"FileDownload.aspx?download_Url="+t+"&viewInBrowser=false",window.open(t,"_blank")},DownloadByFileContent:function(t,e,n){Common.File._openFileInWindow(t,e,n)},ShowFlash:function(t,e,n,i){e=null==e?900:e,n=null==n?600:n,new Ext.Window({title:i,maximizable:!0,animateTarget:Ext.getBody(),closable:!0,modal:!0,border:!0,plain:!0,width:e,height:n,tools:[],layout:"fit",html:'<object type="application/x-shockwave-flash" data="'+t+'"style="width:100%;height:100%;" </object>'}).show()},DownloadFile1:function(t){this.DownloadFile(t)},OpenWord:function(t,e,n,i,r){r&&(Ul.NotificationManager.OnPublishFileWordUpdatedCallback=function(t){var e={FileName:"tmp.docx",Type:"word",FileId:t,IsNew:!0};r._applyFilesChange(e),r.Refresh(!0),r.Adapter.RaiseValueChangedEvent()});var o=Bw.RunBlMethod("GetInvariantId",n),a=Bw.RunBlMethod("GetInvariantId",e),s=Bw.RunBlMethod("GetInvariantId",i),l=Bw.RunBlMethod("GetUserId"),u=window.location.host,c=window.location.protocol+"//"+u+"/api/addin/GetFile/"+t+"/"+a+"/"+o+"/"+s+"/-1/"+l+"/a.docx";window.open("ms-word:ofe|u|"+c)}}),Common.Cs.Define("Bw.Async","",{singleton:!0,Waterfall:function(t,e){Common.Async.Waterfall("Bw.Async.Waterfall",t,e)},Each:function(t,e,n){Common.Async.Each("Bw.Async.Each",t,e,n)}})},47934:()=>{Common.Cs.Define("Bw.Field","Bw.Wrapper",{_Field:null,constructor:function(t){this.callParent(arguments),this._Field=t},GetHostForm:function(){return Bw._wrap(this._Field.ParentFormPanel)},Calculate:function(){this._Field.ParentFormPanel.CalculateFields(this._Field.Setting.ControlFieldDefId)},CalculateRelatedFields:function(){this._Field.ParentFormPanel.CalculateRelatedFields(this._Field.Setting.ControlFieldDefId,null)},GetValue:function(){var t=this._Field.GetValue();return Bw._wrap(t)},SetValue:function(t){t=Bw._unwrap(t),this._Field.SetValue(t)},Clear:function(t){this._Field.Clear(t)},GetValueCaption:function(){return this._Field.GetCaption()},AddList:function(t){this.RefreshList(t,null,null)},RefreshList:function(t,e,n){this._Field.UlvMainCtrlr&&(e=Bw._unwrap(e),n=Bw._unwrap(n),t=Bw._unwrap(t),this._Field.UlvMainCtrlr.RefreshRowsByMos(t,e,n))},Focus:function(t){this._Field.SetFocus(t)},GetEnable:function(){return this._Field.GetEnable()},SetEnable:function(t){this._Field.SetEnable(t)},GetVisible:function(){return this._Field.GetVisible()},SetVisible:function(t,e){this._Field.ParentFormPanel.IsAutoInlineEdit||this._Field.SetVisible(t,e)},GetReadOnly:function(){return this._Field.GetReadOnly()},SetReadOnly:function(t){this._Field.SetReadOnly(t)},GetMandatory:function(){return this._Field.GetMandatory()},SetMandatory:function(t){this._Field.SetMandatory(t)},GetBold:function(){return this._Field.GetBold()},SetBold:function(t){this._Field.SetBold(t)},Refresh:function(t){this._Field.Refresh(t)},GetSetting:function(){return this._Field.Setting},GetInnerReport:function(){var t=this._Field.UlvMainCtrlr;return Bw._wrap(t)},GetInnerSubForm:function(){return Bw._wrap(this._Field.FormPanelCtrlr)},ShowUploadWindow:function(){this._Field.ShowUploadWindow()},Download:function(t){this._Field.Download&&this._Field.Download(t)},RaiseValueChanged:function(){this._Field.RaiseValueChangedEvent()}}),Bw.Field.prototype.GetParentForm=Bw.Field.prototype.GetHostForm,Bw.Field.prototype.GetForm=Bw.Field.prototype.GetHostForm,Bw.Field.prototype.GetReport=Bw.Field.prototype.GetInnerReport,Bw.Field.prototype.GetSubForm=Bw.Field.prototype.GetInnerSubForm,Bw.Field.prototype.GetCaption=Bw.Field.prototype.GetValueCaption},87720:()=>{var t;function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Common.Cs.Define("Bw.Form","Bw.Wrapper",(e(t={_Form:null,constructor:function(t){this.callParent(arguments),this._Form=t,this.IsInlineEdit=this._Form.IsAutoInlineEdit},On:function(t,e,n,i){(i=i||{}).single=i&&i.Single||!0,i.delay=i&&i.Delay?i.Delay:null,this._Form.on(t,(function(){var t=Bw._wrap(arguments[0]),i=t.GetMo();e.call(this,n,{Form:t,Mo:i})}),n,i)},WorkflowChoiceSelect:function(t){this._Form.WorkflowChoiceSelect(t)},ExecuteChoiceDef:function(t){this._Form.ExecuteChoiceDef(t)},WizardNextStep:function(){this._Form.WizardNextStep()},Refresh:function(){this._Form.Refresh()},Save:function(t){t||(t={}),"false !important"==t.Reload?t.Reload=!1:(t.Reload=Ext.value(t.Reload,!1),t.Reload=!0),Common.Async.ExecCallback(this._Form.Save.bind(this._Form,t.Reload),t.SuccessFn,t.FailFn,t.Scope,"Bw.Form.Save")},SaveAndClone:function(t){t=Ext.value(t,{}),Common.Async.ExecCallback(this._Form.SaveAndClone.bind(this._Form),t.SuccessFn,t.FailFn,t.Scope,"Bw.Form.SaveAndClone")},SaveAndNew:function(t){t=Ext.value(t,{}),Common.Async.ExecCallback(this._Form.SaveAndNew.bind(this._Form),t.SuccessFn,t.FailFn,t.Scope,"Bw.Form.SaveAndNew")},SaveAndClose:function(t){t=Ext.value(t,{}),Common.Async.ExecCallback(this._Form.SaveAndClose.bind(this._Form),t.SuccessFn,t.FailFn,t.Scope,"Bw.Form.SaveAndClose")},Reload:function(t){t=Ext.value(t,{}),Ext.isNotEmpty(t.NewMoId)&&(this._Form._moId=t.NewMoId),Common.Async.ExecCallback(this._Form.Reload.bind(this._Form),t.SuccessFn,t.FailFn,t.Scope,"Bw.Form.Reload")},Relayout:function(t){t=Ext.value(t,!0),this._Form.SetLayoutDirty(!0),this._Form.Relayout(t)},Delete:function(t){t=Ext.value(t,{}),Common.Async.ExecCallback(this._Form.Delete.bind(this._Form),t.SuccessFn,t.FailFn,t.Scope,"Bw.Form.Delete")},Close:function(t){if(1==(t=Ext.value(t,{})).NoSave)Common.Async.ExecCallback(this._Form.ForceClose.bind(this._Form),t.SuccessFn,t.FailFn,t.Scope,"Bw.Form.Close");else{var e=!(1==t.ForceSave);Common.Async.ExecCallback(this._Form.Close.bind(this._Form,e),t.SuccessFn,t.FailFn,t.Scope,"Bw.Form.Close")}},SetIsChanged:function(t){this._Form.IsChanged=t},GetIsChanged:function(t){return this._Form.IsChanged},GetFieldByDbName:function(t){var e=this._Form.GetFieldlByName(t);return Bw._wrap(e)},GetField:function(t){var e=this._Form.GetFieldByCaption(t);return Bw._wrap(e)},GetFieldValue:function(t){return this.GetField(t).GetValue()},SetFieldValueSilent:function(t,e,n){var i=this._Form,r=i.Mo,o=Bw._unwrap(e);r.SetFValueByCaption(t,o),i.GetFieldByCaption(t).SetValue(o,n,!0)},SetGroupVisible:function(t,e,n){this._Form.SetGroupVisible(t,e,n)}},"SetFieldValueSilent",(function(t,e,n){var i=this._Form,r=i.Mo,o=Bw._unwrap(e);r.SetFValueByCaption(fieldCaption,o),i.GetFieldByCaption(fieldCaption).SetValue(o,n,!0)})),e(t,"GetMo",(function(){var t=this._Form.Mo;return Bw._wrap(t)})),e(t,"GetSetting",(function(){return this._Form.Setting})),e(t,"SetTabOrderList",(function(t){Ext.isString(t)&&(t=t.split(",")),this._Form.Setting.View.TabOrders=t;var e=Common.Util.TryGetValue(this._Form,"Adapter.Control.Focusable");e&&e.InitializeChildren()})),e(t,"CalculateFields",(function(t){Ext.isString(t.FieldCaptions)&&(t.FieldCaptions=t.FieldCaptions.split(","));var e=t.FieldCaptions.map((function(t){t=t.trim();var e=this.GetField(t);if(e)return e.GetSetting().ControlFieldDefId}),this);Common.Async.ExecCallback(this._Form.CalculateFields.bind(this._Form,e),t.SuccessFn,t.FailFn,t.Scope,"Bw.Form.CalculateFields")})),e(t,"GetReport",(function(){return Bw._wrap(this._Form.UlvMainCtrlr)})),e(t,"GetReadOnly",(function(){var t=this.GetSetting();return Common.Util.TryGetValue(t,"View.IsReadOnly",!1)})),e(t,"ShowInfoBar",(function(t){this._Form.ShowInfoBar(t.Id,t.Text,t.Type,t.Buttons,t.Handler,t.Icon)})),e(t,"HideInfoBar",(function(t){this._Form.ShowInfoBar(t)})),e(t,"GetParentForm",(function(){var t=Common.Util.TryGetValue(this._Form,"ParentMoProvider.FieldCtrlr.ParentFormPanel");return Bw._wrap(t)})),e(t,"ForEachField",(function(t,e){e=Ext.value(e,this),this._Form.EachControl((function(n){var i=Bw._wrap(n);return t.call(e,i)}),e)})),e(t,"GetHostField",(function(){return Bw._wrap(this._Form.HostField)})),e(t,"statics",{Show:function(t){var e,n=t.UlvMainCtrlr,i=t.ParentReport,r=t.SuccessFn,o=t.FailFn,a=t.OkClickFn,s=t.CancelClickFn,l=t.FormSetting,u=Ext.value(t.EventHandlers,{}),c=t.Scope,h=t.RetrunMoAfterSave,d=t.IsModeless;delete t.UlvMainCtrlr,delete t.ParentReport,delete t.SuccessFn,delete t.FailFn,delete t.OkClickFn,delete t.CancelClickFn,delete t.FormSetting,delete t.EventHandlers,delete t.Scope,delete t.RetrunMoAfterSave,delete t.IsModeless,(n=n||Bw._unwrap(i))&&(t.Relation=Common.Util.TryGetValue(n,"Setting.Extra.Relation")),Ext.isObject(t.Mo)&&(t.Mo=Bw._unwrap(t.Mo),e=t.Mo,t.Mo instanceof Common.MetaObjectWeb==0&&(t.Mo=Common.MetaObjectWeb.CreateMo(t.Mo)),t.Mo=t.Mo.GetChangedObject());var f=new Ul.FormRequestParams(t),m=new Ul.FormPanelCtrlr({UlvMainCtrlr:n,FormRequestParams:f,_isReadOnly:f.IsReadOnly,_forceReturnMoAfterSave:h,IsModeless:d});if(c=Ext.value(c,m),a&&(u[Ul.FormPanelCtrlr.EventEnum.OkClick]=a.bind(c)),s&&(u[Ul.FormPanelCtrlr.EventEnum.CancelClick]=s.bind(c)),r&&(u[Ul.FormPanelCtrlr.EventEnum.AfterReady]=r.bind(c)),e&&1==t.DontLoadFromServer&&(e=Common.MetaObjectWeb.CreateMo(e),u[Ul.FormPanelCtrlr.EventEnum.AfterLoad]=function(t,n){n.Form._Form.Mo=Common.MetaObjectWeb.CreateMo(e)}.bind(c)),u){var p=[];for(var C in u)"Scope"==C?c=u.Scope:p.push({Event:C,Handler:u[C]});p.forEach((function(t){m.on(t.Event,(function(){var e={Form:Bw._wrap(this),Mo:Bw._wrap(this.Mo)};t.Handler.apply(c,[m,e])}))}))}return l?(m.Setting=l,Common.Async.ExecCallback(m.ShowFormWindow_WithoutLoad.bind(m),null,o,c,"Bw.Form.Show")):Common.Async.ExecCallback(m.ShowFormWindow.bind(m),null,o,c,"Bw.Form.Show"),m}}),t))},30887:()=>{Common.Cs.Define("Bw.Mo","Bw.Wrapper",{_Mo:null,constructor:function(t){this.callParent(arguments),this._Mo=t,this.Id=t.Id},GetId:function(){return this._Mo.Id},GetTypeDefId:function(){return this._Mo.GetTypeDefId()},GetMoCaption:function(){return this._Mo.GetCaption()},SetConditionalFormats:function(t){Ext.isArray(t)?this._Mo.$StyleIndex=t:this._Mo.$StyleIndex=[t]},GetValue:function(t){var e=this._Mo.GetFValue(t);return Bw._wrap(e)},GetCaption:function(t){return this._Mo.GetFCaption(t)},SetValue:function(t,e){return e=Bw._unwrap(e),this._Mo.SetFValue(t,e)},GetValueByCaption:function(t){return this._Mo.GetFValueByCaption(t)},SetValueByCaption:function(t,e){return this._Mo.SetFValueByCaption(t,e)},SetAllFieldsChanged:function(){this._Mo.SetAllFieldsChanged()},IsNew:function(){return this._Mo.IsNew()},IsModified:function(){return this._Mo.IsModified()},IsFieldChanged:function(t){return this._Mo.IsFieldChanged(t)},IsFieldChangedByCaption:function(t){var e=this._Mo.$FieldDict[t];return this._Mo.IsFieldChanged(e)},GetCaptionOfField:function(){},statics:{CreateByTypeDef:function(t,e){var n;0!=e&&(n=Common.MetaObjectWeb.StateEnum.New);var i=new Common.MetaObjectWeb({$TypeDefId:t,$State:n});return new Bw._wrap(i)},CreateByData:function(t){var e=Common.MetaObjectWeb.CreateMo(t);return new Bw._wrap(e)}}}),Common.Cs.Define("Bw.MoList","Bw.Wrapper",{_MoList:null,constructor:function(t){this.callParent(arguments),this._MoList=t},GetMoById:function(t){return Bw._wrap(this._MoList.GetMoById(t))},GetMoByIndex:function(t){return Bw._wrap(this._MoList.GetMoByIndex(t))},ForEach:function(t,e){for(var n=0,i=this.GetCount();n<i;n++){var r=this.GetMoByIndex(n);if(0==t.call(e,r,n,this._MoList.MoDataList))break}},AddMo:function(t){return t=Bw._unwrap(t),this._MoList.AddMo(t)},RemoveMo:function(t,e,n){return this._MoList.RemoveMo(t,e,n)},RemoveAll:function(t,e){return this._MoList.RemoveAll(t,e)},Find:function(t,e,n){var i=[];return e=Ext.value(e,this),this.ForEach((function(r){if(1==t.call(e,r)&&(i.push(r),1==n))return!1})),i.length>0&&n&&(i=i[0]),i},GetCount:function(){return this._MoList.GetCount()},FindByFieldValue:function(){return Bw._wrap(this._MoList.FindByFieldValue.call(this._MoList,arguments))},GetIdList:function(){return this._MoList.GetIdList()},ConvertToArray:function(){return Bw._wrap(this._MoList.ConvertToArray())},statics:{CreateFromMoArray:function(t){if(!Ext.isEmpty(t)){0==Ext.isArray(t)&&(t=[t]),t=Bw._unwrap(t);var e=Common.MetaObjectListWeb.CreateFromMoArray(t);return Bw._wrap(e)}}}}),Bw.Mo.prototype.FilterByFieldValue=Bw.Mo.prototype.FindByFieldValue,Bw.Mo.prototype.Filter=Bw.Mo.prototype.Find},69227:()=>{Bw.Msg=Ul.MsgBox,Bw.Toast=Ul.Toast,Bw.Async=Common.Async},62025:()=>{Common.Cs.Define("Bw.Report","Bw.Wrapper",{_Ulv:null,constructor:function(t){this.callParent(arguments),this._Ulv=t},ShowColumns:function(t){this._Ulv.ShowColumns(t)},HideColumns:function(t){this._Ulv.HideColumns(t)},SelectItem:function(t){this._Ulv.SelectItem(t)},ClearAllSelected:function(){this._Ulv.ClearAllSelected()},GetSelectedMo:function(){var t=this._Ulv.GetSelectedMetaObject();return Bw._wrap(t)},GetSelectedMoArray:function(){var t=this._Ulv.GetSelectedMetaObjectList();return Bw._wrap(t)},EnableCommand:function(t,e){var n=null;this._Ulv.CommandBarCtrlr.AllCommandList.forEach((function(e){t==e.Text&&(n=e.Id)})),null!=n&&this._Ulv.CommandBarCtrlr.EnableCommand(n,e,!0)},GetSelectedMoList:function(){var t=this._Ulv.GetSelectedMetaObjectList(),e=Common.MetaObjectListWeb.CreateFromMoArray(t);return Bw._wrap(e)},RefreshRowsNoSelectionChange:function(t,e,n){t=Bw._unwrap(t),e=Bw._unwrap(e),n=Bw._unwrap(n),this._Ulv.RefreshRowsByMosNoSelectionChange(t,e,n)},RefreshRows:function(t,e,n){t=Bw._unwrap(t),e=Bw._unwrap(e),n=Bw._unwrap(n),this._Ulv.RefreshRowsByMos(t,e,n)},GetData:function(){var t=this._Ulv.GetValue();return Bw._wrap(t)},GetSetting:function(){return this._Ulv.Setting},Reload:function(t){t=Ext.value(t,{}),Common.Async.ExecCallback(this._Ulv.Reload.bind(this._Ulv),t.SuccessFn,t.FailFn,t.Scope,"Bw.Report.Reload")},GetHostField:function(){return Bw._wrap(this._Ulv.FieldCtrlr)},GetHostForm:function(){return Bw._wrap(this._Ulv.FieldCtrlr.ParentFormPanel)},statics:{Show:function(t){if(!t.ShowInSystemContainer){var e=new Ul.UlvFormMultiSelectCtrlr;if(e.ShowOkCancelButtons=!0,e.HideToolbar=Ext.value(t.HideToolbar,!0),e.ShowSecondPanel=Ext.value(t.IsMutliSelect,!1),e.FormTitle=t.FormTitle,t.MoList&&(t.RequestedMoIds=t.MoList.GetIdList()),Bw.IsNotEmpty(t.ParameterValues)){for(var n=t.ParameterValues,i=0;i<n.length;i++)(n[i]instanceof Bw.Mo||n[i]instanceof Common.MetaObjectWeb)&&(n[i]=n[i].Id);t.ParameterValues=n}if(e._ulvParams1=new Ul.UlvParams({ReportId:t.ReportId,ReportName:t.ReportName,FolderId:t.FolderId,TypeDefId:t.TypeDefId,IsReadOnly:t.IsReadOnly,SearchMo:Bw.GetChangedMo(t.SearchMo),ParentMo:Bw.GetChangedMo(t.ParentMo),RequestedMoIds:t.RequestedMoIds,ParameterValues:t.ParameterValues,RelationFieldId:t.RelationFieldId,UsageEnum:Ul.UlvMainCtrlr.UlvUsageEnum.SelectionForm,SelectionEnum:t.IsMutliSelect?Ul.UlvMainCtrlr.UlvSelectionEnum.CheckList:Ul.UlvMainCtrlr.UlvSelectionEnum.Single,ColumnRequestEnum:Common.Enums.ColumnRequestEnum.All,Flags:t.HideSearchPanel?{SearchPanel:Common.Enums.DefaultableBoolean.False}:null,NoSelect:t.NoSelect}),t.GivenMoList&&(e._givenMoList=t.GivenMoList),t.CallBackFn){var r=Ext.value(t.Scope,null),o=t.CallBackFn;t.CallBackFn=function(t){o.call(r,Bw._wrap(t))}}e.ShowForm(t.CallBackFn)}},ShowInside:function(t,e){if(new Ul.UlvParams({Size:t.Size,ReportId:t.ReportId,ReportName:t.ReportName,FolderId:t.FolderId,TypeDefId:t.TypeDefId,IsReadOnly:t.IsReadOnly,SearchMo:Bw.GetChangedMo(t.SearchMo),ParentMo:Bw.GetChangedMo(t.ParentMo),RequestedMoIds:t.RequestedMoIds,ParameterValues:t.ParameterValues,RelationFieldId:t.RelationFieldId,UsageEnum:Ul.UlvMainCtrlr.UlvUsageEnum.SelectionForm,SelectionEnum:t.IsMutliSelect?Ul.UlvMainCtrlr.UlvSelectionEnum.CheckList:Ul.UlvMainCtrlr.UlvSelectionEnum.Single,ColumnRequestEnum:Common.Enums.ColumnRequestEnum.All,Flags:t.HideSearchPanel?{SearchPanel:Common.Enums.DefaultableBoolean.False}:null}),t.CallBackFn){var n=Ext.value(t.Scope,null),i=t.CallBackFn;t.CallBackFn=function(t){i.call(n,Bw._wrap(t))}}var r=new Ul.UlvMainCtrlr;Common.Async.Waterfall("Ul.UlvFormMultiSelectCtrlr._createFirstUlv",[r.Load.bind(r,t),function(t){var n=Ext.get(e).createChild({tag:"div",style:"display:inline;"});r.Adapter.Control.layout="fit",r.Adapter.Control.render(n),t()}.bind(this)],(function(t,e){Common.Async.Finalize(t,e)}))}}}),Bw.Report.ShowForm=Bw.Report.Show,Bw.Report.prototype.GetForm=Bw.Report.prototype.GetHostForm,Bw.Report.prototype.GetField=Bw.Report.prototype.GetHostField},37516:()=>{Common.Cs.Define("Bw.System","Bw.Wrapper",{_System:null,constructor:function(t){this.callParent(arguments),this._System=t},GetActiveReport:function(){var t=this._System.GetSelectedUlv();return Bw._wrap(t)},GetSetting:function(){return this._System.SystemData},ExecRibbonCommand:function(t){return this._System.ExecRibbonCommand(t)},SelectReportById:function(t){this._System.SelectNavItem(t)},SelectReportByName:function(t){this._System.SelectNavItemByName(t)},GetReportByNameInNavigator:function(t){var e=this._System.GetReportByNameInNavigator(t);return Bw._wrap(e)}})},37634:()=>{Common.Cs.Define("Common.AgentHelper","",{singleton:!0,status:null,Init:function(t){Common.Async.Waterfall("Common.AgentHelper.Init",[this._sendActionInternal.bind(this,{action:"checkinit",url:window.location.href},200),function(t,e){"OK"==t?e(new Common.WaterfallBreakerException,"OK"):e(null,t)}.bind(this),this._getAgentKeyFromServer.bind(this),this._loginToAgent.bind(this)],function(e,n){Common.Async.Finalize(e,n,t)}.bind(this))},_getAgentKeyFromServer:function(t,e){Common.Ajax.GetServerData("Agent.GetAgentKey",{agentId:t},(function(t){Ext.isEmpty(t)?e(new Common.SilentException):e(void 0,t)}),(function(){e(new Common.SilentException)}),null,!0)},_loginToAgent:function(t,e){this._sendActionInternal({action:"login",url:window.location.href,key:t},null,e)},SendAction:function(t,e,n,i){e.action=t,Common.Async.Waterfall("Common.AgentHelper.SendAction",{Init:this.Init.bind(this),Fn:function(t,e){"OK"!=t?e(new Common.WaterfallBreakerException):e()}.bind(this),_sendActionInternal:this._sendActionInternal.bind(this,e,200)},function(t,e){Common.Async.Finalize(t,e,i)}.bind(this))},____InternalSendAction:function(t,e,n,i){e.action=t,this._sendActionInternal(e,n,i)},_sendActionInternal:function(t,e,n){var i=null,r=t&&JSON.stringify(t),o=Ext.isFunction(n);return e=Ext.value(e,1e3),AjaxHelper.AjaxRequest("http://localhost:14015/",r,o,(function(t){n?n(null,t.responseText):i=t.responseText}),(function(){var e=new Common.SilentException({Text:"failed to connect to agent!",Data:t,InnerException:null});t&&t.action&&(e.Text+=" action="+t.action),n&&n(e)}),e,"text/plain;charset=UTF-8"),i},IsConnected:function(t){return t&&(Common.Util.IsDoReturnFunction(t)?t(null,!1):t(!1)),!1},ShowPopup:function(t,e,n,i,r){(r=Ext.value(r,{})).Text=t,r.Title=e,r.Type=n,r.Image=i,this.SendAction("showPopupAlert",r)},Test:function(){try{var t=AgentHelper.SendAction("test",{abc:"test1"});alert(t)}catch(t){alert("error, "+t.message)}}})},68429:()=>{Common.Cs.Define("BarsaHelpDeskPost","Ul.DataViewTemplateManager",{Template:['<div class="afp-body afp-font-normal"> '," ",' <div class="afp-namerow afp-bottomborder"> ',' <div class="afp-font-title afp-title"> '," {[this.GetCaption(this.GetParentMo(), 'عنوان')]} "," </div> ",' <div class="afl-faint1 afl-font-smaller afl-border1 "> '," {[this.GetCaption(this.GetParentMo(), 'محصول')]} "," </div> "," <tpl if=\"this.IsNotEmpty(this.GetCaption(this.GetParentMo(), 'منشا'))\"> ",' <div class="afl-faint1 afl-font-smaller afl-border1 "> '," {[this.GetCaption(this.GetParentMo(), 'منشا')]} "," </div> "," </tpl> "," </div> "," ",' <tpl for="."> ',' <div class="afp-row dataview_row afp-bottomborder" data-id="{[this.GetMoId(values)]}"> '," <a id={[this.GetMoId(values)]}></a> ",' <div class="afp-row-title"> ',' <div class=" afp-avatar "> ',' <div class="afp-avatar-text" style="background-color:{[this.GetColorFromName(this.GetCaption(values, \'شخص ثبت كننده\'), 36)]};"> '," {[this.GetInitialsFromName(this.GetCaption(values, 'شخص ثبت كننده'), 36)]} "," </div> "," </div> ",' <div class="afp-sender-container"> ',' <div class="afp-sender-name afp-font-title"> '," {[this.GetCaption(values, 'شخص ثبت كننده')]} "," </div> ",' <div class="afp-sender-org afp-font-normal"> '," ( {[this.GetCaption(values, 'مركز ثبت كننده')]} ) "," </div> ",' <div class="afp-sender-date afp-faint1"> '," {[this.FormatDateSmart(this.GetValue(values, 'تاريخ ايجاد'))]} "," </div> ",' <div class="afp-button-container " style="border: red 1px"> ',' <tpl for="this.GetCommands()"> ',' <button class="afp-butn dataview_button" data-id="{values.Data.FieldDef.Id}">{Text}</button> '," </tpl> "," </div> "," </div> "," </div> ",' <div class="afp-row-main"> '," <tpl if=\"this.IsNotEmpty(this.GetValue(values, 'پست مبدا'))\"> ",' <div class="afp-row-origin-container afp-font-smaller" > ',' <div class="afp-row-origin-header"> '," {[this.GetCaption(values, 'ثبت كننده پست مبدا')]} ",' <a href="#{[this.GetId(values, \'پست مبدا\')]}"><i class="far fa-level-up-alt"></i></a> '," </div> ",' <div class="afp-row-origin-post" > '," {[this.GetCaption(values, 'پست مبدا')]} "," </div> "," </div> ",' <div style="margin-right:30px;"> '," {[this.GetCaption(values, 'شرح')]} "," </div> "," </tpl> "," <tpl if=\"this.IsEmpty(this.GetValue(values, 'پست مبدا'))\"> "," {[this.GetCaption(values, 'شرح')]} "," </tpl> "," </div> "," <tpl if=\"this.IsNotEmpty(this.GetValue(values, 'پيوست'))\"> ",' <div class="afp-attach"> '," <tpl for=\"this.GetValue(values, 'پيوست').Files\"> ",' <div class="afp-attach-item" data-id="{Id}" ',' data-size="1"> ',' <img class="afp-attach-icon" src="AttDefIcon.png" /> ',' <span class="afp-attach-filename" data-id="{Id}">{FileName}</span>'," </div> "," </tpl> "," </div> "," </tpl> "," </div> "," </tpl> "," ","</div> "],_avatarColors:["#1abc9c","#2ecc71","#3498db","#9b59b6","#34495e","#16a085","#27ae60","#2980b9","#8e44ad","#2c3e50","#f1c40f","#e67e22","#e74c3c","#ecf0f1","#95a5a6","#f39c12","#d35400","#c0392b","#bdc3c7","#7f8c8d"],HascommandAccess:function(t){return!0},GetUserName:function(t){var e=[];return t.A_Creator_FName&&e.push(t.A_Creator_FName),t.A_Creator_LName&&e.push(t.A_Creator_LName),Ext.util.Format.htmlEncode(e.join(" "))},OnRender:function(t){this.callParent(arguments),$(".afp-attach-item").click(this._onAttachmentClick.bind(this)),$(".afp-row-origin-header a").click(this._onAnchorClick.bind(this))},GetRowClass:function(){return".afp-row"},_onAttachmentClick:function(t){var e=t.currentTarget.getAttribute("data-id");Common.File.OpenFile(e,!1,this.FieldCtrlr,!1,!1)},_onAnchorClick:function(t){var e=t.currentTarget.getAttribute("href"),n=$(e);Ext.isNotEmpty(n)&&n[0].scrollIntoView({behavior:"smooth",block:"start"})},GetAvatarLetter:function(t,e){t=t||"?",e=e||60;var n,i,r,o,a=this.GetInitialsFromName(t);return window.devicePixelRatio&&(e*=window.devicePixelRatio),n=a.charCodeAt(0)%this._avatarColors.length,(i=document.createElement("canvas")).width=e,i.height=e,(r=i.getContext("2d")).fillStyle=this._avatarColors[n-1],r.fillRect(0,0,i.width,i.height),r.font=Math.round(i.width/2)+"px Arial",r.textAlign="center",r.fillStyle="#FFF",r.fillText(a,e/2,e/1.5),o=i.toDataURL(),i=null,o},GetInitialsFromName:function(t){t=t||"";var e=String(t).toUpperCase().split(" ");return 1==e.length?e[0]?e[0].charAt(0):"?":e[0].charAt(0)+"‌‌"+e[1].charAt(0)},GetColorFromName:function(t){var e=this.GetInitialsFromName(t).charCodeAt(0)%this._avatarColors.length;return this._avatarColors[e]}})},84261:()=>{Common.Cs.Define("BarsaForumTicket","Ul.DataViewTemplateManager",{Template:['<div class="afl-body afl-font-normal"> ',' <div class="afl-col"> ',' <div class="afl-colavatar"></div> ',' <div class="afl-colparent">عنوان</div> ',' <div class="afl-colreplies">پاسخ ها</div> ',' <div class="afl-collastreplies">آخرین پیام</div> '," </div> "," ",' <tpl for="."> ',' <div class="afl-row dataview_row"> ',' <div class=" afl-rowavatar afl-padding"> ',' <div class="afl-avatar-text" style="background-color:{[this.GetColorFromName(this.GetValue(values, \'ثبت كننده\'), 36)]};"> '," {[this.GetInitialsFromName(this.GetValue(values, 'ثبت كننده'), 36)]} "," </div> "," </div> ",' <div class=" afl-rowparent "> ',' <div class=" afl-rowmain afl-padding"> ',' <div class="afl-font-larger"> '," {[this.GetValue(values, 'عنوان')]} "," </div> ",' <div class="afl-faint1 afl-font-smaller afl-border1 "> '," {[this.GetCaption(values, 'محصول')]} "," </div> "," <tpl if=\"this.IsNotEmpty(this.GetCaption(values, 'منشا'))\"> ",' <div class="afl-faint1 afl-font-smaller afl-border1 "> '," {[this.GetCaption(values, 'منشا')]} "," </div> "," </tpl> ",' <span class="afl-faint1 afl-font-smaller"> '," {[this.GetValue(values, 'ثبت كننده')]} "," </span> ",' <span class="afl-faint2 afl-font-smaller" style="display: inline-block">'," {[this.FormatDateSmart(this.GetValue(values, 'تاريخ ايجاد'))]} "," </span> "," </div> "," </div> ",' <div class=" afl-rowstat afl-vpair afl-padding"> ',' <div class="afl-hpair afl-replies "> ',' <span class="afl-hpair-1 afl-faint1">پاسخ ها:</span> ',' <span class="afl-hpair-2 "> '," {[this.GetValue(values, 'تعداد پاسخ')]} "," </span> "," </div> ",' <div class="afl-hpair afl-hide-cond1"> ',' <span class="afl-faint1">دیده ها:</span> '," <span class=\"\">{[this.GetValue(values, 'تعداد بار ديده شده')]}</span> "," </div> "," </div> ",' <div class=" afl-rowlastpost afl-vpair afl-padding afl-alignreverse"> ',' <div class="afl-hide-cond1">علی احدی</div> ',' <div class="afl-faint1">'," 16 اردیبهشت 97 "," </div> "," </div> "," </div> "," </tpl> "," ","</div> "],_avatarColors:["#1abc9c","#2ecc71","#3498db","#9b59b6","#34495e","#16a085","#27ae60","#2980b9","#8e44ad","#2c3e50","#f1c40f","#e67e22","#e74c3c","#ecf0f1","#95a5a6","#f39c12","#d35400","#c0392b","#bdc3c7","#7f8c8d"],HascommandAccess:function(t){return!0},GetUserName:function(t){var e=[];return t.A_Creator_FName&&e.push(t.A_Creator_FName),t.A_Creator_LName&&e.push(t.A_Creator_LName),Ext.util.Format.htmlEncode(e.join(" "))},OnRender:function(t){$(".af-btn").click(this._onBtnClick.bind(this))},OnRenderRow:function(t){$(t).click(this._onBtnClick.bind(this))},_onBtnClick:function(t){var e=t.currentTarget.getAttribute("CommandName");Ext.defer((function(){this.DataViewControl.GeneralClickHandler(e,t)}),200,this)},GetAvatarLetter:function(t,e){t=t||"?",e=e||60;var n,i,r,o,a=this.GetInitialsFromName(t);return window.devicePixelRatio&&(e*=window.devicePixelRatio),n=a.charCodeAt(0)%this._avatarColors.length,(i=document.createElement("canvas")).width=e,i.height=e,(r=i.getContext("2d")).fillStyle=this._avatarColors[n-1],r.fillRect(0,0,i.width,i.height),r.font=Math.round(i.width/2)+"px Arial",r.textAlign="center",r.fillStyle="#FFF",r.fillText(a,e/2,e/1.5),o=i.toDataURL(),i=null,o},GetInitialsFromName:function(t){t=t||"";var e=String(t).toUpperCase().split(" ");return 1==e.length?e[0]?e[0].charAt(0):"?":e[0].charAt(0)+"‌‌"+e[1].charAt(0)},GetColorFromName:function(t){var e=this.GetInitialsFromName(t).charCodeAt(0)%this._avatarColors.length;return this._avatarColors[e]}})},78844:()=>{Common.Cs.Define("Adapter.CreationDateInfoAdapter","Adapter.FieldInfoBaseAdapter",{_value:null,CreateControlConfig:function(){var t=this.callParent(arguments);return t.style=String.format("background-image=none;background-color=#DFE8F6;text-align={0};",BBB.MainAlignment),t.readOnly=!0,t.preventMark=!0,t.xtype="Ui.TextField",t},SetValue:function(t,e){this._value=t,this.Control.setValue(e)},GetValue:function(){return this._value},GetCaption:function(){return this.Control.getValue()},IsNull:function(){var t=this.GetValue();return 0==t&&(t=""),Ext.isEmpty(t)}})},63764:()=>{Common.Cs.Define("Ul.CreationDateInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.CreationDateInfoAdapter",t},GetReadOnly:function(){return!0},SetReadOnly:function(t){}})},80336:()=>{Common.Cs.Define("Adapter.CreatorUserInfoAdapter","Adapter.FieldInfoBaseAdapter",{_value:null,CreateControlConfig:function(){var t=this.callParent(arguments);return t.style=String.format("background-image=none;background-color=#DFE8F6;text-align={0};",BBB.MainAlignment),t.readOnly=!0,t.preventMark=!0,t.xtype="Ui.TextField",t},SetValue:function(t,e){this._value=t,this.Control.setValue(e)},GetValue:function(){return this._value},GetCaption:function(){return this.Control.getValue()},IsNull:function(){var t=this.GetValue();return 0==t&&(t=""),Ext.isEmpty(t)}})},28938:()=>{Common.Cs.Define("Ul.CreatorUserInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.CreatorUserInfoAdapter",t},GetReadOnly:function(){return!0},SetReadOnly:function(t){}})},49780:()=>{Common.Cs.Define("Ul.LastUpdateDateInfoCtrlr","Ul.CreationDateInfoCtrlr",{})},86188:()=>{Common.Cs.Define("Ul.RowNumberInfoCtrlr","Ul.CreationDateInfoCtrlr",{})},25834:()=>{Common.Cs.Define("Ul.SequenceInfoAdapter","Adapter.FieldInfoBaseAdapter",{_textField:null,constructor:function(t){this.callParent(arguments),this.addEvents("ButtonClick")},CreateControlConfig:function(){var t=this,e=this.callParent(arguments);return this._textField=this._createTextField(),e._innerControl=this._textField,e.xtype="Ui.ContainerWithButton",e._focusableType="Ui.Focusable_Container",e.plugins=Ext.value(e.plugins,[]),e.plugins.push(Ui.FocusPlugin),e._buttonsConfig=[{text:BBB.GetNewAutoNumber,scope:this,handler:function(){t.fireEvent("ButtonClick",this)}}],e},_createTextField:function(t){var e={readOnly:!0,preventMark:!0,plugins:[Ui.FocusPlugin],Setting:{}},n=null;return LoginFormData.CustomUiPrefix?(e.originalXtype="Ui.TextField",(n=new Ui.CustomField(e)).readonly=!0):n=new Ui.TextField(e),n},AddListenersForControlEvents:function(){this.callParent(arguments)},GetValue:function(){return this._textField.getValue()},SetValue:function(t,e){this._textField.setValue(t),0==Ext.isEmpty(t)&&this.Control.EnableButtons&&(this.Control.EnableButtons(null,!1),this.Control.VisibleButtons(null,!1))},SetEnable:function(t){t=Ext.value(t,!0),this.Control.setDisabled(!t),this.Control.EnableButtons(null,t)}})},90929:()=>{Common.Cs.Define("Ul.SequenceInfoCtrlr","Ul.FieldInfoBaseCtrlr",{constructor:function(t){this.callParent(arguments),this.addEvents("ButtonClick")},CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.SequenceInfoAdapter",t},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on("ButtonClick",(function(){Common.Ajax.GetServerData("Form94.GetAutoNumberNewValue",{fieldDefId:this.Setting.ControlFieldDefId,mo:this.ParentFormPanel.Mo},(function(t){t&&(this.SetValue(t.newNumber),this.RaiseValueChangedEvent(),this.ParentFormPanel.Adapter.Control.Focusable.Focus(!0))}),null,null,this,!0)}),this)}})},86320:()=>{Common.Cs.Define("Adapter.ComboBoxBaseAdapter","Adapter.FieldInfoBaseAdapter",{constructor:function(t){this.addEvents("TriggerClick"),this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.SimpleCombo",t._focusableType="Ui.Focusable_Field",t.cacheSizes=!1,this.Setting.IsLtr&&(t.style="text-align:left",t.listClass="a-SimpleComboList-Ltr"),t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin),t},UseHtmlSafeDisplayField:function(t){var e=t.displayField+"_safe";t.store.data.Rows.forEach((function(n){n[e]=Common.Util.HtmlEscape(n[t.displayField])})),t.displayField$Source=t.displayField,t.displayField=e,t.store.data.Fields.push(e)},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("select",this.RaiseValueChangedEvent,this),this.Control.on("TriggerClick",(function(t,e){this.fireEvent("TriggerClick",this,e)}),this)},GetCaption:function(){var t=this.Control.getValue();if(Ext.isEmpty(t))return"";var e=t.toString();if(!this.Control.store.getById)return this.Control.store.data[this.Control.store.root].find((function(e){return e.id==t})).txt;var n=this.Control.store.getById(t);return n&&(e=n.json.txt),e},RefreshList:function(t){if(this.Control){var e=this.Control.getStore();e&&e.loadData(t)}}})},89614:()=>{Common.Cs.Define("Adapter.FieldInfoBaseAdapter","Common.Observable",{Control:null,Setting:null,IsInitialized:!1,constructor:function(t){this.callParent(arguments),this.addEvents("ValueChanged","Render","KeyPress","KeyDown","RequestParentFormPanelUi"),this.CreateControl()},CreateControlConfig:function(){var t={Setting:this.Setting},e=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.Cls");return e&&(t.cls=e),t.Setting.ControlConfigOverride&&Common.Merger.FastMerge(t,t.Setting.ControlConfigOverride),t},CreateControl:function(){var t=this.CreateControlConfig();Adapter.FieldInfoBaseAdapter.GetCustomUiConfig(this.Setting,t);try{this.Control=Ext.create(t)}catch(t){throw new Common.Exception({Text:"Error in create the Control of field: "+this.aType,InnerException:t})}this.AddListenersForControlEvents()},AddListenersForControlEvents:function(){this.Control.on({scope:this,RequestParentFormPanelUi:function(t,e){this.fireEvent("RequestParentFormPanelUi",this,e)},afterrender:function(){this._enableTempDevelopContextMenu(),this.fireEvent("Render",this)}})},Initialize:function(){},GetCaption:function(){var t=this.GetValue();return Ext.isEmpty(t)?"":t.toString()},GetValue:function(){return this.Control.getValue()},SetValue:function(t,e){this.Control.setValue(t)},RaiseValueChangedEvent:function(){var t=Common.Util.TryGetValue(this.Control,"FormPanelUi.Setting.Data.Mo"),e={FieldDefId:this.Setting.ControlFieldDefId,MoId:t&&t.Id,TypeDefId:t&&t.$TypeDefId},n=Common.LogManager.StartLog("Field.ValueChanged",e,!0);this.FireEventSynch("ValueChanged",this,n),Common.LogManager.EndLog(n)},Clear:function(){this.SetValue(null)},IsNull:function(){return Ext.isEmpty(this.GetValue())},SetEnable:function(t){t=Ext.value(t,!0),this.Control.setDisabled(!t)},SetVisible:function(t,e){t=Ext.value(t,!0),this.Control.LayoutControl&&this.Control.LayoutControl.SetVisible&&this.Control.LayoutControl.SetVisible(t,e)},SetReadOnly:function(t){t=Ext.value(t,!1),Ext.isDefined(this.Control.setReadOnly)&&this.Control.setReadOnly(t)},SetMandatory:function(t){this.Control.LayoutControl&&this.Control.LayoutControl.NewBounds&&this.Control.LayoutControl.RefreshLabel()},SetBold:function(t){this.Control.LayoutControl&&this.Control.LayoutControl.NewBounds&&this.Control.LayoutControl.RefreshLabel()},____SetBold:function(t){if(this.Control.el){var e=this.Control.el.findParent("div.x-abs-layout-item",1e3,!0);if(e){for(var n;null!==e;)n=e,e=e.parent().findParent("div.x-abs-layout-item",1e3,!0);var i=n.query(".x-form-item-label");0==i.length&&(i=n.query(".x-tab-strip-text")),0!=i.length&&(this._isBold=t,t?Ext.get(i[0]).addClass("br-bold-field-label"):Ext.get(i[0]).removeClass("br-bold-field-label"))}}},SetSize:function(t,e){this.Control&&(t&&this.Control.setWidth(t),e&&this.Control.setHeight(e))},SetFocus:function(t,e){Ext.isNumber(t)&&t>0?Ext.defer((function(){this.Control&&this.Control.Focusable.Focus(null,e)}),t,this):this.Control.Focusable.Focus()},HasFocus:function(){return Common.Util.TryGetValue(this,"Control.Focusable.IsFocused",!1)},GetSize:function(){var t=this.Control.getSize();if(t)return{Width:t.width,Height:t.height}},Refresh:function(t){},GetReadOnlySupport:function(){if(Ext.isNotEmpty(this.Control))return Ext.isDefined(this.Control.setReadOnly)},Destroy:function(){this.purgeListeners(),this.Control.purgeListeners(),this.Control=null},_enableTempDevelopContextMenu:function(){},statics:{GetCustomUiConfig:function GetCustomUiConfig(setting,config){var component=Common.Util.TryGetValue(setting,"CustomUi.Selector");if(component||LoginFormData.CustomUiPrefix){config.originalXtype=config.xtype;var xtype="Ui.CustomField";try{"function"==typeof eval("Custom"+config.originalXtype)&&(xtype="Custom"+config.originalXtype)}catch(t){}config.xtype=xtype}return config},CreateAdapter:function CreateAdapter(control,formPanel){var adaptorType=control.Adapter;Common.Debug.Assert(0==Ext.isEmpty(adaptorType),"Adapter.FieldInfoBaseAdapter.CreateAdapter: no adapter specified");var code="var dummy = new "+adaptorType+"({Control: control, ParentFormPanel: formPanel});";eval(code)}}})},38309:()=>{Common.Cs.Define("Ul.FieldInfoBaseCtrlr","Common.Observable",{Adapter:null,ParentFormPanel:null,IsInitialized:!1,CheckValueChange:!1,IsAlwaysReadOnly:!1,Setting:null,constructor:function(t){this.callParent(arguments),this.addEvents("ValueChanged","Rendered","KeyPress","KeyDown","RequestParentFormPanelUi","RequestUiReposition"),1!=this.Setting.IsLazy&&this.CreateAdapter()},CreateAdapterConfig:function(){return{Setting:this.Setting}},CreateAdapter:function(){var t=this.CreateAdapterConfig();try{Common.Util.TryGetValue(this,"Setting.JsonExtraProp.CustomTemplate")?(t.xtype="Adapter.CustomFieldTemplateAdapter",this.Adapter=Ext.create(t)):this.Adapter=Ext.create(t)}catch(t){throw new Common.Exception({Text:"Error in create the Adapter of field: "+this.aType,InnerException:t})}this.AddListenersForAdapterEvents()},AddListenersForAdapterEvents:function(){this.Adapter.on({scope:this,ValueChanged:this._onAdapter_ValueChanged,KeyPress:function(t,e){this.fireEvent("KeyPress",this,e)},KeyDown:function(t,e){this.fireEvent("KeyDown",this,e)},Rendered:function(){this.fireEvent("Rendered",this)},RequestParentFormPanelUi:function(t,e){Common.Debug.Assert(Ext.isObject(e),"eBasket should be an object");var n=Common.Util.TryGetValue(this,"ParentFormPanel.Adapter.Control");e.FormPanelUi=n}})},_onAdapter_ValueChanged:function(t,e,n){this.FireEventSynch("ValueChanged",this,n)},GetUi:function(){return this.Adapter.Control},GetCaption:function(){if(this.Adapter)return this.Adapter.GetCaption()},GetValue:function(){if(this.Adapter)return this.Adapter.GetValue()},SetValue:function(t,e,n){this.Adapter.SuspendEvents(),this.Adapter.SetValue(t,e),this.Adapter.ResumeEvents(),1!=n&&this.RaiseValueChangedEvent()},CopyValueToMo:function(t){var e=this.GetValue();if(this.Setting.ControlName.contains(Common.InheritanceHelper.separator))var n=this.Setting.ControlName.split(Common.InheritanceHelper.separator),i=n[0],r=n[1],o=t.GetFValue(i);else o=t,r=this.Setting.ControlName;o.SetFValue(r,e),t.SetModified();var a=this.GetCaption(),s=o.GetCaption(r);Ext.isDefined(a)&&a!=s&&o.SetFCaption(r,a)},SetValueByMo:function(t,e,n){if(this.Setting.ControlName.contains(Common.InheritanceHelper.separator)){var i=this.Setting.ControlName.split(Common.InheritanceHelper.separator),r=i[0],o=i[1],a=t.GetFValue(r);if(a)var s=a.GetFValue(o),l=a.GetFCaption(o)}else s=t.GetFValue(this.Setting.ControlName),l=t.GetFCaption(this.Setting.ControlName);1==e?0==this.IsValueEqual(s,l)&&this.SetValue(s,l,n):this.SetValue(s,l,n)},IsValueEqual:function(t,e){var n=this.GetValue(),i=this.GetCaption();return(0==Ext.isEmpty(n)&&n.IsEqual?n.IsEqual(t):n==t)&&i==e},Initialize:function(){this.IsInitialized=!0},Clear:function(t){this.SetValue(null,null,t)},IsNull:function(){return Ext.isEmpty(this.GetValue())},RaiseValueChangedEvent:function(){this.fireEvent("ValueChanged",this)},Validate:function(){return this.IsRequiredValidation()},IsRequiredValidation:function(){var t=[];return this.GetMandatory()&&this.IsNull()&&t.push(new Common.ValidationResult({Text:String.format(BBB.AlertFieldIsMandatory,this.Setting.ControlFieldCaption),Type:Common.Enums.ValidationType.Error,Target:this})),t},ValidateServerSide:function(t){t&&t()},GetEnable:function(){return Ext.value(this.Setting.IsEnable,!0)},SetEnable:function(t){this.IsInNormalSearchPanel()||(this.Setting.IsEnable=t,this.Adapter&&(this.Adapter.GetReadOnlySupport()?this.Adapter.SetEnable(t):this.SetEnableAndReadOnly(t,this.GetReadOnly())))},GetVisible:function(){return Ext.value(this.Setting.IsVisible,!0)},SetVisible:function(t,e){this.IsInNormalSearchPanel()||(this.Setting.IsVisible=t,this.Adapter&&this.Adapter.SetVisible(t,e))},GetReadOnly:function(){return!!this.IsAlwaysReadOnly||Ext.value(this.Setting.IsReadOnly,!1)},SetReadOnly:function(t){this.IsInNormalSearchPanel()||this.IsAlwaysReadOnly||(this.Setting.IsReadOnly=t,this.Adapter&&(this.Adapter.GetReadOnlySupport()?this.Adapter.SetReadOnly(t):this.SetEnableAndReadOnly(this.GetEnable(),t)))},SetEnableAndReadOnly:function(t,e){this.Adapter&&this.Adapter.SetEnable(t&&!e)},GetMandatory:function(){return Ext.value(this.Setting.IsMandatory,!1)},SetMandatory:function(t){this.Setting.IsMandatory=t,this.Adapter&&this.Adapter.SetMandatory(t)},GetBold:function(){return Ext.value(this.Setting.IsBold,!1)},SetBold:function(t){this.Setting.IsBold=t,this.Adapter&&this.Adapter.SetBold(t)},SetSize:function(t,e){if(this.Adapter)return this.Adapter.SetSize(t,e)},SetFocus:function(t,e){if(this.Adapter)return this.Adapter.SetFocus(t,e)},HasFocus:function(){return!!this.Adapter&&this.Adapter.HasFocus()},GetSize:function(){if(this.Adapter)return this.Adapter.GetSize()},Destroy:function(){this.purgeListeners(),this.Adapter&&this.Adapter.Destroy(),this.Adapter=null},Refresh:function(t){var e=this.ParentFormPanel.Mo;Ext.isNotEmpty(e)&&this.SetValueByMo(e)},IsInNormalSearchPanel:function(){return!(!Ext.isNotEmpty(this.FormPanelCtrlr)||!this.FormPanelCtrlr.IsNormalSearchPanel)||!(!Ext.isNotEmpty(this.ParentFormPanel)||!this.ParentFormPanel.IsNormalSearchPanel)},FocusNextPrev:function(t){this.ParentFormPanel&&this.ParentFormPanel.FocusNextPrevChild(t)},_shouldRaiseSetValueEvent:function(t,e,n){var i=!1;return(0==n||Ext.isEmpty(n)&&t!=e)&&(i=!0),i}})},95134:()=>{Common.Cs.Define("Adapter.TextBoxBaseAdapter","Adapter.FieldInfoBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t._focusableType="Ui.Focusable_Field",t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.SmartTextChangedEventPlugin),t.plugins.push(Ui.FocusPlugin),t.Setting.SmartTextChangeDelay&&(t._smartTextChangeDelay=t.Setting.SmartTextChangeDelay),t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("change",this.RaiseValueChangedEvent,this),this.Control.on("SmartChange",this.RaiseValueChangedEvent,this),this.Control.on("keypress",this.KeyPressEvent,this),this.Control.on("keydown",this.KeyDownEvent,this)},KeyPressEvent:function(t,e){this.fireEvent("KeyPress",this,e)},KeyDownEvent:function(t,e){this.fireEvent("KeyDown",this,e)}})},6845:()=>{Common.Cs.Define("Ul.ValuelessFieldInfoCtrlr","Ul.FieldInfoBaseCtrlr",{GetCaption:function(){},GetValue:function(){},SetValue:function(t,e,n){},CopyValueToMo:function(t,e){},SetValueByMo:function(t){this.Adapter&&this.Adapter.SetValueByMo&&this.Adapter.SetValueByMo(t)},IsValueEqual:function(t,e){return!0},Initialize:function(){this.IsInitialized=!0},Clear:function(t){},IsNull:function(){},RaiseValueChangedEvent:function(){},Validate:function(){return[]},ValidateServerSide:function(t){t&&t()},GetReadOnly:function(){return!0},SetReadOnly:function(t){},GetMandatory:function(){return this.Setting.IsMandatory},SetMandatory:function(t){}})},87561:()=>{Common.Cs.Define("Ul.CommandInfoAdapter","Adapter.FieldInfoBaseAdapter",{constructor:function(t){this.callParent(arguments),this.addEvents("ToolClick"),this.addEvents("Click")},CreateControlConfig:function(){var t=this.callParent(arguments);t.xtype="Ui.Button",t._focusableType="Ui.Focusable_Field",t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin),t.icon=t.Setting.FieldIcon;var e=t.Setting.JsonExtraProp&&t.Setting.JsonExtraProp.Tooltip;t.tooltip=e;var n=this.Setting.Caption;return this.Setting.JsonExtraProp&&!0===this.Setting.JsonExtraProp.HideCaption&&(n=""),t.text=n,t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("click",(function(){this.FireEvent("ToolClick",this),this.FireEvent("Click",this)}),this)}})},65429:()=>{Common.Cs.Define("Ul.CommandInfoAdapter_Metro","Adapter.FieldInfoBaseAdapter",{_data:null,constructor:function(t){this.callParent(arguments),this.addEvents("ToolClick"),this.addEvents("Click")},CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.MetroButton",t.text=this.Setting.Caption,t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("click",(function(){this.FireEvent("ToolClick",this),this.FireEvent("Click",this)}),this)},SetValueByMo:function(t){var e=Common.Merger.Merge({},this.Setting.JsonExtraProp);for(var n in e){var i=e[n];if(Ext.isString(i)&&i.startsWith("{")&&i.endsWith("}")){var r=t[i.substring(1,i.length-1)];r&&(e[n]=r)}}this._data=e,this.Control&&this.Control.SetData(this._data)}})},16606:()=>{Common.Cs.Define("Ul.CommandInfoAdapter_Toolbar","Adapter.FieldInfoBaseAdapter",{_parentFormPanelAdapter:null,_formToolbarUi:null,constructor:function(t){this.callParent(arguments),this.addEvents("Click")},CreateControl:function(){},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("Click",(function(){this.FireEvent("Click",this)}),this)},Destroy:function(){this.purgeListeners()}})},27791:()=>{Common.Cs.Define("Ul.CommandInfoCtrlr","Ul.ValuelessFieldInfoCtrlr",{constructor:function(t){this.callParent(arguments),this.addEvents("ToolClick"),this.Setting.ControlIsReadOnly&&this.SetReadOnly(!0);var e=!0;e&&(this.ParentFormPanel.on("ValueChange",this._onParentFormCtrlr_ValueChange,this),this.on("beforedestroy",(function(){this.ParentFormPanel.un("ValueChange",this._onParentFormCtrlr_ValueChange,this)}),this))},_isReadOnly:!1,CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.CommandInfoAdapter","MetroButton"==Common.Util.TryGetValue(this.Setting,"JsonExtraProp.Type")&&(t.xtype="Ul.CommandInfoAdapter_Metro"),t},AddListenersForAdapterEvents:function(){this.Adapter.on("ToolClick",this._onToolClick,this)},_onToolClick:function(){var t={objectId:this.ParentFormPanel.Mo.Id,fieldDefId:this.Setting.ControlFieldDefId};Common.Ajax.GetServerData("Form94.LogCommand",t,null,null,null,this,!0);var e=Common.LogManager.StartLog("Command.Execute",{FieldDefId:t.fieldDefId,MoId:t.objectId});if(this.Setting.DynamicCommand){var n={Command:this,DynamicSetting:this.Setting.DynamicCommand,Form:this.ParentFormPanel,Mo:this.ParentFormPanel.Mo};Common.CustomCodeManager.RunDynamicCommand(this.Setting.ControlFieldDefId,n,e)}else Common.Async.Waterfall("Ul.CommandInfoCtrlr._onToolClick",[this.FireEventSynch.bind(this,"ToolClick",null),this.HandleClick.bind(this)],(function(t,n){Common.Async.Finalize(t,n,e)}));Common.LogManager.EndLog(e)},HandleClick:function(){var t=this.ParentFormPanel.Mo.Id;switch(this.Setting.Type){case"WordReportCommand":Bw.Report.ShowForm({ReportId:this.Setting.ReportId,HideToolbar:!1,RequestedMoIds:[t]});break;case"RefreshFieldCommand":this.ParentFormPanel.RefreshFieldCommand(this.Setting.FieldList)}},GetReadOnly:function(){if(1==this.Setting.DisableWhenReadonly)return!this.GetEnable()},SetReadOnly:function(t){1==this.Setting.DisableWhenReadonly&&this.SetEnable(!t)},_onParentFormCtrlr_ValueChange:function(){this.Refresh()},statics:{DisplayTypeEnum:{Toolbar:"Toolbar",Button:"Button"}}})},44625:()=>{Common.Cs.Define("Ul.CommandInfoCtrlr_Toolbar","Ul.ValuelessFieldInfoCtrlr",{constructor:function(t){this.callParent(arguments),this.addEvents("ToolClick"),this.Setting.ControlIsReadOnly&&this.SetReadOnly(!0)},_isReadOnly:!1,CreateAdapter:function(){},GetUi:function(){if(this.ParentFormPanel.Adapter)return this.ParentFormPanel.Adapter.GetToolById(this.Setting.ControlFieldDefId)},GetVisible:function(){return this.ParentFormPanel.Adapter?this.ParentFormPanel.Adapter.GetToolbarCommandVisible(this.Setting.ControlFieldDefId):0!=this.Setting.Visible},SetVisible:function(t,e){this.IsInNormalSearchPanel()||(this.ParentFormPanel.Adapter?this.ParentFormPanel.Adapter.SetToolbarCommandVisible(this.Setting.ControlFieldDefId,t):this.Setting.Visible=t)},GetEnable:function(){return this.ParentFormPanel.Adapter?this.ParentFormPanel.Adapter.GetToolbarCommandEnable(this.Setting.ControlFieldDefId):0!=this.Setting.Enable},SetEnable:function(t){this.IsInNormalSearchPanel()||(this.ParentFormPanel.Adapter?this.ParentFormPanel.Adapter.SetToolbarCommandEnable(this.Setting.ControlFieldDefId,t):this.Setting.Enable=t)},GetReadOnly:function(){if(1==this.Setting.DisableWhenReadonly)return!this.GetEnable()},SetReadOnly:function(t){this.IsInNormalSearchPanel()||1==this.Setting.DisableWhenReadonly&&this.SetEnable(!t)}})},69785:()=>{Common.Cs.Define("Ul.SearchCommandInfoAdapter","Adapter.FieldInfoBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.SearchCommandInfoUi",t},AddListenersForControlEvents:function(){this.relayEvents(this.Control,["SearchClick","ClearClick"])}})},76035:()=>{Common.Cs.Define("Ul.SearchCommandInfoCtrlr","Ul.ValuelessFieldInfoCtrlr",{constructor:function(t){this.callParent(arguments),this.ParentFormPanel._searchCommandInfoCtrlr=this},CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.SearchCommandInfoAdapter",t},CreateAdapter:function(){this.callParent(arguments),this.relayEvents(this.Adapter,["SearchClick","ClearClick"])},AddListenersForAdapterEvents:function(){this.callParent(arguments)}})},19145:()=>{Common.Cs.Define("Ul.FileInfoAdapter","Adapter.FieldInfoBaseAdapter",{constructor:function(t){this.addEvents("Change","CommandRequest"),this.callParent(arguments)},AddListenersForControlEvents:function(){this.callParent(arguments),this.relayEvents(this.Control,["Change","CommandRequest"])},CreateControlConfig:function(){var t=this.callParent(arguments);switch(this.Setting.ViewType){case"LinearListBox":case"FileViewerControl":default:t.xtype="Ui.FileLinearListBox",t.Setting=this.Setting,t.FieldDefId=this.Setting.FieldDefId,t.IsReadOnly=this.Setting.IsReadOnly,t.IsReadOnlyOrDisable=this.IsReadOnlyOrDisable,t.CanSave=this.Setting.CanSave,t.CanDelete=this.Setting.CanDelete,t.CanView=this.Setting.CanView,t.ValidExtensions=this.Setting.ValidExtensions}return t},DisplayFiles:function(t){this.Control.DisplayFiles(t)},ShowUploadWindow:function(){this.Control.ShowUploadWindow()},SetValue:function(t){this.Control.SetValue(t)},SetEnable:function(t){t=Ext.value(t,!0),this.Control.SetEnable(t)},SetReadOnly:function(t){t=Ext.value(t,!1),this.Control.SetReadOnly(t)},GetReadOnlySupport:function(){return!0}})},23002:()=>{Common.Cs.Define("Ul.FileInfoCtrlr","Ul.FieldInfoBaseCtrlr",{_value:null,CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.FileInfoAdapter",t.IsReadOnlyOrDisable=this.GetReadOnly()||!this.GetEnable(),t},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on({scope:this,Change:this._onAdapter_Change,CommandRequest:this._onAdapter_CommandRequest})},_onAdapter_Change:function(t,e){this._applyFilesChange(e),this.SetValue(this._value),this.fireEvent("ValueChanged",this)},_onAdapter_CommandRequest:function(t,e,n,i){switch(e){case"FileUpload":var r=n;this._applyFilesChange(r);break;case"Upload":this.ShowUploadWindow();break;case"Download":this.Download({FileId:n,ViewOfficeOnline:!1});break;case"Edit":if(0==this._isEditable())return void Ul.MsgBox.Warning("مستند در حالت غیره قابل ویرایش است.");var o=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.Tag","");o=o.toLowerCase(),Common.File.OpenFile(n,!1,this,this.GetReadOnly(),!0);break;case"View":Common.File.OpenFile(n,!1,this,this.GetReadOnly(),!1);break;case"Refresh":this.Refresh();break;case"Delete":if(0==this._isEditable())return void Ul.MsgBox.Warning("مستند در حالت غیره قابل ویرایش است.");this._applyFilesChange({Id:n,IsDeleted:!0});break;case"ODEdit":var a=this.Setting.FieldDefId,s=this;Ul.NotificationManager.OnPublishFileWordUpdatedCallback=function(t){n===t&&(s.Refresh(!0),s.Adapter.RaiseValueChangedEvent())},Bw.File.OpenWord(0,this.ParentFormPanel.Mo.Id,a,this.ParentFormPanel.Mo.Id);break;case"OOEdit":case"OOView":this.Download({FileId:n,ViewOfficeOnline:!0,ReadOnly:0==this._isEditable()||"OOView"==e,OpenInNewWindow:i.ctrlKey})}},_findFileById:function(t){return this.GetValue().Files.find((function(e){return e.Id==t}))},_download:function(t){Common.File.OpenFile(t,!1,this,this.GetReadOnly(),!1)},Download:function(t){var e={FileId:0,Index:0,ViewOfficeOnline:!0,ConvertTo:"",ReadOnly:!1,OpenInNewWindow:!1};if(Common.Merger.Merge(e,t),0==e.FileId){var n=this.GetValue().Files.filter((function(t){return 1!=t.IsDeleted}));e.FileId=n[e.Index].Id}if(e.ReadOnly=e.ReadOnly||0==this._isEditable(),1!=this.Setting.OfficeOnline&&(t.ViewOfficeOnline=!1),e.ViewOfficeOnline){var i=this._findFileById(e.FileId),r=Common.File.CanEditInOfficeOnline(i.FileName);Common.File.CanViewInOfficeOnline(i.FileName)||r?r||(e.ReadOnly=!0):e.ViewOfficeOnline=!1;var o={fileId:e.FileId,parentMoId:this.ParentFormPanel.Mo.Id,isReadOnly:e.ReadOnly};Common.Ajax.GetServerData("OoLinkCreator.GetOoFileData",o,(function(t){var n=t.Link;this.ParentFormPanel.Mo.$HasOo=!0,this.fireEvent("ValueChanged",this),e.OpenInNewWindow?window.open(n):Common.File.DownloadLink(n,!0,this.RefreshAfterOoUpdate.bind(this,i),this)}),null,null,this)}else Common.File.DownloadFileId(e.FileId,!1,e.ConvertTo)},RefreshAfterOoUpdate:function(t){var e=this,n=!1;Ul.NotificationManager.OnPublishFileUpdatedCallback=function(i){i===t.Id&&(n=!0,e.Refresh(!1))},Ext.defer((function(){n||(Ul.NotificationManager.OnPublishFileUpdatedCallback=null,this.Refresh(!1))}),3e3,this)},_deleteAllFiles:function(){return Common.Util.TryGetValue(this,"_value.Files")?(this._value.Files.forEach((function(t){t.IsDeleted=!0,t.IsNew=!1})),this._value.Files.length):0},_applyFilesChange:function(t){0==Ext.isArray(t)&&(t=[t]),t.forEach((function(t){0==Ext.isArray(t)&&(t=[t]),t.forEach((function(t){if(t.IsDeleted)this._value.Files.forEach((function(e){t.Id===e.Id&&(e.IsDeleted=!0,e.IsNew=!1)}));else if(this.IsSingleFileList()&&this._deleteAllFiles(),this._value.Files.push({FileName:t.FileName,Id:t.FileId,IsNew:!0,IsDeleted:!1,Type:t.FileName.split(".").pop(),Size:t.Size}),this.IsSingleFileList())return!1}),this)}),this),this.SetValue(this._value),this.fireEvent("ValueChanged",this)},GetCaption:function(){return""},GetValue:function(){return this._value},SetValue:function(t,e){if(this._value=t,this.IsSingleFileList()){var n=this._value.Files.find((function(t){return 1!=t.IsDeleted}),this);this.Adapter.SetValue(n)}else this.Adapter.SetValue(t.Files)},IsNull:function(){for(var t=Common.Util.TryGetValue(this,"_value.Files",[]),e=0;e<t.length;e++)if(!t[e].IsDeleted)return!1;return!0},Clear:function(){0!==this._deleteAllFiles()&&this._onAdapter_Change(null,{FileId:-1,IsDeleted:!0})},ShowUploadWindow:function(){if(0!=this._isEditable()){var t=this.GetValue().Files,e=0;for(i=0;i<t.length;i++)e+=parseInt(t[i].Size);if(LoginFormData.IsPortal)this.Adapter.ShowUploadWindow();else{var n=new Ul.UploadWindowCtrlr({Setting:{_fdId:this.Setting.FieldDefId,_title:BBB.SelectFile,_uploadEmptyText:BBB.SelectFile,_validExtensions:this.Setting.ValidExtensions,_maxFileSize:this.Setting.MaxFileSizeKb/1e3,_maxTotalSize:this.Setting.MaxTotalFileSizeKb/1e3,_maxFileCount:this.Setting.MaxFileCount,_totalFileSize:e}});n.on("FileUpload",(function(t,e){this._applyFilesChange(e)}),this),n.Show()}}else Ul.MsgBox.Warning("مستند در حالت غیره قابل ویرایش است.")},Destroy:function(){this.callParent(arguments),Common.FileAgent.RemoveControlFromCache(this)},IsSingleFileList:function(){return"LinearListBox"!=this.Setting.ViewType},_isEditable:function(){return 1!=this.Setting.IsReadOnly&&0!=this.Setting.IsEnable}})},61203:()=>{Common.Cs.Define("Ul.FileViewerInfoAdapter","Ul.FileInfoAdapter",{____constructor:function(t){this.addEvents("Change","CommandRequest"),this.callParent(arguments)},____AddListenersForControlEvents:function(){this.callParent(arguments),this.relayEvents(this.Control,["Change","CommandRequest"])},CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.PdfViewer",t.FieldDefId=this.Setting.FieldDefId,t.IsReadOnly=this.Setting.IsReadOnly,t.CanSave=this.Setting.CanSave,t.CanDelete=this.Setting.CanDelete,t.CanView=this.Setting.CanView,t.ValidExtensions=this.Setting.ValidExtensions,t.OfficeOnline=this.Setting.OfficeOnline,t.useWordEditor=this.Setting.WordEditor,t},SetValue:function(t){this.Control.SetValue(t)},ShowUploadWindow:function(){this.Control.ShowUploadWindow()},Refresh:function(t){this.Control.Refresh(t)}})},41994:()=>{Common.Cs.Define("Ul.FileViewerInfoCtrlr","Ul.FileInfoCtrlr",{_value:null,CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.FileViewerInfoAdapter",t},____AddListenersForAdapterEvents:function(){this.callParent(arguments)},____onAdapter_Change:function(t,e){e.IsDeleted?this._value.Files.forEach((function(t){t.Id===e.FileId&&(t.IsDeleted=!0,t.IsNew=!1)})):(0==Ext.isArray(e)&&(e=[e]),this.Adapter.IsSingleFileList()?(this._deleteAllFiles(),this._value.Files.push({FileName:e.FileName,Id:e.FileId,IsNew:!0,IsDeleted:!1,Type:e.FileName.split(".").pop()})):(0==Ext.isArray(e)&&(e=[e]),e.forEach((function(t){this._value.Files.push({FileName:t.FileName,Id:t.FileId,IsNew:!0,IsDeleted:!1,Type:t.FileName.split(".").pop()})}),this))),this.Adapter.DisplayFiles(this._value.Files),this.fireEvent("ValueChanged",this)},____onAdapter_CommandRequest:function(t,e){},____deleteAllFiles:function(){return Common.Util.TryGetValue(this,"_value.Files")?(this._value.Files.forEach((function(t){t.IsDeleted=!0,t.IsNew=!1})),this._value.Files.length):0},____GetValue:function(){return this._value},____SetValue:function(t,e){this._value=t,this.Adapter.SetValue(t.Files)},____ShowUploadWindow:function(){this.Adapter.ShowUploadWindow()},Destroy:function(){this.callParent(arguments),Common.FileAgent.RemoveControlFromCache(this)},Refresh:function(t){this.Adapter.Refresh(t)}})},21589:()=>{Common.Cs.Define("Adapter.IconInfoAdapter","Adapter.FieldInfoBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.SinglePicture",t},DisplayImage:function(t){this.Control.DisplayImage(t,"Center")},_value:null,GetValue:function(){return this._value},SetValue:function(t,e){this._value=t;var n=Common.Util.TryGetValue(this._value,"Url");this.Control.DisplayImage(n,"Center")}})},83088:()=>{Common.Cs.Define("Ul.IconInfoCtrlr","Ul.FieldInfoBaseCtrlr",{IsAlwaysReadOnly:!0,CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.IconInfoAdapter",t}})},13472:()=>{Common.Cs.Define("Adapter.PictureFileInfoAdapter","Adapter.FieldInfoBaseAdapter",{constructor:function(t){this.addEvents("Change","Click"),this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments);return t._fieldDefId=this.Setting.FieldDefId,t.IsReadOnly=this.Setting.IsReadOnly,t.xtype="Ui.PictureFile",t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("Change",this._onControlChange,this),this.Control.on("Click",(function(t,e){this.fireEvent("Click",this,e)}),this)},DisplayImage:function(t,e){this._value=e,this.Control._value=e,this.Control.DisplayImage(t,this.Setting.SizeMode,this._value)},_onControlChange:function(t,e){this.fireEvent("Change",this,e)},IsNull:function(){return Ext.isEmpty(Common.Util.TryGetValue(this,"_value.FileId"))||this._value.IsDeleted},SetEnable:function(t){this.Control.IsReadOnly=!t},SetReadOnly:function(t){this.Control.IsReadOnly=t}})},46663:()=>{Common.Cs.Define("Adapter.PictureFileInfoAdapter_Signature","Adapter.PictureFileInfoAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t._fieldDefId=this.Setting.FieldDefId,t._readOnly=this.Setting.IsReadOnly,t.xtype="Ui.Signature",t},SetEnable:function(t){this.Control.SetEnable(t)},SetReadOnly:function(t){this.Control.SetReadOnly(t)}})},54757:()=>{Common.Cs.Define("Ul.PictureFileInfoCtrlr","Ul.FieldInfoBaseCtrlr",{_value:null,constructor:function(t){this.callParent(arguments),this.addEvents("Click")},CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.PictureFileInfoAdapter",t.Setting.JsonExtraProp&&"Signature"==t.Setting.JsonExtraProp.Type&&(t.xtype="Adapter.PictureFileInfoAdapter_Signature"),t},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on({scope:this,Change:this._onAdapter_Change,Click:function(){this.fireEvent("Click",this)}})},Refresh:function(t){this.Adapter.DisplayImage(this._getImageUrl(!1),this.GetValue())},_getImageUrl:function(t){var e;e=this._value&&this._value.IsDeleted?"-"+this.Setting.FieldDefId:this.Setting.FieldDefId;var n=Common.Util.TryGetValue(this,"_value.FileId");return n?Common.Util.GetIconUrl(n,"","PictureFileInfo","",t,"&fdId="+e):Common.Util.GetIconUrl("","","PictureFileInfo","",t,"&fdId="+e)},GetCaption:function(){return""},IsNull:function(){return Ext.isEmpty(this._value)||this._value.IsDeleted},GetValue:function(){return this._value},SetValue:function(t,e){this._value=t,this.Adapter.DisplayImage(this._getImageUrl(!0),t)},_onAdapter_Change:function(t,e){Ext.isArray(e)&&(e=e[0]),e?(this._value=Ext.value(this._value,{}),this._value.FileId=e.FileId,this._value.IsDeleted=!1):this._value.IsDeleted=!0,this._value.IsDeleted?this.Adapter.DisplayImage("",this._value):this.Adapter.DisplayImage(this._getImageUrl(),this._value),this.fireEvent("ValueChanged",this)},Clear:function(){Common.Util.TryGetValue(this,"_value.FileId")&&this._onAdapter_Change(null,"")}})},48220:()=>{Common.Cs.Define("Ul.PictureFileInfoCtrlr_Signature","Ul.PictureFileInfoCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.PictureFileInfoAdapter_Signature",t},ForceSetToMo:function(t,e){var n=this.GetValue();Ext.isObject(n)&&!1===n.IsDeleted?e():this.Adapter.Control.UploadImage(e)},_onAdapter_Change:function(t,e){"MagicDummyWord!"!=e?(Ext.isArray(e)&&(e=e[0]),e?(this._value=Ext.value(this._value,{}),this._value.FileId=e.FileId,this._value.IsDeleted=!1):this._value.IsDeleted=!0,this._value.IsDeleted?this.Adapter.DisplayImage("",this._value):this.Adapter.DisplayImage(this._getImageUrl(),this._value),this.fireEvent("ValueChanged",this)):this.fireEvent("ValueChanged",this)}})},91872:()=>{Common.Cs.Define("Adapter.PicturesInfoAdapter","Adapter.FieldInfoBaseAdapter",{constructor:function(t){this.addEvents("Change"),this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments);return t.FieldDefId=this.Setting.FieldDefId,t.IsReadOnly=this.Setting.IsReadOnly,t.ScannerAgentParams=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.ScanSetting.Agent"),t.ScanSetting=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.ScanSetting"),t.xtype="Ui.PicturesInfo",t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("Change",this._onControl_Change,this)},GetCaption:function(){return""},DisplayImages:function(t){this.Control.DisplayImages(t)},_onControl_Change:function(t){this.fireEvent("Change",this,t)}})},55580:()=>{Common.Cs.Define("Ul.PicturesInfoCtrlr","Ul.FieldInfoBaseCtrlr",{_value:null,CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.PicturesInfoAdapter",t},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on({scope:this,Change:this._onAdapter_Change})},GetValue:function(){return this._value},SetValue:function(t,e){this._value=t,this._value.AddedList||(this._value.AddedList=[]),this._value.RemovedList||(this._value.RemovedList=[]),this.Adapter.DisplayImages(t.Images)},_onAdapter_Change:function(t,e){0==Ext.isArray(e)&&(e=[e]);var n=this._value.Images;e.forEach((function(t){0==Ext.isArray(t)&&(t=[t]),t.forEach((function(t){if(t.ChangeOrder){this._value.ChangeOrder=!0;var e=n[t.OldIndex];n.removeAt(t.OldIndex),n.insertAt(t.NewIndex,e)}else if(t.IsDeleted){var i=this._findFileId_InArray(t.FileId,this._value.AddedList);-1!==i?this._value.AddedList.splice(i,1):this._value.RemovedList.push({FileId:t.FileId,FileName:t.FileName}),n.removeAt(t.OldIndex)}else this._value.AddedList.push({FileId:t.FileId,FileName:t.FileName}),n.insertAt(t.NewIndex,t)}),this)}),this),this.fireEvent("ValueChanged",this)},_findFileId_InArray:function(t,e){for(var n=0;n<e.length;n++)if(e[n].FileId===t)return n;return-1},Clear:function(){var t=Common.Util.TryGetValue(this,"_value.Images",[]),e=Common.Util.TryGetValue(this,"_value.AddedList",[]);0==t.length&&0==e.length||(t.forEach(function(t){-1===this._findFileId_InArray(t.Id,this._value.RemovedList)&&this._value.RemovedList.push({FileId:t.Id})}.bind(this)),this._value.Images=[],this._value.AddedList=[],this.Adapter.DisplayImages([]),this.fireEvent("ValueChanged",this))},IsNull:function(){var t=Common.Util.TryGetValue(this,"_value.Images",[]),e=Common.Util.TryGetValue(this,"_value.AddedList",[]);return 0===t.length&&0===e.length},SetReadOnly:function(t){this.Setting.IsReadOnly=this.Adapter.Setting.IsReadOnly=t,this.Adapter.Control.SetReadOnly(t)}})},25321:()=>{Common.Cs.Define("Adapter.SinglePictureInfoAdapter","Adapter.FieldInfoBaseAdapter",{constructor:function(t){this.addEvents("Click"),this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.SinglePicture",t},CreateControl:function(){this.callParent(arguments),this.Control.DisplayImage&&this.Control.DisplayImage(this.Setting.ImageUrl,this.Setting.SizeMode)},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("click",(function(t,e){this.fireEvent("Click",this,e)}),this)},GetReadOnly:function(){return Boolean(this.Setting.IsReadOnly)},SetReadOnly:function(t){this.Setting.IsReadOnly=t}})},99606:()=>{Common.Cs.Define("Ul.SinglePictureInfoCtrlr","Ul.FieldInfoBaseCtrlr",{IsAlwaysReadOnly:!0,constructor:function(t){this.callParent(arguments),this.addEvents("Click")},CreateAdapterConfig:function(){var t=this.callParent(arguments),e=this._getImageUrl();return this.Setting.ImageUrl=e,t.xtype="Adapter.SinglePictureInfoAdapter",t},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on({scope:this,Click:function(){this.fireEvent("Click",this)}})},_getImageUrl:function(){var t=this.Setting.FieldDefId,e=this.ParentFormPanel.Mo.Id;return Common.Util.GetIconUrl("","","SinglePictureInfo","",!1,"&moId="+e+"&fdId="+t)},GetValue:function(){},SetValue:function(){},IsNull:function(){return this.Setting.IsNull},___SetReadOnly:function(){},___GetReadOnly:function(){return!0}})},30257:()=>{Common.Cs.Define("Ul.UploadWindowAdapter","Common.Observable",{constructor:function(t){this.callParent(arguments),this.addEvents("FileUpload"),this.CreateControl()},CreateControl:function(){var t=this.CreateControlConfig();this.Control=Ext.create(t),this.AddListenersForControlEvents()},CreateControlConfig:function(){return{Setting:this.Setting,xtype:"Ui.UploadWindowNew"}},AddListenersForControlEvents:function(){this.relayEvents(this.Control,["FileUpload"])},Show:function(){this.Control.show()}})},65561:()=>{Common.Cs.Define("Ul.UploadWindowCtrlr","Common.Observable",{_value:null,constructor:function(t){this.callParent(arguments),this.addEvents("FileUpload"),this.CreateAdapter()},CreateAdapter:function(){var t=this.CreateAdapterConfig();this.Adapter=Ext.create(t),this.AddListenersForAdapterEvents()},CreateAdapterConfig:function(){return{xtype:"Ul.UploadWindowAdapter",Setting:this.Setting}},AddListenersForAdapterEvents:function(){this.relayEvents(this.Adapter,["FileUpload"])},Show:function(){this.Adapter.Show()},Destroy:function(){Common.FileAgent.RemoveControlFromCache(this)}})},16673:()=>{Common.Cs.Define("Ul.WordFileInfoCtrlr","Ul.FileViewerInfoCtrlr",{_value:null,_download:function(t){var e;this.GetReadOnly()&&(e="pdf"),Common.File.OpenFile(t,!1,this,this.GetReadOnly(),!1,e)}})},34735:()=>{Common.Cs.Define("Ul.CalculationInfoAdapter","Adapter.FieldInfoBaseAdapter",{_innerFieldAdapter:null,constructor:function(t){this.addEvents("Calculate"),this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments);t._innerControl=this._innerFieldAdapter.Control;var e=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.Float",!1),n=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.ShowIcon",!0),i=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.ShowIcon",!1),r=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.CustomIcon","Themes/Gray/refresh.png"),o=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.CustomText",BBB.Recalculate);t.xtype=e?"Ui.ContainerWithFloatingButtons":"Ui.ContainerWithButton",e||(t._focusableType="Ui.Focusable_Container",t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin));var a=this;return 0==this.Setting.DontShowRecalculateButton&&(t._buttonsConfig=[{itemId:"Recalculate",text:i?o:"",icon:n?r:"",_isFlat:!0,_isNarrow:!0,scope:a,handler:function(){var t=Common.Util.TryGetValue(a.Control,"FormPanelUi.Setting.Data.Mo"),e={FieldDefId:a.Setting.ControlFieldDefId,MoId:t&&t.Id,TypeDefId:t&&t.$TypeDefId},n=Common.LogManager.StartLog("Field.Calculate",e);a.FireEventSynch("Calculate",a,n),Common.LogManager.EndLog(n)}}]),t},AddListenersForControlEvents:function(){this.callParent(arguments)},GetCaption:function(){Common.Debug.Assert(!1,"Ul.CalculationInfoAdapter.GetCaption: unreachable code")},GetValue:function(){Common.Debug.Assert(!1,"Ul.CalculationInfoAdapter.GetValue: unreachable code")},SetValue:function(t,e){Common.Debug.Assert(!1,"Ul.CalculationInfoAdapter.SetValue: unreachable code")},EnableCalculateButton:function(t){this.Control.EnableButtons("Recalculate",t)},RaiseValueChangedEvent:function(){Common.Debug.Assert(!1,"Ul.CalculationInfoAdapter.RaiseValueChangedEvent: unreachable code")},Clear:function(){Common.Debug.Assert(!1,"Ul.CalculationInfoAdapter.Clear: unreachable code")},IsNull:function(){Common.Debug.Assert(!1,"Ul.CalculationInfoAdapter.IsNull: unreachable code")}})},6442:()=>{Common.Cs.Define("Ul.CalculationInfoCtrlr","Ul.FieldInfoBaseCtrlr",{_innerFieldCtrlr:null,constructor:function(t){this._innerFieldCtrlr=this._createInnerFieldCtrlr(t),this._innerFieldCtrlr.on("ValueChanged",this.RaiseValueChangedEvent,this),this.callParent(arguments)},_createInnerFieldCtrlr:function(t){var e=Common.Merger.Clone({},t,{excludeList:["ParentFormPanel"]});return e.ParentFormPanel=t.ParentFormPanel,Common.Merger.FastMerge(e.Setting,e.Setting.InnerCtrlr),delete e.Setting.InnerCtrlr,e.xtype=e.Setting.xtype,delete e.Setting.xtype,delete e.DontShowRecalculateButton,delete e.EditType,e.Setting.ControlConfigOverride={},e.Setting.ShowAsTextBox=!1,Ext.create(e)},CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.CalculationInfoAdapter",t._innerFieldAdapter=this._innerFieldCtrlr.Adapter,t},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on("Calculate",(function(t,e,n){this.ParentFormPanel.CalculateFields(this.Setting.ControlFieldDefId,n)}),this)},CopyValueToMo:function(t){return this._innerFieldCtrlr.CopyValueToMo(t)},GetCaption:function(){return this._innerFieldCtrlr.GetCaption()},GetValue:function(){return this._innerFieldCtrlr.GetValue()},SetValue:function(t,e,n){this._innerFieldCtrlr.SetValue(t,e,n)},Clear:function(t){this._innerFieldCtrlr.Clear()},IsNull:function(){return this._innerFieldCtrlr.IsNull()},Validate:function(){return this._innerFieldCtrlr.Validate()},SetReadOnly:function(t){this.IsInNormalSearchPanel()||(this.callParent(arguments),this._innerFieldCtrlr.SetReadOnly(t),this._refreshCalcButtonState(this.GetEnable(),this.GetReadOnly()))},SetEnable:function(t){this.IsInNormalSearchPanel()||(this.callParent(arguments),this._innerFieldCtrlr.SetEnable(t),this._refreshCalcButtonState(this.GetEnable(),this.GetReadOnly()))},_refreshCalcButtonState:function(t,e){this.Adapter.EnableCalculateButton(1==t||0==e)},Destroy:function(){this._innerFieldCtrlr.Destroy(),this.purgeListeners(),this.Adapter.Destroy(),this.Adapter=null},statics:{EditTypeEnum:{NoEdit:"NoEdit",FullEdit:"FullEdit",OnlyEditByCode:"OnlyEditByCode"}}})},12254:()=>{Common.Cs.Define("Ul.CodeEditorAdapter","Adapter.FieldInfoBaseAdapter",{_innerFieldAdapter:null,CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.MonacoEditor",t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("change",this.RaiseValueChangedEvent,this)},GetReadOnlySupport:function(){return!1}})},5603:()=>{Common.Cs.Define("Ul.CodeEditorCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.CodeEditorAdapter",t}})},82915:()=>{Common.Cs.Define("Ul.ColorInfoAdapter","Adapter.FieldInfoBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.Color_Ui",t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("change",this.RaiseValueChangedEvent,this)}})},38857:()=>{Common.Cs.Define("Ul.ColorInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.ColorInfoAdapter",t}})},96806:()=>{Common.Cs.Define("Ul.GaugeInfoAdapter","Adapter.FieldInfoBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.Gauge_Ui",t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("change",this.RaiseValueChangedEvent,this)}})},7730:()=>{Common.Cs.Define("Ul.GaugeInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.GaugeInfoAdapter",t}})},91220:()=>{Common.Cs.Define("Ul.LogicalDeleteCtrlr","Ul.BoolInfoCtrlr",{})},96466:()=>{Common.Cs.Define("Ul.UndefinedFieldInfoAdapter","Adapter.FieldInfoBaseAdapter",{_innerFieldAdapter:null,CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.UndefinedFieldInfoUi",t}})},47986:()=>{Common.Cs.Define("Ul.UndefinedFieldInfoCtrlr","Ul.ValuelessFieldInfoCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.UndefinedFieldInfoAdapter",t}})},41211:()=>{Common.Cs.Define("Ul.MoInfoGeneralObjectAdapter","Adapter.FieldInfoBaseAdapter",{Setting:null,_typeComboAdapter:null,_objectComboAdapter:null,_value:null,CreateControl:function(){var t=this.CreateControlConfig();Adapter.FieldInfoBaseAdapter.GetCustomUiConfig(this.Setting,t);try{this.Control=Ext.create(t)}catch(t){throw new Common.Exception({Text:"Error in create the Control of field: "+this.aType,InnerException:t})}this.AddListenersForControlEvents()},CreateControlConfig:function(){var t=this.callParent(arguments);return t._typeComboControl=this._typeComboAdapter.Control,t._objectComboControl=this._objectComboAdapter.Control,t.xtype="Ui.MoInfoGeneralObjectUi",t},AddListenersForControlEvents:function(){this.callParent(arguments)},GetCaption:function(){},IsNull:function(){}})},4444:()=>{Common.Cs.Define("Ul.MoInfoGeneralObjectCtrlr","Ul.MoInfoBaseCtrlr",{Setting:null,_typeComboCtrlr:null,_objectComboCtrlr:null,_value:null,CreateAdapter:function(){this._createTypeCombo(),this._createObjectCombo(),this.callParent(arguments)},CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.MoInfoGeneralObjectAdapter",t._typeComboAdapter=this._typeComboCtrlr.Adapter,t._objectComboAdapter=this._objectComboCtrlr.Adapter,t},GetValue:function(){return this._value},SetValue:function(t,e,n){this._value=t;var i=this.ResolveTypeDefIdAndId(this._value);this._typeComboCtrlr.SetValue(i.tdId,null,!1),this._objectComboCtrlr.SetValue(t,null,!1),1!=n&&this.RaiseValueChangedEvent()},SuspendEvents:function(t){this.callParent(arguments),this._objectComboCtrlr.SuspendEvents(t),this._typeComboCtrlr.SuspendEvents(t)},ResumeEvents:function(){this.callParent(arguments),this._objectComboCtrlr.ResumeEvents(),this._typeComboCtrlr.ResumeEvents()},_createTypeCombo:function(){var t=this.Setting.TypePartConfig;t.ControlConfigOverride={emptyText:BBB.Empty_Bracket,blankText:BBB.Empty_Bracket,hideMode:"display",boxMinWidth:120,flex:1},Common.Merger.Merge(t,this.Setting,{excludeList:["ObjectPartConfig","TypePartConfig"]});var e={Setting:t,xtype:t.xtype,ParentFormPanel:this.ParentFormPanel};this._typeComboCtrlr=Ext.create(e),this._typeComboCtrlr.on("ValueChanged",this._onTypeComboCtrlr_ValueChanged,this),this._typeComboCtrlr.on("BeforeLoadUlv",this._onTypeComboCtrlr_BeforeLoadUlv,this)},_createObjectCombo:function(){var t=this.Setting.ObjectPartConfig;t.ControlConfigOverride={emptyText:BBB.Empty_Bracket,blankText:BBB.Empty_Bracket,hideMode:"display",boxMinWidth:120,flex:3},Common.Merger.Merge(t,this.Setting,{excludeList:["ObjectPartConfig","TypePartConfig"]});var e={Setting:t,xtype:t.xtype,ParentFormPanel:this.ParentFormPanel};this._objectComboCtrlr=Ext.create(e),this._objectComboCtrlr.GeneralInfo_TypeComboCtrlr=this._typeComboCtrlr,this._objectComboCtrlr.on("ValueChanged",this._onObjectComboCtrlr_ValueChanged,this),this._objectComboCtrlr.on("BeforeLoadUlv",this._onObjectComboCtrlr_BeforeLoadUlv,this)},_onTypeComboCtrlr_ValueChanged:function(){var t=Common.Util.TryGetValue(this._value,"TdId");this._typeComboCtrlr.GetValue()!=t&&this._objectComboCtrlr.SetValue(null)},_onObjectComboCtrlr_ValueChanged:function(){this._value=this._objectComboCtrlr.GetValue(),this.RaiseValueChangedEvent()},_onTypeComboCtrlr_BeforeLoadUlv:function(t,e){e.ExtraParams={IsTypeDefList:!0}},_onObjectComboCtrlr_BeforeLoadUlv:function(t,e){e.ExtraParams={IsTypeDefList:!1};var n=this.GetValue(),i=this.ResolveTypeDefIdAndId(n),r=i?i.tdId:null;if(Ext.isEmpty(r)){var o=this._typeComboCtrlr.GetValue();o&&(r=o.Id)}e.TypeDefId=r;var a=this.Setting.TypePartConfig.DataSource.Rows.find((function(t){return t.id==r}));a&&(e.ReportId=a.reportid)},statics:{_internalDefaults:{}}})},5151:()=>{Common.Cs.Define("Ul.HierarchicalInfoCtrlr","Ul.MoInfoUlvComboCtrlr",{constructor:function(t){t.Setting.ReportName="Hierarchical",this.callParent(arguments)}})},24733:()=>{Common.Cs.Define("Ul.MoInfoBaseCtrlr","Ul.FieldInfoBaseCtrlr",{_value:null,Initialize:function(){this.callParent(arguments),this.SetValueToTopLevelParentMo()},SetValue:function(t,e,n){this._value=t,this.Adapter.SetValue(this._value),1!=n&&this.RaiseValueChangedEvent()},GetValue:function(){return this._value},GetCaption:function(){var t=this._value;return Ext.isEmpty(t)?"":t instanceof Common.MetaObjectWeb?t.GetCaption():Ext.isObject(t)?t.$Caption:void 0},SetValueToTopLevelParentMo:function(){if(1==this.Setting.PassParentForm&&(n=this.ParentFormPanel.Mo).GetState()==Common.Enums.MoState.New){var t=Common.Util.TryGetValue(this,"ParentFormPanel.UlvMainCtrlr");if(t&&t.ParentMo){var e=this.Setting.ControlName,n=this.ParentFormPanel.Mo;Common.Debug.Assert(0==Ext.isEmpty(n),"Ul.MoInfoBaseCtrlr.SetValueToTopLevelParentMo: mo is null"),n[e]=t.ParentMo}}},ShowEditFormHelper:function(t,e){t=Ext.value(t,!1);var n,i,r,o=this.Setting.TypeViewId,a=!1,s=this.GetValue();if(0==t){if(Ext.isEmpty(s))return;var l=this.ResolveTypeDefIdAndId(s);i=l.id,r=l.tdId,a=this.Setting.ViewRelatedFormType==Common.Enums.SingleRelationViewFormType.ShowReadOnly}else{if(r=this.Setting.TargetTypeDefId,this.GeneralInfo_TypeComboCtrlr&&(r=this.GeneralInfo_TypeComboCtrlr.GetValue(),Ext.isObject(r)&&(r=r.Id)),Ext.isEmpty(r))return void Ul.MsgBox.Warning("ابتدا نوع شیئ را وارد کنید.");if(this._showInheritanceChildrenMenu(this.Setting.InheritanceInfo,a,t,e))return;n=(n=Common.MetaObjectWeb.CreateNewMo(r)).GetChangedObject()}this.ShowNewMoForm(n,i,r,o,a,t,null,e)},_showInheritanceChildrenMenu:function(t,e,n,i){if(!t||t.NewList.length<=0)return!1;if(this.Setting.IgnoreChildListOnNew)return!1;for(var r=this.Setting.TargetTypeDefId,o=this.Setting.TypeViewId,a=t.NewList,s=this,l=new Ext.menu.Menu,u=0;u<a.length;u++){var c=new Ext.menu.Item({itemId:a[u].TypeDefId,text:a[u].Data.TypeDef.Caption});c.on("click",(function(t){var a=Common.MetaObjectWeb.CreateNewMo(r);a=a.GetChangedObject(),s.ShowNewMoForm(a,r,r,o,e,n,t.itemId,i)})),l.add(c)}return l.show(this.Adapter.Control.el),!0},ShowNewMoForm:function(t,e,n,i,r,o,a,s){var l=new Ul.FormRequestParams({MoId:e,TypeDefId:n,Mo:t,TypeViewId:i,MoContext:{ReportId:this.Setting.DropDownReportId},IsReadOnly:r,IsNew:o});a&&(l.InheritanceChildTypeDefId=a),s=Ext.value(s,this._afterEditFormSaved);var u=Common.Util.TryGetValue(this,"UlvDropDownCtrlr.UlvMainCtrlr"),c=new Ul.FormPanelCtrlr({_forceReturnMoAfterSave:!0,FormRequestParams:l,UlvMainCtrlr:u});c.on({scope:this,AfterSave:function(t,e){s.call(this,e.FormPanel)}}),c.ShowFormWindow()},_afterEditFormSaved:function(t){var e=t.Mo,n=e.$State==Common.MetaObjectWeb.StateEnum.New||e.$StatePrev==Common.MetaObjectWeb.StateEnum.New;if(e.$TypeDefId!=this.Setting.TargetTypeDefId&&e.InheritanceInfo){var i=e.InheritanceInfo.ParentFieldName,r=e.GetFValue(i);e=r}var o=e.GetCaption(),a=e.Id;this.Adapter.RefreshRow&&this.Adapter.RefreshRow(a,o),this.SetValue(e,null,!n),this._forceRefreshLoadedList=!0},ResolveTypeDefIdAndId:function(t){var e={};return Ext.isString(t)?(e.id=t,e.tdId=this.Setting.TargetTypeDefId):t instanceof Common.MetaObjectWeb?(e.id=t.Id,e.tdId=t.GetTypeDefId()):Ext.isObject(t)&&(e.id=t.Id,e.tdId=t.$TypeDefId),e}})},69624:()=>{Common.Cs.Define("Adapter.MoInfoComboAdapter","Adapter.ComboBoxBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments),e={valueField:"id",displayField:"txt",iconClsField:"url",editable:!0,_showNewButton:this.Setting.ShowNewButton,_showEditButton:this.Setting.ViewRelatedFormType==Common.Enums.SingleRelationViewFormType.Show||this.Setting.ViewRelatedFormType==Common.Enums.SingleRelationViewFormType.ShowReadOnly,store:{xtype:"jsonstore",data:this.Setting.DataSource,root:"Rows",id:"id",fields:this.Setting.DataSource.Fields}};return this.Setting.IsAutoInlineEdit&&(t._showNewButton=!1,t._showEditButton=!1),Common.Merger.FastMerge(t,e),t},SetValue:function(t,e){var n=null;t instanceof Common.MetaObjectWeb||Ext.isObject(t)?n=t.Id:Ext.isString(t)&&(n=t),this.Control.setValue(n)},RefreshRow:function(t,e){this.Control.RefreshRow(t,e)}})},94576:()=>{Common.Cs.Define("Ul.MoInfoComboAdapter_Viewer","Adapter.FieldInfoBaseAdapter",{constructor:function(t){this.callParent(arguments),this.addEvents("ButtonClick")},CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.MoInfoCombo_Viewer",t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("ButtonClick",(function(){this.fireEvent("ButtonClick",this)}),this)},SetValue:function(t,e){var n=null;t instanceof Common.MetaObjectWeb?n=t.GetCaption():Ext.isObject(t)&&(n=t.$Caption),this.Control.setValue(n)}})},90805:()=>{Common.Cs.Define("Ul.MoInfoComboCtrlr","Ul.MoInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.MoInfoComboAdapter",t},Initialize:function(){this.callParent(arguments),this.SetValueToTopLevelParentMo()},IsNull:function(){var t=this.GetValue();return 1==this.Setting.IsMandatory?Ext.isEmpty(t)||-1==t||Ext.isObject(t)&&0==t.Id:Ext.isEmpty(t)},AddListenersForAdapterEvents:function(){this.Adapter.on({scope:this,TriggerClick:this._onAdapter_TriggerClick,ValueChanged:this._onAdapter_ValueChanged}),this.callParent(arguments)},_onAdapter_ValueChanged:function(t){var e=this.Adapter.GetValue(),n=this.Setting.DataSource.Rows;if(Ext.isEmpty(n))this.SetValue(null,"",!0);else{var i=n.findByProperty("id",e);i?this.SetValue({Id:i.id,$Icon:i.url,$Caption:i.txt,$TypeDefId:this.Setting.TargetTypeDefId},"",!0):this.SetValue(null,"",!1)}},_onAdapter_TriggerClick:function(t,e){switch(e){case"Edit":this.ShowEditFormHelper(!1);break;case"New":this.ShowEditFormHelper(!0)}},____showEditFormHelper:function(t){t=Ext.value(t,!1);var e=!1,n=this.GetValue();if(0==t){if(Ext.isEmpty(n))return;var i=new Common.MetaObjectWeb({Id:n,Data:{$TypeDefId:this.Setting.TargetTypeDefId}});e=this.Setting.ViewRelatedFormType==Common.Enums.SingleRelationViewFormType.ShowReadOnly}else i=Common.MetaObjectWeb.CreateNewMo(this.Setting.TargetTypeDefId);var r=new Ul.FormRequestParams({Mo:i.GetChangedObject(),MoContext:{ReportId:this.Setting.DropDownReportId},IsReadOnly:e,IsNew:t}),o=new Ul.FormPanelCtrlr({_forceReturnMoAfterSave:!0,FormRequestParams:r});o.on({scope:this,AfterSave:function(t,e){var n=e.FormPanel.Mo,i=n.$Caption,r=n.Id,o=n.$StatePrev==Common.MetaObjectWeb.StateEnum.New;this.Adapter.RefreshRow(r,i),this.SetValue(r,i,!o),this._forceRefreshLoadedList=!0}}),o.ShowFormWindow()}})},62173:()=>{Common.Cs.Define("Ul.MoInfoComboCtrlr_Viewer","Ul.MoInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.MoInfoComboAdapter_Viewer",t},Initialize:function(){this.callParent(arguments),this.SetValueToTopLevelParentMo()},Clear:function(t){this.Setting.IsMandatory||this.callParent(arguments)},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on({scope:this,ButtonClick:this._onAdapter_ButtonClick})},_onAdapter_ButtonClick:function(t){this._showEditFormHelper(!1)},_showEditFormHelper:function(){var t,e=this.GetValue();if(!Ext.isEmpty(e)){t=e instanceof Common.MetaObjectWeb?e:new Common.MetaObjectWeb({Id:e.Id,TypeDefId:e.$TypeDefId});var n=new Ul.FormRequestParams({Mo:t.GetChangedObject(),MoContext:{ReportId:this.Setting.DropDownReportId},IsReadOnly:!0});new Ul.FormPanelCtrlr({_forceReturnMoAfterSave:!0,FormRequestParams:n}).ShowFormWindow()}}})},68821:()=>{Common.Cs.Define("CustomUi.MoInfoSubFormUi","Ui.CustomField",{createControlUi:function(){this.addEvents("AddFormControlUi"),this.callParent(arguments)},doLayout:function(){},removeAll:function(){},add:function(t){this.formControl=t,this.fireEvent("AddFormControlUi",this.formControl)}})},85253:()=>{Common.Cs.Define("Ul.MoInfoGeneralObjectSubFormCtrlr","Ul.MoInfoSubFormCtrlr",{LoadFormPanelOnSetValue:!0,SetValue:function(t,e,n){if(0==Ext.isEmpty(t))if(t.$FormPanelSetting)Common.Merger.FastMerge(this.FormPanelCtrlr.Setting,t.$FormPanelSetting),this.FormPanelCtrlr.Adapter=null,this.FormPanelCtrlr.LoadAndCreate(null,!1,!1);else if(t.Id){var i,r=t.Id;t instanceof Common.MetaObjectWeb&&(i=t);var o={fieldDefId:this.Setting.ControlFieldDefId,mo:i,moId:r,isReadOnly:1==this.Setting.IsReadOnly};Common.Ajax.GetServerData("Form94.GetGenerObjectFieldValue",o,(function(t){var e,n=this.ParentFormPanel.Mo;for(var i in Common.Merger.FastMerge(n,t),t)t[i].$FormPanelSetting&&(e=t[i].$FormPanelSetting),n.$OriginalValues[i]="";Common.Merger.FastMerge(this.FormPanelCtrlr.Setting,e),this.FormPanelCtrlr.Adapter=null,this.FormPanelCtrlr.LoadAndCreate(null,!1,!1)}),null,null,this)}},_onFormPanelCtrlr_AfterLoad:function(){this.FormPanelCtrlr.Relayout()}})},87920:()=>{Common.Cs.Define("Ul.MoInfoSubFormAdapter","Adapter.FieldInfoBaseAdapter",{FormPanelAdapter:null,constructor:function(t){this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.MoInfoSubFormUi",t},SetFormPanelAdapter:function(t){this.FormPanelAdapter&&this.FormPanelAdapter.Destroy(),this.FormPanelAdapter=t,this.Control.removeAll(!0),this.Control.add(this.FormPanelAdapter.Control),this.Control.doLayout()}})},19445:()=>{Common.Cs.Define("Ul.MoInfoSubFormCtrlr","Ul.FieldInfoBaseCtrlr",{PreviewSourceField:null,FormPanelCtrlr:null,Adapter:null,_emptyPanelAdapter:null,_value:null,_state:null,constructor:function(t){this._state={Enable:null,Visible:null,ReadOnly:null,Bold:null,Mandatory:null},this.callParent(arguments)},CreateAdapter:function(){this.Adapter=new Ul.MoInfoSubFormAdapter({Setting:this.Setting}),this.AddListenersForAdapterEvents(),this._createFormPanelCtrlr()},_createFormPanelCtrlr:function(){var t=this._createFormPanelCtrlrConfig();this.FormPanelCtrlr=new Ul.FormPanelCtrlr(t),this.FormPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.ValueChange,this._onFormPanelCtrlr_ValueChange,this),this.FormPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.AfterCreate,this._onFormPanelCtrlr_AfterCreate,this),this.FormPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.AfterLoad,this._onFormPanelCtrlr_AfterLoad,this),this.FormPanelCtrlr.on("Render",this._onFormPanelCtrlr_Render,this)},_createFormPanelCtrlrConfig:function(){var t=Ext.isNotEmpty(this.Setting.PreviewFieldId),e={Setting:this.Setting.FormPanelSetting?this.Setting.FormPanelSetting:{},Features:{Workflow:!1,Toolbar:t,InfoBar:!1},IsSubForm:!0,_isReadOnly:this.Setting.IsReadOnly,HostField:this};return e.Setting.SubFormFieldSetting=this.Setting,e.ParentMoProvider=this.ParentFormPanel,e},SetupSubFromPreview:function(t){if(this.PreviewSourceField=t,this.AAA=t,this.PreviewSourceField instanceof Ul.UlvFieldBaseCtrlr){var e=this.PreviewSourceField.UlvMainCtrlr;this.FormPanelCtrlr.UlvMainCtrlr=e,e.IsPreviewSourceField=!0,this.PreviewSourceField.on("SelectionChange",this._onPreviewSourceField_SelectionChange,this),e.on(Ul.UlvMainCtrlr.EventEnum.RenderViewer,(function(){setTimeout((function(){e.SelectFirst()}),100)}),this)}else this.ParentFormPanel.on(Ul.FormPanelCtrlr.EventEnum.AfterReady,(function(){var t=this.ParentFormPanel._dictFieldCtrlr[this.PreviewSourceField.Setting.ControlName];Ext.isNotEmpty(t)&&this.PreviewSourceField!=t&&(this.PreviewSourceField=t),this.PreviewSourceField.on("ValueChanged",this._onPreviewSourceField_ValueChange,this),this._onPreviewSourceField_ValueChange()}),this)},_onFormPanelCtrlr_ValueChange:function(){this.RaiseValueChangedEvent()},_onFormPanelCtrlr_AfterCreate:function(){this.Adapter.SetFormPanelAdapter(this.FormPanelCtrlr.Adapter)},_onFormPanelCtrlr_AfterLoad:function(){},_onFormPanelCtrlr_Render:function(){this.fireEvent("Render")},_onPreviewSourceField_ValueChange:function(){if(!this._isDestroyed&&1!=this._isLoading){this._isLoading=!0;var t=this.PreviewSourceField.GetValue(),e=Ext.isObject(t)?t.Id:t,n=this.PreviewSourceField.Setting.TargetTypeDefId;if(e){var i=new Ul.FormRequestParams({MoId:e,TypeDefId:n,MoContext:{ReportId:this.Setting.DropDownReportId,ViewId:this.Setting.TypeViewId}});Common.Async.Waterfall("Ul.MoInfoSubFormCtrlr._onPreviewSourceField_ValueChange",[Common.Async.ExecuteIfElseCondition.bind(null,!0,this.FormPanelCtrlr._showConfirmationAndSave.bind(this.FormPanelCtrlr,!1,!0),Common.Async.IgnoreError.bind(null,this.FormPanelCtrlr._showConfirmationAndSave.bind(this.FormPanelCtrlr,!1,!0))),function(t){var e=i;this.FormPanelCtrlr.FormRequestParams=e,this.FormPanelCtrlr.LoadAndCreate(e,!1,!0,t)}.bind(this)],function(t,e){this._isLoading=!1,Common.Async.Finalize(t,e),1==this._flagIsDisabledForEmptyPreviewField&&(this._flagIsDisabledForEmptyPreviewField=!1,this.FormPanelCtrlr.SetEnable(!0)),this.IsSubForm&&this.Relayout(!0)}.bind(this))}else this.FormPanelCtrlr.SetEnable(!1),this._flagIsDisabledForEmptyPreviewField=!0,this._isLoading=!1}},_onPreviewSourceField_SelectionChange:function(){var t=this.PreviewSourceField.UlvMainCtrlr,e=t.GetPrevSelectedId(),n=t.GetSelectedMetaObject();if(n){var i=new Ul.FormRequestParams({Mo:n.GetChangedObject(),MoContext:{ViewId:this.Setting.TypeViewId,ReportId:Common.Util.TryGetValue(t.Setting,"Extra.Report.Id")}});Common.Async.Waterfall("Ul.MoInfoSubFormCtrlr._onPreviewSourceField_SelectionChange",[this.FormPanelCtrlr.MoveToUlvSelection.bind(this.FormPanelCtrlr,t,i,!0,!1)],(function(n,i){n&&(t.SuspendEvents(),t.SelectItem(e),t.ResumeEvents()),Common.Async.Finalize(n,i)}))}},GetCaption:function(){var t=Ext.value(this.FormPanelCtrlr.Mo,this._value);return Common.Util.TryGetValue(t,"Mo.$Caption")},GetValue:function(){return Ext.value(this.FormPanelCtrlr.Mo,this._value)},SetValue:function(t,e,n){this.FormPanelCtrlr.SetValue(t),Ext.isEmpty(this.Setting.PreviewFieldId)&&1!=this.LoadFormPanelOnSetValue&&!this.FormPanelCtrlr.Adapter&&(this.FormPanelCtrlr.Adapter=null,this.FormPanelCtrlr.LoadAndCreate(null,!1,!1,null)),1!=n&&this.RaiseValueChangedEvent()},SetValueByMo:function(t){this.callParent(arguments)},Clear:function(t){},IsNull:function(){},Validate:function(){return this.FormPanelCtrlr.Adapter?this.FormPanelCtrlr.Validate():new Array},GetMandatory:function(){return this.FormPanelCtrlr.Adapter?this.FormPanelCtrlr.GetMandatory():this._state.ReadOnly},Destroy:function(){this.FormPanelCtrlr.Adapter&&(this.FormPanelCtrlr.Destroy(),this._isDestroyed=!0)}})},71912:()=>{Common.Cs.Define("Ul.MoInfoSubFormPreviewCtrlr","Ul.MoInfoSubFormCtrlr",{})},47141:()=>{Common.Cs.Define("CustomUi.MoInfoUlvCombo","Ui.CustomField",{constructor:function(){this.addEvents("TriggerClick","RequestParentFormPanelUi"),this.callParent(arguments)},getRawValue:function(){return this.controlUi.rendered?this.controlUi.getRawValue():this.value},removeAll:function(){},add:function(t){}})},34724:()=>{Common.Cs.Define("Ul.MoInfoUlvComboAdapter","Adapter.TextBoxBaseAdapter",{Setting:null,UlvAdapter:null,CreateControlConfig:function(){var t=this.callParent(arguments),e=0==this.Setting.HideCombo&&this.Setting.RelationViewType!=Ul.MoInfoUlvComboCtrlr.RelationViewTypeEnum.ReportView;return t._enableFiltering=e,t.enableKeyEvents=!0,t.editable=e,t._showDropDown=!this.Setting.HideCombo,t._showPopup=this.Setting.HideCombo,t._showRefresh=!1,t._showNew=this.Setting.ShowNewButton,t._showEdit=this.Setting.ViewRelatedFormType==Common.Enums.SingleRelationViewFormType.Show||this.Setting.ViewRelatedFormType==Common.Enums.SingleRelationViewFormType.ShowReadOnly,t._showDelete=!0,t._btnsVisibleOnFocus=["New","Edit","Delete"],this.Setting.IsLtr&&(t.style="text-align:left"),t.xtype="Ui.MoInfoUlvCombo",t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin),t._focusableType="Ui.Focusable_Field",this.Setting.IsAutoInlineEdit&&(t._showNew=!1,t._showEdit=!1),this.Setting.IsReadOnly&&(t.editable=!1,t._showDropDown=!1,t._showPopup=!1,t._showRefresh=!1,t._showNew=!1,t._showDelete=!1,t._btnsVisibleOnFocus=["Edit"]),t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.un("change",this.RaiseValueChangedEvent,this),this.relayEvents(this.Control,["TriggerClick","SmartChange"])},GetFilterText:function(){return this.Control.getRawValue()},SetValue:function(t,e){var n=null;t instanceof Common.MetaObjectWeb||t instanceof Common.MetaObjectListWeb?n=t.GetCaption():Ext.isObject(t)&&(n=t.$Caption),this.Control.setValue(n)},IsNull:function(){var t=this.GetValue();return 0==t&&(t=""),Ext.isEmpty(t)}})},121:()=>{Common.Cs.Define("Ul.MoInfoUlvComboAdapter_RadioButton","Adapter.EnumInfoAdapter_RadioButton",{Setting:null,UlvAdapter:null,_value:null,CreateControlConfig:function(){var t=this.callParent(arguments);t.xtype="Ui.RadioGroup",t.columns=3,t.vertical=!0;var e=[],n=Ext.id();return this.Setting.DataSource.Rows.forEach((function(t){e.push({boxLabel:Common.Util.HtmlEscape(t.txt),name:n,IsEmpty:t.IsEmpty,hidden:this.Setting.IsMandatory&&t.IsEmpty,inputValue:t.id,typeDefId:t.typeDefId})}),this),t.items=e,t},SetMandatory:function(t){this.Control.items.forEach?this.Control.items.forEach((function(e){e.IsEmpty&&(e.setVisible?e.setVisible(!t):e.hidden=t)}),this):this.Control.items.each&&this.Control.items.each((function(e){e.IsEmpty&&e.setVisible(!t)}),this),this.callParent(arguments)},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("change",this.RaiseValueChangedEvent,this)},GetCaption:function(){var t=this.Control.getValue();return Ext.isEmpty(t)?"":t.boxLabel},Initialize:function(){},GetValue:function(){var t=this.Control.getValue();return t?{Id:t.inputValue,$TypeDefId:t.typeDefId,$Caption:t.boxLabel}:null},SetValue:function(t,e){t&&this.Control.setValue(t.Id)},RefreshList:function(t){if(this.Control){var e=this.Control.getStore();e&&e.loadData(t)}}})},23701:()=>{Common.Cs.Define("Ul.MoInfoUlvComboAdapter_Selection","Adapter.EnumInfoAdapter",{Setting:null,UlvAdapter:null,_value:null,CreateControlConfig:function(){var t=this.callParent(arguments),e={_showIcons:this.Setting.IconDisplayType!=Common.Enums.IconDisplayType.NoImage,valueField:"id",displayField:"txt",iconClsField:"url",store:{xtype:"jsonstore",data:this.Setting.DataSource,root:"Rows",id:"id",fields:this.Setting.DataSource.Fields}};return Common.Merger.FastMerge(t,e),t},SetValue:function(t,e){t?this.Control.SetValue(t.Id):this.Control.SetValue(null)}})},5788:()=>{Common.Cs.Define("Ul.MoInfoUlvComboCtrlr","Ul.MoInfoBaseCtrlr",{Setting:null,UlvMainCtrlr:null,_forceRefreshLoadedList:!1,_lastFilter:null,UlvDropDownCtrlr:null,constructor:function(t){this.callParent(arguments),this.addEvents("BeforeLoadUlv")},_getUlvDropDownCtrlr:function(){if(this.UlvDropDownCtrlr)return this.UlvDropDownCtrlr;var t=Ext.value(this.Setting.ShowOkCancel,!1),e=1==this.Setting.HideCombo,n=this.Setting.FillBeforeDropDown;return this.UlvDropDownCtrlr=new Ul.UlvDropDownCtrlr({HostCtrlr:this,FnRequestUlvParams:this._createUlvParams.bind(this),FnRequestFilterText:this._getFilterText.bind(this),DropDownSettig:{ShowOkCancel:t,ShowToolbar:e,CollapseOnRowClick:!0,RefreshBeforeExpand:n}}),this.UlvDropDownCtrlr.on({scope:this,RequestParentFormPanelUi:function(t,e){this.fireEvent("RequestParentFormPanelUi",t,e)},BeforeExpand:function(t,e){var n=this.GetSize();n&&(e.PreferredSize=n)},AfterExpand:function(t){this.Adapter.Control.Expanded=!0},AfterCollapse:function(t){this._lastCollapseTime=new Date,this.SetFocus(200)},BeforeLoadUlv:function(t,e){this.UlvDropDownCtrlr.UlvMainCtrlr.ParentMo=this.ParentFormPanel.Mo,this.fireEvent("BeforeLoadUlv",this,e)},ItemSelect:function(t,e){var n=e;this.SetValue(n)}}),this.UlvDropDownCtrlr},_createUlvParams:function(){var t=this._getFilterText(),e=new Ul.UlvParams({FieldDefId:this.Setting.ControlFieldDefId,FilterText:t,ReportId:this.Setting.DropDownReportId,ParentMo:this.ParentFormPanel.Mo.GetChangedObject(),TypeDefId:this.Setting.TargetTypeDefId,UsageEnum:this.Setting.HideCombo?Ul.UlvMainCtrlr.UlvUsageEnum.SelectionForm:Ul.UlvMainCtrlr.UlvUsageEnum.Combo,ColumnRequestEnum:this.Setting.ColumnRequestEnum});return e.Width=this.GetSize().Width,e.Height=300,e},CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.MoInfoUlvComboAdapter",t},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on({scope:this,TriggerClick:this._onAdapter_TriggerClick,KeyDown:this._onAdapter_KeyDown,SmartChange:this._onAdapter_SmartChange})},SetValue:function(t,e,n){var i=!0;t instanceof Common.MetaObjectWeb?this._value={Id:t.Id,$TypeDefId:t.GetTypeDefId(),$Caption:t.GetCaption(),$Icon:t.GetIcon(),ReportId:t.$ReportId,TdCaption:t.$TdCaption}:t instanceof Common.MetaObjectListWeb?this._value=t:Ext.isArray(t)?this._value=Common.MetaObjectListWeb.CreateFromMoArray(t):(i=this._value!=t,this._value=t),this.Adapter.SetValue(this._value),1!=n&&i&&this.RaiseValueChangedEvent()},_getFilterText:function(){return this.Adapter.GetFilterText()},_onAdapter_TriggerClick:function(t,e){var n=this.GetEnable(),i=this.GetReadOnly();if(this._lastCollapseTime&&(new Date).getTime()-this._lastCollapseTime.getTime()<200)this._lastCollapseTime=null;else switch(e){case"Edit":if(!n)break;this.ShowEditFormHelper(!1);break;case"Delete":if(!n||i)break;this.SetValue(null,null);break;case"New":if(!n||i)break;this.ShowEditFormHelper(!0);break;case"Refresh":break;case"Popup":if(!n||i)break;this.ShowPopup();break;case"Normal":if(!n||i)break;this._getUlvDropDownCtrlr().ExpandCollapse()}},_onAdapter_KeyDown:function(t,e,n){if(e.getKey()==e.DOWN&&e.altKey&&1==this.Setting.HideCombo)return this._onAdapter_TriggerClick(null,"Popup"),!0;this._getUlvDropDownCtrlr().HandleKeyDown(e)},_onAdapter_SmartChange:function(t,e){var n=this._getUlvDropDownCtrlr(),i=this.Adapter.GetFilterText();Ext.isEmpty(i)?(Ext.isNotEmpty(this.GetValue())&&this.SetValue(null),n.Expand()):n.Filter(i)},_onAdapter_ValueChanged:function(){var t=this.Adapter.GetFilterText();Ext.isEmpty(t)&&this.SetValue(null,null)},____showEditFormHelper:function(t){t=Ext.value(t,!1);var e,n=!1,i=this.GetValue();if(0==t){if(Ext.isEmpty(i))return;e=new Common.MetaObjectWeb({Id:i,Data:{$TypeDefId:this.Setting.TargetTypeDefId}}),n=this.Setting.ViewRelatedFormType==Common.Enums.SingleRelationViewFormType.ShowReadOnly}else e=Common.MetaObjectWeb.CreateNewMo(this.Setting.TargetTypeDefId);n=n||this.GetReadOnly();var r=new Ul.FormRequestParams({Mo:e.GetChangedObject(),MoContext:{ReportId:this.Setting.DropDownReportId},IsReadOnly:n,IsNew:t}),o=new Ul.FormPanelCtrlr({_forceReturnMoAfterSave:!0,FormRequestParams:r});o.on({scope:this,AfterSave:function(t,e){var n=e.FormPanel.Mo,i=n.$Caption,r=n.Id,o=n.$StatePrev==Common.MetaObjectWeb.StateEnum.New;this.SetValue(r,i,!o),this._forceRefreshLoadedList=!0}}),o.ShowFormWindow()},ShowPopup:function(t){var e=new Ul.UlvFormMultiSelectCtrlr;e.ShowOkCancelButtons=!0,e.ShowSecondPanel=!1,e._ulvParams1=new Ul.UlvParams({FieldDefId:this.Setting.ControlFieldDefId,ReportId:this.Setting.DropDownReportId,FilterText:"",ParentMo:this.ParentFormPanel.Mo.GetChangedObject(),TypeDefId:this.Setting.TargetTypeDefId,UsageEnum:Ul.UlvMainCtrlr.UlvUsageEnum.SelectionForm,SelectionEnum:this.Setting.IsMultiSelect?Ul.UlvMainCtrlr.UlvSelectionEnum.CheckList:Ul.UlvMainCtrlr.UlvSelectionEnum.Single,ColumnRequestEnum:this.Setting.ColumnRequestEnum}),this.fireEvent("BeforeLoadUlv",this,e._ulvParams1),e.ShowForm((function(t){Ext.isEmpty(t)||(this.Setting.IsMultiSelect?this.SetValue(t):this.SetValue(t[0]))}),this)},SetupSubFromPreview:function(t){if(this.PreviewSourceField=t,this.PreviewSourceField instanceof Ul.UlvFieldBaseCtrlr){var e=this.PreviewSourceField.UlvMainCtrlr;this.FormPanelCtrlr.UlvMainCtrlr=e,e.IsPreviewSourceField=!0,this.PreviewSourceField.on("SelectionChange",this._onPreviewSourceField_SelectionChange,this),e.on(Ul.UlvMainCtrlr.EventEnum.RenderViewer,(function(){e.SelectFirst()}),this)}else this.PreviewSourceField.on("ValueChanged",(function(t){t.RefreshForPreview()}),this)},Destroy:function(){this.callParent(arguments)},statics:{_internalDefaults:{_buttonsShowOnFocus:[],_defaultUlvConfig:{}},RelationViewTypeEnum:{Default:"Default",SimpleList:"SimpleList",RadioBox:"RadioBox",ReportView:"ReportView"}}})},68102:()=>{Common.Cs.Define("Ul.MoInfoUlvComboCtrlr_RadioButton","Ul.MoInfoBaseCtrlr",{Setting:null,UlvMainCtrlr:null,_forceRefreshLoadedList:!1,_lastFilter:null,UlvDropDownCtrlr:null,constructor:function(t){this.callParent(arguments),this.addEvents("BeforeLoadUlv")},CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.MoInfoUlvComboAdapter_RadioButton",t},GetValue:function(){return this.Adapter.GetValue()},SetValue:function(t,e,n){this.Adapter.SuspendEvents(),this.Adapter.SetValue(t,e),this.Adapter.ResumeEvents.defer(50,this.Adapter),1!=n&&this.RaiseValueChangedEvent()},Clear:function(t){1==this.Setting.IsMandatory&&this.SetValue(null,"",t),this.SetValue(0,"",t)},IsNull:function(){var t=this.GetValue();return 1==this.Setting.IsMandatory?Ext.isEmpty(t)||0==t:Ext.isEmpty(t)},Destroy:function(){this.callParent(arguments)}})},46117:()=>{Common.Cs.Define("Ul.MoInfoUlvComboCtrlr_Selection","Ul.EnumInfoCtrlr",{constructor:function(t){this.callParent(arguments)},CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.MoInfoUlvComboAdapter_Selection",t}})},46470:()=>{Common.Cs.Define("Ul.MoInfoUlvComboExAdapter","Ul.MoInfoUlvComboAdapter",{Setting:null,UlvAdapter:null,CreateControlConfig:function(){var t=this.callParent(arguments),e=!0;return t._enableFiltering=e,t.enableKeyEvents=!0,t.editable=e,t}})},46759:()=>{Common.Cs.Define("Ul.MoInfoUlvComboExCtrlr","Ul.MoInfoBaseCtrlr",{Setting:null,UlvMainCtrlr:null,_forceRefreshLoadedList:!1,_lastFilter:null,UlvDropDownCtrlr:null,constructor:function(t){this.callParent(arguments),this.addEvents("BeforeLoadUlv")},_getUlvDropDownCtrlr:function(){if(this.UlvDropDownCtrlr)return this.UlvDropDownCtrlr;var t=Ext.value(this.Setting.ShowOkCancel,!1),e=1==this.Setting.HideCombo,n=this.Setting.FillBeforeDropDown,i={HostCtrlr:this,FnRequestUlvParams:{Ac:this._createUlvParams.bind(this,"Ac"),Dd:this._createUlvParams.bind(this,"Dd")},FnRequestFilterText:this._getFilterText.bind(this),DropDownSettig:{ShowOkCancel:t,ShowToolbar:e,CollapseOnRowClick:!0,RefreshBeforeExpand:n}};return LoginFormData.CustomUiPrefix?this.UlvDropDownCtrlr=new Ul.CustomUlvDropDownExCtrlr(i):this.UlvDropDownCtrlr=new Ul.UlvDropDownExCtrlr(i),this.UlvDropDownCtrlr.on({scope:this,RequestParentFormPanelUi:function(t,e){this.fireEvent("RequestParentFormPanelUi",t,e)},BeforeExpand:function(t,e){var n=this.GetSize();n&&(e.PreferredSize=n)},AfterExpand:function(t){this.Adapter.Control.Expanded=!0},AfterCollapse:function(t){this._lastCollapseTime=new Date},BeforeLoadUlv:function(t,e){this.UlvDropDownCtrlr.SetParentMo(this.ParentFormPanel.Mo),this.fireEvent("BeforeLoadUlv",this,e)},ItemSelect:function(t,e){var n=e;this.SetValue(n)}}),this.UlvDropDownCtrlr},_createUlvParams:function(t){var e=this._getFilterText(),n=new Ul.UlvParams({FieldDefId:this.Setting.ControlFieldDefId,FilterText:e,ReportId:this.Setting.DropDownReportId,ParentMo:this.ParentFormPanel.Mo.GetChangedObject(),TypeDefId:this.Setting.TargetTypeDefId,Flags:{SearchPanel:Common.Enums.DefaultableBoolean.False},UsageEnum:this.Setting.HideCombo?Ul.UlvMainCtrlr.UlvUsageEnum.SelectionForm:Ul.UlvMainCtrlr.UlvUsageEnum.Combo,ColumnRequestEnum:Common.Enums.ColumnRequestEnum.Title});return n.Width=this.GetSize().Width,n.Height=300,"Dd"==t&&(n.Flags=Ext.value(n.Flags,{}),n.Flags.SearchPanel=Common.Enums.DefaultableBoolean.Default,"ReportView"==this.Setting.RelationViewType&&(n.ColumnRequestEnum=Common.Enums.ColumnRequestEnum.All)),n},CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.MoInfoUlvComboExAdapter",t},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on({scope:this,TriggerClick:this._onAdapter_TriggerClick,KeyDown:this._onAdapter_KeyDown,SmartChange:this._onAdapter_SmartChange})},SetValue:function(t,e,n){var i=!0;t instanceof Common.MetaObjectWeb?this._value={Id:t.Id,$TypeDefId:t.GetTypeDefId(),$Caption:t.GetCaption(),$Icon:t.GetIcon(),ReportId:t.$ReportId,TdCaption:t.$TdCaption}:t instanceof Common.MetaObjectListWeb?this._value=t:Ext.isArray(t)?this._value=Common.MetaObjectListWeb.CreateFromMoArray(t):(i=this._value!=t,this._value=t),this.Adapter.SetValue(this._value),1!=n&&i&&this.RaiseValueChangedEvent()},_getFilterText:function(){return this.Adapter.GetFilterText()},_onAdapter_TriggerClick:function(t,e,n){var i=this.GetEnable(),r=this.GetReadOnly();if(this._lastCollapseTime&&(new Date).getTime()-this._lastCollapseTime.getTime()<200)this._lastCollapseTime=null;else switch(e){case"ItemSelect":this.SetValue(n);break;case"Edit":if(!i)break;this.ShowEditFormHelper(!1);break;case"Delete":if(!i||r)break;this.SetValue(null,null);break;case"New":if(!i||r)break;this.ShowEditFormHelper(!0);break;case"Refresh":break;case"Popup":if(!i||r)break;this.ShowPopup();break;case"Normal":if(!i||r)break;this._getUlvDropDownCtrlr().ExpandCollapse("Dd")}},_onAdapter_KeyDown:function(t,e,n){return e.getKey()==e.DOWN&&e.altKey&&1==this.Setting.HideCombo?(this._onAdapter_TriggerClick(null,"Popup"),!0):this._getUlvDropDownCtrlr().HandleKeyDown(e)},_onAdapter_SmartChange:function(t,e){var n=this._getUlvDropDownCtrlr(),i=this.Adapter.GetFilterText();Ext.isEmpty(i)?(Ext.isNotEmpty(this.GetValue())&&this.SetValue(null),n.Expand("Ac")):n.Filter(i)},_onAdapter_ValueChanged:function(){var t=this.Adapter.GetFilterText();Ext.isEmpty(t)&&this.SetValue(null,null)},____showEditFormHelper:function(t){t=Ext.value(t,!1);var e,n=!1,i=this.GetValue();if(0==t){if(Ext.isEmpty(i))return;e=new Common.MetaObjectWeb({Id:i,Data:{$TypeDefId:this.Setting.TargetTypeDefId}}),n=this.Setting.ViewRelatedFormType==Common.Enums.SingleRelationViewFormType.ShowReadOnly}else e=Common.MetaObjectWeb.CreateNewMo(this.Setting.TargetTypeDefId);n=n||this.GetReadOnly();var r=new Ul.FormRequestParams({Mo:e.GetChangedObject(),MoContext:{ReportId:this.Setting.DropDownReportId},IsReadOnly:n,IsNew:t}),o=new Ul.FormPanelCtrlr({_forceReturnMoAfterSave:!0,FormRequestParams:r});o.on({scope:this,AfterSave:function(t,e){var n=e.FormPanel.Mo,i=n.$Caption,r=n.Id,o=n.$StatePrev==Common.MetaObjectWeb.StateEnum.New;this.SetValue(r,i,!o),this._forceRefreshLoadedList=!0}}),o.ShowFormWindow()},ShowPopup:function(t){var e=new Ul.UlvFormMultiSelectCtrlr;e.ShowOkCancelButtons=!0,e.ShowSecondPanel=!1,e._ulvParams1=new Ul.UlvParams({FieldDefId:this.Setting.ControlFieldDefId,ReportId:this.Setting.DropDownReportId,FilterText:"",ParentMo:this.ParentFormPanel.Mo.GetChangedObject(),TypeDefId:this.Setting.TargetTypeDefId,UsageEnum:Ul.UlvMainCtrlr.UlvUsageEnum.SelectionForm,SelectionEnum:this.Setting.IsMultiSelect?Ul.UlvMainCtrlr.UlvSelectionEnum.CheckList:Ul.UlvMainCtrlr.UlvSelectionEnum.Single,ColumnRequestEnum:this.Setting.ColumnRequestEnum}),this.fireEvent("BeforeLoadUlv",this,e._ulvParams1),e.ShowForm((function(t){Ext.isEmpty(t)||(this.Setting.IsMultiSelect?this.SetValue(t):this.SetValue(t[0]))}),this)},SetupSubFromPreview:function(t){if(this.PreviewSourceField=t,this.PreviewSourceField instanceof Ul.UlvFieldBaseCtrlr){var e=this.PreviewSourceField.UlvMainCtrlr;this.FormPanelCtrlr.UlvMainCtrlr=e,e.IsPreviewSourceField=!0,this.PreviewSourceField.on("SelectionChange",this._onPreviewSourceField_SelectionChange,this),e.on(Ul.UlvMainCtrlr.EventEnum.RenderViewer,(function(){e.SelectFirst()}),this)}else this.PreviewSourceField.on("ValueChanged",(function(t){t.RefreshForPreview()}),this)},Destroy:function(){this.callParent(arguments)},statics:{_internalDefaults:{_buttonsShowOnFocus:[],_defaultUlvConfig:{}},RelationViewTypeEnum:{Default:"Default",SimpleList:"SimpleList",RadioBox:"RadioBox",ReportView:"ReportView"}}})},28263:()=>{Common.Cs.Define("Ul.CustomRelationInfoAdapter_LinearList","Adapter.FieldInfoBaseAdapter",{_tdIcon:null,_innerControl:null,_baseConfig:null,CreateControlConfig:function(){var t=this.callParent(arguments);return this.prepareCommands(t),t.xtype="Ui.LinearList_ContainerWithButton",t},prepareCommands:function(t){this.Setting.DefaultCommandsAccess||(this.Setting.DefaultCommandsAccess={View:!0,Edit:!0,RemoveFromList:!0,Add:!0});var e=this.Setting.TypeDefList;e&&0===e.filter((function(t){return t.AllowAdd})).length&&(this.Setting.DefaultCommandsAccess.Add=!1),t._commandsOfItems=[{itemId:"Edit",text:!this.Setting.DefaultCommandsAccess.View||this.Setting.IsReadOnly?BBB.View:BBB.Edit,icon:"assets/Images/Edit_16.png",hidden:!this.Setting.DefaultCommandsAccess.View},{itemId:"Delete",text:BBB.Delete,icon:"assets/Images/Delete_16.png",hidden:!this.Setting.DefaultCommandsAccess.RemoveFromList||this.Setting.IsReadOnly},{itemId:"DeleteAll",text:BBB.DeleteAll,icon:"assets/Images/DeleteAll_16.png",hidden:!this.Setting.DefaultCommandsAccess.RemoveFromList||this.Setting.IsReadOnly},{xtype:"menuseparator",hidden:!(this.Setting.DefaultCommandsAccess.View&&this.Setting.DefaultCommandsAccess.Add)},{itemId:"New",text:BBB.New,icon:"assets/Images/New_16.png",hidden:!this.Setting.DefaultCommandsAccess.Add||this.Setting.IsReadOnly}],t._commandsOfPanel=[{itemId:"New",text:BBB.New,icon:"assets/Images/New_16.png",hidden:!this.Setting.DefaultCommandsAccess.Add||this.Setting.IsReadOnly},{itemId:"DeleteAll",text:BBB.DeleteAll,icon:"assets/Images/DeleteAll_16.png",hidden:!this.Setting.DefaultCommandsAccess.RemoveFromList||this.Setting.IsReadOnly},{itemId:"Refresh",text:BBB.Refresh,icon:"assets/Images/refresh16.png",hidden:!1}]},SuspendHide:function(t){},AddListenersForControlEvents:function(){this.callParent(arguments),this.relayEvents(this.Control,["TriggerClick","SelectionChange","RequestFilter","RequestCommand","TextItemKeyDown","RequestFilter2"])},GetValue:function(){},SetValue:function(t,e){var n=this._convertMoList2ItemArray(t);this._value=n,this.Control.SetValue(n)},AddItem:function(t){var e=this._convertMo2Item(t);return this.Control.AddItem(e),e},UpdateItem:function(t){var e=this._convertMo2Item(t);return this.Control.UpdateItem(e),e},RemoveItems:function(t){this.Control.RemoveItems(t)},RemoveAllItems:function(){this.Control.RemoveAllItems()},GetTextItemValue:function(){return this.Control.GetTextItemValue()},SetTextItemValue:function(t){return this.Control.SetTextItemValue(t)},GetSelectedMo:function(){return this.Control.GetSelectionData()},GetActiveMo:function(){return this.Control.GetActiveData()},_convertMoList2ItemArray:function(t){this._tdIcon=t.Icon!=Common.UtilUi.Icons.Object?t.Icon:null;var e=[];return t instanceof Common.MetaObjectListWeb&&t.ForEach((function(t,n){var i=this._convertMo2Item(t);e.push(i)}),this),e},_convertMo2Item:function(t){return{Text:t.$Caption,Id:t.Id,Icon:Ext.value(t.$Icon,this._tdIcon),Data:t}}})},34137:()=>{Common.Cs.Define("Ul.RelationInfoAdapter_LinearList","Adapter.FieldInfoBaseAdapter",{_tdIcon:null,_innerControl:null,_baseConfig:null,CreateControlConfig:function(){var t=this.callParent(arguments);this._baseConfig=Common.Merger.Merge({},t),t.xtype="Ui.LinearList_ContainerWithButton",t.cacheSizes=!1,t._focusableType="Ui.Focusable_Container",t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin),t._buttonsGetFocus=!1;var e=Common.Util.IsLtr()?"border-left-width: 0;":"border-right-width:0;";t._buttonsConfig=[{itemId:"DropDownButton",icon:"/assets/Images/LinearList/trigger.png",_isFlat:!0,scope:this,width:17,cls:"a-LinearListTrigger",style:e,handler:function(){this.fireEvent("TriggerClick",this)}}];var n=Common.Util.TryGetValue(this.Setting,"CustomUi.Selector");return(n||LoginFormData.CustomUiPrefix)&&(this.isCustomUi=!0),this._createInnerControl(),t._innerControl=this._innerControl,t},SuspendHide:function(t){this._dropDownMenu._suspandHide=t},_createInnerControl:function(){var t=Common.Merger.Merge({},this._baseConfig);t.xtype="Ui.LinearList",t._fieldText="Text",t._fieldId="Id",t._fieldImage="Icon",t._focusableType="Ui.Focusable_Field",t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin),this.Setting.DefaultCommandsAccess||(this.Setting.DefaultCommandsAccess={View:!0,Edit:!0,RemoveFromList:!0,Add:!0});var e=this.Setting.TypeDefList;e&&0===e.filter((function(t){return t.AllowAdd})).length&&(this.Setting.DefaultCommandsAccess.Add=!1),t._commandsOfItems=[{itemId:"Edit",text:!this.Setting.DefaultCommandsAccess.View||this.Setting.IsReadOnly?BBB.View:BBB.Edit,icon:"/assets/Images/Edit_16.png",hidden:!this.Setting.DefaultCommandsAccess.View},{itemId:"Delete",text:BBB.Delete,icon:"/assets/Images/Delete_16.png",hidden:!this.Setting.DefaultCommandsAccess.RemoveFromList||this.Setting.IsReadOnly},{itemId:"DeleteAll",text:BBB.DeleteAll,icon:"/assets/Images/DeleteAll_16.png",hidden:!this.Setting.DefaultCommandsAccess.RemoveFromList||this.Setting.IsReadOnly},{xtype:"menuseparator",hidden:!(this.Setting.DefaultCommandsAccess.View&&this.Setting.DefaultCommandsAccess.Add)},{itemId:"New",text:BBB.New,icon:"/assets/Images/New_16.png",hidden:!this.Setting.DefaultCommandsAccess.Add||this.Setting.IsReadOnly}],t._commandsOfPanel=[{itemId:"New",text:BBB.New,icon:"/assets/Images/New_16.png",hidden:!this.Setting.DefaultCommandsAccess.Add||this.Setting.IsReadOnly},{itemId:"DeleteAll",text:BBB.DeleteAll,icon:"/assets/Images/DeleteAll_16.png",hidden:!this.Setting.DefaultCommandsAccess.RemoveFromList||this.Setting.IsReadOnly},{itemId:"Refresh",text:BBB.Refresh,icon:"/assets/Images/refresh16.png",hidden:!1}],this._innerControl=Ext.create(t)},AddListenersForControlEvents:function(){this.callParent(arguments),this._innerControl.on("Change",this.RaiseValueChangedEvent,this),this.relayEvents(this._innerControl,["TriggerClick","SelectionChange","RequestFilter","RequestCommand","TextItemKeyDown"])},GetValue:function(){},SetValue:function(t,e){var n=this._convertMoList2ItemArray(t);this._innerControl.BindData(n)},AddItem:function(t){var e=this._convertMo2Item(t);return this._innerControl.AddItem(e),e},UpdateItem:function(t){var e=this._convertMo2Item(t);return this._innerControl.UpdateItem(e),e},RemoveItems:function(t){this._innerControl.RemoveItems(t)},RemoveAllItems:function(){this._innerControl.RemoveAllItems()},_convertMoList2ItemArray:function(t){this._tdIcon=t.Icon!=Common.UtilUi.Icons.Object?t.Icon:null;var e=[];return t instanceof Common.MetaObjectListWeb&&t.ForEach((function(t,n){var i=this._convertMo2Item(t);e.push(i)}),this),e},_convertMo2Item:function(t){return{Text:Common.Util.HtmlEscape(t.$Caption),Id:t.Id,Icon:Ext.value(t.$Icon,this._tdIcon),Data:t}},GetTextItemValue:function(){return this._innerControl.GetTextItemValue()},SetTextItemValue:function(t){return this._innerControl.SetTextItemValue(t)},GetSelectedMo:function(){return this._innerControl.GetSelectionData()},GetActiveMo:function(){return this._innerControl.GetActiveData()}})},55491:()=>{Common.Cs.Define("Ul.RelationInfoCtrlr_LinearList","Ul.FieldInfoBaseCtrlr",{_value:null,_suspandKeyEvents:!1,UlvDropDownCtrlr:null,_lastCollapseTime:null,constructor:function(t){this.addEvents("SelectionChange"),this.callParent(arguments)},CreateAdapterConfig:function(){var t=this.callParent(arguments),e=Common.Util.TryGetValue(this.Setting,"View.CustomUi.Selector",null);return null!=e||LoginFormData.CustomUiPrefix?t.xtype="Ul.CustomRelationInfoAdapter_LinearList":t.xtype="Ul.RelationInfoAdapter_LinearList",t},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on({scope:this,TriggerClick:function(t){if(this._lastCollapseTime&&(new Date).getTime()-this._lastCollapseTime.getTime()<200)this._lastCollapseTime=null;else{var e=this._getUlvDropDownCtrlr();e.IsExpanded()?e.Collapse():e.Expand()}},RequestFilter:function(t){var e=this._getUlvDropDownCtrlr(),n=this.GetTextItemValue();Ext.isEmpty(n)?e.Collapse():e.Filter(this.GetTextItemValue())},RequestFilter2:function(t){var e=this._getUlvDropDownCtrlr(),n=this.GetTextItemValue();e.Filter(n)},SelectionChange:function(t){this._getUlvDropDownCtrlr()},RequestCommand:function(t,e,n,i){"Edit"==e?this.ShowEditForm():"New"==e?this.ShowNewForm():"Add"==e?this.AddItems(n):"Delete"==e?this.Delete(n):"DeleteAll"==e?this.DeleteAll():"Refresh"==e?this.Refresh():this._extCustomCommand(e,i)},TextItemKeyDown:function(t,e){if(!this._suspandKeyEvents)if(this._getUlvDropDownCtrlr().HandleKeyDown(e))e.stopEvent();else{var n=e.getKey(),i=this.GetTextItemValue(),r=this._value&&this._value.GetCount&&this._value.GetCount()>0;if(Ext.isEmpty(i)&&0==r&&(Ul.UlvDropDownCtrlr.NavigationKeys.indexOf(n)>=0||n==Ext.EventObject.BACKSPACE));else if(n==Ext.EventObject.ENTER&&0==Ext.isEmpty(i)){e.stopEvent();var o=Common.MetaObjectWeb.CreateNewMo(this.Setting.TargetTypeDefId),a=this.GetTextItemValue();this.Setting.DefaultField&&o.SetFValue(this.Setting.DefaultField,a),this.ShowNewForm()}}}})},GetCaption:function(){return""},GetValue:function(){return this._value},SetValue:function(t,e,n){this._value=t,this.Adapter.SetValue(t,e),1!=n&&this.RaiseValueChangedEvent()},Clear:function(){this.DeleteAll()},IsNull:function(){return!Ext.isEmpty(this.GetValue())&&0===this.GetValue().GetCount()},AddItems:function(t){t.forEach(function(t){this.AddItem(t)}.bind(this))},AddItem:function(t){var e=this.GetValue();if(e.GetMoById(t.Id))return this._suspandKeyEvents=!0,this.UlvDropDownCtrlr.Adapter.SuspendHide(!0),Ul.MsgBox.Info("این آیتم قبلا اضافه شده.",function(){this._suspandKeyEvents=!1,this.UlvDropDownCtrlr.Adapter.SuspendHide(!1),this.UlvDropDownCtrlr.Focus()}.bind(this)),!1;e.AddMo(t),this.Adapter.AddItem(t),this.SetTextItemValue(""),this.RaiseValueChangedEvent()},UpdateItem:function(t){var e=this.GetValue();if(t.GetPrevState()!=Common.MetaObjectWeb.StateEnum.New){var n=e.GetMoById(t.Id);n.CopyFromMo(t,!0),this.Adapter.UpdateItem(n)}else e.AddMo(t),this.Adapter.AddItem(t),this.SetTextItemValue(""),this.RaiseValueChangedEvent()},_getUlvDropDownCtrlr:function(){return this.UlvDropDownCtrlr||(this.UlvDropDownCtrlr=new Ul.UlvDropDownCtrlr({HostCtrlr:this,FnRequestUlvParams:this._createUlvParams.bind(this),FnRequestFilterText:this.GetTextItemValue.bind(this),DropDownSettig:{ShowOkCancel:!1,ShowToolbar:!1,CollapseOnRowClick:!0,RefreshBeforeExpand:!0}}),this.UlvDropDownCtrlr.on({scope:this,RequestParentFormPanelUi:function(t,e){this.fireEvent("RequestParentFormPanelUi",t,e)},BeforeExpand:function(t,e){var n=this.GetSize();n&&(e.PreferredSize=n)},AfterExpand:function(t){this.SetFocus(200,!0)},AfterCollapse:function(t){this._lastCollapseTime=new Date,this.SetFocus(200)},ItemSelect:function(t,e){return this.AddItem(e)}})),this.UlvDropDownCtrlr},_createUlvParams:function(){var t=Common.Util.TryGetValue(this,"UlvDropDownCtrlr.UlvMainCtrlr.SearchPanelCtrlr.Mo"),e=new Ul.UlvParams({FieldDefId:this.Setting.ControlFieldDefId,ReportId:this.Setting.DropDownReportId,FilterText:this.GetTextItemValue(),ParentMo:this.ParentFormPanel.Mo.GetChangedObject(),TypeDefId:this.Setting.TargetTypeDefId,UsageEnum:Ul.UlvMainCtrlr.UlvUsageEnum.Combo,ColumnRequestEnum:Common.Enums.ColumnRequestEnum.Title});return e.Width=this.GetSize().Width-20,e.Height=300,e.SearchMo=t?t.GetChangedObject?t.GetChangedObject():t:null,e},GetTextItemValue:function(){return this.Adapter.GetTextItemValue()},SetTextItemValue:function(t){return this.Adapter.SetTextItemValue(t)},ShowEditForm:function(t){t||(t=this.GetSelectedMo()),Ext.isEmpty(t)||this._showEditFormHelper(t[0],this.Setting.IsReadOnly,!1)},ShowNewForm:function(t,e,n){if(this.Setting.IsGeneralInfo&&Ext.isEmpty(t))this._showNewFormForGeneralInfo();else{Ext.isEmpty(t)&&(t=Common.MetaObjectWeb.CreateNewMo(this.Setting.TargetTypeDefId));var i=this.GetTextItemValue();this.Setting.DefaultField&&t.SetFValue(this.Setting.DefaultField,i),this._showEditFormHelper(t,this.Setting.IsReadOnly,!0)}},_showNewFormForGeneralInfo:function(){var t=this.Setting.TypeDefList.filter((function(t){return t.AllowAdd}),this);Ul.FormSelectFromListCtrlr.Show({Title:"موجودیت جدید از چه نوعی باشد؟:",Data:t,IdField:"Id",TextField:"Caption",IconField:"Icon"},function(t){if(t){var e=Common.MetaObjectWeb.CreateNewMo(t.TypeDefId);if(e.$ReportId=t.ReportId,t.DefaultField){var n=this.GetTextItemValue();e.SetFValue(t.DefaultField,n)}this._showEditFormHelper(e,this.Setting.IsReadOnly,!0)}}.bind(this))},_showEditFormHelper:function(t,e,n,i){if(1!=(e=Ext.value(e,!1))||1!=n){var r=this._getEditFormParams(t,e,n);if(r){var o=new Ul.FormPanelCtrlr({FormRequestParams:r,_isReadOnly:e});o.on("AfterSave",(function(t,e){var n=e.FormPanel.Mo;this.UpdateItem(n)}),this),o.ShowFormWindow(i)}else i&&i()}else i&&i()},_getEditFormParams:function(t,e,n,i){if(n=Ext.value(n,!1),e=Ext.value(e,!1),n&&0==this.HasAccessAdd(t)){var r="اجازه ایجاد موجودیت جدید ندارید";i?i(r):Ul.MsgBox.Warning(r)}else{if(n||0!=this.HasAccessEdit(t)||(e=!0),n||0!=this.HasAccessView(t)){if(Ext.isEmpty(t)){if(!n)return void(i?i(BBB.AlertRowShouldBeSelected):Ul.MsgBox.Warning(BBB.AlertRowShouldBeSelected));t=Common.MetaObjectWeb.CreateNewMo(this.Setting.TargetTypeDefId)}var o=this.Setting.Relation;n&&o&&o.RelationType==Common.Enums.RelationType.Composition&&t.SetFValue(o.ParentFdName,o.ParentMoId),t=t.GetChangedObject();var a=this.Setting.TargetTypeDefId;return new Ul.FormRequestParams({Mo:t,TypeDefId:a,MoContext:{ReportId:this.Setting.Report?this.Setting.Report.Id:0},Relation:o,IsReadOnly:e,IsNew:n})}r="اجازه نمایش این موجودیت را ندارید ",i?i(r):Ul.MsgBox.Warning(r)}},_extCustomCommand:function(t,e){},Delete:function(t){if(1!=this.Setting.IsReadOnly&&0!=this.Setting.IsEnable&&!Ext.isEmpty(t)){0==Ext.isArray(t)&&(t=[t]);for(var e=0;e<t.length;e++)this._value.RemoveMo(t[e]);this.Adapter.RemoveItems(t),this.RaiseValueChangedEvent()}},DeleteAll:function(){1!=this.Setting.IsReadOnly&&0!=this.Setting.IsEnable&&this._value&&0!=this._value.GetCount()&&(this._value.RemoveAll(),this.Adapter.RemoveAllItems(),this.RaiseValueChangedEvent())},GetSelectedMo:function(){return this.Adapter.GetSelectedMo()},GetActiveMo:function(){return this.Adapter.GetActiveMo()},HasAccessAdd:function(t){return this.Setting.DefaultCommandsAccess.Add},HasAccessView:function(t){return this.Setting.DefaultCommandsAccess&&this.Setting.DefaultCommandsAccess.View},HasAccessEdit:function(t){return this.Setting.DefaultCommandsAccess&&this.Setting.DefaultCommandsAccess.Edit},HasAccessDelete:function(t){return this.Setting.DefaultCommandsAccess&&this.Setting.DefaultCommandsAccess.Delete}})},50703:()=>{Common.Cs.Define("CustomUi.LinearList_ContainerWithButton","Ui.CustomField",{value:[],constructor:function(t){this.callParent(arguments)},focus:function(){this._innerControl.focus.apply(this._innerControl,arguments)},CalcMinMaxSize:function(){Ly.LayoutHelper.CalcMinMaxSizeForControl.call(this)},AddItem:function(t){this.value.push(t),this.fireEvent("ControlValueChanged",this.value)},UpdateItem:function(t){this.value.forEach((function(e){e.Id==t.Id&&(e=t)})),this.fireEvent("ControlValueChanged",this.value)},RemoveItems:function(t){var e=this;t.forEach((function(t){e.value=e.value.filter((function(e){return e.Id!=t.Id}))})),this.fireEvent("ControlValueChanged",this.value)},RemoveAllItems:function(){this.value=[],this.fireEvent("ControlValueChanged",this.value)},GetTextItemValue:function(){return this.controlUi?this.controlUi.term:""},SetTextItemValue:function(t){this.textItem=t,this.controlUi&&(this.controlUi.term=t)},GetSelectedMo:function(){return controlUi?this.controlUi.selectedMetaObjects:null},GetActiveMo:function(){return controlUi?this.controlUi.activeMo:null}})},13401:()=>{Common.Cs.Define("Ul.RelationInfoComboAdapter","Adapter.ComboBoxBaseAdapter",{_value:null,_caption:null,CreateControlConfig:function(){var t=this.callParent(arguments);t.xtype="Ui.MultiSelectCombo";var e={valueField:"id",displayField:"txt",iconClsField:"url",editable:!1,store:{xtype:"jsonstore",data:this.Setting.DataSource,root:"Rows",id:"id",fields:this.Setting.DataSource.Fields}};return Common.Merger.FastMerge(t,e),t},SetValue:function(t,e){this._value=t,this._caption=e,this.Control.setValue(this._value)},GetValue:function(){return this.Control.getValue()},GetCaption:function(){return this.Control.getRawValue()},IsNull:function(){var t=this.GetValue();return 0==t&&(t=""),Ext.isEmpty(t)}})},41709:()=>{Common.Cs.Define("Ul.RelationInfoComboCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.RelationInfoComboAdapter",t},RefreshList:function(t){this.Adapter.RefreshList(t)},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on({scope:this,TriggerClick:function(){if(1==this.Setting.FillBeforeDropDown){var t={mo:this.ParentFormPanel.Mo.GetChanges(),fieldDefId:this.Setting.ControlFieldDefId};Common.Ajax.GetServerData("Form94.GetComboData_RelationInfo",t,(function(t){this.RefreshList(t)}),(function(t){}),null,this)}}})}})},59403:()=>{Common.Cs.Define("Ul.RelationInfoCtrlr","Ul.UlvFieldBaseCtrlr",{CreateAdapter:function(){this.callParent(arguments),this.UlvMainCtrlr.on(Ul.UlvMainCtrlr.EventEnum.ValueChange,this._onUlvMainCtrlr_ValueChange,this)},_onUlvMainCtrlr_ValueChange:function(t,e,n,i){var r=Common.Util.TryGetValue(this.UlvMainCtrlr.Setting,"Extra.Relation");this.ParentFormPanel.Mo,r&&(r.RelationType==Common.Enums.RelationType.Composition||r.RelationType==Common.Enums.RelationType.Aggrigation&&(Ext.isArray(n)&&n.length>0||Ext.isArray(i)&&i.length>0))&&this.RaiseValueChangedEvent()},RaiseValueChangedEvent:function(){this.fireEvent("ValueChanged",this)},CopyValueToMo:function(t){(t.$State==Common.MetaObjectWeb.StateEnum.Unchanged||Ext.isEmpty(t.$State))&&(t.$State=Common.MetaObjectWeb.StateEnum.Modified)},Refresh:function(t){Common.Async.Waterfall("Ul.RelationInfoCtrlr_CheckList.Refresh",{UlvMainCtrlr_Reload:this.UlvMainCtrlr.Reload.bind(this.UlvMainCtrlr),SetToParentMo:function(){var t=this.UlvMainCtrlr.GetValue();this.ParentFormPanel.Mo[this.Setting.ControlName]=t}.bind(this)},(function(t,e){Ul.LoadingMask.UnmaskBody(),Common.Async.Finalize(t,e,doReturn)}))}})},67958:()=>{Common.Cs.Define("Ul.RelationInfoCtrlr_CheckList","Ul.RelationInfoCtrlr",{_onUlvMainCtrlr_ValueChange:function(t,e,n,i){this.RaiseValueChangedEvent()}})},84952:()=>{Common.Cs.Define("Ul.RelationInfoSingleReverseCtrlr","Ul.UlvFieldBaseCtrlr",{CreateAdapter:function(){this.callParent(arguments),this.UlvMainCtrlr.on(Ul.UlvMainCtrlr.EventEnum.ValueChange,this._onUlvMainCtrlr_ValueChange,this)},_onUlvMainCtrlr_ValueChange:function(t,e,n,i){var r=Common.Util.TryGetValue(this.UlvMainCtrlr.Setting,"Extra.Relation");this.ParentFormPanel.Mo,r&&(r.RelationType==Common.Enums.RelationType.Composition||r.RelationType==Common.Enums.RelationType.Aggrigation&&(Ext.isArray(n)&&n.length>0||Ext.isArray(i)&&i.length>0))&&this.RaiseValueChangedEvent()},RaiseValueChangedEvent:function(){this.fireEvent("ValueChanged",this)},CopyValueToMo:function(t){(t.$State==Common.MetaObjectWeb.StateEnum.Unchanged||Ext.isEmpty(t.$State))&&(t.$State=Common.MetaObjectWeb.StateEnum.Modified)}})},89354:()=>{Common.Cs.Define("Ul.ReportInfoCtrlr","Ul.UlvFieldBaseCtrlr",{CreateAdapter:function(){this.callParent(arguments);var t=this.Setting.UlvSetting;t.IsLtr=this.Setting.IsLtr,t.SearchPanel&&!t.SearchPanel.ImmediateExecute||!1!==Common.Util.TryGetValue(this.Setting,"JsonExtraProp.Lazy")&&this.UlvMainCtrlr.on(Ul.UlvMainCtrlr.EventEnum.RenderViewer,(function(t,e,n){this._changeUlvParamsBeforeReload(),this.UlvMainCtrlr.Reload(n)}),this,{single:!0})},_changeUlvParamsBeforeReload:function(){this.UlvMainCtrlr.ParentMo=this.ParentFormPanel.Mo},IsNull:function(){return!1}}),Common.Cs.Define("Ul.HistoryInfoCtrlr","Ul.ReportInfoCtrlr",{_changeUlvParamsBeforeReload:function(){var t=this.UlvMainCtrlr.ResolveUlvParams();t.ParameterValues=[this.Setting.ParamName1,this.ParentFormPanel.Mo.Id],this.UlvMainCtrlr.UlvParams=t}})},17949:()=>{Common.Cs.Define("Ul.UlvFieldBaseCtrlr","Ul.FieldInfoBaseCtrlr",{UlvMainCtrlr:null,Adapter:null,constructor:function(t){this.addEvents("SelectionChange"),this.callParent(arguments),this.prepareCustomUiFromJsonExtraProp()},prepareCustomUiFromJsonExtraProp:function(){var t=Common.Util.TryGetValue(this,"Setting.JsonExtraProp.SearchPanelUi",null);null!=t&&this.Setting.UlvSetting.SearchPanel&&(this.Setting.UlvSetting.SearchPanel.View.CustomUi={Selector:t,ParentMo:Common.Util.TryGetValue(this,"ParentFormPanel.Mo")})},CreateAdapter:function(){this.Setting.UlvSetting.IsLtr=this.Setting.IsLtr;var t={Setting:this.Setting.UlvSetting,FieldCtrlr:this,_isReadOnly:this.GetReadOnly()};this.UlvMainCtrlr=new Ul.UlvMainCtrlr(t),this.UlvMainCtrlr.CreateAdapter(),this.UlvMainCtrlr.on(Ul.UlvMainCtrlr.EventEnum.SelectionChange,(function(){this.fireEvent("SelectionChange",this)}),this),this.UlvMainCtrlr.on(Ul.UlvMainCtrlr.EventEnum.RenderViewer,(function(){this.fireEvent("Rendered",this)}),this),this.UlvMainCtrlr.on("RequestParentFormPanelUi",(function(t,e){Common.Debug.Assert(Ext.isObject(e),"eBasket should be an object");var n=Common.Util.TryGetValue(this,"ParentFormPanel.Adapter.Control");e.FormPanelUi=n}),this)},GetUi:function(){return this.UlvMainCtrlr.Adapter.Control},GetCaption:function(){return""},GetValue:function(){return this.UlvMainCtrlr.GetValue()},SetValue:function(t,e,n){this.UlvMainCtrlr.SetValue(t,e),1!=n&&this.RaiseValueChangedEvent()},SetValueByMo:function(t){this.UlvMainCtrlr.ParentMo=t,this.callParent(arguments)},Clear:function(t){var e=this.GetValue();e.GetIdList&&(e.GetIdList(),this.UlvMainCtrlr.RemoveFromList(id))},IsNull:function(){return!Ext.isEmpty(this.GetValue())&&(this.GetValue()instanceof Common.MetaObjectCheckListWeb?0===this.GetValue().GetCheckedCount():0===this.GetValue().GetCount())},RaiseValueChangedEvent:function(){},SetEnable:function(t){this.IsInNormalSearchPanel()||this.UlvMainCtrlr.SetEnable(t)},SetVisible:function(t,e){this.IsInNormalSearchPanel()||this.UlvMainCtrlr.SetVisible(t,e)},SetReadOnly:function(t){this.IsInNormalSearchPanel()||this.UlvMainCtrlr.SetReadOnly(t)},Refresh:function(t){this.UlvMainCtrlr.Refresh(t)},Destroy:function(){this.UlvMainCtrlr.Destroy()}})},50596:()=>{Common.Cs.Define("Adapter.BoolInfoAdapter_CheckBox","Adapter.FieldInfoBaseAdapter",{constructor:function(t){this.callParent(arguments),this.Setting.IsReadOnly&&this.SetReadOnly(!0)},CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.CheckBox",t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin),t._focusableType="Ui.Focusable_Field",t.Setting.IsReadOnly&&(t.disabled=!0),t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("check",this.RaiseValueChangedEvent,this)},___GetReadOnly:function(){return!this.GetEnable()},___SetReadOnly:function(t){this.SetEnable(!t)},GetReadOnlySupport:function(){return!1},IsNull:function(){return!1}})},75864:()=>{Common.Cs.Define("Adapter.BoolInfoAdapter_Combo","Adapter.ComboBoxBaseAdapter",{constructor:function(t){this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments),e={fields:["id","txt","url"],rows:[{id:0,txt:this.Setting.FalseCaption,url:this.Setting.FalseIcon},{id:1,txt:this.Setting.TrueCaption,url:this.Setting.TrueIcon}]};this.Setting.IsMandatory&&!this.Setting.isForCondition||e.rows.insert(0,{id:-1,txt:BBB.Empty_Bracket});var n={_showIcons:0==Ext.isEmpty(this.Setting.TrueIcon)||0==Ext.isEmpty(this.Setting.FalseIcon),valueField:"id",displayField:"txt",iconClsField:"url",store:{xtype:"jsonstore",data:e,root:"rows",id:"id",fields:e.fields}};return Common.Merger.FastMerge(t,n),t},GetValue:function(){var t=this.Control.getValue();return 1==t||0!=t&&null},SetValue:function(t,e,n){t=!0===t||"true"===t?1:!1===t||"false"===t?0:1!=this.Setting.IsMandatory?-1:null,this.Control.setValue(t)}})},77257:()=>{Common.Cs.Define("Adapter.BoolInfoAdapter_Radio","Adapter.FieldInfoBaseAdapter",{_value:null,constructor:function(t){this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments);t.allowBlank=!this.Setting.IsMandatory;var e=Ext.id();return t.items=[{boxLabel:this.Setting.TrueCaption,name:e,itemId:"true",check:!0,inputValue:"true"},{boxLabel:this.Setting.FalseCaption,name:e,itemId:"false",inputValue:"false"}],t.xtype="Ui.RadioGroup",t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("change",this.RaiseValueChangedEvent,this)},GetValue:function(){var t=this.Control.getValue();return 0==this.Control.rendered?t:null==t?null:"true"==t||"true"==t.itemId||"false"!=t&&"false"!=t.itemId&&void 0},SetValue:function(t){!0===t?t="true":!1===t&&(t="false"),this.Control.rendered?Ext.each(this.Control.items.items,(function(e){e.setValue(e.getRawValue()==t)}),this):this.Control.setValue(t)},SetFocus:function(){return this.Control.items.items[0].focus(),!0},GetReadOnlySupport:function(){return!1}})},99414:()=>{Common.Cs.Define("Ul.BoolInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return this.Setting.ViewType==Common.Enums.BoolInfoViewType.ComboBox?t.xtype="Adapter.BoolInfoAdapter_Combo":this.Setting.ViewType==Common.Enums.BoolInfoViewType.RadioBox?t.xtype="Adapter.BoolInfoAdapter_Radio":t.xtype="Adapter.BoolInfoAdapter_CheckBox",t},CreateAdapter:function(){this.callParent(arguments),this.SetReadOnly(this.GetReadOnly())},GetCaption:function(){var t=this.GetValue(),e="";if(0==Ext.isEmpty(t))if(this.Setting.ViewType==Common.Enums.BoolInfoViewType.CheckBox)e=!0===t?"true":"false";else{if(!0===t)return this.Setting.TrueCaption;if(!1===t)return this.Setting.FalseCaption}return e},Clear:function(t){"CheckBox"!=this.Setting.ViewType&&this.callParent(arguments)}})},35745:()=>{Common.Cs.Define("Adapter.CurrencyInfoAdapter","Adapter.TextBoxBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t.decimalPrecision=this.Setting.DecimalPrecision,t.useThousandSeparator=this.Setting.ShowThousandSeperator,t.currencySymbol=this.Setting.CurrencySymbol,t.xtype="Ui.NumDecimal_Ui",t},GetCaption:function(){return this.Control.getFormattedValue?this.Control.getFormattedValue(this.GetValue()):this.GetValue()},GetValue:function(){return Ext.value(this.Control.getValue(),"").toString().trim()}})},90517:()=>{Common.Cs.Define("Ul.CurrencyInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.CurrencyInfoAdapter",t},Validate:function(){var t=this.callParent(arguments);if(Ext.isEmpty(t)){var e=this.GetValue();if(e){if(e=e.replaceAll(",",""),parseFloat(e)>parseFloat(this.Setting.MaxValue))return t.push(new Common.ValidationResult({Text:String.format(BBB.AlertValueCanNotBeBiggerThan,this.Setting.ControlFieldCaptionTranslated,this.Setting.MaxValue),Type:Common.Enums.ValidationType.Error,Target:this})),t;if(parseFloat(e)<parseFloat(this.Setting.MinValue))return t.push(new Common.ValidationResult({Text:String.format(BBB.AlertValueCanNotSmallerThan,this.Setting.ControlFieldCaptionTranslated,this.Setting.MinValue),Type:Common.Enums.ValidationType.Error,Target:this})),t}return t}}})},43833:()=>{Common.Cs.Define("Adapter.DateInfoAdapter","Adapter.FieldInfoBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t._focusableType="Ui.Focusable_Container",t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin),t.ShowDate1=this.Setting.ShowDate1,t.ShowTime1=this.Setting.ShowTime1,t.DateFormat=this.Setting.DateFormat,t.TimeFormat=this.Setting.TimeFormat,t.CalendarType=this.Setting.CalendarType,t.CalendarType==Common.Enums.CalendarType.Gregorian?t.DateFormat=t.DateFormat.replace("B","Y").replace("Q","m").replace("R","d"):t.DateFormat=t.DateFormat.replace("Y","B").replace("m","Q").replace("d","R"),t.Format=(t.DateFormat?t.DateFormat:"")+(t.DateFormat&&t.TimeFormat?" ":"")+(t.TimeFormat?t.TimeFormat:""),t.xtype="Ui.DateTime",t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("change",this.RaiseValueChangedEvent,this),this.Control.on("EnterPress",this.RaiseEnterPressEvent,this)},RaiseEnterPressEvent:function(){this.Control.FormPanelUi.fireEvent("EnterPress")},GetCaption:function(){var t=this.GetValue();return this._getCaptionFromValue(t)},_getCaptionFromValue:function(t){var e="";return Ext.isDate(t)&&(e=this.Control.GetCaption(t)),e},SetEnable:function(t){t=Ext.value(t,!0),this.Control.SetDisabled(!t)}})},98509:()=>{Common.Cs.Define("Ul.DateInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return 1==Common.Util.TryGetValue(this.Setting,"JsonExtraProp.IsGrigorian")&&(t.CalendarType=Common.Enums.CalendarType.Gregorian),t.CalendarType==Common.Enums.CalendarType.Default&&("persian"==BBB.Calendar?t.CalendarType=Common.Enums.CalendarType.HijriShamsi:t.CalendarType=Common.Enums.CalendarType.Gregorian),t.xtype="Adapter.DateInfoAdapter",t}})},74115:()=>{Common.Cs.Define("Adapter.DateRangeInfoAdapter","Adapter.DateInfoAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.DateRangeEx",t._focusableType="Ui.Focusable_Container",t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin),t},GetCaption:function(){var t=this.GetValue();return t?this._getCaptionFromValue(t.FromDate)+" ~ "+this._getCaptionFromValue(t.ToDate):""},IsNull:function(){var t=this.GetValue();return Ext.isEmpty(t.FromDate)&&Ext.isEmpty(t.ToDate)}})},71247:()=>{Common.Cs.Define("Ul.DateRangeInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return 1==Common.Util.TryGetValue(this.Setting,"JsonExtraProp.IsGrigorian")&&(t.CalendarType=Common.Enums.CalendarType.Gregorian),t.CalendarType==Common.Enums.CalendarType.Default&&("persian"==BBB.Calendar?t.CalendarType=Common.Enums.CalendarType.HijriShamsi:t.CalendarType=Common.Enums.CalendarType.Gregorian),t.xtype="Adapter.DateRangeInfoAdapter",t}})},47231:()=>{Common.Cs.Define("Adapter.EnumInfoAdapter","Adapter.ComboBoxBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments),e={_showIcons:this.Setting.IconDisplayType!=Common.Enums.IconDisplayType.NoImage,valueField:"id",displayField:"txt",iconClsField:"url",store:{xtype:"jsonstore",data:this.Setting.DataSource,root:"Rows",id:"id",fields:this.Setting.DataSource.Fields}};return Common.Merger.FastMerge(t,e),t},IsNull:function(){return!(0!==this.GetValue()&&!Ext.isEmpty(this.GetValue(),!0))}})},95662:()=>{Common.Cs.Define("Adapter.EnumInfoAdapter_MultiSelect","Adapter.TextBoxBaseAdapter",{_value:null,constructor:function(t){this.callParent(arguments)},CreateControlConfig:function(t){var e=this.callParent(arguments),n={_showIcons:this.Setting.IconDisplayType!=Common.Enums.IconDisplayType.NoImage,valueField:"id",displayField:"txt",iconClsField:"url",store:{xtype:"jsonstore",data:this.Setting.DataSource,root:"Rows",id:"id",fields:this.Setting.DataSource.Fields},xtype:"Ui.MultiSelectCombo"};return Common.Merger.FastMerge(e,n),e},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("select",this.RaiseValueChangedEvent,this)},GetValue:function(){return this.Control.getValue()},SetValue:function(t,e){this.Control.setValue(t)},GetCaption:function(){var t=this.Control.getValue();if(Ext.isEmpty(t))return"";for(var e=t.split(","),n="",i=this.Control.getStore(),r=0;r<e.length;r++){var o=e[r];if(!Ext.isEmpty(o)){var a=i.getById(o);a&&(n=n+(n.length>0?",":"")+(a.txt||a.json.txt))}}return n}})},84117:()=>{Common.Cs.Define("Adapter.EnumInfoAdapter_RadioButton","Adapter.FieldInfoBaseAdapter",{_value:null,CreateControlConfig:function(){var t=this.callParent(arguments);t.xtype="Ui.RadioGroup",t.columns="1",t.x="1",t.vertical=!0;var e=[],n=Ext.id();return this.Setting.DataSource.Rows.forEach((function(t){e.push({boxLabel:t.txt,name:n,IsEmpty:t.IsEmpty,hidden:this.Setting.IsMandatory&&t.IsEmpty,inputValue:t.id})}),this),t.items=e,t},SetMandatory:function(t){this.Control.items.forEach?this.Control.items.forEach((function(e){e.IsEmpty&&(e.setVisible?e.setVisible(!t):e.hidden=t)}),this):this.Control.items.each&&this.Control.items.each((function(e){e.IsEmpty&&e.setVisible(!t)}),this),this.callParent(arguments)},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("change",this.RaiseValueChangedEvent,this)},GetCaption:function(){var t=this.Control.getValue();return Ext.isEmpty(t)?"":t.boxLabel},Initialize:function(){},GetValue:function(){return"Ui.CustomField"==this.Control.xtype?this.Control.getValue():this.Control.getValue()?this.Control.getValue().inputValue:null},SetValue:function(t,e){this.Control.setValue(t)},RefreshList:function(t){if(this.Control){var e=this.Control.getStore();e&&e.loadData(t)}}})},84650:()=>{Common.Cs.Define("Ul.EnumInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype=!0===this.Setting.ShowAsRadioButton?"Adapter.EnumInfoAdapter_RadioButton":"Adapter.EnumInfoAdapter",t},SetValue:function(t,e,n){1==this.Setting.ShowAsRadioButton?(this.Adapter.SuspendEvents(),this.Adapter.SetValue(t,e),this.Adapter.ResumeEvents.defer(50,this.Adapter),1!=n&&this.RaiseValueChangedEvent()):this.callParent(arguments)},Clear:function(t){1==this.Setting.IsMandatory&&this.SetValue(null,"",t),this.SetValue(0,"",t)},IsNull:function(){var t=this.GetValue();return 1==this.Setting.IsMandatory?Ext.isEmpty(t)||0==t:Ext.isEmpty(t)}})},86806:()=>{Common.Cs.Define("Ul.EnumInfoCtrlr_MultiSelect","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.EnumInfoAdapter_MultiSelect",t},CopyValueToMo:function(t,e){e=this.Adapter.GetCaption(),[].push.call(arguments,e),this.callParent(arguments)}})},11556:()=>{Common.Cs.Define("Adapter.IntInfoAdapter","Adapter.TextBoxBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t.maxValue=this.Setting.MaxValue,t.minValue=this.Setting.MinValue,t.decimalPrecision=this.Setting.DecimalPrecision,t.useThousandSeparator=this.Setting.ShowThousandSeperator,"Decimal"==this.Setting.NumberType?t.xtype="Ui.NumDecimal_Ui":("Long"==this.Setting.NumberType&&(t.decimalPrecision=0),t.xtype="Ui.NumInt_Ui"),t},GetCaption:function(){if(this.Control.getFormattedValue)return this.Control.getFormattedValue(this.GetValue())},GetErrors:function(){return this.Control.getErrors(this.Control.getRawValue())}})},62748:()=>{Common.Cs.Define("Adapter.IntInfoAdapter_MultiSlider","Adapter.IntInfoAdapter_Slider",{CreateControlConfig:function(){var t=this.callParent(arguments);return Common.Merger.FastMerge(t,{xtype:"Ui.MultiSlider_Ui"})}})},2057:()=>{Common.Cs.Define("Adapter.IntInfoAdapter_Slider","Adapter.FieldInfoBaseAdapter",{statics:{_internalDefaults:{minValue:0,maxValue:100,increment:1}},CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.Slider_Ui",t.minValue=Common.Util.TryGetValue(this,"Setting.MinValue",Adapter.IntInfoAdapter_Slider._internalDefaults.minValue),t.maxValue=Common.Util.TryGetValue(this,"Setting.MaxValue",Adapter.IntInfoAdapter_Slider._internalDefaults.maxValue),t.increment=parseFloat(Common.Util.TryGetValue(this.Setting,"JsonExtraProp.IncrementValue",Adapter.IntInfoAdapter_Slider._internalDefaults.increment)),"Long"!==this.Setting.NumberType&&this.Setting.DecimalPrecision>0&&(t.decimalPrecision=this.Setting.DecimalPrecision),t._hasCheckBox=Common.Util.TryGetValue(this,"Setting.HasCheckBox"),t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("valueChanged",this.RaiseValueChangedEvent,this)},GetValue:function(){return this.Control.GetValue()},SetValue:function(t,e){this.Control.SetValue(t)},SetEnable:function(t){t=Ext.value(t,!0),this.Control.SetDisabled(!t)}})},28090:()=>{Common.Cs.Define("Ul.IntInfoCtrlr","Ul.FieldInfoBaseCtrlr",{Setting:null,CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.IntInfoAdapter",t},Validate:function(){var t=this.callParent(arguments);if(Ext.isEmpty(t)){var e=this.GetValue();if(e||0===e){if("Decimal"==this.Setting.NumberType&&(e=e.replaceAll(",","")),e>parseFloat(this.Setting.MaxValue))return t.push(new Common.ValidationResult({Text:String.format(BBB.AlertValueCanNotBeBiggerThan,this.Setting.ControlFieldCaptionTranslated,this.Setting.MaxValue),Type:Common.Enums.ValidationType.Error,Target:this})),t;if(e<parseFloat(this.Setting.MinValue))return t.push(new Common.ValidationResult({Text:String.format(BBB.AlertValueCanNotSmallerThan,this.Setting.ControlFieldCaptionTranslated,this.Setting.MinValue),Type:Common.Enums.ValidationType.Error,Target:this})),t}}return t}})},67055:()=>{Common.Cs.Define("Ul.IntInfoCtrlr_MultiSlider","Ul.IntInfoCtrlr_Slider",{Setting:null,CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.IntInfoAdapter_MultiSlider",t}})},72912:()=>{Common.Cs.Define("Ul.IntInfoCtrlr_Slider","Ul.FieldInfoBaseCtrlr",{Setting:null,CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.IntInfoAdapter_Slider",t}})},10338:()=>{Common.Cs.Define("Adapter.ReadOnlyFieldAdapter","Adapter.FieldInfoBaseAdapter",{_value:null,CreateControlConfig:function(){var t=this.callParent(arguments);return t.readOnly=!0,t.preventMark=!0,t.cls="readonly-text-field",this.Setting.IsMultiLine?(t.xtype="Ui.TextArea",t.cls+=" a-overflow-auto"):t.xtype="Ui.TextField",this.Setting.IsLtr&&(t.style="text-align:left;direction:ltr"),t._focusableType="Ui.Focusable_Field",t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin),t},GetValue:function(){return this._value},SetValue:function(t,e){this._value=t,0==Ext.isDefined(e)&&(e=t),Ext.isObject(e)&&(e=e.$Caption),this.Control.setValue(e)},GetCaption:function(){return this.Control.getValue()}})},93593:()=>{Common.Cs.Define("Adapter.ReadOnlyFieldAdapter_Borderless","Adapter.FieldInfoBaseAdapter",{_value:null,CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.ReadOnlyField",t.cls="readonly-text-field",t.Setting.IsMultiLine&&(t.cls+=" a-overflow-auto"),t.Setting.IsLtr&&(t.style="text-align:left;direction:ltr"),t},GetValue:function(){return this._value},SetValue:function(t,e){this._value=t,0==Ext.isDefined(e)&&(e=t),Ext.isObject(e)&&(e=e.$Caption),e=Common.Util.HtmlEscape(e),e=Ext.util.Format.nl2br(e),this.Control.SetValue(e)},GetCaption:function(){return this.Control.text}})},63162:()=>{Common.Cs.Define("Ul.ReadOnlyFieldCtrlr","Ul.FieldInfoBaseCtrlr",{IsAlwaysReadOnly:!0,CreateAdapterConfig:function(){var t=this.callParent(arguments);return this.Setting.HasBorder||this.Setting.ShowAsTextBox?t.xtype="Adapter.ReadOnlyFieldAdapter":t.xtype="Adapter.ReadOnlyFieldAdapter_Borderless",t},___GetReadOnly:function(){return!0},___SetReadOnly:function(t){},Clear:function(t){this.SetValue("","",t)}})},91314:()=>{Common.Cs.Define("Adapter.RichStringInfoAdapter","Adapter.FieldInfoBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.Tinymce",t.defaultVerbs=this.Setting.DefaultVerbs,t.extraFonts=this.Setting.ExtraFonts,t.isReadonly=this.Setting.IsReadOnly,t.plugins=Ext.value(t.plugins,[]),t.plugins.push(Ui.FocusPlugin),t._focusableType="Ui.Focusable_Field",t},GetValue:function(t){var e=this.Control.getValue(t);return Ext.isEmpty(e)?"":e.toString()},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("valueChanged",this.RaiseValueChangedEvent,this),this.Control.on("change",this.RaiseValueChangedEvent,this)}})},90599:()=>{Common.Cs.Define("Ul.RichStringInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.RichStringInfoAdapter",t},Clear:function(t){this.SetValue("","",t)}})},80302:()=>{Common.Cs.Define("Adapter.RichStringInfoViewerAdapter","Adapter.FieldInfoBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.HtmlViewer",t}})},28525:()=>{Common.Cs.Define("Ul.RichStringInfoViewerCtrlr","Ul.FieldInfoBaseCtrlr",{_value:null,_hasCustomRenderer:!1,_hasCustomRendererOld:!1,Renderer:null,constructor:function(t){this.callParent(arguments);var e=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.Renderer");this._hasCustomRenderer=Ext.isString(e),this._hasCustomRendererOld=Ext.isObject(e)},CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.RichStringInfoViewerAdapter",t},AddListenersForAdapterEvents:function(){this.Adapter.on({scope:this,Render:function(){(this._hasCustomRenderer||this._hasCustomRendererOld)&&this._customRender()},ValueChanged:this._onAdapter_ValueChanged})},Clear:function(t){this.SetValue("","",t)},GetValue:function(){return this._value},SetValue:function(t,e,n){this._value=t,this._hasCustomRenderer||this._hasCustomRendererOld?this._customRender():this.Adapter.SetValue(t)},_customRender:function(){LoginFormData.CustomUiPrefix||(this._hasCustomRenderer?Ui.HtmlRendererBase2.Render(this):this._hasCustomRendererOld&&Ui.HtmlRendereBase.Render(this))},____createRenderer:function(t){this._hasCustomRenderer&&Ext.isEmpty(this.Renderer)?Ui.HtmlRendereBase.CreateRenderer(this,t):t()},____SetValue:function(t,e,n){if(this._value=t,Ext.isNotEmpty(this._renderer));else{var i=Common.Util.TryGetValue(this.Setting,"JsonExtraProp.Renderer");if(i)return this._renderer=Ext.create({xtype:i,FieldCtrlr:this,Setting:this.Setting}),void this.SetValue(t,e,n)}this.Adapter.SuspendEvents(),this.Adapter.SetValue(t,e),this.Adapter.ResumeEvents(),1!=n&&this.RaiseValueChangedEvent()}})},46717:()=>{Common.Cs.Define("Adapter.StringInfoAdapter_AutoComplete","Adapter.StringInfoAdapter",{constructor:function(t){this.addEvents("SmartChange","KeyDown"),this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.TextField_AutoComplete",t},AddListenersForControlEvents:function(){this.callParent(arguments),this.Control.on({scope:this,SmartChange:function(t,e){this.fireEvent("SmartChange",this,e)},keydown:function(t,e){this.fireEvent("KeyDown",this,e)}})}})},80969:()=>{QQQ=0,Common.Cs.Define("Ul.StringInfoCtrlr_AutoComplete","Ul.StringInfoCtrlr",{______UlvMainCtrlr:null,UlvDropDownCtrlr:null,CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.StringInfoAdapter_AutoComplete",t},AddListenersForAdapterEvents:function(){this.callParent(arguments),this.Adapter.on({scope:this,KeyDown:this._onAdapter_KeyDown,SmartChange:this._onAdapter_SmartChange})},_onAdapter_KeyDown:function(t,e,n){this._getUlvDropDownCtrlr().HandleKeyDown(e)},_onAdapter_SmartChange:function(t,e){if(e.getKey()!=e.ENTER){var n=this._getUlvDropDownCtrlr(),i=this.GetValue();Ext.isEmpty(i)||i.length<3?n.Collapse():n.Filter(i)}},_getUlvDropDownCtrlr:function(){return this.UlvDropDownCtrlr||(this.UlvDropDownCtrlr=new Ul.UlvDropDownCtrlr({HostCtrlr:this,FnRequestUlvParams:this._createUlvParams.bind(this),DropDownSettig:{ShowOkCancel:!1,ShowToolbar:!1,CollapseOnRowClick:!0,RefreshBeforeExpand:!0}}),this.UlvDropDownCtrlr.on({scope:this,RequestParentFormPanelUi:function(t,e){this.fireEvent("RequestParentFormPanelUi",t,e)},BeforeExpand:function(t,e){var n=this.GetSize();n&&(e.PreferredSize=n)},AfterExpand:function(t){this.SetFocus(100)},AfterCollapse:function(t){this.SetFocus(100)},ItemSelect:function(t,e){var n=Common.Util.TryGetValue(e,"$Caption");n&&this.SetValue(n)}})),this.UlvDropDownCtrlr},_createUlvParams:function(){var t=this.GetValue(),e=new Ul.UlvParams({FieldDefId:this.Setting.ControlFieldDefId,FilterText:t,UsageEnum:Ul.UlvMainCtrlr.UlvUsageEnum.Combo,ColumnRequestEnum:Common.Enums.ColumnRequestEnum.Title});return e.Width=this.GetSize().Width,e.Height=300,e}})},72182:()=>{Common.Cs.Define("Adapter.StringInfoAdapter","Adapter.TextBoxBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments),e=this.Setting,n={inputType:e.IsPassword?"password":"text",maskRe:e.AllowedStringChars,maxLength:e.MaxLength,emptyText:e.NullText,allowBlank:!e.IsMandatory};return Common.Merger.FastMerge(t,n),1==!e.IsMultiLine?t.xtype="Ui.TextField":t.xtype="Ui.TextArea",e.IsLtr&&(t.style="text-align:left;direction:ltr"),t},GetValue:function(){var t=this.Control.getValue();return Ext.isString(t)&&(t=(t=Ext.util.Format.stripScripts(t)).replaceAll("'","`")),t},SetValue:function(t){this.Control.setValue(t)}})},72165:()=>{Common.Cs.Define("Ul.StringInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.StringInfoAdapter",t},Validate:function(){var t=this.callParent(arguments);if(this.IsInNormalSearchPanel())return t;var e=Ext.isNotEmpty(this.GetValue())?this.GetValue().length:0;return this.Setting.MinLength&&e>0&&e<this.Setting.MinLength&&t.push(new Common.ValidationResult({Text:String.format(BBB.TextMinLengthError,this.Setting.ControlFieldCaption),Type:Common.Enums.ValidationType.Error,Target:this})),this.Setting.MaxLength&&e>this.Setting.MaxLength&&t.push(new Common.ValidationResult({Text:String.format(BBB.TextMaxLengthError,this.Setting.ControlFieldCaption),Type:Common.Enums.ValidationType.Error,Target:this})),t}})},5283:()=>{Common.Cs.Define("Adapter.TimeSpanInfoAdapter","Adapter.TextBoxBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.TimeSpan",t},GetCaption:function(){return this.Control.getFormattedValue(this.GetValue())}})},17684:()=>{Common.Cs.Define("Ul.TimeSpanInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.TimeSpanInfoAdapter",t}})},40882:()=>{Common.Cs.Define("Adapter.UserInfoAdapter","Adapter.ComboBoxBaseAdapter",{CreateControlConfig:function(){var t=this.callParent(arguments);return t._showIcons=this.Setting.IconDisplayType!=Common.Enums.IconDisplayType.NoImage,t.valueField="id",t.displayField="txt",t.iconClsField="url",t.editable=!0,t.typeAhead=!1,t.store={xtype:"jsonstore",data:this.Setting.DataSource,root:"Rows",id:"id",fields:this.Setting.DataSource.Fields},this.UseHtmlSafeDisplayField(t),t},IsNull:function(){return-1==this.GetValue()||""==this.GetValue()}})},26934:()=>{Common.Cs.Define("Ul.UserInfoCtrlr","Ul.FieldInfoBaseCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Adapter.UserInfoAdapter",t},Clear:function(t){this.Setting.IsMandatory||this.SetValue(-1,t)}})},28439:()=>{Common.Cs.Define("Ui.CustomFormPanelToolbar","Common.Observable",{hidden:!0,enableOverflow:!0,Setting:null,_listCustomToolbarCommand:null,_btnsWithShortcut:null,_showSaveBtnSeperately:!1,constructor:function(t){this.callParent(arguments),this.initComponent()},initComponent:function(){this._btnsWithShortcut=[],this.Setting.MoSecurity=Ext.value(this.Setting.MoSecurity,{}),this.addEvents("ToolClick");var t=Common.ToolbarUtil.GetSecurity(this.Setting);this._createButtons(t)},_createButtons:function(t){this.items=Common.ToolbarUtil.PrepareButtons(this,t);var e=this.items.find((function(t){return"SaveAndNew"==t.itemId}));e&&(e.text=e.tooltip),this.fireEvent("ToolbarItemsChanged",this.items)},Refresh:function(t){this.items=[],this._createButtons()},GetToolbarCommandVisible:function(t){var e=this.GetToolById(t);if(e)return!e.hidden},SetToolbarCommandVisible:function(t,e){var n=this.GetToolById(t);n&&(n.hidden=!e),this.fireEvent("ToolbarItemsChanged",this.items)},GetToolbarCommandEnable:function(t){var e=this.GetToolById(t);if(e)return!e.disabled},SetToolbarCommandEnable:function(t,e){var n=this.GetToolById(t);n&&(n.disabled=!e),this.fireEvent("ToolbarItemsChanged",this.items)},GetToolById:function(t){return this.GetToolByPropertyValue("itemId",t)},GetToolByPropertyValue:function(t,e){var n=[];return this.items.forEach((function(i){Ext.isEmpty(i.itemId)||(i[t]==e?n.push(i):Ext.isNotEmpty(i.menu)&&i.menu.items&&i.menu.items.forEach((function(i){i[t]==e&&n.push(i)}),this))}),this),Ext.isNotEmpty(n)?n[0]:void 0},GetToolByCaption:function(t){return this.GetToolByPropertyValue("text",t)}}),Common.Cs.Define("Ui.CustomFormPanelToolbar_SubFormForPreviewField","Ui.CustomFormPanelToolbar",{_createButtons:function(){var t=Common.ToolbarUtil.CreateSubFormButtons(this),e=Common.ToolbarUtil.GetSecurity(this.Setting),n=!(e.hasEdit&&e.showSaveButtonInView)||e.hideSaveAndNew;this.items=t,this.fireEvent("ToolbarItemsChanged",this.items),this.hideToolbar=n}})},42294:()=>{Common.Cs.Define("Ui.CustomFormPanel","Common.Observable",{groupVisiblity:{},constructor:function(t){this.addEvents("Refresh","ChangeFieldVisible","RenderFinished","ValueChanged","RequestForClose","ResizeByUser","ToolClick","EnterPress","ShowWindow","GroupBRuleChanged","TitleChanged","WizardNextStep","DoLayout"),this.callParent(arguments),this.prepareControls()},prepareControls:function(){this._createListOfFieldUi();var t=this.Setting.View.Layout94;this._replaceFieldsInLayout(t),this.createToolbar()},_createListOfFieldUi:function(){for(var t in this._listFieldUi=[],this._dictFieldUi)this._listFieldUi.push(this._dictFieldUi[t])},_replaceFieldsInLayout:function(t){for(var e=t.items,n=[],i=0;i<e.length;i++){var r=e[i];if("Ly.LayoutControl"==r.xtype){var o=this._getFieldUiByName(r.ControlId);if(null==o){n.push(r);continue}this._replaceFieldAndLabel(o,r)}else"InvisibleItem"==r.Type&&(r.hidden=!0);r.id="LayoutItem_"+Ui.CustomFormPanel.StaticControlIdSequencer++,r.FormPanelUi=this,r.items&&this._replaceFieldsInLayout(r)}if(0==Ext.isEmpty(n))for(var a=0;a<n.length;a++);},_getFieldUiByName:function(t,e){var n=this._dictFieldUi[t];return!n&&e&&alert("Control with ControlName="+t+" does not exists!"),n},_replaceFieldAndLabel:function(t,e){t.FormPanelUi=this;var n={xtype:"Ly.LayoutFieldLabel",forId:t.id,Setting:t.Setting,_layoutControlConfig:e,_isLabelColored:this.Setting.View.IsLabelColored};e._labelConfig=n,e.FieldUi=t},createToolbar:function(){var t=Ext.isNotEmpty(Common.Util.TryGetValue(this.Setting,"SubFormFieldSetting.PreviewFieldId"));this.toolbar=t?new Ui.CustomFormPanelToolbar_SubFormForPreviewField({FormPanelUi:this,Setting:this.Setting,hidden:0==this.Features.Toolbar,_listCustomToolbarCommand:this._listCustomToolbarCommand,originalXtype:"Ui.FormPanelToolbar"}):new Ui.CustomFormPanelToolbar({FormPanelUi:this,Setting:this.Setting,hidden:0==this.Features.Toolbar,_listCustomToolbarCommand:this._listCustomToolbarCommand,originalXtype:"Ui.FormPanelToolbar"}),this.relayEvents(this.toolbar,["ToolClick"])},doLayout:function(){this.fireEvent("DoLayout",this)},ShowWindow:function(t,e){Ul.ApplicationCtrlr.CurrentSystemAdapter&&Ul.ApplicationCtrlr.CurrentSystemAdapter.ShowFormPanelControl(t),e&&e()},MoveWindow:function(t){},ForceClose:function(){this.fireEvent("ForceClose")},Mask:function(){this.mask=!0,this.fireEvent("MaskChanged",this.mask)},Unmask:function(){this.mask=!1,this.fireEvent("MaskChanged",this.mask)},ShowHelp:function(t){},SetTitle:function(t){this.title=t,this.fireEvent("TitleChanged",this.title)},Refresh:function(){this.Mo=this.Setting.Data.Mo,this.prepareControls(),this.fireEvent("Refresh")},Destroy:function(){},purgeListeners:function(){},ShowInfoBar:function(t,e,n,i,r,o){},HideInfoBar:function(t){},SetGroupEnable:function(t,e){this._setGroupEnable(this.Setting.View.Layout94,t,e)},SetGroupReadOnly:function(t,e){this._setGroupReadonly(this.Setting.View.Layout94,t,e)},SetGroupVisible:function(t,e,n){this._setGroupVisible(this.Setting.View.Layout94,t,e)},_getGroupPorp:function(t,e,n){return Common.Util.TryGetValue(this.groupVisiblity[t],e,n)},_setGroupReadonly:function(t,e,n){var i=this._findGroup(t,e);i&&(i.Readonly=n,this.fireEvent("GroupBRuleChanged",i))},_setGroupEnable:function(t,e,n){var i=this._findGroup(t,e);i&&(i.Enable=n,this.fireEvent("GroupBRuleChanged",i))},_setGroupVisible:function(t,e,n){var i=this._findGroup(t,e);i&&(i.Visible=n,this.fireEvent("GroupBRuleChanged",i))},_findGroup:function(t,e){var n=null;return"LayoutGroup"===t.Type&&t.Title==e&&(n=t),t.items&&t.items.forEach((function(t){null==n&&(n=this._findGroup(t,e))}),this),n},GetToolbarCommandEnable:function(t){return this.toolbar.GetToolbarCommandEnable(t)},SetToolbarCommandEnable:function(t,e){this.toolbar.SetToolbarCommandEnable(t,e)},GetToolbarCommandVisible:function(t){return this.toolbar.GetToolbarCommandVisible(t)},SetToolbarCommandVisible:function(t,e){this.toolbar.SetToolbarCommandVisible(t,e)},LayoutFields:function(){var t=this.Setting.View.Layout94;this._replaceFieldsInLayout(t)},ResetFieldUi:function(t){},GetToolById:function(t){return this.toolbar.GetToolById(t)},GetToolByCaption:function(t){return this.toolbar.GetToolByCaption(t)},Relayout:function(t){},SetLayoutDirty:function(t){this.dirty=t},GetLayoutDirty:function(){return this.dirty},GetSize:function(t){},FocusNextPrevChild:function(t){},WizardNextStep:function(){this.fireEvent("WizardNextStep")},statics:{StaticControlIdSequencer:0}})},43358:()=>{Common.Cs.Define("Ui.FocusContext","Ext.util.Observable",{constructor:function(t){Ext.apply(this,t)},GetFirst:function(){},GetNext:function(t){},GetPrev:function(t){},GetFocusedItem:function(){},FocusItem:function(t,e){}}),Common.Cs.Define("Ui.FocusContext_Form","Ui.FocusContext",{Component:null,_formPanel:null,_fieldList:null,constructor:function(t){this.callParent(arguments),this._fieldList=this.Component._listFieldUi,this.Component.on("afterrender",(function(){this.Component.getEl().on("keydown",this._onElement_KeyDown.bind(this))}),this)},_onElement_KeyDown:function(t){if(t.keyCode==t.TAB){var e=!t.shiftKey;return t.stopEvent(),this.FocusItem(null,e),!1}return!0},GetNext:function(t){var e=Ext.isNumber(t)?t:this._getItemIndex(t);return++e>=this._fieldList.length&&(e=0),this._fieldList[e]},GetPrev:function(t){var e=Ext.isNumber(t)?t:this._getItemIndex(t);return--e<0&&(e=this._fieldList.length-1),this._fieldList[e]},GetFocusedItem:function(){for(var t=0;t<this._fieldList.length;t++)if(this._fieldList[t].Focusable&&this._fieldList[t].Focusable.Focused)return this._fieldList[t]},FocusItem:function(t,e){if(Ext.isEmpty(t)&&Ext.isEmpty(e)&&(t=this.GetFirst()),Ext.isEmpty(t)&&(t=this.GetFocusedItem()),Ext.isEmpty(t)&&(t=this.GetFirst()),!Ext.isEmpty(t))if(Ext.isEmpty(e))t.CanFocus?t.Focus():this.FocusItem(t,!0);else for(var n=t;;){var i=e?this.GetNext(t):this.GetPrev(t);if(Ext.isEmpty(i)||i==n)break;if(i.Focusable&&i.Focusable.CanFocus()){i.Focusable.Focus();break}t=i}},_getItemIndex:function(t){for(var e=0;e<this._fieldList.length;e++)if(t==this._fieldList[e])return e}})},9436:()=>{Common.Cs.Define("Ui.Focusable","Ext.util.Observable",{Component:null,Caption:null,IsFocused:!1,_forceToBeLast:!1,_tabScore:null,_canLoop:!1,_canHasChildren:!1,_listChild:null,constructor:function(t){Ext.apply(this,t);var e=Common.Util.TryGetValue(this.Component,"Setting.ControlFieldCaption",this.Component.title);this.Caption=e,this.callParent(arguments)},InitializeChildren:function(t){t=Ext.value(t,!0),this._listChild=[],this._createListChild(),this._reorderListChild()},_hasChildren:function(){return this._canHasChildren&&this._listChild&&this._listChild.length>0},_createListChild:function(){var t=this.Component.items instanceof Ext.util.MixedCollection?this.Component.items.items:this.Component.items;this._addItemsToListChild(t,!0)},_addItemsToListChild:function(t,e){e=Ext.value(e,!0),t.forEach((function(t){t.Focusable?(t.Focusable.Parent=this,this._listChild.push(t.Focusable),e&&t.Focusable._canHasChildren&&t.Focusable.InitializeChildren()):t.items instanceof Ext.util.MixedCollection&&this._addItemsToListChild(t.items.items)}),this)},_reorderListChild:function(){for(var t=0;t<this._listChild.length;t++)this._setChildTabScore(this._listChild[t],t);this._listChild.sort((function(t,e){return t._tabScore>=e._tabScore?1:-1}))},_setChildTabScore:function(t,e){t._tabScore=e.toString().padLeft(4,"0");var n=t.Component;if(n.rendered){var i=n.getPosition();i&&(0==Common.Util.IsLtr()&&(i[0]=5e3-i[0]),t._tabScore=i[1].toString().padLeft(4,"0")+"_"+i[0].toString().padLeft(4,"0"),t._forceToBeLast&&(t._tabScore="9_"+t._tabScore))}},CanFocus:function(){var t=!1;if(this._hasChildren())for(var e=0;e<this._listChild.length;e++)if(this._listChild[e].CanFocus()){t=!0;break}return t},_canFocusChildren:function(){for(var t=0;t<this._listChild.length;t++){var e=this._listChild[t];if(e.CanFocus&&e.CanFocus())return!0}},Focus:function(t,e){var n=!1;return this.Parent&&(this.Parent._focusedChild=this),t=Ext.value(t,!0),this._hasChildren()?n=this.FocusChild(t,e):(this.SetFocusState(),this.FocusOwn(),n=!0),n},FocusOwn:function(){var t=this._findParentFocusableForm();t&&t.GetFocusedChild();try{this.Component.focus&&this.Component.focus()}catch(t){}},FocusChild:function(t,e){t=Ext.value(t,!0);var n,i=!1,r=this.GetFocusedChild();return!!(r&&r._hasChildren()&&(i=r.Focus(t,e)))||(n=e?t?this.GetFirstChild():this.GetLastChild():r?t?this.GetNextChild(r):this.GetPrevChild(r):t?this.GetFirstChild():this.GetLastChild(),Ext.isEmpty(n)&&this._canLoop?0!=Ext.isEmpty(r)||e||(i=this.Focus(t,!0)):n&&(i=n.Focus(t)),i)},SetFocusState:function(){this._verifyFocused(this);for(var t,e,n=this;n;)n&&(t=n),n=n.Parent;for(t._unfocusChilds(),n=this.Parent,e=this;e.IsFocused=!0,n;)n._focusedChild=e,e=n,n=n.Parent},_unfocusChilds:function(){if(this.IsFocused&&(this.IsFocused=!1),this._focusedChild&&(this._focusedChild=null),this._hasChildren())for(var t=0;t<this._listChild.length;t++)this._listChild[t]._unfocusChilds()},_verifyFocused:function(t){var e=[];!function t(e,n){e.Parent&&(n.push(e.Caption),t(e.Parent,n))}(t,e),e.reverse();for(var n,i=t;i;)i&&(n=i),i=i.Parent;var r=[];!function t(e,n){e._focusedChild&&(n.push(e._focusedChild.Caption),t(e._focusedChild,n))}(n,r);var o=function(t,e){return"Component"==t?null:"Parent"==t||"_focusedChild"==t?e.Caption:e},a=JSON.stringify(e,o),s=JSON.stringify(r,o);Common.Debug.Assert(a==s,a+"\r\n"+s)},GetFirstChild:function(){return this._getNextPrevHelper(null,!0)},GetLastChild:function(){return this._getNextPrevHelper(null,!1)},GetNextChild:function(t){return this._getNextPrevHelper(t,!0)},GetPrevChild:function(t){return this._getNextPrevHelper(t,!1)},____getNextPrevHelper:function(t,e){if(0==Ext.isArray(this._listChild)||0==this._listChild.length)return null;var n,i=0==e?-1:1;if(n=t?this._getChildIndex(t):1==i?0:this._listChild.length-1,0==Ext.isNumber(n)||n<0)return null;for(var r,o=Ext.isEmpty(t),a=n;(o||(n+=i)!=a)&&(o=!1,0!=this._canLoop||!(n>=this._listChild.length||n<0));){1==i&&n>=this._listChild.length&&(n=0),-1==i&&n<0&&(n=this._listChild.length-1);var s=this._listChild[n];if(s&&s.CanFocus()){r=s;break}}return r},_getNextPrevHelper:function(t,e){return 0==Ext.isArray(this._listChild)||0==this._listChild.length?null:(t&&(n=this._getChildIndex(t)),this._findFirstFocusableChild(n,e));var n},_findFirstFocusableChild:function(t,e){var n,i=[],r=!1;if((Ext.isEmpty(t)||-1==t)&&(t=e?0:this._listChild.length-1,r=!0),e){for(var o=t;o<this._listChild.length;o++)i.push(o);if(this._canLoop)for(o=0;o<t;o++)i.push(o)}else{for(o=t;o>=0;o--)i.push(o);if(this._canLoop)for(o=this._listChild.length-1;o>t;o--)i.push(o)}for(o=r?0:1;o<i.length;o++){var a=this._listChild[i[o]];if(a.CanFocus()){n=a;break}}return n},GetFocusedChild:function(){var t=this._listChild;if(Ext.isArray(t))for(var e=0;e<t.length;e++)if(t[e]&&1==t[e].IsFocused){t[e];break}return this._focusedChild},GetRealFocusedChild:function(){var t,e=this._listChild;if(Ext.isArray(e))for(var n=0;n<e.length;n++)if(e[n]&&1==e[n].IsFocused){t=e[n];break}return t._hasChildren()?t.GetRealFocusedChild():t},_getChildIndex:function(t){for(var e,n=this._listChild,i=0;i<n.length;i++)if(n[i]==t){e=i;break}return e},_findParentFocusableForm:function(){return this instanceof Ui.Focusable_Form?this:this.Parent?this.Parent._findParentFocusableForm():void 0}}),Common.Cs.Define("Ui.Focusable_Form","Ui.Focusable",{_canLoop:!0,_canHasChildren:!0,_hasCustomTabOrder:!1,_formFields:null,constructor:function(t){this.callParent(arguments),this.Component.on("afterrender",(function(){}),this)},_createListChild:function(){var t=[],e=Common.Util.TryGetValue(this.Component.Setting,"View.TabOrders");Ext.isNotEmpty(e)&&(this._hasCustomTabOrder=!0,this._formFields=this._createFieldList(this.Component)),this._hasCustomTabOrder?e.forEach((function(e){var n=this._formFields.find((function(t){return t.Setting.ControlFieldCaption==e}),this);n&&t.push(n)}),this):t=this.Component._controlPanel.items.items,this._addItemsToListChild(t)},_setChildTabScore:function(t,e){this._hasCustomTabOrder?t._tabScore=e.toString().padLeft(4,"0"):this.callParent(arguments)},_createFieldList:function(t){var e=[];return t.cascade((function(t){t.Setting&&t.Setting.ControlFieldCaption&&e.push(t)})),e},_getFieldByCaption:function(t,e){var n=t.findBy((function(t){return t.Setting&&t.Setting.ControlFieldCaption==e}),this);return Ext.isNotEmpty(n)&&(n=n[0]),n},FireFocusChangeEvent:function(t,e){return this.Component.fireEvent("FocusChange",this.Component,{FocusedItem:t,IsForward:e})}}),Common.Cs.Define("Ui.Focusable_SubForm","Ui.Focusable_Form",{_canLoop:!1}),Common.Cs.Define("Ui.Focusable_LayoutTabPanel","Ui.Focusable",{_canLoop:!1,_canHasChildren:!0,_setChildTabScore:function(t,e){t._tabScore=e.toString().padLeft(4,"0")},GetFocusedChild:function(){var t=this.Component.getActiveTab();if(t)return t.Focusable},GetNextChild:function(t){return null},GetPrevChild:function(t){return null}}),Common.Cs.Define("Ui.Focusable_Container","Ui.Focusable",{_canLoop:!1,_canHasChildren:!0,CanFocus:function(){var t;return 1==(t=this.Component.getEl()&&this.Component.getEl().dom?this.Component.isVisible()&&1!=this.Component.disabled:!(this.Component.disabled||this.Component.hidden))&&(t=this.callParent(arguments)),t}}),Common.Cs.Define("Ui.Focusable_ContainerLastIndex","Ui.Focusable_Container",{_forceToBeLast:!0}),Common.Cs.Define("Ui.Focusable_LayoutGroup","Ui.Focusable_Container",{}),Common.Cs.Define("Ui.Focusable_SearchPanelButtonContainer","Ui.Focusable_Container",{}),Common.Cs.Define("Ui.Focusable_Field","Ui.Focusable",{constructor:function(t){this.callParent(arguments),this.Component.on({scope:this,focus:function(){this.SetFocusState()},afterrender:function(){this.Component.getEl().on("keydown",this._onElement_KeyDown.bind(this))}})},_onElement_KeyDown:function(t){if(this.Component.IsSubForm)return!0;var e=Ul.ApplicationCtrlr.EnterKeyForNavigation?t.ENTER:t.TAB;if(this.Component&&this.Component.Setting&&this.Component.Setting.IsMultiLine&&(e=t.TAB),t.keyCode==t.TAB||t.keyCode==e){var n=!t.shiftKey;if(t.ctrlKey&&(t.keyCode==t.ENTER||10==t.keyCode))return!0;t.stopEvent();var i=this._findParentFocusableForm();if(i&&!1!==i.FireFocusChangeEvent(this.Component,n)){var r=this.Component.getEl();if(r._bypassEnterOnce)return delete r._bypassEnterOnce,!1;i.FocusChild(!t.shiftKey),console.error("focusable._onElement_KeyDown")}return!1}return!0},CanFocus:function(){var t=Ext.value(this.Component.LayoutControl,this.Component),e=this.Component.Setting;return e?1!=e.IsReadOnly&&0!=e.IsEnable:t.getEl()&&t.getEl().dom?t.isVisible()&&1!=t.disabled:!(t.disabled||t.hidden)}}),Common.Cs.Define("Ui.Focusable_FieldContainerGridRowEditor","Ui.Focusable_Container",{}),Common.Cs.Define("Ui.Focusable_FieldGridRowEditor","Ui.Focusable_Field",{constructor:function(t){this.callParent(arguments),this.Component.on({scope:this,focus:function(){this.SetFocusState()}})},_onElement_KeyDown:function(t){return"Ui.MoInfoUlvCombo"!=this.Component.xtype||t.keyCode!=t.ENTER||!this.Component.Expanded||!0!==this.Component.Expanded||(t.stopEvent(),this.Component.Expanded=!1,!1)}}),Common.Cs.Define("Ui.Focusable_LayoutItem","Ui.Focusable",{CanFocus:function(){return this.Component.Field.Focusable&&this.Component.Field.Focusable.CanFocus()},Focus:function(){this.Component.Field.Focusable&&this.Component.Field.Focusable.Focus()}}),Common.Cs.Define("Ui.FocusPlugin",null,{singleton:!0,init:function(t){0==Ext.isEmpty(t._focusableType)&&(t.Setting&&t.Setting.IsAutoInlineEdit&&("Ui.Focusable_Field"==t._focusableType?t._focusableType="Ui.Focusable_FieldGridRowEditor":"Ui.Focusable_Container"==t._focusableType&&(t._focusableType="Ui.Focusable_FieldContainerGridRowEditor")),t.Focusable=Ext.create({xtype:t._focusableType,Component:t}))}})},19547:()=>{var t;function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Common.Cs.Define("Ul.FormPanelAdapter","Common.Observable",(e(t={Control:null,Setting:null,WorkflowPanelAdapter:null,_dictFieldUi:null,_listCustomToolbarCommand:null,Features:null,IsSubForm:!1,IsFormReport:!1,constructor:function(t){this.callParent(arguments),Ext.apply(this,t),this.addEvents("RenderFinished","RequestForClose","ResizeByUser","ToolClick"),this._createControl()},_createControlConfig:function(){var t={xtype:"Ui.FormPanel",_dictFieldUi:this._dictFieldUi,_listCustomToolbarCommand:this._listCustomToolbarCommand,Features:this.Features,Setting:this.Setting,IsSubForm:this.IsSubForm,IsFormReport:this.IsFormReport,IsParentForm:this.IsParentForm,Mo:this.Mo,WorkflowPanelUi:Common.Util.TryGetValue(this,"WorkflowPanelAdapter.Control"),IsModeless:this.IsModeless},e=Common.Util.TryGetValue(this.Setting,"View.CustomUi.Selector",null),n=LoginFormData.CustomUiPrefix;return(e||n)&&(t.originalXtype=t.xtype,t.xtype="Ui.CustomFormPanel"),t},_createControl:function(){var t=this._createControlConfig();this.Control=Ext.create(t),this.relayEvents(this.Control,["ChangeFieldVisible","RenderFinished","ValueChanged","RequestForClose","RequestForHelp","ResizeByUser","ToolClick","EnterPress","FocusChange","ShowWindow"])},WizardNextStep:function(){this.Control.WizardNextStep()},LayoutFields:function(){this.Control.LayoutFields();try{(this.Control.rendered||this.Control instanceof Ui.CustomFormPanel)&&this.Control.doLayout()}catch(t){}},ClearPanels:function(){this.EditPanel.ClearPanels()},InitToolbar:function(){this.ToolbarAdapter.InitButtons()},ShowWindow:function(t,e){this.Control.ShowWindow(t,e)},MoveWindow:function(t){this.Control.MoveWindow(t)},ForceClose:function(t){this.Control&&this.Control.ForceClose(),t&&t()},Mask:function(t,e){this.Control.Mask(t,e)},Unmask:function(t){this.Control.Unmask(t)},___InitControls:function(){this.EachControl((function(t){t.Initialize()}),this),this.IsInitialized=!0},EachControl:function(t,e,n){e||(e=this),Ext.iterate(this._dictControlName,(function(i,r,o){0!=i.indexOf("$")&&t.call(e,r,n)}),e)},Refresh:function(){this.Control.Refresh()},RefreshTitle:function(t){if(this.WindowAdapter){var e=this.Setting.View.Title+":"+this.Mo.$Caption;this.IsChanged&&(e+=" *"),this.WindowAdapter.SetTitle(e)}},ShowHelp:function(t){this.Control.ShowHelp(t)},SetTitle:function(t){this.Control.SetTitle(t)}},"Refresh",(function(t){Ext.apply(this,t),this.Control._dictFieldUi=this._dictFieldUi,this.Control.Features=this.Features,this.Control.Setting=this.Setting,this.Control.WorkflowPanelUi=Common.Util.TryGetValue(this,"WorkflowPanelAdapter.Control"),this.Control.Refresh()})),e(t,"Destroy",(function(){this.purgeListeners(),this.Control.purgeListeners(),this.Control.Destroy(),this.Control=null})),e(t,"ShowInfoBar",(function(t,e,n,i,r,o){this.Control&&this.Control.ShowInfoBar(t,e,n,i,r,o)})),e(t,"HideInfoBar",(function(t){this.Control&&this.Control.HideInfoBar(t)})),e(t,"SetGroupEnable",(function(t,e){this.Control.SetGroupEnable(t,e)})),e(t,"SetGroupVisible",(function(t,e,n){this.Control.SetGroupVisible(t,e,n)})),e(t,"SetGroupReadOnly",(function(t,e){this.Control.SetGroupReadOnly(t,e)})),e(t,"GetToolbarCommandVisible",(function(t){return this.Control.GetToolbarCommandVisible(t)})),e(t,"SetToolbarCommandVisible",(function(t,e){this.Control.SetToolbarCommandVisible(t,e)})),e(t,"GetToolbarCommandEnable",(function(t){return this.Control.GetToolbarCommandEnable(t)})),e(t,"SetToolbarCommandEnable",(function(t,e){this.Control.SetToolbarCommandEnable(t,e)})),e(t,"Resize",(function(){this.Control.Resize()})),e(t,"ResetFieldUi",(function(t){this.Control.ResetFieldUi(t)})),e(t,"GetToolById",(function(t){return this.Control.GetToolById(t)})),e(t,"GetToolByCaption",(function(t){return this.Control.GetToolByCaption(t)})),e(t,"Relayout",(function(t){this.Control.Relayout(t)})),e(t,"SetLayoutDirty",(function(t){this.Control.SetLayoutDirty(t)})),e(t,"GetLayoutDirty",(function(){return this.Control.GetLayoutDirty()})),e(t,"GetRendered",(function(){return!!this.Control&&this.Control.rendered})),e(t,"GetSize",(function(t){if(this.Control)return this.Control.GetSize(t)})),e(t,"FocusNextPrevChild",(function(t){if(this.Control)return this.Control.FocusNextPrevChild(t)})),t))},40467:()=>{function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}Common.Cs.Define("Ul.FormPanelCtrlr","Common.Observable",{UlvMainCtrlr:null,Adapter:null,FormRequestParams:null,WorkflowPanelCtrlr:null,IsAutoInlineEdit:null,Type:null,_lifeCycle:null,Features:null,IsSubForm:!1,IsFormReport:!1,IsModeless:!1,_dictFieldCtrlr:null,_listSubFormPreview:null,_dictFieldUi:null,_listCustomToolbarCommand:null,_isCalculatingRelatedField:!1,_bruleMng:null,IsChanged:!1,_hasWindow:!1,_afterSaveSetting:null,Relation:!1,_isEnable:!0,ParentMoProvider:null,_isReadOnly:!1,_isVisible:!0,_forceReturnMoAfterSave:!1,_moId:null,_isFormSaved:null,constructor:function(t){t=Common.Merger.Clone(t,Ul.FormPanelCtrlr._internalDefaults,{onlyNewProperties:!0}),Ext.apply(this,t),this.addEvents(Ul.FormPanelCtrlr.EventEnum.CloneReady,Ul.FormPanelCtrlr.EventEnum.BeforeLoad,Ul.FormPanelCtrlr.EventEnum.BeforeCreate,Ul.FormPanelCtrlr.EventEnum.Render,Ul.FormPanelCtrlr.EventEnum.BeforeCreate,Ul.FormPanelCtrlr.EventEnum.AfterCreate,Ul.FormPanelCtrlr.EventEnum.AfterLoad,Ul.FormPanelCtrlr.EventEnum.AfterReady,Ul.FormPanelCtrlr.EventEnum.BeforeSave,Ul.FormPanelCtrlr.EventEnum.AfterSave,Ul.FormPanelCtrlr.EventEnum.AfterSaveAndClose,Ul.FormPanelCtrlr.EventEnum.BeforeLayoutCreate,Ul.FormPanelCtrlr.EventEnum.BeforeActivityDone,Ul.FormPanelCtrlr.EventEnum.BeforeDelete,Ul.FormPanelCtrlr.EventEnum.AfterDelete,Ul.FormPanelCtrlr.EventEnum.BeforeClose,Ul.FormPanelCtrlr.EventEnum.AfterClose,Ul.FormPanelCtrlr.EventEnum.ValueChange,Ul.FormPanelCtrlr.EventEnum.SearchClick,Ul.FormPanelCtrlr.EventEnum.OkClick,Ul.FormPanelCtrlr.EventEnum.CancelClick,Ul.FormPanelCtrlr.EventEnum.FocusChange,Ul.FormPanelCtrlr.EventEnum.MoveNextClick,Ul.FormPanelCtrlr.EventEnum.MovePrevClick,Ul.FormPanelCtrlr.EventEnum.KeyPress),this._bruleMng=new Common.BRule({_formPanel:this}),this._listCustomToolbarCommand=[],this.Features.HasUlv=!!this.UlvMainCtrlr},LoadAndCreate:function(t,e,n,i){e=Ext.value(e,!0);var r,o=!Ext.isEmpty(this.Adapter);o&&this.Mask(1),this._lifeCycle.FormShown=!1,t&&t.Mo?r=t.Mo.Id:this.Setting&&this.Setting.SubFormFieldSetting&&(r=this.Setting.SubFormFieldSetting.ControlFieldCaption);var a=this._resolveTypeDefId(t);this._registerCustomEvents(a,t);var s={form:this,showWindow:e,loadFromServer:n,refreshUi:o,doReturn:i};Common.Async.Waterfall("FormPanelCtrlr.LoadAndCreate ("+r+")",{Event_BeforeLoad:Common.Async.ExecuteIfCondition.bind(null,n,this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.BeforeLoad,this._createEventArgs())),_loadFromServer:Common.Async.ExecuteIfCondition.bind(null,n,this._loadFromServer.bind(this,t)),_prepareData:this._prepareData.bind(this),ExecuteIfCondition_Event_AfterLoad:Common.Async.ExecuteIfCondition.bind(null,n,this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.AfterLoad,this._createEventArgs())),_execBrBeforeFromShow:this._execBrBeforeFromShow.bind(this),Event_BeforeCreate:this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.BeforeCreate,this._createEventArgs()),_createRefreshUi:this._createRefreshUi.bind(this,o),_execBrAllControlsValueChange:this._execBrAllControlsValueChange.bind(this),_execBrAfterFormShow:this._execBrAfterFormShow.bind(this),ExecuteIfCondition_showWindow:Common.Async.ExecuteIfCondition.bind(null,e,function(t){this.Adapter.ShowWindow(this,t)}.bind(this)),ExecuteIfCondition_Event_AfterCreate:Common.Async.ExecuteIfCondition.bind(null,!o,this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.AfterCreate,this._createEventArgs())),Event_AfterLoadOrCreate:this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.AfterReady,this._createEventArgs())},function(t,e){t&&t instanceof Common.WaterfallBreakerException&&t.ViewIsChangedCallAgainLoadAndCreate?this.form.LoadAndCreate(null,this.showWindow,!1,this.doReturn):(o&&this.form.Unmask(),this.form.UnmaskBody(),Common.Async.Finalize(t,e,i),this.form._lifeCycle.FormShown=!0)}.bind(s))},SetIsChanged:function(t){this.IsChanged=t},WizardNextStep:function(){this.Adapter.WizardNextStep()},IsMoChanged:function(){return this.IsChanged},_execBrBeforeFromShow:function(t){t&&t()},_execBrAllControlsValueChange:function(t){t&&t()},_execBrAfterFormShow:function(t){this._bruleMng.ExeFormEvents(Common.Enums.BrFormEvent.AfterOpen,t)},_execBrBeforeSave:function(t){var e={};e.Form=this._bruleMng.ExeFormEvents.bind(this._bruleMng,Common.Enums.BrFormEvent.BeforeSave),this.EachControl((function(t){var n=t.FormPanelCtrlr;if(n){var i="Field_"+t.Setting.ControlName;e[i]=n._execBrBeforeSave.bind(n)}}),this),Common.Async.Waterfall("ExecBrBeforeSave",e,(function(e,n){Common.Async.Finalize(e,n,t)}))},_execBrAfterSave:function(t){t()},_execBrTransition:function(t,e){t.HasBr?this._bruleMng.ExeTransitionEvents(t,e):e()},_loadFromServer:function(t,e){Ext.isNotEmpty(this._moId)&&(t.MoId=this._moId,t.TypeDefId=this._resolveTypeDefId(t),t.Mo=null,delete this._moId),this._isReadOnly&&(t.IsReadOnly=this._isReadOnly);var n=!this.Setting&&t.Mo&&"New"==t.Mo.$State?t.Mo:null,i={formParam:t};i.Culture=LoginFormData.Culture,Common.Ajax.GetServerData("Form94.GetForm",i,(function(i){if(i){if(this.Setting=Ext.value(this.Setting,{}),n&&"Composition"==Common.Util.TryGetValue(i,"Relation.RelationType")){var r=Ext.value(this.Setting.Data,{});r.Mo=n,this.Setting.Data=r}Common.Merger.FastMerge(this.Setting,i),Ext.isEmpty(i.Workflow)&&delete this.Setting.Workflow,this.Relation=i.Relation,this._isReadOnly&&(this.Setting.MoSecurity.Add=this.Setting.MoSecurity.Delete=this.Setting.MoSecurity.Edit=!1,this._lifeCycle.DataLoaded=!0);var o=this._resolveTypeDefId(t),a=Common.Util.TryGetValue(i,"Data.Mo.$TypeDefId");a&&(t.TypeDefId&&a!=t.TypeDefId||!o)&&this._registerCustomEvents(a),e(null)}else e(null)}),(function(t){}),e,this)},_prepareData:function(t){this._afterSaveSetting&&this._afterSaveSetting.NewMoId&&(this.Mo.Id=this._afterSaveSetting.NewMoId,this.Setting.Data&&this.Setting.Data.Mo&&(this.Setting.Data.Mo.Id=this._afterSaveSetting.NewMoId)),this.Setting.Data?this.Mo=Common.MetaObjectWeb.CreateMo(this.Setting.Data.Mo):this.Mo=null,this._cacheMoForRollback(),this._applyPassParentMo(),t&&t()},_cacheMoForRollback:function(){},_createRefreshUi:function(t,e){var n;this.Mo?n=this.Mo.Id:this.Setting&&this.Setting.SubFormFieldSetting&&(n=this.Setting.SubFormFieldSetting.ControlFieldCaption),Common.Async.Waterfall("FormPanelCtrlr._createRefreshUi ("+n+")",[Common.Async.ExecuteIfCondition.bind(null,t,this._destroyFieldCtrlrs.bind(this)),this._createFieldCtrlrs.bind(this),this._createWorkflowCtrlr.bind(this),this._createRefreshAdapter.bind(this,t),this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.BeforeLayoutCreate,this._createEventArgs()),this._layoutFieldCtrlrs.bind(this),this._fillFieldCtrlrs.bind(this),function(t){Ul.ApplicationCtrlr.ShowDebugToolbar&&Ui.FormPanelToolbar_Tester.CreateTestMenu(this),t()}.bind(this)],(function(t,n){Common.Async.Finalize(t,n,e)}))},_destroyFieldCtrlrs:function(t){this.EachControl((function(t){t.Destroy();var e=this._listCustomToolbarCommand.indexOf(t);-1!=e&&this._listCustomToolbarCommand.splice(e,1)}),this),t&&t()},_createRefreshAdapter:function(t,e){if(t){var n={Setting:this.Setting,Features:this.Features,_dictFieldUi:this._dictFieldUi,WorkflowPanelAdapter:Common.Util.TryGetValue(this,"WorkflowPanelCtrlr.Adapter")};this.Adapter.Refresh(n)}else this._createAdapter();e&&e()},_createWorkflowCtrlr:function(t){this.WorkflowPanelCtrlr&&(this.WorkflowPanelCtrlr.Destroy(),this.WorkflowPanelCtrlr=null),this.Setting.WorkflowResolved=Ul.WorkflowPanelCtrlr.GetResolvedSetting(this.Setting,this.Features),this.Setting.WorkflowResolved.ShowInfoBar&&(this.WorkflowPanelCtrlr=new Ul.WorkflowPanelCtrlr({Setting:this.Setting,_isEnable:this._isEnable&&!this._isReadOnly,FormPanelCtrlr:this}),this.WorkflowPanelCtrlr.on("ButtonClick",this._onWorkflowPanelCtrlr_ButtonClick,this),this.WorkflowPanelCtrlr.on("ChoiceSelect",this._onWorkflowPanelCtrlr_ChoiceSelect,this));var e=this.Setting.WorkflowResolved.PreviousComment;e&&this.ShowInfoBar(this.Setting.Workflow.WorkflowRunId,e.User+": "+e.Text,"Workflow",null,null,"/assets/Images/AxiFlat/24/user.png"),t&&t()},_createAdapter:function(){var t=this._createAdapterConfig();t.IsParentForm=!this.ParentMoProvider,this.Adapter=Ext.create(t),Common.Debug.InitAdapter(this.Adapter,this),this.Adapter.on({scope:this,RenderFinished:this._onAdapter_RenderFinished,RequestForClose:this._onAdapter_RequestForClose,RequestForHelp:this._onAdapter_RequestForHelp,ToolClick:this._onAdapter_ToolClick,EnterPress:this._onAdapter_EnterPress,FocusChange:this._onAdapter_FocusChange,ShowWindow:this._onAdapter_ShowWindow,ChangeFieldVisible:this._onAdapter_ChangeFieldVisible}),this.Adapter.on("ResizeByUser",this._onAdapter_ResizeByUser,this,{delay:100})},_createAdapterConfig:function(){return{xtype:"Ul.FormPanelAdapter",Setting:this.Setting,WorkflowPanelAdapter:Common.Util.TryGetValue(this,"WorkflowPanelCtrlr.Adapter"),Features:this.Features,Mo:this.Mo,IsSubForm:this.IsSubForm,IsFormReport:this.IsFormReport,_dictFieldUi:this._dictFieldUi,_listCustomToolbarCommand:this._listCustomToolbarCommand,IsModeless:this.IsModeless}},_createFieldCtrlrs:function(t){var e=this.Setting.View.ControlInfo;if(this._dictFieldCtrlr={},this._dictFieldUi={},this._listSubFormPreview=[],e.forEach((function(t){var e;if(!Ext.isEmpty(t.xtype)){this.IsAutoInlineEdit&&(t.IsAutoInlineEdit=!0);try{var n={Setting:t,xtype:t.xtype,ParentFormPanel:this};delete t.xtype,this._smartTextChangeDelay&&(n.Setting.SmartTextChangeDelay=this._smartTextChangeDelay),(e=Ext.create(n)).Initialize()}catch(e){throw new Common.Exception({Text:"اشکال در ایجاد فیلد '"+t.ControlFieldCaption+"'",InnerException:e})}this._dictFieldCtrlr[t.ControlName]=e;var i=e.GetUi();i&&(this._dictFieldUi[t.ControlName]=i),e.on({scope:this,ValueChanged:this._onFieldCtrlr_ValueChanged,KeyPress:this._onFieldCtrlr_KeyPress}),e.Setting.PreviewFieldId&&this._listSubFormPreview.push(e),e instanceof Ul.CommandInfoCtrlr_Toolbar&&this._listCustomToolbarCommand.push(e),Common.CustomCodeManager.RegisterHandlerWithArgumentProvider(e,e.Setting.ControlFieldDefId,function(){return{Form:this,Mo:this.Mo,Field:e}}.bind(this))}}),this),this._lifeCycle.FieldCtrlrsCreated=!0,this.Relation&&this.Relation.ParentFdName){var n=this.GetControlByName(this.Relation.ParentFdName);n&&n.SetReadOnly(!0)}0==Ext.isEmpty(this._listSubFormPreview)&&this._setupSubFromPreviewFields(),t&&t()},_setupSubFromPreviewFields:function(){for(var t=0;t<this._listSubFormPreview.length;t++){var e=this._listSubFormPreview[t],n=this._dictFieldCtrlr[e.Setting.PreviewFieldName];n&&e.SetupSubFromPreview(n)}},_layoutFieldCtrlrs:function(t){for(var e in this.Adapter.LayoutFields(),this._dictFieldUi){var n=this._dictFieldCtrlr[e];0==n.GetVisible()&&n.SetVisible(!1)}t&&t()},_fillFieldCtrlrs:function(t){if(this.Mo){for(var e in this._dictFieldCtrlr){var n=this._dictFieldCtrlr[e];n.SuspendEvents(),n.SetValueByMo(this.Mo),n.ResumeEvents()}this._lifeCycle.ControlsFilled=!0,this.Mo.GetState(),this._isComposition(),this.RefreshTitle(),t&&t()}else t&&t()},_initAfterRender:function(t){},_registerCustomEvents:function(t,e){t&&!this._has_registerCustomEvents&&(Common.CustomCodeManager.RegisterHandlerWithArgumentProvider(this,t,function(){return{Form:this,Mo:this.Mo,FormParams:Ext.value(e,this.FormRequestParams)}}.bind(this)),this._has_registerCustomEvents=!0)},_createEventArgs:function(){return{FormPanel:this}},_createEventArgsForWorkflow:function(t){return{FormPanel:this,workflowChoice:t}},_onFieldCtrlr_KeyPress:function(t,e){"Ul.GridRowEditorCtrlr"!==this.xtype&&this.fireEvent(Ul.FormPanelCtrlr.EventEnum.KeyPress,this,e)},_onFieldCtrlr_ValueChanged:function(t,e,n){t.CopyValueToMo(this.Mo),this.SetIsChanged(!0),this.RefreshTitle(),this.fireEvent(Ul.FormPanelCtrlr.EventEnum.ValueChange,this),0==Ext.isEmpty(t.Setting.RelatedFieldList)?this.CalculateRelatedFields(t.Setting.ControlFieldDefId,t.Setting.ControlName,n):n&&n(),this._bruleMng.ExeControlValueChanged(t,!1)},_onAdapter_RenderFinished:function(){this.FireEventSynch(Ul.FormPanelCtrlr.EventEnum.Render,this._createEventArgs())},_onAdapter_RequestForClose:function(){this.Close()},_onAdapter_RequestForHelp:function(){this.ShowHelp()},_onAdapter_ResizeByUser:function(t){1==this._lifeCycle.FormShown&&Common.Ajax.GetServerData("Form94.SaveFormSize",{typeDefId:this.Setting.View.TypeDefId,viewId:this.Setting.View.TypeViewId,formSizeSetting:{width:t.width,height:t.height,isMaximized:t.isMaximized}},(function(){}),(function(t){}),null,this)},_onAdapter_ToolClick:function(t,e){var n=this.Setting.Data.Mo,i={TypeDefId:n.$TypeDefId,MoId:n.Id,ReportId:n.$ReportId};switch(e.Key){case"Save":var r=Common.LogManager.StartLog("Form.Save",i);this.Save(!0,r),Common.LogManager.EndLog(r);break;case"SaveAndClose":r=Common.LogManager.StartLog("Form.SaveAndClose",i),this.SaveAndClose(r),Common.LogManager.EndLog(r);break;case"SaveAndNew":r=Common.LogManager.StartLog("Form.SaveAndNew",i),this.SaveAndNew(r),Common.LogManager.EndLog(r);break;case"Delete":r=Common.LogManager.StartLog("Form.Delete",i),this.Delete(r),Common.LogManager.EndLog(r);break;case"MoveNext":r=Common.LogManager.StartLog("Form.MoveNext",i),this.MoveNext(r),Common.LogManager.EndLog(r);break;case"MovePrev":r=Common.LogManager.StartLog("Form.MovePrev",i),this.MovePrev(r),Common.LogManager.EndLog(r);break;case"Ok":this._okOrCancelPressed=!0,Common.Async.Waterfall("FormPanel_ToolClick_OkClick",{_showConfirmationAndSave:this.SaveAndClose.bind(this),Event_OkClick:this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.OkClick,this._createEventArgs())},function(t,e){this._okOrCancelPressed=!1,Common.Async.Finalize(t,e)}.bind(this));break;case"Cancel":this._okOrCancelPressed=!0,Common.Async.Waterfall("FormPanel_ToolClick_CancelClick",{Event_CancelClick:this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.CancelClick,this._createEventArgs()),ForceClose:this.ForceClose.bind(this)},function(t,e){this._okOrCancelPressed=!1,Common.Async.Finalize(t,e)}.bind(this));break;case"WfComments":this.ShowWfComments();break;case"WfReturnBack":this.WorkflowTransition(e.Command);break;default:var o=this._listCustomToolbarCommand.find((function(t){return t.Setting.ControlName==e.Command.ControlName}));if(o){var a={objectId:o.ParentFormPanel.Mo.Id,fieldDefId:o.Setting.ControlFieldDefId};Common.Ajax.GetServerData("Form94.LogCommand",a,null,null,null,this,!0);var s={FieldDefId:o.Setting.ControlFieldDefId,MoId:this.Setting.Data.Mo.Id};if(r=Common.LogManager.StartLog("Form.Command",s),o.Setting.DynamicCommand)e={Command:o,DynamicSetting:o.Setting.DynamicCommand,Form:this,Mo:n},Common.CustomCodeManager.RunDynamicCommand(o.Setting.ControlFieldDefId,e,r);else if("WordReportCommand"==o.Setting.Type){var l=this.Mo.Id;Bw.Report.ShowForm({ReportId:o.Setting.ReportId,HideToolbar:!1,RequestedMoIds:[l],CallBackFn:r})}else"RefreshFieldCommand"==o.Setting.Type?this.RefreshFieldCommand(o.Setting.FieldList):(e.Form=this,e.Mo=this.Mo,o.FireEventSynch("ToolClick",o,r));Common.LogManager.EndLog(r)}else Ext.isNotEmpty(e.Command.ChoiceDefId)&&(i.ChoiceDefId=e.Command.ChoiceDefId,i.$ChoiceName=e.Command.Title,r=Common.LogManager.StartLog("Workflow.SelectChoice",i),this.WorkflowTransition(e.Command,r),Common.LogManager.EndLog(r))}},ExecuteChoiceDef:function(t){var e=this.Adapter.GetToolByCaption(t);e&&this._onAdapter_ToolClick(this,{Command:e.Data})},RefreshFieldCommand:function(t){var e=this;t.forEach((function(t){var n=e.GetFieldById(t);n.UlvMainCtrlr?n.UlvMainCtrlr.Reload():new Bw.Field(n).Calculate()}))},_onAdapter_EnterPress:function(t,e){this.fireEvent(Ul.FormPanelCtrlr.EventEnum.EnterPress,this,e)},_onAdapter_FocusChange:function(t,e){var n=Common.Util.TryGetValue(e,"FocusedItem.Setting.ControlFieldCaption");if(n){var i={};i.FocusedField=n,i.IsForward=e.IsForward,this.fireEvent(Ul.FormPanelCtrlr.EventEnum.FocusChange,this,i)}},_onAdapter_ChangeFieldVisible:function(t,e){var n=this.GetFieldByCaption(t);n&&n.SetVisible(e,!0)},_onAdapter_ShowWindow:function(t,e){this.fireEvent(Ul.FormPanelCtrlr.EventEnum.ShowWindow,this,e)},_onWorkflowPanelCtrlr_ButtonClick:function(t,e){this.WorkflowTransition(e)},_onWorkflowPanelCtrlr_ChoiceSelect:function(t,e){this.WorkflowChoiceSelect(e)},Refresh:function(){this.Adapter.Refresh()},RefreshTitle:function(){var t=Ext.value(this.Mo.$Caption,""),e=this.Setting.View.Title;this.Setting.Workflow&&(e+=" ["+this.Setting.Workflow.ActivityTitle+"]"),e+=" :"+t,this.IsMoChanged()&&(e+=" *"),this.Adapter.SetTitle(e)},WorkflowChoiceSelect:function(t){this.Mo.SetWorkflowChoice({ActivityRunId:t.ActivityRunId,ChoiceDefId:t.ChoiceDefId,ChoiceName:t.ChoiceName}),this.Mask(),t.beforeLoadBrule=!0,Common.Async.Waterfall("FormPanelCtrlr.WorkflowTransition",[this._execBrTransition.bind(this,t)],function(t,e){this.Unmask(),Common.Async.Finalize(t,e)}.bind(this))},WorkflowTransition:function(t,e){this.Mo.SetWorkflowChoice({ActivityRunId:t.ActivityRunId,ChoiceDefId:t.ChoiceDefId,ChoiceName:t.ChoiceName}),this.Mask(),t.beforeLoadBrule=!1,Common.Async.Waterfall("FormPanelCtrlr.WorkflowTransition",[this._execBrTransition.bind(this,t),Common.CustomCodeManager.ExecFunctions.bind(Common.CustomCodeManager,this.Setting.Workflow.WorkflowTitle+":"+this.Setting.Workflow.ActivityTitle,"MetaEventTopics.Form_BeforeActivityDone",[this,this._createEventArgsForWorkflow(t)]),this._saveHelper.bind(this,!1,t),this.ForceClose.bind(this),function(t){Ul.WorkflowPanelCtrlr.RunWorkflowActionList(this.Setting.WorkflowResult,this,t)}.bind(this)],function(t,n){this.Unmask(),Common.Async.Finalize(t,n,e)}.bind(this))},_workflow_ShowCommentForm:function(t,e){var n={commentSettingsId:t.CommentSettingsId,moId:this.Mo.Id,activityRunId:t.ActivityRunId};Common.Ajax.GetServerData("Workflow94.NewCommentObject",n,(function(t){t=new Common.MetaObjectWeb(t),Bw.Form.Show({Mo:t,IsNonePersistance:!0,MoContext:{ViewName:"نماي وب"},EventHandlers:{OkClick:function(t,n,i){n.Form._Form._saveToServer(null,!1,e)},CancelClick:function(t,n){e(new Common.SilentException)},AfterClose:function(t,n){1!=n.Form._Form._okOrCancelPressed&&e(new Common.SilentException)}},Scope:this})}),null,e,this)},ShowFormWindow:function(t){this.MaskBody(),this.LoadAndCreate(this.FormRequestParams,!0,!0,t),this._hasWindow=!0},ShowFormWindow_WithoutLoad:function(t){this.LoadAndCreate(this.FormRequestParams,!0,!1,t),this._hasWindow=!0},Reload:function(t){this.LoadAndCreate(this.FormRequestParams,!1,!0,t)},ReloadMo:function(t,e){Ext.isString(t)?this.FormRequestParams.MoId=t:this.FormRequestParams.Mo=t,this.LoadAndCreate(this.FormRequestParams,!1,!0,e)},ReloadWithView:function(t,e){var n=Common.Merger.FastMerge(null,this.FormRequestParams);n.Mo=this.Mo.GetChanges(),n.MoContext.ViewId=t,this.LoadAndCreate(n,!1,!0,e)},Close:function(t,e){"ViewOnly"==Common.Util.TryGetValue(this.Setting,"View.TypeDefDbType")||this.Setting.View.IsNonePersistance||0==Common.Util.TryGetValue(this.Setting,"View.FormSettings.ShowSaveButton",!0)&&0==this.Setting.MoSecurity.Edit?this.ForceClose(e):(t=Ext.value(t,!0),this._isFormSaved=!1,Common.Debug.Assert(0==Ext.isEmpty(this._hasWindow),"Ul.FormPanelCtrlr.Close: method close can only be called when the ParentWindow has value"),Common.Async.Waterfall("FormPanelCtrlr.Close",[this._showConfirmationAndSave.bind(this,t,!0),this.ForceClose.bind(this)],(function(t,n){Common.Async.Finalize(t,n,e)})))},ForceClose:function(t){Common.Debug.Assert(0==Ext.isEmpty(this._hasWindow),"Ul.FormPanelCtrlr.Close: method close can only be called when the ParentWindow has value"),Common.Async.Waterfall("FormPanelCtrlr.ForceClose",{Event_BeforeClose:this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.BeforeClose,this._createEventArgs()),HandleCanceledWorkFlow:function(t){if(1!=this._isFormSaved&&Common.Util.TryGetValue(this.Setting,"Workflow.RemoveOnCancel",!1)&&this.FormRequestParams.ShowByWorkflow){var e={activityRunId:this.Setting.Workflow.ActivityRunId,moId:this.Mo.Id};Common.Ajax.GetServerData("Form94.RemoveCanceledWorkflow",e,(function(e){t(null)}),null,t,this)}else t(null)}.bind(this),HandleOoFile:function(t){if(1!=this._isFormSaved&&1==this.Mo.$HasOo){var e={parentMoId:this.Mo.Id};Common.Ajax.GetServerData("OoLinkCreator.RemoveOoFile",e,(function(e){t(null)}),null,t,this)}else t(null)}.bind(this),Adapter_ForceClose:this.Adapter.ForceClose.bind(this.Adapter),Event_AfterClose:this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.AfterClose,this._createEventArgs())},(function(e,n){Common.Async.Finalize(e,n,t)}))},Save:function(t,e){this._saveHelper(t,null,e)},GetMandatory:function(){return this._hasMandatoryField()},_hasMandatoryField:function(){var t=!1;return this.EachControl((function(e){if(t=e.GetMandatory())return!1}),this),t},_saveHelper:function(t,e,n){var i=Ext.isNotEmpty(e),r=this.IsMoChanged(),o=this._hasMandatoryField(),a=this.Mo&&!0;i?a=!0:this._isReadOnly?a=!1:(r||o)&&(a=!0),a?(this._setToolbarSaveCommandEnable(!1),this.Mask(),Common.Async.Waterfall("FormPanelCtrlr._saveHelper",{_savePreviewSubFormFields:this._savePreviewSubFormFields.bind(this,t),_forceSetToMo:this._forceSetToMo.bind(this),IsRequiredValidation:this.IsRequiredValidation.bind(this),_showValidationResult_IsRequiredValidation:this._showValidationResult.bind(this),_checkMoState:function(t){var e=this.Mo.GetState();i||e!=Common.MetaObjectWeb.StateEnum.Unchanged?t():t(new Common.WaterfallBreakerException)}.bind(this),Validate:this.Validate.bind(this),_showValidationResult:this._showValidationResult.bind(this),_execBrBeforeSave:this._execBrBeforeSave.bind(this),CheckIsNonePersisant:function(t){this.Setting.View.IsNonePersistance?t(new Common.WaterfallBreakerException):t()}.bind(this),EventEnum_BeforeSave:this._fireBeforeSave.bind(this),ShowWorkflowCommentWindow:Common.Async.ExecuteIfCondition.bind(null,Ext.isNotEmpty(e)&&Ext.isNotEmpty(e.CommentSettingsId),this._workflow_ShowCommentForm.bind(this,e)),_saveToServer:this._saveToServer.bind(this,e,t),_prepareData:this._prepareData.bind(this),EventEnum_AfterSave:this._fireAfterSave.bind(this),_refreshUlvAfterSave:this._refreshUlvAfterSave.bind(this),_refreshUiAfterSave:this._refreshUiAfterSave.bind(this,t),_execBrAfterSave:this._execBrAfterSave.bind(this)},function(t,e){this._isFormSaved=!0,this._setToolbarSaveCommandEnable(!0),this._afterSaveSetting=null,this.Unmask(),Common.Async.Finalize(t,e,n)}.bind(this))):n&&n()},_fireBeforeSave:function(t){var e={};e.Form=this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.BeforeSave,this._createEventArgs()),this.EachControl((function(t){var n=t.FormPanelCtrlr;if(n){var i="Field_"+t.Setting.ControlName;e[i]=n._fireBeforeSave.bind(n)}}),this),Common.Async.Waterfall("FireBeforeSave",e,(function(e,n){Common.Async.Finalize(e,n,t)}))},_fireAfterSave:function(t){var e={};e.Form=this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.AfterSave,this._createEventArgs()),this.EachControl((function(t){var n=t.FormPanelCtrlr;if(n){var i="Field_"+t.Setting.ControlName;e[i]=n._fireAfterSave.bind(n)}}),this),Common.Async.Waterfall("FireAfterSave",e,(function(e,n){Common.Async.Finalize(e,n,t)}))},SaveAndClose:function(t){Common.Async.Waterfall("FormPanelCtrlr.SaveAndClose",{Save:this.Save.bind(this,!1),ForceClose:this.ForceClose.bind(this),EventEnum_AfterSaveAndClose:this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.AfterSaveAndClose,this._createEventArgs())},(function(e,n){Common.Async.Finalize(e,n,t)}))},SaveAndNew:function(t){this.New(!1,t)},SaveAndClone:function(t){var e=this.Mo.Clone();this.Mask(),Common.Async.Waterfall("FormPanelCtrlr.SaveAndClose",{SaveAndNew:this.SaveAndNew.bind(this),setCloneMo:function(t){this.Mo.CopyFromMo(e),this._fillFieldCtrlrs(),this.SetIsChanged(!0),this.FireEvent(Ul.FormPanelCtrlr.EventEnum.CloneReady,this,this._createEventArgs()),t()}.bind(this),_execBrAllControlsValueChange:this._execBrAllControlsValueChange.bind(this),_execBrAfterFormShow:this._execBrAfterFormShow.bind(this)},function(e,n){this.Unmask(),Common.Async.Finalize(e,n,t)}.bind(this))},Validate:function(t){var e=new Array;if(this.EachControl((function(t){var n=t.Validate();Ext.isEmpty(n)||(e=e.concat(n))}),this),!t)return e;t(null,e)},IsRequiredValidation:function(t){var e=new Array;if(this.EachControl((function(t){var n=t.IsRequiredValidation();Ext.isEmpty(n)||(e=e.concat(n))}),this),!t)return e;t(null,e)},New:function(t,e){Common.Async.Waterfall("FormPanelCtrlr.New",[this._showConfirmationAndSave.bind(this,t,!0),this._newHelper.bind(this)],(function(t,n){Common.Async.Finalize(t,n,e)}))},Delete:function(t){Common.Async.Waterfall("FormPanelCtrlr.Delete",[this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.BeforeDelete,this._createEventArgs()),Ul.MsgBox.YesNo.bind(this,BBB.QuestionDeleteConfirmMessage,BBB.QuestionDeleteConfirmTitle),Common.Async.ContinueIfValue.bind(this,"yes"),function(t){this.Mo.IsNew()?t("CloseIt"):Common.Data.DeleteObject(this.Mo.Id,t)}.bind(this),this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.AfterDelete,this._createEventArgs())],function(e,n){"CloseIt"==e?this.ForceClose(t):this.RefocusCurrentField()}.bind(this))},Mask:function(t,e){t=Ext.value(t,300),this.Adapter&&this.Adapter.Mask(t,e)},Unmask:function(t){this.Adapter&&this.Adapter.Unmask(t)},MaskBody:function(t){t=Ext.value(t,300),Ul.LoadingMask.MaskBody(t)},UnmaskBody:function(){Ul.LoadingMask.UnmaskBody()},Resize:function(){this.Adapter.Resize()},ResetFieldUi:function(t,e){this.Adapter.ResetFieldUi(t),e&&e()},Relayout:function(t){this.Adapter&&this.Adapter.Relayout(t)},SetLayoutDirty:function(t){this.Adapter.SetLayoutDirty(t)},GetLayoutDirty:function(){return this.Adapter.GetLayoutDirty()},MoveNext:function(t){Common.Async.Waterfall("FormPanelCtrlr.MoveNext",[this._showConfirmationAndSave.bind(this,!1,!0),this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.MoveNextClick,this._createEventArgs())],(function(e,n){Common.Async.Finalize(e,n,t)}))},MovePrev:function(t){Common.Async.Waterfall("FormPanelCtrlr.MovePrev",[this._showConfirmationAndSave.bind(this,!1,!0),this.FireEventSynch.bind(this,Ul.FormPanelCtrlr.EventEnum.MovePrevClick,this._createEventArgs())],(function(e,n){Common.Async.Finalize(e,n,t)}))},MoveToUlvSelection:function(t,e,n,i,r){var o=this.UlvMainCtrlr.GetSelectedMetaObject();if(o&&(!this.Mo||o.Id!=this.Mo.Id)){var a=n;Common.Async.Waterfall("FormPanelCtrlr.MoveToUlvSelection",[Common.Async.ExecuteIfElseCondition.bind(null,n,this._showConfirmationAndSave.bind(this,i,a),Common.Async.IgnoreError.bind(null,this._showConfirmationAndSave.bind(this,i,a))),function(t){this.FormRequestParams=e,this.LoadAndCreate(e,!1,!0,t)}.bind(this)],function(t,e){Common.Async.Finalize(t,e,r),this.IsSubForm&&this.Relayout(!0)}.bind(this))}},ShowInfoBar:function(t,e,n,i,r,o){this.Adapter?this.Adapter.ShowInfoBar(t,e,n,i,r,o):this.on(Ul.FormPanelCtrlr.EventEnum.AfterReady,(function(){this.Adapter.ShowInfoBar(t,e,n,i,r,o)}),this,{single:!0})},HideInfoBar:function(t){this.Adapter&&this.Adapter.HideInfoBar(t)},ShowWfComments:function(){Bw.Report.ShowForm({ReportName:"_تأييد مرحله شيء 2",FormTitle:BBB.WorkflowCommentList,IsMutliSelect:!1,ParameterValues:["اجراي فرآيند",this.Setting.View.WorkflowRunId]})},GetEnable:function(){return this._isEnable},SetEnable:function(t){this.EachControl((function(e){e.SetEnable(t)}),this),Ext.isNotEmpty(this.WorkflowPanelCtrlr)&&this.WorkflowPanelCtrlr.SetEnable(t)},GetVisible:function(){return this._isVisible},SetVisible:function(t,e){this.EachControl((function(e){e.SetVisible(t)}),this),this.RefreshLayout()},GetReadOnly:function(){return this._isReadOnly},SetReadOnly:function(t){this._isReadOnly=t,this.EachControl((function(e){e.SetReadOnly(t)}),this),this.WorkflowPanelCtrlr&&this.WorkflowPanelCtrlr.SetEnable(!t)},GetValue:function(){return this.Mo},SetValue:function(t){t&&("Common.MetaObjectWeb"==t.aType?(this.Mo=t,this.Setting.Data=Ext.value(this.Setting.Data,{}),this.Setting.Data.Mo=t,this._applyPassParentMo()):(this.Setting.Data=Ext.value(this.Setting.Data,{}),this.Setting.Data.Mo=t,this._prepareData()),this._lifeCycle.FieldCtrlrsCreated&&this._fillFieldCtrlrs())},Destroy:function(){this._destroyFieldCtrlrs(),this.purgeListeners(),this.Adapter&&(this.Adapter.Destroy(),this.Adapter=null)},Clear:function(){this.EachControl((function(t){t.Clear()}),this)},_applyPassParentMo:function(){if(this.Mo&&Ext.isNotEmpty(this.ParentMoProvider)){var t=this.ParentMoProvider.GetPassedParentMo();if(Ext.isEmpty(t))return;var e=Common.Util.TryGetValue(this.Setting,"View.PassParentMoField");if(Ext.isEmpty(e))return;var n=this.Mo.GetFValue(e);n&&t instanceof Common.MetaObjectWeb&&t.SetCaption(n.$Caption),this.Mo.SetFValue(e,t,!0)}},GetPassedParentMo:function(){return this.Mo},_setGroupState:function(t,e,n){if(e)for(var i=this._findFieldsInGroup(e),r=0;r<i.length;r++){var o=this.GetControlByName(i[r]);o&&o[t].call(o,n)}},SetGroupReadOnly:function(t,e){this.Adapter.SetGroupReadOnly(t,e)},SetGroupVisible:function(t,e,n){this.Adapter.SetGroupVisible(t,e,n)},SetGroupEnable:function(t,e){this.Adapter.SetGroupEnable(t,e)},GetFieldsNamesOfGroup:function(t){return this.Adapter.GetFieldNamesOfGroup(t)},_findGroup:function(t,e){for(var n,i=0;i<t.items.length;i++){var r=t.items[i];if("LayoutControlItem"!=r.type){if("LayoutGroup"==r.type&&r.title==e){n=r;break}if(r.items&&(n=this._findGroup(r,e)))break}}return n},_findFieldsInGroup:function(t){for(var e=[],n=0;n<t.items.length;n++){var i=t.items[n];"LayoutControlItem"==i.type?e.push(i.controlId):'"LayoutGroup"'==i.type?e=e.concat(this._findFieldsInGroup(i)):"TabbedGroup"==i.type?e=e.concat(this._findFieldsInGroup(i.items[0])):alert("zekki")}return e},_findUiComponent:function(t){var e=this.Adapter.Control.find("id",t);return Ext.isEmpty(e),e[0]},_newHelper:function(t){var e=Common.Merger.FastMerge(null,this.FormRequestParams),n=Common.MetaObjectWeb.CreateNewMo(this.Setting.View.TypeDefId),i=Common.Util.TryGetValue(this,"UlvMainCtrlr.DataCtrlr");i&&i.PrepateMoForNewForm&&(n=i.PrepateMoForNewForm(n)),e.Mo=n.GetChangedObject(),this.LoadAndCreate(e,!1,!0,t)},_showConfirmationAndSave:function(t,e,n){if(this.IsMoChanged()&&1!=this._isReadOnly){var i=Common.Util.TryGetValue(this.Setting,"View.FormSettings.ShowSaveButton",!0),r=this;t?Common.Async.Waterfall("FormPanelCtrlr._showConfirmationAndSave",[function(t){i?e?Ul.MsgBox.YesNoCancel(BBB.SaveFormConfirmMsg,BBB.SaveFormConfirmTitle,t):Ul.MsgBox.YesNo(BBB.SaveFormConfirmMsg,BBB.SaveFormConfirmTitle,t):Ul.MsgBox.YesNo(BBB.SaveFormConfirmMsg2,BBB.SaveFormConfirmTitle2,(function(e){t(null,{yes:"no",no:"cancel"}[e])}))},Common.Async.ExecuteSwitchValue.bind(null,["no",Common.Async.Pass,"yes",this.Save.bind(this,!1),"cancel",Common.Async.Stop])],(function(t,e){Common.Async.Finalize(t,e,n),r.RefocusCurrentField()})):Common.Async.Waterfall("Ul.FormPanel._showConfirmationAndSave",[this.Save.bind(this,!1)],(function(t,e){Common.Async.Finalize(t,e,n)}))}else n&&n()},_forceSetToMo:function(t){var e=[],n=this.Mo;for(var i in this._dictFieldCtrlr){var r=this._dictFieldCtrlr[i];r.ForceSetToMo&&e.push(r)}Ext.isEmpty(e)?t():Common.Async.Each("FormPanelCtrlr._forceSetToMo",e,(function(t,e){t.ForceSetToMo(n,e)}),(function(e){Common.Async.Finalize(e,void 0,t)}))},_updateMoAfterSave:function(t){t&&t()},_refreshUiAfterSave:function(t,e){var n=Common.Util.TryGetValue(this,"_afterSaveSetting.FormSetting");n?(delete this._afterSaveSetting.FormSetting,(this.Setting.IsSubForm||this.IsSubForm)&&(n.IsSubForm=this.Setting.IsSubForm,n.SubFormFieldSetting=this.Setting.SubFormFieldSetting),this.Setting=n,this.LoadAndCreate(null,!1,!1,e)):e()},_refreshUlvAfterSave:function(t){var e,n;if(this._isComposition())e=this.Mo;else if(e=Common.Util.TryGetValue(this,"_afterSaveSetting.Data.MoForReport"),n=Common.Util.TryGetValue(this,"_afterSaveSetting.Data.MoForReport.$Type"),Ext.isNotEmpty(n)){e.xtype=n;var i=Ext.create(e);i instanceof Common.MetaObjectListWeb?e=i.GetMoByIndex(0):i instanceof Common.MetaObjectWeb&&(e=i)}if(0==Ext.isEmpty(this.UlvMainCtrlr))if(e){delete this._afterSaveSetting.Data.MoForReport;var r,o,a=e;if(this._isComposition()){var s=Common.Util.TryGetValue(this.Setting,"View.PassParentMoField");s&&(a[s]=e[s])}this.IsAutoInlineEdit&&a.Id==this.Mo.Id&&this.Mo.$OldId&&(a.$OldId=this.Mo.$OldId),this._isComposition()&&a.GetState()==Common.MetaObjectWeb.StateEnum.Unchanged&&this.Mo&&a.SetState(this.Mo.GetState()),a.$StatePrev==Common.MetaObjectWeb.StateEnum.New||a.$State==Common.MetaObjectWeb.StateEnum.New?o=[a]:r=[a],this.UlvMainCtrlr.RefreshRowsByMos&&this.UlvMainCtrlr.RefreshRowsByMos(r,o,null)}else this._isComposition()||this.UlvMainCtrlr.RefreshRowsByMos(null,null,this.Mo);t&&t()},_showValidationResult:function(t,e){var n="";if(!Ext.isEmpty(t)){n="اشکال در مقادیر فرم <br/>";for(var i=0;i<t.length;i++)n+="<b>"+t[i].Target.Setting.ControlFieldCaption+": </b>"+t[i].Text+"<br/>"}""==n?e&&e():e(new Common.Exception({Text:n}))},RefocusCurrentField:function(){var t=this._getFocusedField();t&&t.SetFocus(1,!0)},_getFocusedField:function(){for(var t in this._dictFieldCtrlr){var e=this._dictFieldCtrlr[t];if(e.HasFocus())return e}return null},_saveToServer:function(t,e,n){var i=this._getRelationSetting(),r=this._forceReturnMoAfterSave||this._hasAfterSaveEvent()||e||i&&i.RelationType==Common.Enums.RelationType.Composition||i&&i.RelationType==Common.Enums.RelationType.Aggrigation,o=0==Ext.isEmpty(this.UlvMainCtrlr),a=Common.Util.TryGetValue(this,"FormRequestParams.MoContext");a=Common.Merger.Merge({},a),Ext.isNotEmpty(this.UlvMainCtrlr)&&Ext.isEmpty(a.ReportId)&&(a.ReportId=Common.Util.TryGetValue(this.UlvMainCtrlr.Setting,"Extra.Report.Id"));var s=new Ul.FormRequestParams({Mo:this.Mo.GetChangedObject(),TypeViewId:this.Setting.View.TypeViewId,MoContext:a,Relation:i,UlvParentMo:o&&Common.Util.TryGetValue(this.UlvMainCtrlr,"FieldCtrlr.Setting.HasExternalParameter")?Common.Util.TryGetValue(this.UlvMainCtrlr,"FieldCtrlr.ParentFormPanel.Mo").GetChangedObject():null});(this.Setting.IsSubForm||this.IsSubForm)&&(s.MoContext=Ext.value(s.MoContext,{}),s.MoContext.FieldDefId=this.Setting.SubFormFieldSetting.ControlFieldDefId,s.MoContext.ViewId=this.Setting.SubFormFieldSetting.TypeViewId);var l={formParam:s,returnForm:e,returnMo:r,ulvMoIsFull:Ext.isNotEmpty(this.Setting.SubFormFieldSetting),returnUlvMo:o,workflowOnChoiceSelect:t,executeBr:!0};this._afterSaveSetting=null,Common.Ajax.GetServerData("MetaObject94.UpdateForm",l,(function(t){var e=this._getBrConstraintResult(t);Ext.isNotEmpty(e)?Common.Async.Waterfall("UpdateForm.BrResultFailed",[this._bruleMng._executeActionList.bind(this._bruleMng,e)],(function(t,e){n(new Common.SilentException)})):(this._afterSaveSetting=t,Common.Merger.Merge(this.Setting.Data,t.Data,{mergeArraysKeyFields:["FileId","Id"]}),this.Setting.WorkflowResult=t.WorkflowResult,t.Data&&t.Data.ReportCaption&&this.UlvMainCtrlr&&this.UlvMainCtrlr.UpdateNavItemCaption&&this.UlvMainCtrlr.UpdateNavItemCaption(t.Data.ReportCaption),this.SetIsChanged(!1),n())}),null,this.update_doReturn.bind(this,n),this)},update_doReturn:function(t,e){t(e)},isEquivalent:function(e,n){if("undefined"==t(e)&&"undefined"!=t(n))return!1;if(t(e)==t(null)&&t(n)!=t(null))return!1;if("undefined"==t(e)&&"undefined"==t(n))return!0;if(null==e&&null!=n||null==n&&null!=e)return!1;var i=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(n);if(i.length!=r.length)return!1;for(var o=0;o<i.length;o++){var a=i[o];if(e[a]!==n[a])return!1}return!0},_getBrConstraintResult:function(t){var e=!1,n=Common.Util.TryGetValue(this.Setting,"Events.BRUniqueConstraint",[]);return this._isComposition()&&n.length>0&&this.Setting.Events.BRUniqueConstraint.forEach((function(t){var n={Id:this.Mo.Id};t.UniqueFields.forEach((function(t){n[t]=this.Mo.GetFValue(t)}),this),this.UlvMainCtrlr.ParentMo.GetFValue(this.Relation.ChildFdName).ForEach((function(t){if(n.Id!=t.Id){var i=!1;for(var r in n)if("Id"!=r){if(!this.isEquivalent(n[r],t.GetFValue(r))){i=!1;break}i=!0}if(i)return e=!0,!1}}),this)}),this),e?[{ActionType:"BRShowMessageAction",MessageExpression:"رکورد تکراری است!",MessagePosition:0,MessageType:2}]:t.BrResult},_savePreviewSubFormFields:function(t,e){Ext.isEmpty(this._listSubFormPreview)?e&&e():Common.Async.Each("FormPanelCtrlr._savePreviewSubFormFields:",this._listSubFormPreview,function(e,n){e.FormPanelCtrlr.Save(t,n)}.bind(this),function(t){Common.Async.Finalize(t,void 0,e)}.bind(this))},_hasAfterSaveEvent:function(){return!1},_resolveTypeDefId:function(t){var e;return(t=Ext.value(t,this.FormRequestParams))?!(e=t.TypeDefId)&&t.Mo&&t.Mo.Data&&(e=t.Mo.$TypeDefId):this.IsFormReport?e=this.FormReportReportSetting.TypeDefId:this.IsSubForm&&this.TryGetValue("Setting.SubFormFieldSetting")&&(e=this.Setting.SubFormFieldSetting.TypeDefId),e},CalculateFields:function(t,e){var n=null;if(Ext.isObject(t)?n=[t.Setting.ControlFieldDefId]:Ext.isString(t)&&(n=[t]),Ext.isEmpty(n))e&&e();else{var i={mo:this.Mo.GetChangedObject(),fieldDefIds:n};Common.Ajax.GetServerData("MetaObject94.CalculateFields",i,(function(t){var n=new Common.MetaObjectWeb(t);this.Mo.CopyFromMo(n),n.ForEachField((function(t){var e=this._dictFieldCtrlr[t];e&&e.SetValueByMo(this.Mo,!0,!0),this._bruleMng.ExeControlValueChanged(e,!1)}),this),this.SetIsChanged(!0),this.RefreshTitle(),this.fireEvent(Ul.FormPanelCtrlr.EventEnum.ValueChange,this),e&&e()}),null,e,this)}},CalculateRelatedFields:function(t,e,n){if(Ext.isEmpty(t))n&&n();else{var i={fieldName:e,mo:this.Mo},r={mo:i.mo.GetChangedObject(),fieldDefId:t},o=this.GetFieldById(t),a=o.Setting.RelatedFieldList,s={};o.Setting.RelatedFieldList.forEach((function(t){return s[t]=1})),this.Mask(300,{msg:"درحال محاسبه فیلد محاسباتی",animate:!0}),Common.Ajax.GetServerData("MetaObject94.CalculateRelatedFields",r,(function(t){var e=new Common.MetaObjectWeb(t);i.parentFieldName?this.Mo.GetFValue(i.parentFieldName).CopyFromMo(e):this.Mo.CopyFromMo(e),this.EachControl((function(t){s[t.Setting.ControlFieldDefId]&&(t.SetValueByMo(this.Mo,!0,!0),this._bruleMng.ExeControlValueChanged(t,!1))}),this),Ext.isNotEmpty(a)&&a.forEach((function(t){var n=this.GetFieldById(t);if(n){var r=Common.InheritanceHelper.GetControlName(i,n.Setting.ControlName);0==e.HasFieldValue(r)&&n.Clear()}}),this),this.SetIsChanged(!0),this.RefreshTitle(),this.fireEvent(Ul.FormPanelCtrlr.EventEnum.ValueChange,this),this.Unmask(),n&&n()}),(function(){this.Unmask()}),n,this)}},ShowHelp:function(){!1!==Common.CustomCodeManager.ExecFunctions("$Application","MetaEventTopics.Application_FormHelpRequest",[{Form:Bw._wrap(this)},{Form:Bw._wrap(this)}])&&this.Adapter.ShowHelp(this.Setting.View.Help)},_getRelationSetting:function(){var t=this.Relation,e=this._getPreviewFieldSource();return Ext.isNotEmpty(e)&&(t=Common.Util.TryGetValue(e,"UlvMainCtrlr.Setting.Extra.Relation")),t},_isComposition:function(){var t=this._getRelationSetting();return Ext.isNotEmpty(t)&&t.RelationType==Common.Enums.RelationType.Composition},_getPreviewFieldSource:function(){if(0==this.IsSubForm)return null;var t=this.Setting.SubFormFieldSetting.PreviewFieldName;return Ext.isEmpty(t)?null:this.ParentMoProvider.GetFieldlByName(t)},EachControl:function(t,e){e=Ext.value(e,this),Ext.iterate(this._dictFieldCtrlr,(function(n,i){if(0!=n.indexOf("$"))return t.call(e,i)}),e)},GetControlByName:function(t){return Ext.isEmpty(this._dictFieldCtrlr),this._dictFieldCtrlr[t]},GetFieldlByName:function(t){return Ext.isEmpty(this._dictFieldCtrlr),this._dictFieldCtrlr[t]},GetFieldByCaption:function(t){var e;return this.EachControl((function(n){if(n.Setting.ControlFieldCaption==t)return e=n,!1})),e},GetFieldById:function(t){var e;return this.EachControl((function(n){if(n.Setting.ControlFieldDefId==t)return e=n,!1})),e},GetRendered:function(){return!!this.Adapter&&this.Adapter.GetRendered()},GetSize:function(t){if(this.Adapter)return this.Adapter.GetSize(t)},FocusNextPrevChild:function(t){if(this.Adapter)return this.Adapter.FocusNextPrevChild(t)},_setToolbarSaveCommandEnable:function(t){this.Adapter&&(this.Adapter.SetToolbarCommandEnable("SaveAndNew",t),this.Adapter.SetToolbarCommandEnable("SaveAndClose",t),this.Adapter.SetToolbarCommandEnable("Save",t))},statics:{EventEnum:{BeforeActivityDone:"MetaEventTopics.Form_BeforeActivityDone",BeforeLoad:"BeforeLoad",BeforeCreate:"BeforeCreate",Render:"Render",AfterCreate:"AfterCreate",AfterLoad:"AfterLoad",AfterReady:"AfterReady",BeforeSave:"BeforeSave",AfterSave:"AfterSave",AfterSaveAndClose:"AfterSaveAndClose",CloneReady:"CloneReady",BeforeLayoutCreate:"BeforeLayoutCreate",BeforeDelete:"BeforeDelete",AfterDelete:"AfterDelete",BeforeClose:"BeforeClose",AfterClose:"AfterClose",ValueChange:"ValueChange",SearchClick:"SearchClick",EnterPress:"EnterPress",OkClick:"OkClick",CancelClick:"CancelClick",FocusChange:"FocusChange",MovePrevClick:"MovePrevClick",MoveNextClick:"MoveNextClick",ShowWindow:"ShowWindow",KeyPress:"KeyPress"},_internalDefaults:{_lifeCycle:{DataLoaded:!1,UiCreated:!1,FieldCtrlrsCreated:!1,FieldCtrlrsFilled:!1},Features:{Workflow:!0,BRule:!0,Toolbar:!0,InfoBar:!0,Edit:!0,HasUlv:!0}}}})},2131:()=>{Common.Cs.Define("Ul.FormPanelWindowAdapter","Common.Observable",{WindowUi:null,Setting:null,constructor:function(){this.addEvents("RequestForClose","RequestForHelp","ResizeByUser"),this.WindowUi=new Ui.FromPanelWindow({_icon:""}),this.WindowUi.on({scope:this,RequestForClose:function(){this.fireEvent("RequestForClose")},RequestForHelp:function(t,e,n){return this.fireEvent("RequestForHelp")},ResizeByUser:function(t,e,n){return this.fireEvent("ResizeByUser")}})},RefreshTitle:function(t){this.setTitle(t)},Show:function(){}})},82134:()=>{Common.Cs.Define("Ul.FormRequestParams","",{MoId:null,Mo:null,TypeDefId:null,SystemTypeDefCaption:null,MoContext:null,Relation:null,IsReadOnly:!1,IsNew:!1,IsSearchPanel:!1,IsSubForm:!1,IsGridEditor:!1,IsNonePersistance:!1,ActivityRunId:null,MailId:null,ParentMo:null,UlvParams:null,UlvParentMo:null,ClientSideParams:null,constructor:function(t){Ext.apply(this,t)},statics:{DefaultObject:{MoId:0,Mo:{},TypeDefId:0,ClientSideParams:{},MoContext:{ReportId:"",ViewId:"",ViewName:"",CondFormating:"",IncludeInReport:""},Relation:{ParentMoId:"",ParentFdId:"",ChildFdId:"",ParentFdName:"",ChildFdName:"",IsAutoSave_ReloadParentForms:"",IsAutoSave_ReloadRootParentList:""}}}}),Common.Cs.Define("Ul.ValidationResult","",{Text:"",Type:null,Target:null,constructor:function(t){Ext.apply(this,t)}})},6837:()=>{Common.Cs.Define("Ul.FormSelectFromListAdapter","Common.Observable",{Control:null,Settings:null,constructor:function(t){this.callParent(arguments),this.addEvents("ItemSelected"),this.CreateControl()},CreateControl:function(){this.Control=new Ui.FormSelectFromList({Settings:this.Settings}),this.relayEvents(this.Control,["ItemSelected"])},Show:function(){this.Control.show()}})},79119:()=>{Common.Cs.Define("Ul.FormSelectFromListCtrlr","Common.Observable",{Adapter:null,Settings:null,constructor:function(t){this.callParent(arguments),this.addEvents("ItemSelected"),this.CreateAdapter()},CreateAdapter:function(){this.Adapter=new Ul.FormSelectFromListAdapter({Settings:this.Settings}),this.relayEvents(this.Adapter,["ItemSelected"])},Show:function(){this.Adapter.Show()},statics:{Show:function(t,e){var n=new Ul.FormSelectFromListCtrlr({Settings:t});n.on("ItemSelected",(function(t,i){n.Adapter.purgeListeners(),n.Adapter=null,n.purgeListeners(),e&&(Common.Util.IsDoReturnFunction(e)?e(null,i):e(i))})),n.Show()}}})},21497:()=>{Common.Cs.Define("Ul.GridRowEditorAdapter","Ul.FormPanelAdapter",{constructor:function(t){this.addEvents(Ul.FormPanelCtrlr.EventEnum.KeyPress),this.callParent(arguments)},_createControlConfig:function(){var t=this.callParent(arguments);return t.xtype="Ui.GridRowEditor",t._grid=this.UlvViewerUi,t},_createControl:function(){this.callParent(arguments),this.relayEvents(this.Control,[Ul.FormPanelCtrlr.EventEnum.KeyPress])},LayoutFields:function(){}})},19745:()=>{Common.Cs.Define("Ul.GridRowEditorCtrlr","Ul.FormPanelCtrlr",{_smartTextChangeDelay:10,_moId:null,constructor:function(t){this.callParent(arguments),this._setFeatures()},_createAdapterConfig:function(){var t=this.callParent(arguments);return t.UlvViewerUi=this.UlvMainCtrlr.GetViewerUi(),t.xtype="Ul.GridRowEditorAdapter",t},_createAdapter:function(){this.callParent(arguments),this.Adapter.on(Ul.FormPanelCtrlr.EventEnum.KeyPress,(function(t,e){this.fireEvent(Ul.FormPanelCtrlr.EventEnum.KeyPress,this,e)}),this)},_refreshUlvAfterSave:function(t){var e,n;if(this._isComposition())e=this.Mo;else if(returnMo=Common.Util.TryGetValue(this,"_afterSaveSetting.Data.Mo"),e=Common.Util.TryGetValue(this,"_afterSaveSetting.Data.MoForReport"),returnMo&&Common.Merger.Merge(e,returnMo),n=Common.Util.TryGetValue(this,"_afterSaveSetting.Data.MoForReport.$Type"),Ext.isNotEmpty(n)){e.xtype=n;var i=Ext.create(e);i instanceof Common.MetaObjectListWeb?e=i.GetMoByIndex(0):i instanceof Common.MetaObjectWeb&&(e=i)}if(0==Ext.isEmpty(this.UlvMainCtrlr))if(e){delete this._afterSaveSetting.Data.MoForReport;var r,o,a=e;if(this._isComposition()){var s=Common.Util.TryGetValue(this.Setting,"View.PassParentMoField");s&&(a[s]=e[s])}this.IsAutoInlineEdit&&(a.$OldId=this.Mo.$OldId),this._isComposition()&&a.GetState()==Common.MetaObjectWeb.StateEnum.Unchanged&&this.Mo&&a.SetState(this.Mo.GetState()),this._isComposition()&&a.GetState()==Common.MetaObjectWeb.StateEnum.New?o=[a]:r=[a],this.UlvMainCtrlr.RefreshRowsByMos(r,o,null)}else this._isComposition()||this.UlvMainCtrlr.RefreshRowsByMos(null,null,this.Mo);t&&t()},_setFeatures:function(){Common.Merger.Merge(this.Features,{Workflow:!1,Toolbar:!1,InfoBar:!1,Edit:!0,BRule:!0,HasUlv:!0})},_prepareData:function(t){this._afterSaveSetting&&this._afterSaveSetting.NewMoId&&(this.Mo.$OldId=this.Mo.Id),this.callParent(arguments)},_moveToCell:function(t,e){this.EachControl((function(n){n.Setting.ControlName==t?(n.SetVisible(!0),n.SetFocus(100),e&&n.SetSize(e.width,e.height)):n.SetVisible(!1)}),this),this.Adapter&&this.Adapter.MoveWindow(e)},_setFocus:function(t){var e=t;this.EachControl((function(t){t.Setting.ControlName==e&&t.SetFocus(100)}),this)},_____showValidationResult:function(t,e){var n="";if(!Ext.isEmpty(t)){n="اشکال در مقادیر فرم <br/>";for(var i=0;i<t.length;i++)n+="<b>"+t[i].Target.Setting.ControlFieldCaption+": </b>"+t[i].Text+"<br/>"}""!=n?Ul.MsgBox.Warning_ShowHtml(n,function(){e(new Common.SilentException);var t=this.UlvMainCtrlr.SelectionAdapter.GetPrecSelectedCell();t&&this.UlvMainCtrlr.SelectionAdapter.SelectCell(t[0],t[1]);var n=this.UlvMainCtrlr.SelectionAdapter.GetSelectedCell();n&&this._setFocus(n.name)}.bind(this)):e&&e()},_onAdapter_RequestForClose:function(t){t?this.SaveAndClose():this.Close()},Close:function(t,e){this.ForceClose(e)},SaveAndReload:function(t,e){Ext.isEmpty(t)?e&&e():(Ext.isNotEmpty(this.Mo)&&this.Mo.Id==t.Id&&alert("Waw!"),this._moId=t.Id,Common.Async.Waterfall("GridRowEditorCtrlr.SaveAndReload",{Save:this.Save.bind(this,!1),ReloadIfCondition:this.ReloadMo.bind(this,t)},(function(t,n){Common.Async.Finalize(t,n,e)})))},Mask:function(){this.Adapter&&this.Adapter.Mask(1e3)},MaskBody:function(){this.UlvMainCtrlr.Mask({delay:1e3})},UnmaskBody:function(){this.UlvMainCtrlr.Unmask()},_cacheMoForRollback:function(){var t=Common.Merger.Clone({},this.Mo);this.CachedMo=new Common.MetaObjectWeb(t)},update_doReturn:function(t,e){var n=e.Text;n?(this.Mo=this.CachedMo,this._afterSaveSetting={Data:{MoForReport:this.CachedMo}},Ul.MsgBox.Error(n,t)):this.callParent(arguments)}})},74793:()=>{Common.Cs.Define("Ui.Theme","",{singleton:!0,GroupBorderWidth:[1,1,27,1],GroupBorderWidth_NoTitle:[1,1,1,1],TabPanelBorderWidth:[1,1,27,1],TabPanelExtraPadding:[6,6,6,6],VHLineSpacing:4,LayoutControlDefPadding:[2,2,3,3],MinColWidth:24,Ribbon:{Height:110,GroupHeader:!0,GroupHeaderHeight:17,HomeButtonWidth:100},LabelMaxHeight:22,Colon:":",_dictMinMaxSize:null,DefaultMinMaxSize:{MinSize:{width:0,height:0},MaxSize:{width:0,height:0}},FieldMinMaxSize:{MinSize:{width:23,height:23},MaxSize:{width:0,height:23}},FieldGeneralInfoMinMaxSize:{MinSize:{width:50,height:23},MaxSize:{width:0,height:23}},GrowingFieldMinMaxSize:{MinSize:{width:23,height:23},MaxSize:{width:0,height:0}},GridMinMaxSize:{MinSize:{width:100,height:120},MaxSize:{width:0,height:0}},GridMinMaxSizeRadio:{MinSize:{width:100,height:60},MaxSize:{width:0,height:0}},WindowMinSize:{width:510,height:200},WindowBorder:{width:16,height:30},ShrinkWindowToMaxSize:!1,GrowWindowToMinSize:!0,GetMinSizeByXType:function(t){if(!this._dictMinMaxSize){var e={};e["Ui.TextArea"]=this.GrowingFieldMinMaxSize,e["Ui.ContainerWithFloatingButtons"]=this.GrowingFieldMinMaxSize,e["Ui.ContainerWithButton"]=this.GrowingFieldMinMaxSize,e["Ui.TextField"]=this.FieldMinMaxSize,e["Ui.TextField_AutoComplete"]=this.FieldMinMaxSize,e["Ui.ReadOnlyField"]=this.FieldMinMaxSize,e["Ui.Label"]=this.FieldMinMaxSize,e["Ui.NumInt_Ui"]=this.FieldMinMaxSize,e["Ui.NumDecimal_Ui"]=this.FieldMinMaxSize,e["Ui.TimeSpan"]=this.FieldMinMaxSize,e["Ui.SimpleCombo"]=this.FieldMinMaxSize,e["Ui.MoInfoUlvCombo"]=this.FieldMinMaxSize,e["Ui.DateTime"]=this.FieldMinMaxSize,e["Ui.DateRangeEx"]=this.FieldMinMaxSize,e["Ui.DateRange"]=this.FieldMinMaxSize,e["Ui.CheckBox"]=this.FieldMinMaxSize,e["Ui.MoInfoCombo_Viewer"]=this.FieldMinMaxSize,e["Ui.MoInfoGeneralObjectUi"]=this.FieldGeneralInfoMinMaxSize,e["Ui.LinearList_ContainerWithButton"]={MinSize:{width:100,height:24},MaxSize:{width:0,height:0}},e["Ui.FileLinearListBox"]=this.GrowingFieldMinMaxSize,e["Ui.UlvMainUi"]=this.GridMinMaxSize,e["Ui.MoInfoSubFormUi"]=this.GridMinMaxSize,e["Ui.RadioGroup"]=this.GridMinMaxSizeRadio,e["Ui.TinyMCETextAreaWrapper"]=this.GrowingFieldMinMaxSize,e["Ui.Button"]={MinSize:{width:24,height:24},MaxSize:{width:0,height:0}},e["Ui.MetroButton"]={MinSize:{width:24,height:24},MaxSize:{width:0,height:0}},this._dictMinMaxSize=e}return Common.Debug.Assert(Ext.isNotEmpty(this._dictMinMaxSize[t]),"No default size is defined for: "+t),Ext.value(this._dictMinMaxSize[t],this.DefaultMinMaxSize)},Icons:{New:"Barsa2:F_Bsc_document+F_Ovl_ov_new",Edit:"Barsa2:F_Bsc_document+F_Ovl_ov_edit",Delete:"Barsa2:F_Bsc_delete",Save:"Barsa2:F_Bsc_save",SaveAndClose:"Barsa2:F_Bsc_save+F_Ovl_ov_close_up_red",SaveAndNew:"Barsa2:F_Bsc_save+F_Ovl_ov_new",AddToList:"Barsa2:F_Bsc_link",RemoveFromList:"Barsa2:F_Bsc_link+F_Ovl_ov_delete2",Refresh:"Barsa2:F_Bsc_refresh_update",Workflow:"Barsa2:F_Bsc_WorkFlow",History:"Barsa2:G_Cor_History",SystemCommandMenu:"Barsa2:_Structure",DefaultCommandIcon:"Barsa2:_Method",Help:"Barsa2:G_Cor_Help",Exit:"Barsa2:G_Cor_Exit",Star:"Barsa2:F_Bsc_favorite",Ok:"Barsa2:F_Bsc_ok_button",Cancel:"Barsa2:F_Bsc_delete_button_error",MoveNext:"Barsa2:F_Bsc_arrow_down",MovePrev:"Barsa2:F_Bsc_arrow_up",ExportToExcel:"Barsa2:F_Wp_export_spreadsheet",Print:"Barsa2:F_Bsc_print",Lock:"Barsa2:F_Bsc_security_lock",ChangePassword:"Barsa2:F_Trn_people_recipient+F_Ovl_ov_key",Right:"Barsa2:F_Bsc_arrow_right",Left:"Barsa2:F_Bsc_arrow_left",Up:"Barsa2:F_Bsc_arrow_up",Down:"Barsa2:F_Bsc_arrow_down",Scanner:"Barsa2:N_Hrw_scanner",AdvancedScan:"Barsa2:N_Hrw_scanner+N_Ovl_ov_repair",Day:"Barsa2:F_Bsc_calendar_selection_day",Month:"Barsa2:F_Bsc_calendar",Year:"Barsa2:F_Bsc_calendar_selection_year"}},(function(){})),Common.Cs.Define("Ui.WindowsTheme","",{singleton:!0,DefaultMinMaxSize:{MinSize:{width:0,height:0},MaxSize:{width:0,height:0}},FieldMinMaxSize:{MinSize:{width:20,height:20},MaxSize:{width:0,height:20}},FieldGeneralInfoMinMaxSize:{MinSize:{width:50,height:21},MaxSize:{width:0,height:21}},GrowingFieldMinMaxSize:{MinSize:{width:20,height:20},MaxSize:{width:0,height:0}},GridMinMaxSize:{MinSize:{width:100,height:20},MaxSize:{width:0,height:0}},WindowBorder:[16,83],LayoutControlDefPadding:[2,2,2,2],GetMinSizeByXType:function(t){if(!this._dictMinMaxSize){var e={};e["Ui.TextArea"]=this.GrowingFieldMinMaxSize,e["Ui.ContainerWithFloatingButtons"]=this.GrowingFieldMinMaxSize,e["Ui.ContainerWithButton"]=this.GrowingFieldMinMaxSize,e["Ui.TextField"]=this.FieldMinMaxSize,e["Ui.TextField_AutoComplete"]=this.FieldMinMaxSize,e["Ui.ReadOnlyField"]=this.FieldMinMaxSize,e["Ui.Label"]=this.FieldMinMaxSize,e["Ui.NumInt_Ui"]=this.FieldMinMaxSize,e["Ui.NumDecimal_Ui"]=this.FieldMinMaxSize,e["Ui.TimeSpan"]=this.FieldMinMaxSize,e["Ui.SimpleCombo"]=this.FieldMinMaxSize,e["Ui.MoInfoUlvCombo"]=this.FieldMinMaxSize,e["Ui.DateTime"]=this.FieldMinMaxSize,e["Ui.DateRangeEx"]=this.FieldMinMaxSize,e["Ui.DateRange"]=this.FieldMinMaxSize,e["Ui.CheckBox"]=this.FieldMinMaxSize,e["Ui.MoInfoCombo_Viewer"]=this.FieldMinMaxSize,e["Ui.MoInfoGeneralObjectUi"]=this.FieldGeneralInfoMinMaxSize,e["Ui.LinearList_ContainerWithButton"]={MinSize:{width:100,height:20},MaxSize:{width:0,height:0}},e["Ui.FileLinearListBox"]={MinSize:{width:45,height:25},MaxSize:{width:0,height:0}},e["Ui.UlvMainUi"]=this.GridMinMaxSize,e["Ui.MoInfoSubFormUi"]=this.GridMinMaxSize,e["Ui.RadioGroup"]=this.GridMinMaxSizeRadio,e["Ui.TinyMCETextAreaWrapper"]=this.GrowingFieldMinMaxSize,this._dictMinMaxSize=e}return Ext.value(this._dictMinMaxSize[t],this.DefaultMinMaxSize)}})},57974:()=>{Common.Cs.Define("Ul.CustomLoadingMaskUi","Common.Observable",{singleton:!0,constructor:function(){this.callParent(arguments),this.addEvents("Mask","Unmask","MaskBody","UnmaskBody")},Mask:function(t,e){this.fireEvent("Mask",t,e)},Unmask:function(t,e){this.fireEvent("Unmask",t,e)},UnmaskAll:function(){this.fireEvent("UnmaskAll")},MaskBody:function(t){this.fireEvent("MaskBody",t)},UnmaskBody:function(t){this.fireEvent("UnmaskBody",t)}})},96306:()=>{Common.Cs.Define("Ul.LoadingMask","",{singleton:!0,constructor:function(){},Mask:function(t,e){Ul.LoadingMaskAdapter.Mask(t,e)},Unmask:function(t,e){Ul.LoadingMaskAdapter.Unmask(t,e)},UnmaskAll:function(){Ul.LoadingMaskAdapter.UnmaskAll()},MaskBody:function(t){Ul.LoadingMaskAdapter.MaskBody(t)},UnmaskBody:function(t){Ul.LoadingMaskAdapter.UnmaskBody(t)}})},25918:()=>{Common.Cs.Define("Ul.LoadingMaskAdapter","",{singleton:!0,_maskControl:null,constructor:function(){},prepareComponent:function(){LoginFormData.CustomUiPrefix?this._maskControl=Ul.CustomLoadingMaskUi:this._maskControl=Ul.LoadingMaskUi},Mask:function(t,e){this._maskControl||this.prepareComponent(),this._maskControl.Mask(t,e)},Unmask:function(t,e){this._maskControl||this.prepareComponent(),this._maskControl.Unmask(t,e)},UnmaskAll:function(){this._maskControl||this.prepareComponent(),this._maskControl.UnmaskAll()},MaskBody:function(t){this._maskControl||this.prepareComponent(),this._maskControl.MaskBody(t)},UnmaskBody:function(t){this._maskControl||this.prepareComponent(),this._maskControl.UnmaskBody(t)}})},5520:()=>{Common.Cs.Define("Ul.BaseMsgBox","",{constructor:function(t){Ext.apply(this,t)},Error_ShowHtml:function(t,e){Ul.MsgBox.Adapter.Error(t,e)},Info_ShowHtml:function(t,e){Ul.MsgBox.Adapter.Info(t,e)},Warning_ShowHtml:function(t,e){Ul.MsgBox.Adapter.Warning(t,e)},YesNo_ShowHtml:function(t,e,n){Ul.MsgBox.Adapter.YesNo(t,e,n)},YesNoCancel_ShowHtml:function(t,e,n){Ul.MsgBox.Adapter.YesNoCancel(t,e,n)},OKCancel_ShowHtml:function(t,e,n){Ul.MsgBox.Adapter.OKCancel(t,e,n)},Show_ShowHtml:function(t,e,n,i,r,o){Ul.MsgBox.Adapter.Show(t,e,n,i,r,o)},Wait_ShowHtml:function(t,e,n,i,r){Ul.MsgBox.Adapter.Wait(t,e,n,i,r)},Error:function(t,e){t=Common.Util.HtmlEscape(t),Ul.MsgBox.Adapter.Error(t,e)},Info:function(t,e){t=Common.Util.HtmlEscape(t),Ul.MsgBox.Adapter.Info(t,e)},Warning:function(t,e){t=Common.Util.HtmlEscape(t),Ul.MsgBox.Adapter.Warning(t,e)},YesNo:function(t,e,n){t=Common.Util.HtmlEscape(t),e=Common.Util.HtmlEscape(e),Ul.MsgBox.Adapter.YesNo(t,e,n)},YesNoCancel:function(t,e,n){t=Common.Util.HtmlEscape(t),e=Common.Util.HtmlEscape(e),Ul.MsgBox.Adapter.YesNoCancel(t,e,n)},OKCancel:function(t,e,n){t=Common.Util.HtmlEscape(t),e=Common.Util.HtmlEscape(e),Ul.MsgBox.Adapter.OKCancel(t,e,n)},Show:function(t,e,n,i,r,o){t=Common.Util.HtmlEscape(t),e=Common.Util.HtmlEscape(e),Ul.MsgBox.Adapter.Show(t,e,n,i,r,o)},Wait:function(t,e,n,i,r){e=Common.Util.HtmlEscape(e),n=Common.Util.HtmlEscape(n),i=Common.Util.HtmlEscape(i),Ul.MsgBox.Adapter.Wait(t,e,n,i,r)},Hide:function(){Ul.MsgBox.Adapter.Hide()},ConfirmYesNo:function(t,e,n,i){1==t?Common.Async.Waterfall("Ul.MsgBox.ConfirmYesNo",[Ul.MsgBox.YesNo.bind(null,e,n),Common.Async.ContinueIfValue.bind(null,"yes")],(function(t,e){Common.Async.Finalize(t,e,i)})):i()},ConfirmOkCancel:function(t,e,n,i){1==t?Common.Async.Waterfall("Ul.MsgBox.ConfirmOkCancel",[Ul.MsgBox.OKCancel.bind(null,e,n),Common.Async.ContinueIfValue.bind(null,"ok")],(function(t,e){Common.Async.Finalize(t,e,i)})):i()},OK:{ok:!0},CANCEL:{cancel:!0},OKCANCEL:{ok:!0,cancel:!0},YESNO:{yes:!0,no:!0},YESNOCANCEL:{yes:!0,no:!0,cancel:!0},INFO:"ext-mb-info",WARNING:"ext-mb-warning",QUESTION:"ext-mb-question",ERROR:"ext-mb-error"})},14692:()=>{Common.Cs.Define("Base.MsgBoxAdapter","Common.Observable",{controlUi:null,constructor:function(t){Ext.apply(this,t)},Error:function(t,e){this._msgBoxGeneric(t,null,null,Ul.MsgBox.ERROR,!1,e)},Info:function(t,e){this._msgBoxGeneric(t,null,null,Ul.MsgBox.INFO,!1,e)},Warning:function(t,e){this._msgBoxGeneric(t,null,null,Ul.MsgBox.WARNING,!1,e)},YesNo:function(t,e,n){this._msgBoxGeneric(t,e,Ul.MsgBox.YESNO,Ul.MsgBox.QUESTION,!0,n)},YesNoCancel:function(t,e,n){this._msgBoxGeneric(t,e,Ul.MsgBox.YESNOCANCEL,Ul.MsgBox.QUESTION,!0,n)},OKCancel:function(t,e,n){this._msgBoxGeneric(t,e,Ul.MsgBox.OKCANCEL,Ul.MsgBox.QUESTION,!0,n)},Show:function(t,e,n,i,r,o){this._msgBoxGeneric(t,e,n,i,r,o)},Wait:function(t,e,n,i,r){var o=null,a=null,s=null;Ext.isNotEmpty(t)&&(o=200,s=(a=(s=Ext.value(t,2e3))/o)*o);var l={interval:o,duration:s,increment:a+0,text:i,scope:this,fn:function(){Ext.Msg.hide(),r&&r()}};this.wait(e,n,l)},Hide:function(){this.controlUi.hide()},wait:function(t,e,n){this.controlUi.wait(t,e,n)},show:function(t){this.controlUi.show(t)},_msgBoxGeneric:function(t,e,n,i,r,o){var a=this._getData(e,t,n,i,r,o);this.show(a)},_getData:function(t,e,n,i,r,o){return e=Common.Util.NewLine2Br(e),i||(i="INFO"),["WARNING","ERROR","INFO","QUESTION"].indexOf(i)>=0&&(i=Ul.MsgBox[i]),n=Ext.value(n,Ul.MsgBox.OK),Ext.isEmpty(t)&&(t=this._getMsgTitleByType(i)),{scope:this,title:t,msg:e,buttons:n,icon:i,fn:function(t){o&&(r?Common.Util.IsDoReturnFunction(o)?o(null,t):o(t):o())}}},_getMsgTitleByType:function(t){var e;switch(t){case Ul.MsgBox.INFO:e=BBB.MsgTitleInfo;break;case Ul.MsgBox.QUESTION:e=BBB.MsgTitleQuestion;break;case Ul.MsgBox.WARNING:e=BBB.MsgTitleWarinig;break;case Ul.MsgBox.ERROR:e=BBB.MsgTitleError;break;default:e=BBB.MsgTitleInfo}return e}})},15052:()=>{Common.Cs.Define("Ul.BaseToast","",{constructor:function(t){Ext.apply(this,t)},Default:function(t,e,n){Ul.Toast.Adapter.Show("default",t,e,n)},Error:function(t,e,n){Ul.Toast.Adapter.Show("error",t,e,n)},Success:function(t,e,n){Ul.Toast.Adapter.Show("success",t,e,n)},Info:function(t,e,n){Ul.Toast.Adapter.Show("info",t,e,n)},Warning:function(t,e,n){Ul.Toast.Adapter.Show("warning",t,e,n)}})},3148:()=>{Common.Cs.Define("Ul.BaseToastAdapter","Common.Observable",{constructor:function(t){Ext.apply(this,t)},Show:function(t,e,n,i){var r=Common.Merger.Merge({},Ul.BaseToastAdapter.DefaultConfig);for(var o in n)r[o.toCamelCase()]=n[o];return r.msg=e,r.onClick=i,1==r.title&&("info"==t&&(r.title="اطلاع"),"warning"==t&&(r.title="هشدار"),"error"==t&&(r.title="اشکال"),"success"==t&&(r.title="انجام شد")),r},statics:{DefaultConfig:{title:!0,size:"mini",soundPath:"src/sounds/",soundExt:".ogg",showClass:"fadeInDown",hideClass:"zoomOut",icon:!0,msg:"",img:null,closable:!0,delay:3e3,delayIndicator:!0,closeOnClick:!0,width:400,sound:!0,position:"bottom right",iconSource:"fontAwesome",rounded:!1,messageHeight:60,pauseDelayOnHover:!0,onClickUrl:null,showAfterPrevious:!1,continueDelayOnInactiveTab:!1}}})},3682:()=>{Common.Cs.Define("Ul.MsgBox","Ul.BaseMsgBox",{singleton:!0,Adapter:null,constructor:function(t){t={originalXtype:"Ul.MsgBoxAdapter"},this.callParent(arguments),this.Adapter=new CustomUl.MsgBoxAdapter(t)}})},23730:()=>{Common.Cs.Define("CustomUl.MsgBoxAdapter","Base.MsgBoxAdapter",{constructor:function(t){this.callParent(arguments),this.addEvents("Show")},Hide:function(){this.fireEvent("hide")},wait:function(t,e,n){this.fireEvent("wait",t,e,n)},show:function(t){this.fireEvent("Show",t)},docReady:function(t){"complete"===document.readyState||"interactive"===document.readyState?setTimeout(t,1):document.addEventListener("DOMContentLoaded",t)}})},32437:()=>{Common.Cs.Define("Ul.Toast","Ul.BaseToast",{singleton:!0,Adapter:null,constructor:function(t){this.callParent(t),this.Adapter=new Ul.CustomToastAdapter({originalXtype:"Ul.ToastAdapter"})}})},3099:()=>{Common.Cs.Define("Ul.CustomToastAdapter","Ul.BaseToastAdapter",{constructor:function(t){this.callParent(arguments),this.addEvents("Show")},Show:function(t,e,n,i){var r=this.callParent(arguments);this.fireEvent("Show",t,r)}})},75806:()=>{Common.Cs.Define("Ul.SearchPanelAdapter","Ul.FormPanelAdapter",{IsSearchPanel:!0,_createControlConfig:function(){var t=this.callParent(arguments);return"Ui.CustomFormPanel"!==t.xtype&&(t.xtype="Ui.SearchPanel"),t},_createControl:function(){this.callParent(arguments),this.relayEvents(this.Control,["SearchClick","ClearClick"])}})},75506:()=>{Common.Cs.Define("Ul.SearchPanelCtrlr","Ul.FormPanelCtrlr",{_searchCommandInfoCtrlr:null,IsSearchPanel:!0,IsNormalSearchPanel:null,constructor:function(t){this.IsNormalSearchPanel=1!=t.Setting.ParameterTypeIsObject,this.IsNormalSearchPanel?(t.Setting.IsSearchPanel=!0,t.Setting.View.ControlInfo.push({ControlName:"$Search",xtype:"Ul.SearchCommandInfoCtrlr"})):1==t.Setting.View.Layout94.IsDefaultLayout&&t.Setting.View.Layout94.items[0].items.reverse(),this.callParent(arguments)},_createFieldCtrlrs:function(){this.callParent(arguments);var t=null;for(var e in this._dictFieldCtrlr){var n=this._dictFieldCtrlr[e];"Ul.SearchCommandInfoCtrlr"==n.xtype&&(t=n)}null!=t&&(t.on("SearchClick",(function(){this.Search()}),this),t.on("ClearClick",(function(){this.ClearSearch()}),this))},ClearSearch:function(){this.Clear(),this.Mo.Commit()},Search:function(){Common.Async.Waterfall("SearchPanelCtrlr.SearchClick",{Validate:this.Validate.bind(this),_showValidationResult:this._showValidationResult.bind(this),searchClick:function(t){this.fireEvent(Ul.FormPanelCtrlr.EventEnum.SearchClick,t)}.bind(this)},function(t,e){Common.Async.Finalize(t,e,null)}.bind(this))},_createAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.SearchPanelAdapter",t}})},81604:()=>{Common.Cs.Define("Common.ToolbarUtil","",{singleton:!0,GetSecurity:function(t){var e=Common.Merger.Merge({},t.MoSecurity),n=Common.Util.TryGetValue(t,"View.FormSettings.ShowSaveButton",!0),i=Common.Util.TryGetValue(t,"View.FormSettings.ShowToolbar",!0);("ViewOnly"==Common.Util.TryGetValue(t,"View.TypeDefDbType")||t.View.IsNonePersistance||t.IsNonePersistance)&&(e.Add=!1,e.Delete=!1,e.Edit=!1,e.Move=!1,e.Ok=i,e.Cancel=i,e.MoveNext=!1,e.MovePrev=!1),Ul.ApplicationCtrlr.HideDeleteInForms&&(e.Delete=!1);var r=t.Data;(Ul.ApplicationCtrlr.HideNextPrevInForms||r&&r.Mo&&"New"===r.Mo.$State)&&(e.MoveNext=!1,e.MovePrev=!1);var o=Ext.isNotEmpty(Common.Util.TryGetValue(t,"Workflow")),a={hasOk:1==e.Ok,hasCancel:1==e.Cancel,hasWf:o,hasAdd:e.Add,hasEdit:e.Edit,hasDelete:e.Delete&&!o,hideSaveAndNew:!0!==e.SaveAndNew||o,showSaveButtonInView:n,hasWfComments:t.Workflow&&t.Workflow.HasCommentList,hasWfReturnBack:t.Workflow&&!!t.Workflow.ReturnBack,hasMoveNext:0!=e.MoveNext,hasMovePrev:0!=e.MovePrev};return a.hasSaveAndNew=a.hasAdd&&a.showSaveButtonInView&&!a.hideSaveAndNew,a.hasSaveAndClose=(a.hasEdit||a.hasAdd)&&a.showSaveButtonInView,a},GetWorkflowButtons:function(t,e,n){var i=[],r=1!=Ul.ApplicationCtrlr.UseFlatIcons;if(e.hasWfComments){var o={text:BBB.ButtonShowWorkflowComments,tooltip:BBB.ButtonTooltipShowWorkflowComments,icon:r?"/assets/Images/AxiNormal/24/notes_text.png":"/assets/Images/AxiFlat/24/notes_text.png",handler:function(t,e){n.fireEvent("ToolClick",n,{Key:t.itemId,E:e})},toolbarInstance:n,isWorkflow:!0,scale:"medium",itemId:"WfComments"};i.push(o)}if(e.hasWfReturnBack){var a=t.Workflow.ReturnBack,s={text:BBB.ButtonReturnBack,tooltip:BBB.ButtonTooltipReturnBack,icon:"IH.ashx?&ty=BN&na=Barsa2%3AG_Cor_Button%20Blue-Back&si=24",handler:function(t,e){n.fireEvent("ToolClick",n,{Key:t.itemId,Command:a,E:e})},toolbarInstance:n,isWorkflow:!0,scale:"medium",itemId:"WfReturnBack"};i.push(s)}return t.WorkflowResolved.ShowToolbar?(i.push("-"),t.Workflow.ChoiceList.forEach((function(t){var e="a-form-wf-btn "+(Ext.isEmpty(t.Icon)?"":"x-btn-text-icon"),r={Data:t,isWorkflow:!0,name:t.ChoiceDefId,text:t.Title,icon:t.Icon,cls:e,scale:"medium",toolbarInstance:n,tooltip:"",itemId:t.ChoiceDefId,handler:function(t,e){e.Key=t.Data.ControlFieldDefId,e.Command=t.Data,n.fireEvent("ToolClick",n,e)}};i.push(r)}),n),i):i},PrepareButtons:function(t,e){var n=t.Setting,i=t.FormPanelUi,r=1!=Ul.ApplicationCtrlr.UseFlatIcons;Ext.isEmpty(e)&&(e=this.GetSecurity(n));var o=e,a="Common.Observable"==t.BaseClassName,s={items:[{text:BBB.Save,tooltip:BBB.Save+" (Ctrl سپس S)",icon:r?"/assets/Images/Form/Save24.png":Common.Util.GetIconUrl(null,Ui.Theme.Icons.Save,null,16),handler:function(e,n){t.fireEvent("ToolClick",t,{Key:e.itemId})},toolbarInstance:t,scale:"medium",itemId:"Save",newIcon:"save"}]},l=[{text:BBB.OK,icon:r?"/assets/Images/Form/Ok24.png":Common.Util.GetIconUrl(null,Ui.Theme.Icons.Ok,null,24),handler:function(e,n){t.fireEvent("ToolClick",t,{Key:e.itemId,E:n})},toolbarInstance:t,hidden:!o.hasOk,scale:"medium",isBuiltin:!0,inFooter:!0,itemId:"Ok",newIcon:"accept",design:"emphasized"},"-",{text:BBB.Cancel,icon:r?"/assets/Images/Form/Close24.png":Common.Util.GetIconUrl(null,Ui.Theme.Icons.Cancel,null,24),handler:function(e,n){t.fireEvent("ToolClick",t,{Key:e.itemId,E:n})},toolbarInstance:t,hidden:!o.hasCancel,scale:"medium",inFooter:!0,isBuiltin:!0,itemId:"Cancel"},{text:"",tooltip:BBB.SaveAndNew,icon:r?"/assets/Images/Form/SaveNew24.png":Common.Util.GetIconUrl(null,Ui.Theme.Icons.SaveAndNew,null,24),handler:function(e,n){t.fireEvent("ToolClick",t,{Key:e.itemId,E:n})},toolbarInstance:t,hidden:!o.hasSaveAndNew,scale:"medium",isBuiltin:!0,itemId:"SaveAndNew",newIcon:"create-form",design:"standard"},{xtype:"splitbutton",text:BBB.SaveAndClose,tooltip:BBB.SaveAndClose,icon:r?"/assets/Images/Form/SaveClose24.png":Common.Util.GetIconUrl(null,Ui.Theme.Icons.SaveAndClose,null,24),handler:function(e,n){t.fireEvent("ToolClick",t,{Key:e.itemId,E:n})},toolbarInstance:t,hidden:!o.hasSaveAndClose,scale:"medium",isBuiltin:!0,inFooter:!0,itemId:"SaveAndClose",newIcon:"save",design:"emphasized",menu:a?s:new Ext.menu.Menu(s)},{text:BBB.Delete,tooltip:BBB.Delete+" (Ctrl سپس X)",icon:r?"/assets/Images/Form/Delete_24.png":Common.Util.GetIconUrl(null,Ui.Theme.Icons.Delete,null,24),handler:function(e,n){t.fireEvent("ToolClick",t,{Key:e.itemId,E:n})},toolbarInstance:t,hidden:!o.hasDelete,isBuiltin:!0,scale:"medium",itemId:"Delete",newIcon:"decline"},"-"];i&&i.Features.HasUlv&&0!=n.MoSecurity.Move&&(l.push({text:"",tooltip:BBB.PagingNext+" (Ctrl سپس >)",icon:r?"/assets/Images/Form/Down24.png":Common.Util.GetIconUrl(null,Ui.Theme.Icons.MoveNext,null,24),handler:function(e,n){t.fireEvent("ToolClick",t,{Key:e.itemId,E:n})},toolbarInstance:t,hidden:!o.hasMoveNext,scale:"medium",isBuiltin:!0,design:"transparent",itemId:"MoveNext",newIcon:"arrow-bottom"}),l.push({text:"",tooltip:BBB.PagingPrev+" (Ctrl سپس <)",icon:r?"/assets/Images/Form/Up24.png":Common.Util.GetIconUrl(null,Ui.Theme.Icons.MovePrev,null,24),handler:function(e,n){t.fireEvent("ToolClick",t,{Key:e.itemId,E:n})},toolbarInstance:t,hidden:!o.hasMovePrev,scale:"medium",isBuiltin:!0,design:"transparent",itemId:"MovePrev",newIcon:"arrow-top"}));for(var u=[],c=0;c<t._listCustomToolbarCommand.length;c++){var h=i._listCustomToolbarCommand[c].Setting,d=Common.Util.TryGetValue(h,"JsonExtraProp.Tooltip"),f={Data:h,disabled:0==h.Enable,hidden:0==h.Visible,name:h.ControlName,text:h.ControlFieldCaption,icon:h.FieldIcon,cls:Ext.isEmpty(h.FieldIcon)?void 0:"x-btn-text-icon",scale:"medium",toolbarInstance:t,tooltip:d,itemId:h.ControlFieldDefId,handler:function(e,n){n.Key=e.Data.ControlFieldDefId,n.Command=e.Data,t.fireEvent("ToolClick",t,n)}};h.JsonExtraProp&&h.JsonExtraProp.Shortcut&&t._btnsWithShortcut.push(h);var m=h.MenuName;if(Ext.isEmpty(m))u.push(f);else{var p=u.findByProperty("IAmMenu",m);Common.UtilUi.FixTooltip(f),p||(p=a?{text:m,itemId:m,IAmMenu:m,menu:{items:[]}}:{text:m,itemId:m,IAmMenu:m,menu:new Ext.menu.Menu({id:"main_"+m,items:[]})},u.push(p)),a?p.menu.items.push(f):p.menu.add(f)}}0==Ext.isEmpty(u)&&(l.push("-"),l=l.concat(u));var C=Common.ToolbarUtil.GetWorkflowButtons(n,o,t);return Ext.isNotEmpty(C)&&(l.push("-"),l=l.concat(C)),l.filter((function(t,e,n){return 1!=t.hidden})).filter((function(t,e,n){var i=!0;return("-"==t&&0==e||"-"==t&&e==n.length-1||"-"==t&&"-"==n[e-1])&&(i=!1),i}))},PrepareShortCuts:function(t,e){},CreateSubFormButtons:function(t){var e=t.Setting,n=1!=Ul.ApplicationCtrlr.UseFlatIcons,i=Common.ToolbarUtil.GetSecurity(e);return[{text:BBB.Save,tooltip:BBB.Save+" (Ctrl+S)",icon:n?"/assets/Images/Form/Save24.png":Common.Util.GetIconUrl(null,Ui.Theme.Icons.Save,null,24),handler:function(e,n){t.fireEvent("ToolClick",t,{Key:e.itemId})},scope:t,scale:"medium",itemId:"Save",hidden:!((i.hasEdit||i.hasAdd)&&i.showSaveButtonInView)||i.hideSaveAndNew}].filter((function(t,e,n){return 1!=t.hidden}),this)}})},66485:()=>{Common.Cs.Define("Ui.CustomWorkflowPanelUi","Common.Observable",{constructor:function(t){this.addEvents("ButtonClick"),this.addEvents("ChoiceSelect"),this.component=LoginFormData.CustomUiPrefix+Common.Util.GetKebabCase(t.originalXtype),this.callParent(arguments);var e=this;this.buttonList.forEach((function(t){t.handler=function(t){e.fireEvent("ButtonClick",t.Choice)},t.scope=e}))},getCustomHtmlElement:function(){return this.createControlUi(),this.controlUi},createControlUi:function(){var t=this.Setting.Workflow.InfoText,e=this.Setting.WorkflowResolved.ShowInfoBar;this.controlUi=document.createElement(this.component),this.controlUi.id=Ext.id(),this.controlUi.context=this,this.controlUi.infoHtml=t,this.controlUi.showInfoBar=e,this.controlUi.buttonList=this.buttonList},SetEnable:function(t){Ext.each(this._pnlButtons.items,(function(e){t?e.enable():e.disable()}),this)},Refresh:function(){}})},58924:()=>{Common.Cs.Define("Ul.WorkflowPanelAdapter","Common.Observable",{Setting:null,_isEnable:!0,constructor:function(t){this.callParent(arguments),this.addEvents("ButtonClick"),this.addEvents("ChoiceSelect"),this.CreateControl()},CreateControl:function(){var t=this.Setting.WorkflowResolved.ShowToolbar,e={_isEnable:this._isEnable,Setting:this.Setting,xtype:"Ui.WorkflowPanelUi",itemId:"WorkflowPanel",buttonList:t?[]:Ul.WorkflowPanelAdapter.CreateButtonsConfig(this.Setting,this._isEnable)},n=Common.Util.TryGetValue(this.Setting,"View.CustomUi.Selector",null),i=LoginFormData.CustomUiPrefix;(n||i)&&(e.originalXtype=e.xtype,e.xtype="Ui.CustomWorkflowPanelUi"),this.Control=Ext.create(e),this.relayEvents(this.Control,["ButtonClick"]),this.relayEvents(this.Control,["ChoiceSelect"])},SetEnable:function(t){this._isEnable=t,this.Control.SetEnable(t)},Destroy:function(){this.purgeListeners(),this.Control instanceof Ui.CustomWorkflowPanelUi||(this.Control.purgeListeners(),this.Control.ownerCt.WorkflowPanelUi=null,this.Control.ownerCt.remove(this.Control,!0)),this.Control=null},Refresh:function(){this.Control.Refresh()},statics:{CreateButtonsConfig:function(t,e){for(var n=[],i=0;i<t.Workflow.ChoiceList.length;i++){var r=t.Workflow.ChoiceList[i],o={xtype:"button",minWidth:100,boxMinHeight:25,icon:r.Icon,scale:"medium",cls:"a-worlflow-panel-button "+(Ext.isEmpty(r.Icon)?"":"x-btn-text-icon"),text:r.Title,Choice:r,disabled:!e,PressDelay:500};n.push(o)}return n.reverse(),n}}})},64136:()=>{Common.Cs.Define("Ul.WorkflowPanelCtrlr","Common.Observable",{Setting:null,Adapter:null,_isEnable:!0,FormPanelCtrlr:null,constructor:function(t){this.callParent(arguments),this.addEvents("ButtonClick"),this.addEvents("ChoiceSelect"),this.CreateAdapter()},CreateAdapter:function(){var t={Setting:this.Setting,_isEnable:this._isEnable,xtype:"Ul.WorkflowPanelAdapter"};this.Adapter=Ext.create(t),this.Adapter.on("ButtonClick",(function(t){this.fireEvent("ButtonClick",this,t)}),this),this.Adapter.on("ChoiceSelect",(function(t){this.fireEvent("ChoiceSelect",this,t)}),this)},SetEnable:function(t){this._isEnable=t,this.Adapter&&this.Adapter.SetEnable(t)},Destroy:function(){this.purgeListeners(),this.Adapter&&this.Adapter.Destroy(),this.Adapter=null},statics:{StartWorkflowById:function(t,e){Ul.WorkflowPanelCtrlr.StartWorkflow({workflowDefId:t},e)},StartWorkflow:function(t,e){Ul.LoadingMask.MaskBody(),Common.Ajax.GetServerData("Workflow94.StartWorkflow",t,(function(t){Ul.WorkflowPanelCtrlr.RunWorkflowActionList(t,null,e)}),e)},ShowHistory:function(t,e){Common.Ajax.GetServerData("Workflow94.GetHistory",{moId:t},(function(t){Bw.Form.Show({FormSetting:t}),e&&e()}),null,null)},GetResolvedSetting:function(t,e){var n=t.Workflow;if(!n||!e.Workflow)return{};var i={ShowInfoBar:Common.Util.TryGetValue(Ul.ApplicationCtrlr,"WebConfig.Workflow.ShowInfoBar",!0),ShowToolbar:Common.Util.TryGetValue(Ul.ApplicationCtrlr,"WebConfig.Workflow.ShowToolbar",!1),ShowUserMsg:Common.Util.TryGetValue(Ul.ApplicationCtrlr,"WebConfig.Workflow.ShowUserMsg",!0)},r=!0===n.ShowInToolbar||!1!==n.ShowInToolbar&&!0===i.ShowToolbar,o=i.ShowInfoBar;r&&!n.InfoText&&(o=!1);var a={ShowInfoBar:o,ShowToolbar:r};if(i.ShowUserMsg){var s=n.PrevUserComment;s&&s.Text&&(a.PreviousComment=s)}return a},RunWorkflowActionList:function(t,e,n){if(Ext.isEmpty(t))return Ul.LoadingMask.UnmaskBody(),void(n&&n());Common.Async.Each("Ul.WorkflowPanelCtrlr.RunWorkflowActionList",t,function(t,n){if("ShowForm"==t.ActionType){var i=new Ul.FormRequestParams({Mo:null,ShowByWorkflow:!0,MoId:t.MoId,TypeDefId:t.TypeDefId,ActivityRunId:t.ActivityRunId}),r={FormRequestParams:i};Ext.isNotEmpty(t.MoId)&&Ext.isNotEmpty(e)&&t.MoId==e.Mo.Id&&(r.UlvMainCtrlr=e.UlvMainCtrlr,e.UlvMainCtrlr&&(i.MoContext={ReportId:e.UlvMainCtrlr.Setting.Extra.Report.Id})),new Ul.FormPanelCtrlr(r).ShowFormWindow(n)}}.bind(this),(function(t){Ul.LoadingMask.UnmaskBody(),Common.Async.Finalize(t,void 0,n)}))}}})},30089:()=>{},66081:()=>{function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}"object"!=("undefined"==typeof JSON?"undefined":_typeof(JSON))&&(JSON={}),function(){"use strict";function i(t){return t<10?"0"+t:t}function o(t){return e.lastIndex=0,e.test(t)?'"'+t.replace(e,(function(t){var e=s[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+t+'"'}function u(e,i){var a,s,l,c,h,d=n,f=i[e];switch(f&&"object"==_typeof(f)&&"function"==typeof f.toJSON&&(f=f.toJSON(e)),"function"==typeof t&&(f=t.call(i,e,f)),_typeof(f)){case"string":return o(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(n+=r,h=[],"[object Array]"===Object.prototype.toString.apply(f)){for(c=f.length,a=0;a<c;a+=1)h[a]=u(a,f)||"null";return l=0===h.length?"[]":n?"[\n"+n+h.join(",\n"+n)+"\n"+d+"]":"["+h.join(",")+"]",n=d,l}if(t&&"object"==_typeof(t))for(c=t.length,a=0;a<c;a+=1)"string"==typeof t[a]&&(l=u(s=t[a],f))&&h.push(o(s)+(n?": ":":")+l);else for(s in f)Object.prototype.hasOwnProperty.call(f,s)&&(l=u(s,f))&&h.push(o(s)+(n?": ":":")+l);return l=0===h.length?"{}":n?"{\n"+n+h.join(",\n"+n)+"\n"+d+"}":"{"+h.join(",")+"}",n=d,l}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var f=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n,r,s={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},t;"function"!=typeof JSON.stringify&&(JSON.stringify=function(e,i,o){var a;if(n="",r="","number"==typeof o)for(a=0;a<o;a+=1)r+=" ";else"string"==typeof o&&(r=o);if(t=i,i&&"function"!=typeof i&&("object"!=_typeof(i)||"number"!=typeof i.length))throw new Error("JSON.stringify");return u("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){function walk(t,e){var n,i,r=t[e];if(r&&"object"==_typeof(r))for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(void 0!==(i=walk(r,n))?r[n]=i:delete r[n]);return reviver.call(t,e,r)}var j;if(text=String(text),f.lastIndex=0,f.test(text)&&(text=text.replace(f,(function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)}))),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},83544:()=>{Common.Cs.Define("Util.MessengerHelper","Common.Observable",{singleton:!0,Init:function(t){if("Darkoob"===t){if(Ext.isIE)return;Common.Ajax.GetServerData("Darkoob.GetTokenKey",null,(function(t){this.ShowDarkoob(t)}),(function(t){alert("messenger Failed To load!")}),!1,this,!0)}},ShowDarkoob:function(t){Common.Ajax.GetServerData("Darkoob.GetConfig",null,(function(e){darkoobInAppMessenger.init({title:e.extraDbFields.f3,url:e.extraDbFields.f6,right:"35px",bottom:"35px",draggable:e.extraDbFields.f5,provider:"barsa",domain:e.extraDbFields.f4,token:encodeURI(t)})}),(function(t){alert("messenger Failed To load!")}),null,!0)}})},6598:()=>{"undefined"==typeof lang&&(lang={}),Ext.apply(lang,{ensible:{numbers:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],",":"،",goText:"برو",dayText:"روز",multiDayText:"روزها",weekText:"هفته",multiWeekText:"هفته",monthText:"ماه",jumpToText:"پرش به:",todayText:"امروز",calendarsText:"تقویم ها",ddCreateEventText:"درج رویداد برای ",ddMoveEventText:"درج رویداد در ",moreText:"بیشتر",editDetailsText:"ویرایش",deleteText:"حذف",ddResizeEventText:"به روز رسانی رویداد ",moveToText:"برو به",displayOnlyThisCalendarText:"فقط رویداد های همین تقویم را نمایش بده"}}),Ext.apply(Date,{dayNames:["یکشنبه","دوشنبه","سه شنبه","چهارشنبه","پنج‌شنبه","جمعه","شنبه"],numbers:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],am:"ق ظ",pm:"ب ظ"})},30411:()=>{!function(){var t="onfocusin"in document.createElement("input")?"focusin":"focus",e=document.createElement("div");e.appendChild(document.createTextNode("x-")),e.appendChild(document.createTextNode("x")),e.normalize();var n=3==e.firstChild.length;function i(){}function r(){}function o(t,e){var n=e.text.replace(/\r/g,"").length;if(t.compareEndPoints("StartToStart",e)<=0)return 0;if(t.compareEndPoints("StartToEnd",e)>=0)return n;for(var i=0;t.compareEndPoints("StartToStart",e)>0;++i,t.moveStart("character",-1));return i}function a(t,e){var n=e.text.replace(/\r/g,"").length;if(t.compareEndPoints("EndToEnd",e)>=0)return n;if(t.compareEndPoints("EndToStart",e)<=0)return 0;for(var i=0;t.compareEndPoints("EndToStart",e)>0;++i,t.moveEnd("character",-1));return i}function s(){}function l(){}function u(t,e){if(t.firstChild)return t.firstChild;if(t.nextSibling)return t.nextSibling;if(t===e)return null;for(;t.parentNode;){if((t=t.parentNode)==e)return null;if(t.nextSibling)return t.nextSibling}return null}function c(t,e,n,i){if(!(e<=0)){var r=t[n?"startContainer":"endContainer"];for(3==r.nodeType&&(e+=t[n?"startOffset":"endOffset"]);r;){if(3==r.nodeType){var o=r.nodeValue.length;if(e<=o){if(t[n?"setStart":"setEnd"](r,e),e==o){for(var a=u(r,i);a&&3==a.nodeType&&0==a.nodeValue.length;a=u(a,i))t[n?"setStartAfter":"setEndAfter"](a);a&&1==a.nodeType&&"BR"==a.nodeName&&t[n?"setStartAfter":"setEndAfter"](a)}return}t[n?"setStartAfter":"setEndAfter"](r),e-=o}r=u(r,i)}}}function h(t,e){return t.compareBoundaryPoints(0,e)<=0?0:t.compareBoundaryPoints(3,e)>=0?e.toString().length:((t=t.cloneRange()).setEnd(e.endContainer,e.endOffset),e.toString().replace(/\r/g,"").length-t.toString().replace(/\r/g,"").length)}function d(t,e){return t.compareBoundaryPoints(2,e)>=0?e.toString().length:t.compareBoundaryPoints(1,e)<=0?0:((t=t.cloneRange()).setStart(e.startContainer,e.startOffset),t.toString().replace(/\r/g,"").length)}function f(){}bililiteRange=function(t){function e(e,n){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(e,n){var i;if(n)i=new f;else if(window.getSelection&&e.setSelectionRange)try{e.selectionStart,i=new s}catch(t){i=new f}else i=window.getSelection?new l:document.selection?new r:new f;if(i._el=e,i._doc=e.ownerDocument,i._win="defaultView"in i._doc?i._doc.defaultView:i._doc.parentWindow,i._textProp=function(t){return void 0!==t.value?"value":void 0!==t.text?"text":void 0!==t.textContent?"textContent":"innerText"}(e),i._bounds=[0,i.length()],!("bililiteRangeMouseDown"in i._doc)){var o={_el:i._doc};i._doc.bililiteRangeMouseDown=!1,bililiteRange.fn.listen.call(o,"mousedown",(function(){i._doc.bililiteRangeMouseDown=!0})),bililiteRange.fn.listen.call(o,"mouseup",(function(){i._doc.bililiteRangeMouseDown=!1}))}if(!("bililiteRangeSelection"in e)){var a=function(t){t&&9==t.which?i._nativeSelect(i._nativeRange(e.bililiteRangeSelection)):e.bililiteRangeSelection=i._nativeSelection()};a(),"onbeforedeactivate"in e?i.listen("beforedeactivate",a):i.listen("mouseup",a).listen("keyup",a),i.listen(t,(function(){i._doc.bililiteRangeMouseDown||i._nativeSelect(i._nativeRange(e.bililiteRangeSelection))}))}if(!("oninput"in e)){var u=function(){i.dispatch({type:"input"})};i.listen("keyup",u),i.listen("cut",u),i.listen("paste",u),i.listen("drop",u),e.oninput="patched"}return i})),i.prototype={length:function(){return this._el[this._textProp].replace(/\r/g,"").length},bounds:function(t){if(bililiteRange.bounds[t])this._bounds=bililiteRange.bounds[t].apply(this);else{if(!t){var e=[Math.max(0,Math.min(this.length(),this._bounds[0])),Math.max(0,Math.min(this.length(),this._bounds[1]))];return e[1]=Math.max(e[0],e[1]),e}this._bounds=t}return this},select:function(){var t=this._el.bililiteRangeSelection=this.bounds();return this._el==document.activeElement&&this._nativeSelect(this._nativeRange(t)),this.dispatch({type:"select"}),this},text:function(t,e){if(arguments.length){var n=this.bounds();return this._el,this.dispatch({type:"beforeinput",data:t,bounds:n}),this._nativeSetText(t,this._nativeRange(n)),"start"==e?this.bounds([n[0],n[0]]):"end"==e?this.bounds([n[0]+t.length,n[0]+t.length]):"all"==e&&this.bounds([n[0],n[0]+t.length]),this.dispatch({type:"input",data:t,bounds:n}),this}return this._nativeGetText(this._nativeRange(this.bounds())).replace(/\r/g,"")},insertEOL:function(){return this._nativeEOL(),this._bounds=[this._bounds[0]+1,this._bounds[0]+1],this},sendkeys:function(t){var e=this;function n(t,e){/^{[^}]*}$/.test(e)&&(e=e.slice(1,-1));for(var n=0;n<e.length;++n){var i=e.charCodeAt(n);t.dispatch({type:"keydown",keyCode:i,which:i,charCode:i}),t.dispatch({type:"keyup",keyCode:i,which:i,charCode:i})}t.text(e,"end")}return this.data().sendkeysOriginalText=this.text(),this.data().sendkeysBounds=void 0,t.replace(/{[^}]*}|[^{]+|{/g,(function(t){(bililiteRange.sendkeys[t]||n)(e,t,n)})),this.bounds(this.data().sendkeysBounds),this.dispatch({type:"sendkeys",which:t}),this},top:function(){return this._nativeTop(this._nativeRange(this.bounds()))},scrollIntoView:function(t){var e=this.top();return(this._el.scrollTop>e||this._el.scrollTop+this._el.clientHeight<e)&&(t?t.call(this._el,e):this._el.scrollTop=e),this},wrap:function(t){return this._nativeWrap(t,this._nativeRange(this.bounds())),this},selection:function(t){return arguments.length?this.bounds("selection").text(t,"end").select():this.bounds("selection").text()},clone:function(){return bililiteRange(this._el).bounds(this.bounds())},all:function(t){return arguments.length?(this.dispatch({type:"beforeinput",data:t}),this._el[this._textProp]=t,this.dispatch({type:"input",data:t}),this):this._el[this._textProp].replace(/\r/g,"")},element:function(){return this._el},dispatch:function(t){t=t||{};var e=document.createEvent?document.createEvent("CustomEvent"):this._doc.createEventObject();for(var n in e.initCustomEvent&&e.initCustomEvent(t.type,!!t.bubbles,!!t.cancelable,t.detail),t)e[n]=t[n];var i=this._el;return setTimeout((function(){try{i.dispatchEvent?i.dispatchEvent(e):i.fireEvent("on"+t.type,document.createEventObject())}catch(o){var n=i["listen"+t.type];if(n)for(var r=0;r<n.length;++r)n[r].call(i,e)}}),0),this},listen:function(t,e){var n=this._el;return n.addEventListener?n.addEventListener(t,e):(n.attachEvent("on"+t,e),(n["listen"+t]=n["listen"+t]||[]).push(e)),this},dontlisten:function(t,e){var n=this._el;if(n.removeEventListener)n.removeEventListener(t,e);else try{n.detachEvent("on"+t,e)}catch(o){var i=n["listen"+t];if(i)for(var r=0;r<i.length;++r)i[r]===e&&(i[r]=function(){})}return this}},bililiteRange.fn=i.prototype,bililiteRange.extend=function(t){for(fn in t)i.prototype[fn]=t[fn]},bililiteRange.bounds={all:function(){return[0,this.length()]},start:function(){return[0,0]},end:function(){return[this.length(),this.length()]},selection:function(){return this._el==document.activeElement?(this.bounds("all"),this._nativeSelection()):this._el.bililiteRangeSelection}},bililiteRange.sendkeys={"{enter}":function(t){var e="\n".charCodeAt(0);t.dispatch({type:"keypress",keyCode:e,which:e,charCode:e}),t.insertEOL()},"{tab}":function(t,e,n){n(t,"\t")},"{newline}":function(t,e,n){n(t,"\n")},"{backspace}":function(t){var e=t.bounds();e[0]==e[1]&&t.bounds([e[0]-1,e[0]]),t.text("","end")},"{del}":function(t){var e=t.bounds();e[0]==e[1]&&t.bounds([e[0],e[0]+1]),t.text("","end")},"{rightarrow}":function(t){var e=t.bounds();e[0]==e[1]&&++e[1],t.bounds([e[1],e[1]])},"{leftarrow}":function(t){var e=t.bounds();e[0]==e[1]&&--e[0],t.bounds([e[0],e[0]])},"{selectall}":function(t){t.bounds("all")},"{selection}":function(t){for(var e=t.data().sendkeysOriginalText,n=0;n<e.length;++n){var i=e.charCodeAt(n);t.dispatch({type:"keypress",keyCode:i,which:i,charCode:i})}t.text(e,"end")},"{mark}":function(t){t.data().sendkeysBounds=t.bounds()}},bililiteRange.sendkeys["{Enter}"]=bililiteRange.sendkeys["{enter}"],bililiteRange.sendkeys["{Tab}"]=bililiteRange.sendkeys["{tab}"],bililiteRange.sendkeys["{Backspace}"]=bililiteRange.sendkeys["{backspace}"],bililiteRange.sendkeys["{Delete}"]=bililiteRange.sendkeys["{del}"],bililiteRange.sendkeys["{ArrowRight}"]=bililiteRange.sendkeys["{rightarrow}"],bililiteRange.sendkeys["{ArrowLeft}"]=bililiteRange.sendkeys["{leftarrow}"],r.prototype=new i,r.prototype._nativeRange=function(t){var e;return"INPUT"==this._el.tagName?e=this._el.createTextRange():(e=this._doc.body.createTextRange()).moveToElementText(this._el),t&&(t[1]<0&&(t[1]=0),t[0]>this.length()&&(t[0]=this.length()),t[1]<e.text.replace(/\r/g,"").length&&(e.moveEnd("character",-1),e.moveEnd("character",t[1]-e.text.replace(/\r/g,"").length)),t[0]>0&&e.moveStart("character",t[0])),e},r.prototype._nativeSelect=function(t){t.select()},r.prototype._nativeSelection=function(){var t=this._nativeRange(),e=this.length(),n=this._doc.selection.createRange();try{return[o(n,t),a(n,t)]}catch(t){return n.parentElement().sourceIndex<this._el.sourceIndex?[0,0]:[e,e]}},r.prototype._nativeGetText=function(t){return t.text},r.prototype._nativeSetText=function(t,e){e.text=t},r.prototype._nativeEOL=function(){"value"in this._el?this.text("\n"):this._nativeRange(this.bounds()).pasteHTML("\n<br/>")},r.prototype._nativeTop=function(t){var e=this._nativeRange([0,0]);return t.boundingTop-e.boundingTop},r.prototype._nativeWrap=function(t,e){var n=document.createElement("div");n.appendChild(t);var i=n.innerHTML.replace("><",">"+e.htmlText+"<");e.pasteHTML(i)},s.prototype=new i,s.prototype._nativeRange=function(t){return t||[0,this.length()]},s.prototype._nativeSelect=function(t){this._el.setSelectionRange(t[0],t[1])},s.prototype._nativeSelection=function(){return[this._el.selectionStart,this._el.selectionEnd]},s.prototype._nativeGetText=function(t){return this._el.value.substring(t[0],t[1])},s.prototype._nativeSetText=function(t,e){var n=this._el.value;this._el.value=n.substring(0,e[0])+t+n.substring(e[1])},s.prototype._nativeEOL=function(){this.text("\n")},s.prototype._nativeTop=function(t){var e=this._el.cloneNode(!0);e.style.visibility="hidden",e.style.position="absolute",this._el.parentNode.insertBefore(e,this._el),e.style.height="1px",e.value=this._el.value.slice(0,t[0]);var n=e.scrollHeight;return e.value="X",n-=e.scrollHeight,e.parentNode.removeChild(e),n},s.prototype._nativeWrap=function(){throw new Error("Cannot wrap in a text element")},l.prototype=new i,l.prototype._nativeRange=function(t){var e=this._doc.createRange();return e.selectNodeContents(this._el),t&&(c(e,t[0],!0,this._el),e.collapse(!0),c(e,t[1]-t[0],!1,this._el)),e},l.prototype._nativeSelect=function(t){this._win.getSelection().removeAllRanges(),this._win.getSelection().addRange(t)},l.prototype._nativeSelection=function(){var t=this._nativeRange();if(0==this._win.getSelection().rangeCount)return[this.length(),this.length()];var e=this._win.getSelection().getRangeAt(0);return[h(e,t),d(e,t)]},l.prototype._nativeGetText=function(t){return String.prototype.slice.apply(this._el.textContent,this.bounds())},l.prototype._nativeSetText=function(t,e){e.deleteContents(),e.insertNode(this._doc.createTextNode(t)),n&&this._el.normalize()},l.prototype._nativeEOL=function(){var t=this._nativeRange(this.bounds());t.deleteContents();var e=this._doc.createElement("br");e.setAttribute("_moz_dirty",""),t.insertNode(e),t.insertNode(this._doc.createTextNode("\n")),t.collapse(!1)},l.prototype._nativeTop=function(t){if(0==this.length)return 0;if(""==t.toString()){var e=this._doc.createTextNode("X");t.insertNode(e)}var n=this._nativeRange([0,1]),i=t.getBoundingClientRect().top-n.getBoundingClientRect().top;return e&&e.parentNode.removeChild(e),i},l.prototype._nativeWrap=function(t,e){e.surroundContents(t)},f.prototype=new i,f.prototype._nativeRange=function(t){return t||[0,this.length()]},f.prototype._nativeSelect=function(t){},f.prototype._nativeSelection=function(){return[0,0]},f.prototype._nativeGetText=function(t){return this._el[this._textProp].substring(t[0],t[1])},f.prototype._nativeSetText=function(t,e){var n=this._el[this._textProp];this._el[this._textProp]=n.substring(0,e[0])+t+n.substring(e[1])},f.prototype._nativeEOL=function(){this.text("\n")},f.prototype._nativeTop=function(){return 0},f.prototype._nativeWrap=function(){throw new Error("Wrapping not implemented")};var m=[];bililiteRange.fn.data=function(){var t=this.element().bililiteRangeData;return null==t&&(t=this.element().bililiteRangeData=m.length,m[t]=new p(this)),m[t]};try{Object.defineProperty({},"foo",{});var p=function(t){Object.defineProperty(this,"values",{value:{}}),Object.defineProperty(this,"sourceRange",{value:t}),Object.defineProperty(this,"toJSON",{value:function(){var t={};for(var e in p.prototype)e in this.values&&(t[e]=this.values[e]);return t}}),Object.defineProperty(this,"all",{get:function(){var t={};for(var e in p.prototype)t[e]=this[e];return t}})};p.prototype={},Object.defineProperty(p.prototype,"values",{value:{}}),Object.defineProperty(p.prototype,"monitored",{value:{}}),bililiteRange.data=function(t,e){e=e||{};var n=Object.getOwnPropertyDescriptor(p.prototype,t)||{};"enumerable"in e&&(n.enumerable=!!e.enumerable),"enumerable"in n||(n.enumerable=!0),"value"in e&&(p.prototype.values[t]=e.value),"monitored"in e&&(p.prototype.monitored[t]=e.monitored),n.configurable=!0,n.get=function(){return t in this.values?this.values[t]:p.prototype.values[t]},n.set=function(e){this.values[t]=e,p.prototype.monitored[t]&&this.sourceRange.dispatch({type:"bililiteRangeData",bubbles:!0,detail:{name:t,value:e}})},Object.defineProperty(p.prototype,t,n)}}catch(t){(p=function(t){this.sourceRange=t}).prototype={},bililiteRange.data=function(t,e){"value"in e&&(p.prototype[t]=e.value)}}}(),Array.prototype.forEach||(Array.prototype.forEach=function(t){"use strict";if(null==this)throw new TypeError;var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError;for(var i=arguments.length>=2?arguments[1]:void 0,r=0;r<n;r++)r in e&&t.call(i,e[r],r,e)})},18080:()=>{!function(t){t.fn.my_Ctl_A=function(){var t=jQuery.Event("keydown",{charCode:0,keyCode:65,which:65});t.ctrlKey=!0,this.trigger(t)},t.fn.my_Ctl_A2=function(){var t=jQuery.Event("keydown",{charCode:0,ctrlKey:!0,keyCode:65,which:65,char:""});this.trigger(t);var e=jQuery.Event("keyup",{charCode:0,ctrlKey:!0,keyCode:65,which:65,char:""});this.trigger(e)},t.fn.sendkeys=function(t){return t=t.replace(/([^{])\n/g,"$1{enter}"),this.each((function(){bililiteRange(this).bounds("selection").sendkeys(t).select(),this.focus()}))},t.event.special.keydown=t.event.special.keydown||{},t.event.special.keydown._default=function(e){if(e.isTrusted)return!1;if(e.ctrlKey||e.altKey||e.metaKey)return!1;if(null==e.key)return!1;var n=e.target;if(n.isContentEditable||"INPUT"==n.nodeName||"TEXTAREA"==n.nodeName){var i=e.key;return i.length>1&&"{"!=i.charAt(0)&&(i="{"+i+"}"),t(n).sendkeys(i),!0}return!1}}(jQuery)},27810:()=>{},90866:()=>{function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}if(window.undefined=window.undefined,Ext={version:"3.4.1.1",versionDetail:{major:3,minor:4,patch:1.1}},Ext.apply=function(e,n,i){if(i&&Ext.apply(e,i),e&&n&&"object"==t(n))for(var r in n)e[r]=n[r];return e},function(){var e,n,i,r=0,o=Object.prototype.toString,a=navigator.userAgent.toLowerCase(),s=function(t){return t.test(a)},l=document,u=l.documentMode,c="CSS1Compat"==l.compatMode,h=s(/opera/),d=s(/\bchrome\b/),f=s(/webkit/),m=!d&&s(/safari/),p=m&&s(/applewebkit\/4/),C=m&&s(/version\/3/),v=m&&s(/version\/4/),g=!h&&s(/msie/),y=g&&(s(/msie 7/)&&8!=u&&9!=u&&10!=u||7==u),E=g&&(s(/msie 8/)&&7!=u&&9!=u&&10!=u||8==u),S=g&&(s(/msie 9/)&&7!=u&&8!=u&&10!=u||9==u),b=g&&(s(/msie 10/)&&7!=u&&8!=u&&9!=u||10==u),x=g&&s(/msie 6/),w=g&&(x||y||E||S),_=!f&&s(/gecko/),I=_&&s(/rv:1\.8/),A=_&&s(/rv:1\.9/),U=w&&!c,F=s(/windows|win32/),M=s(/macintosh|mac os x/),D=s(/adobeair/),T=s(/linux/),R=/^https/i.test(window.location.protocol),P=[],B=[],L=Ext.emptyFn,O=Ext.apply({},{constructor:L,toString:L,valueOf:L}),k=function t(){var e=t.caller.caller;return e.$owner.prototype[e.$name].apply(this,arguments)};function N(){}if(O.constructor!==L&&B.push("constructor"),O.toString!==L&&B.push("toString"),O.valueOf!==L&&B.push("valueOf"),B.length||(B=null),Ext.apply(N,{$isClass:!0,callParent:function(t){var e;return(e=this.callParent.caller)&&(e.$previous||(e=e.$owner?e:e.caller)&&e.$owner.superclass.self[e.$name]).apply(this,t||P)}}),N.prototype={constructor:function(){},callParent:function(t){var e;return((e=this.callParent.caller)&&(e.$previous||(e=e.$owner?e:e.caller)&&e.$owner.superclass[e.$name])).apply(this,t||P)}},x)try{l.execCommand("BackgroundImageCache",!1,!0)}catch(t){}Ext.apply(Ext,{SSL_SECURE_URL:R&&g?'javascript:""':"about:blank",isStrict:c,isSecure:R,isReady:!1,enableForcedBoxModel:!1,enableGarbageCollector:!0,enableListenerCollection:!1,enableNestedListenerRemoval:!1,USE_NATIVE_JSON:!1,applyIf:function(t,e){if(t)for(var n in e)Ext.isDefined(t[n])||(t[n]=e[n]);return t},id:function(t,e){return(t=Ext.getDom(t,!0)||{}).id||(t.id=(e||"ext-gen")+ ++r),t.id},extend:(n=function(t){for(var e in t)this[e]=t[e]},i=Object.prototype.constructor,function(e,r,o){"object"==t(r)&&(o=r,r=e,e=o.constructor!=i?o.constructor:function(){r.apply(this,arguments)});var a,s=function(){},l=r.prototype;return s.prototype=l,(a=e.prototype=new s).constructor=e,e.superclass=l,l.constructor==i&&(l.constructor=r),e.override=function(t){Ext.override(e,t)},a.superclass=a.supr=function(){return l},a.override=n,Ext.override(e,o),e.extend=function(t){return Ext.extend(e,t)},e}),global:function(){return this}(),Base:N,namespaceCache:{},createNamespace:function(t,e){var n,i,r,o,a,s=Ext.namespaceCache,l=e?t.substring(0,t.lastIndexOf(".")):t,u=s[l];if(!u&&(u=Ext.global,l))for(a=[],n=0,i=(o=l.split(".")).length;n<i;++n)u=u[r=o[n]]||(u[r]={}),a.push(r),s[a.join(".")]=u;return u},getClassByName:function(t){var e,n=t.split("."),i=Ext.global,r=n.length;for(e=0;i&&e<r;++e)i=i[n[e]];return i||null},addMembers:function(t,e,n,i){var r,o,a;for(o in n)n.hasOwnProperty(o)&&("function"==typeof(a=n[o])&&(a.$owner=t,a.$name=o),e[o]=a);if(i&&B)for(r=B.length;r-- >0;)o=B[r],n.hasOwnProperty(o)&&("function"==typeof(a=n[o])&&(a.$owner=t,a.$name=o),e[o]=a)},define:function(t,e,n){var i,r,o,a,s=e.override;return s?(delete e.override,i=Ext.getClassByName(s),Ext.override(i,e)):(t&&(a=Ext.createNamespace(t,!0),o=t.substring(t.lastIndexOf(".")+1)),i=function(){this.constructor.apply(this,arguments)},t&&(i.displayName=t),i.$isClass=!0,i.callParent=Ext.Base.callParent,"function"==typeof e&&(e=e(i)),(r=e.extend)?(delete e.extend,"string"==typeof r&&(r=Ext.getClassByName(r))):r=N,Ext.extend(i,r,e),i.prototype.constructor===i&&delete i.prototype.constructor,i.prototype.$isClass||Ext.applyIf(i.prototype,N.prototype),i.prototype.self=i,e.xtype&&Ext.reg(e.xtype,i),i=e.singleton?new i:i,t&&(a[o]=i)),n&&n.call(i),i},override:function(t,e){var n,i;if(e)if(t.$isClass)(i=e.statics)&&delete e.statics,Ext.addMembers(t,t.prototype,e,!0),i&&Ext.addMembers(t,t,i);else if("function"==typeof t)n=t.prototype,Ext.apply(n,e),Ext.isIE&&e.hasOwnProperty("toString")&&(n.toString=e.toString);else{var r,o,a=t.self;if(a&&a.$isClass)for(r in e)e.hasOwnProperty(r)&&("function"==typeof(o=e[r])&&(a.$className&&(o.displayName=a.$className+"#"+r),o.$name=r,o.$owner=a,o.$previous=t.hasOwnProperty(r)?t[r]:k),t[r]=o);else Ext.apply(t,e),t.constructor.$isClass||(t.constructor.prototype.callParent=N.prototype.callParent,t.constructor.callParent=N.callParent)}},namespace:function(){for(var t,e,n,i,r,o=arguments.length,a=0;a<o;++a)for(n=arguments[a].split("."),void 0===(r=window[n[0]])&&(r=window[n[0]]={}),t=(i=n.slice(1)).length,e=0;e<t;++e)r=r[i[e]]=r[i[e]]||{};return r},urlEncode:function(t,e){var n,i=[],r=encodeURIComponent;return Ext.iterate(t,(function(t,e){n=Ext.isEmpty(e),Ext.each(n?t:e,(function(e){i.push("&",r(t),"=",Ext.isEmpty(e)||e==t&&n?"":Ext.isDate(e)?Ext.encode(e).replace(/"/g,""):r(e))}))})),e||(i.shift(),e=""),e+i.join("")},urlDecode:function(t,e){if(Ext.isEmpty(t))return{};var n,i,r={},o=t.split("&"),a=decodeURIComponent;return Ext.each(o,(function(t){t=t.split("="),n=a(t[0]),i=a(t[1]),r[n]=e||!r[n]?i:[].concat(r[n]).concat(i)})),r},urlAppend:function(t,e){return Ext.isEmpty(e)?t:t+(-1===t.indexOf("?")?"?":"&")+e},toArray:g?function(t,e,n,i){i=[];for(var r=0,o=t.length;r<o;r++)i.push(t[r]);return i.slice(e||0,n||i.length)}:function(t,e,n){return Array.prototype.slice.call(t,e||0,n||t.length)},isIterable:function(t){return!(!Ext.isArray(t)&&!t.callee)||!!/NodeList|HTMLCollection/.test(o.call(t))||(void 0!==t.nextNode||t.item)&&Ext.isNumber(t.length)},each:function(t,e,n){if(!Ext.isEmpty(t,!0)){Ext.isIterable(t)&&!Ext.isPrimitive(t)||(t=[t]);for(var i=0,r=t.length;i<r;i++)if(!1===e.call(n||t[i],t[i],i,t))return i}},iterate:function(e,n,i){if(!Ext.isEmpty(e))if(Ext.isIterable(e))Ext.each(e,n,i);else if("object"==t(e))for(var r in e)if(e.hasOwnProperty(r)&&!1===n.call(i||e,r,e[r],e))return},getDom:function(t,e){if(!t||!l)return null;if(t.dom)return t.dom;if("string"==typeof t){var n=l.getElementById(t);return n&&g&&e?t==n.getAttribute("id")?n:null:n}return t},getBody:function(){return Ext.get(l.body||l.documentElement)},getHead:function(){var t;return function(){return null==t&&(t=Ext.get(l.getElementsByTagName("head")[0])),t}}(),removeNode:g&&!E?function(t){t&&"BODY"!=t.tagName&&(Ext.enableNestedListenerRemoval?Ext.EventManager.purgeElement(t,!0):Ext.EventManager.removeAll(t),(e=e||l.createElement("div")).appendChild(t),e.innerHTML="",delete Ext.elCache[t.id])}:function(t){t&&t.parentNode&&"BODY"!=t.tagName&&(Ext.enableNestedListenerRemoval?Ext.EventManager.purgeElement(t,!0):Ext.EventManager.removeAll(t),t.parentNode.removeChild(t),delete Ext.elCache[t.id])},isEmpty:function(t,e){return null==t||Ext.isArray(t)&&!t.length||!e&&""===t},isArray:function(t){return"[object Array]"===o.apply(t)},isDate:function(t){return"[object Date]"===o.apply(t)},isObject:function(t){return!!t&&"[object Object]"===Object.prototype.toString.call(t)},isPrimitive:function(t){return Ext.isString(t)||Ext.isNumber(t)||Ext.isBoolean(t)},isFunction:function(t){return"[object Function]"===o.apply(t)},isNumber:function(t){return"number"==typeof t&&isFinite(t)},isString:function(t){return"string"==typeof t},isBoolean:function(t){return"boolean"==typeof t},isElement:function(t){return!!t&&!!t.tagName},isDefined:function(t){return void 0!==t},isOpera:h,isWebKit:f,isChrome:d,isSafari:m,isSafari3:C,isSafari4:v,isSafari2:p,isIE:g,isIE6:x,isIE7:y,isIE8:E,isIE9:S,isIE10:b,isIE9m:w,isIE10p:g&&!(x||y||E||S),isIEQuirks:g&&!c&&(x||y||E||S),isGecko:_,isGecko2:I,isGecko3:A,isBorderBox:U,isLinux:T,isWindows:F,isMac:M,isAir:D}),Ext.ns=Ext.namespace}(),Ext.ns("Ext.util","Ext.lib","Ext.data","Ext.supports"),Ext.elCache={},Ext.apply(Function.prototype,{createInterceptor:function(t,e){var n=this;return Ext.isFunction(t)?function(){var i=this,r=arguments;return t.target=i,t.method=n,!1!==t.apply(e||i||window,r)?n.apply(i||window,r):null}:this},createCallback:function(){var t=arguments,e=this;return function(){return e.apply(window,t)}},createDelegate:function(t,e,n){var i=this;return function(){var r=e||arguments;if(!0===n)r=(r=Array.prototype.slice.call(arguments,0)).concat(e);else if(Ext.isNumber(n)){r=Array.prototype.slice.call(arguments,0);var o=[n,0].concat(e);Array.prototype.splice.apply(r,o)}return i.apply(t||window,r)}},defer:function(t,e,n,i){var r=this.createDelegate(e,n,i);return t>0?setTimeout(r,t):(r(),0)}}),Ext.applyIf(String,{format:function(t){var e=Ext.toArray(arguments,1);return t.replace(/\{(\d+)\}/g,(function(t,n){return e[n]}))}}),Ext.applyIf(Array.prototype,{indexOf:function(t,e){var n=this.length;for(e=e||0,e+=e<0?n:0;e<n;++e)if(this[e]===t)return e;return-1},remove:function(t){var e=this.indexOf(t);return-1!=e&&this.splice(e,1),this}}),Ext.util.TaskRunner=function(t){t=t||10;var e=[],n=[],i=0,r=!1,o=function(){r=!1,clearInterval(i),i=0},a=function(t){n.push(t),t.onStop&&t.onStop.apply(t.scope||t)},s=function(){var t=n.length,i=(new Date).getTime();if(t>0){for(var r=0;r<t;r++)e.remove(n[r]);if(n=[],e.length<1)return void o()}r=0;for(var s,l,u,c=e.length;r<c;++r){if(l=i-(s=e[r]).taskRunTime,s.interval<=l&&(u=s.run.apply(s.scope||s,s.args||[++s.taskRunCount]),s.taskRunTime=i,!1===u||s.taskRunCount===s.repeat))return void a(s);s.duration&&s.duration<=i-s.taskStartTime&&a(s)}};this.start=function(n){return e.push(n),n.taskStartTime=(new Date).getTime(),n.taskRunTime=0,n.taskRunCount=0,r||(r=!0,i=setInterval(s,t)),n},this.stop=function(t){return a(t),t},this.stopAll=function(){o();for(var t=0,i=e.length;t<i;t++)e[t].onStop&&e[t].onStop();e=[],n=[]}},Ext.TaskMgr=new Ext.util.TaskRunner,"undefined"==typeof jQuery)throw"Unable to load Ext, jQuery not found.";!function(){var e,n,i,r;function o(t){return e||(e=new Ext.Element.Flyweight),e.dom=t,e}Ext.lib.Dom={getViewWidth:function(t){return t?Math.max(jQuery(document).width(),jQuery(window).width()):jQuery(window).width()},getViewHeight:function(t){return t?Math.max(jQuery(document).height(),jQuery(window).height()):jQuery(window).height()},isAncestor:function(t,e){var n=!1;if(t=Ext.getDom(t),e=Ext.getDom(e),t&&e){if(t.contains)return t.contains(e);if(t.compareDocumentPosition)return!!(16&t.compareDocumentPosition(e));for(;e=e.parentNode;)n=e==t||n}return n},getRegion:function(t){return Ext.lib.Region.getRegion(t)},getY:function(t){return this.getXY(t)[1]},getX:function(t){return this.getXY(t)[0]},getXY:function(t){var e,n,i,r,a=document.body||document.documentElement;if((t=Ext.getDom(t))==a)return[0,0];if(t.getBoundingClientRect)return i=t.getBoundingClientRect(),r=o(document).getScroll(),[Math.round(i.left+r.left),Math.round(i.top+r.top)];var s=0,l=0;e=t;for(var u="absolute"==o(t).getStyle("position");e;){if(s+=e.offsetLeft,l+=e.offsetTop,u||"absolute"!=o(e).getStyle("position")||(u=!0),Ext.isGecko){n=o(e);var c=parseInt(n.getStyle("borderTopWidth"),10)||0,h=parseInt(n.getStyle("borderLeftWidth"),10)||0;s+=h,l+=c,e!=t&&"visible"!=n.getStyle("overflow")&&(s+=h,l+=c)}e=e.offsetParent}if(Ext.isSafari&&u&&(s-=a.offsetLeft,l-=a.offsetTop),Ext.isGecko&&!u){var d=o(a);s+=parseInt(d.getStyle("borderLeftWidth"),10)||0,l+=parseInt(d.getStyle("borderTopWidth"),10)||0}for(e=t.parentNode;e&&e!=a;)(!Ext.isOpera||"TR"!=e.tagName&&"inline"!=o(e).getStyle("display"))&&(s-=e.scrollLeft,l-=e.scrollTop),e=e.parentNode;return[s,l]},setXY:function(t,e){(t=Ext.fly(t,"_setXY")).position();var n=t.translatePoints(e);!1!==e[0]&&(t.dom.style.left=n.left+"px"),!1!==e[1]&&(t.dom.style.top=n.top+"px")},setX:function(t,e){this.setXY(t,[e,!1])},setY:function(t,e){this.setXY(t,[!1,e])}},Ext.lib.Event={getPageX:function(t){return(t=t.browserEvent||t).pageX},getPageY:function(t){return(t=t.browserEvent||t).pageY},getXY:function(t){return[(t=t.browserEvent||t).pageX,t.pageY]},getTarget:function(t){return t.target},on:function(t,e,n,i,r){jQuery(t).bind(e,n)},un:function(t,e,n){jQuery(t).unbind(e,n)},purgeElement:function(t){jQuery(t).unbind()},preventDefault:function(t){(t=t.browserEvent||t).preventDefault?t.preventDefault():t.returnValue=!1},stopPropagation:function(t){(t=t.browserEvent||t).stopPropagation?t.stopPropagation():t.cancelBubble=!0},stopEvent:function(t){this.preventDefault(t),this.stopPropagation(t)},onAvailable:function(t,e,n){var i=new Date,r=setInterval((function(){i.getElapsed()>1e4&&clearInterval(r);var o=document.getElementById(t);o&&(clearInterval(r),e.call(n||window,o))}),50)},resolveTextNode:Ext.isGecko?function(t){if(t){var e=HTMLElement.prototype.toString.call(t);if("[xpconnect wrapped native prototype]"!=e&&"[object XULElement]"!=e)return 3==t.nodeType?t.parentNode:t}}:function(t){return t&&3==t.nodeType?t.parentNode:t},getRelatedTarget:function(t){var e=(t=t.browserEvent||t).relatedTarget;return e||("mouseout"==t.type?e=t.toElement:"mouseover"==t.type&&(e=t.fromElement)),this.resolveTextNode(e)}},Ext.lib.Ajax=(n=function(t){return function(e,n){"error"!=n&&"timeout"!=n||!t.failure?t.success&&t.success.call(t.scope||window,i(t,e)):t.failure.call(t.scope||window,i(t,e))}},i=function(t,e){var n,i,r,o={};try{n=e.getAllResponseHeaders(),Ext.each(n.replace(/\r\n/g,"\n").split("\n"),(function(t){(i=t.indexOf(":"))>=0&&(r=t.substr(0,i).toLowerCase()," "==t.charAt(i+1)&&++i,o[r]=t.substr(i+1))}))}catch(t){}return{responseText:e.responseText,responseXML:e.responseXML,argument:t.argument,status:e.status,statusText:e.statusText,getResponseHeader:function(t){return o[t.toLowerCase()]},getAllResponseHeaders:function(){return n}}},{request:function(e,i,r,o,a){var s={type:e,url:i,data:o,timeout:r.timeout,complete:n(r)};if(a){var l=a.headers;a.xmlData?(s.data=a.xmlData,s.processData=!1,s.type=e||(a.method?a.method:"POST"),l&&l["Content-Type"]||(s.contentType="text/xml")):a.jsonData&&(s.data="object"==t(a.jsonData)?Ext.encode(a.jsonData):a.jsonData,s.processData=!1,s.type=e||(a.method?a.method:"POST"),l&&l["Content-Type"]||(s.contentType="application/json")),l&&(s.beforeSend=function(t){for(var e in l)l.hasOwnProperty(e)&&t.setRequestHeader(e,l[e])})}jQuery.ajax(s)},formRequest:function(t,e,i,r,o,a){jQuery.ajax({type:Ext.getDom(t).method||"POST",url:e,data:jQuery(t).serialize()+(r?"&"+r:""),timeout:i.timeout,complete:n(i)})},isCallInProgress:function(t){return!1},abort:function(t){return!1},serializeForm:function(t){return jQuery(t.dom||t).serialize()}}),Ext.lib.Anim=(r=function(t,e){var n=!0;return{stop:function(t){},isAnimated:function(){return n},proxyCallback:function(){n=!1,Ext.callback(t,e)}}},{scroll:function(t,e,n,i,o,a){var s=r(o,a);return t=Ext.getDom(t),"number"==typeof e.scroll.to[0]&&(t.scrollLeft=e.scroll.to[0]),"number"==typeof e.scroll.to[1]&&(t.scrollTop=e.scroll.to[1]),s.proxyCallback(),s},motion:function(t,e,n,i,r,o){return this.run(t,e,n,i,r,o)},color:function(t,e,n,i,o,a){var s=r(o,a);return s.proxyCallback(),s},run:function(t,e,n,i,o,a,s){var l=r(o,a),u=Ext.fly(t,"_animrun"),c={};for(var h in e)switch(h){case"points":var d,f;if(u.position(),d=e.points.by){var m=u.getXY();f=u.translatePoints([m[0]+d[0],m[1]+d[1]])}else f=u.translatePoints(e.points.to);c.left=f.left,c.top=f.top,parseInt(u.getStyle("left"),10)||u.setLeft(0),parseInt(u.getStyle("top"),10)||u.setTop(0),e.points.from&&u.setXY(e.points.from);break;case"width":c.width=e.width.to,e.width.from&&u.setWidth(e.width.from);break;case"height":c.height=e.height.to,e.height.from&&u.setHeight(e.height.from);break;case"opacity":c.opacity=e.opacity.to,e.opacity.from&&u.setOpacity(e.opacity.from);break;case"left":c.left=e.left.to,e.left.from&&u.setLeft(e.left.from);break;case"top":c.top=e.top.to,e.top.from&&u.setTop(e.top.from);break;case"callback":case"scope":case"xy":break;default:c[h]=e[h].to,e[h].from&&u.setStyle(h,e[h].from)}return jQuery(t).animate(c,1e3*n,void 0,l.proxyCallback),l}}),Ext.lib.Region=function(t,e,n,i){this.top=t,this[1]=t,this.right=e,this.bottom=n,this.left=i,this[0]=i},Ext.lib.Region.prototype={contains:function(t){return t.left>=this.left&&t.right<=this.right&&t.top>=this.top&&t.bottom<=this.bottom},getArea:function(){return(this.bottom-this.top)*(this.right-this.left)},intersect:function(t){var e=Math.max(this.top,t.top),n=Math.min(this.right,t.right),i=Math.min(this.bottom,t.bottom),r=Math.max(this.left,t.left);return i>=e&&n>=r?new Ext.lib.Region(e,n,i,r):null},union:function(t){var e=Math.min(this.top,t.top),n=Math.max(this.right,t.right),i=Math.max(this.bottom,t.bottom),r=Math.min(this.left,t.left);return new Ext.lib.Region(e,n,i,r)},constrainTo:function(t){return this.top=this.top.constrain(t.top,t.bottom),this.bottom=this.bottom.constrain(t.top,t.bottom),this.left=this.left.constrain(t.left,t.right),this.right=this.right.constrain(t.left,t.right),this},adjust:function(t,e,n,i){return this.top+=t,this.left+=e,this.right+=i,this.bottom+=n,this}},Ext.lib.Region.getRegion=function(t){var e=Ext.lib.Dom.getXY(t),n=e[1],i=e[0]+t.offsetWidth,r=e[1]+t.offsetHeight,o=e[0];return new Ext.lib.Region(n,i,r,o)},Ext.lib.Point=function(t,e){Ext.isArray(t)&&(e=t[1],t=t[0]),this.x=this.right=this.left=this[0]=t,this.y=this.top=this.bottom=this[1]=e},Ext.lib.Point.prototype=new Ext.lib.Region,Ext.isIE&&window.attachEvent("onunload",(function t(){var e=Function.prototype;delete e.createSequence,delete e.defer,delete e.createDelegate,delete e.createCallback,delete e.createInterceptor,window.detachEvent("onunload",t)}))}()},82753:()=>{function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var PARENTNODE,NEXTSIBLING,PREVIOUSSIBLING,DQ,GET,D,LEFT,RIGHT,TOP,BOTTOM,POSITION,STATIC,RELATIVE,AUTO,ZINDEX,El,VISIBILITY,DISPLAY,HIDDEN,OFFSETS,ASCLASS,NONE,NOSIZE,ORIGINALDISPLAY,VISMODE,ISVISIBLE,data,getDisplay,getVisMode,initExtCss,supports,supportTests,E,clickRe,safariKeys,btnMap,re;!function(){var t=Ext.util,e=Ext.each,n=!0,i=!1;t.Observable=function(){var t=this,e=t.events;t.listeners&&(t.on(t.listeners),delete t.listeners),t.events=e||{}},t.Observable.prototype={filterOptRe:/^(?:scope|delay|buffer|single)$/,fireEvent:function(){var t,e,r,o=Array.prototype.slice.call(arguments,0),a=o[0].toLowerCase(),s=this,l=n,u=s.events[a];if(s.eventsSuspended===n)(e=s.eventQueue)&&e.push(o);else if("object"==_typeof(u))if(u.bubble){if(u.fire.apply(u,o.slice(1))===i)return i;if((r=s.getBubbleTarget&&s.getBubbleTarget())&&r.enableBubble)return(t=r.events[a])&&"object"==_typeof(t)&&t.bubble||r.enableBubble(a),r.fireEvent.apply(r,o)}else o.shift(),l=u.fire.apply(u,o);return l},addListener:function(e,i,r,o){var a,s,l,u=this;if("object"==_typeof(e))for(a in o=e)s=o[a],u.filterOptRe.test(a)||u.addListener(a,s.fn||s,s.scope||o.scope,s.fn?s:o);else e=e.toLowerCase(),"boolean"==typeof(l=u.events[e]||n)&&(u.events[e]=l=new t.Event(u,e)),l.addListener(i,r,"object"==_typeof(o)?o:{})},removeListener:function(t,e,n){var i=this.events[t.toLowerCase()];"object"==_typeof(i)&&i.removeListener(e,n)},purgeListeners:function(){var t,e,n=this.events;for(e in n)"object"==_typeof(t=n[e])&&t.clearListeners()},addEvents:function(t){var e=this;if(e.events=e.events||{},"string"==typeof t)for(var i=arguments,r=i.length;r--;)e.events[i[r]]=e.events[i[r]]||n;else Ext.applyIf(e.events,t)},hasListener:function(t){var e=this.events[t.toLowerCase()];return"object"==_typeof(e)&&e.listeners.length>0},suspendEvents:function(t){this.eventsSuspended=n,t&&!this.eventQueue&&(this.eventQueue=[])},resumeEvents:function(){var t=this,n=t.eventQueue||[];t.eventsSuspended=i,delete t.eventQueue,e(n,(function(e){t.fireEvent.apply(t,e)}))}};var r=t.Observable.prototype;r.on=r.addListener,r.un=r.removeListener,t.Observable.releaseCapture=function(t){t.fireEvent=r.fireEvent},t.Event=function(t,e){this.name=e,this.obj=t,this.listeners=[]},t.Event.prototype={addListener:function(t,e,n){var i,r=this;e=e||r.obj,r.isListening(t,e)||(i=r.createListener(t,e,n),r.firing&&(r.listeners=r.listeners.slice(0)),r.listeners.push(i))},createListener:function(e,n,i){i=i||{};var r={fn:e,scope:n=n||this.obj,options:i},o=e;return i.target&&(o=function(t,e,n){return function(){e.target==arguments[0]&&t.apply(n,Array.prototype.slice.call(arguments,0))}}(o,i,n)),i.delay&&(o=function(e,n,i,r){return function(){var o=new t.DelayedTask,a=Array.prototype.slice.call(arguments,0);i.tasks||(i.tasks=[]),i.tasks.push(o),o.delay(n.delay||10,(function(){i.tasks.remove(o),e.apply(r,a)}),r)}}(o,i,r,n)),i.single&&(o=function(t,e,n,i){return function(){return e.removeListener(n,i),t.apply(i,arguments)}}(o,this,e,n)),i.buffer&&(o=function(e,n,i,r){return i.task=new t.DelayedTask,function(){i.task.delay(n.buffer,e,r,Array.prototype.slice.call(arguments,0))}}(o,i,r,n)),r.fireFn=o,r},findListener:function(t,e){var n,i=this.listeners,r=i.length;for(e=e||this.obj;r--;)if((n=i[r])&&n.fn==t&&n.scope==e)return r;return-1},isListening:function(t,e){return-1!=this.findListener(t,e)},removeListener:function(t,e){var r,o,a,s=this,l=i;if(-1!=(r=s.findListener(t,e))){if(s.firing&&(s.listeners=s.listeners.slice(0)),(o=s.listeners[r]).task&&(o.task.cancel(),delete o.task),a=o.tasks&&o.tasks.length){for(;a--;)o.tasks[a].cancel();delete o.tasks}s.listeners.splice(r,1),l=n}return l},clearListeners:function(){for(var t=this.listeners,e=t.length;e--;)this.removeListener(t[e].fn,t[e].scope)},fire:function(){var t,e=this,r=e.listeners,o=r.length,a=0;if(o>0){e.firing=n;for(var s=Array.prototype.slice.call(arguments,0);a<o;a++)if((t=r[a])&&t.fireFn.apply(t.scope||e.obj||window,s)===i)return e.firing=i}return e.firing=i,n}}}(),Ext.DomHelper=function(){var t,e=null,n=/^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i,i=/^table|tbody|tr|td$/i,r=/tag|children|cn|html$/i,o=/td|tr|tbody/i,a=/([a-z0-9-]+)\s*:\s*([^;\s]+(?:\s*[^;\s]+)*);?/gi,s=/end/i,l="afterbegin",u="afterend",c="beforebegin",h="beforeend",d="<table>",f="</table>";function m(e,n,i,r,o,a){var s=t.insertHtml(r,Ext.getDom(e),p(n));return i?Ext.get(s,!0):s}function p(t){var e,i,o,a,s="";if("string"==typeof t)s=t;else if(Ext.isArray(t))for(var l=0;l<t.length;l++)t[l]&&(s+=p(t[l]));else{for(e in s+="<"+(t.tag=t.tag||"div"),t)if(i=t[e],!r.test(e))if("object"==_typeof(i)){for(o in s+=" "+e+'="',i)s+=o+":"+i[o]+";";s+='"'}else s+=" "+({cls:"class",htmlFor:"for"}[e]||e)+'="'+i+'"';n.test(t.tag)?s+="/>":(s+=">",(a=t.children||t.cn)?s+=p(a):t.html&&(s+=t.html),s+="</"+t.tag+">")}return s}function C(t,n,i,r){e.innerHTML=[n,i,r].join("");for(var o,a=-1,s=e;++a<t;)s=s.firstChild;if(o=s.nextSibling){for(var l=document.createDocumentFragment();s;)o=s.nextSibling,l.appendChild(s),s=o;s=l}return s}function v(t){var e,n,i=document.createElement("div"),r=document.createDocumentFragment(),o=0;for(i.innerHTML=t,e=(n=i.childNodes).length;o<e;o++)r.appendChild(n[o].cloneNode(!0));return r}return t={markup:function(t){return p(t)},applyStyles:function(t,e){var n;if(e)if(t=Ext.fly(t),"function"==typeof e&&(e=e.call()),"string"==typeof e)for(a.lastIndex=0;n=a.exec(e);)t.setStyle(n[1],n[2]);else"object"==_typeof(e)&&t.setStyle(e)},insertHtml:function(t,n,r){var a,m,p,g,y,E,S={};if(t=t.toLowerCase(),S.beforebegin=["BeforeBegin","previousSibling"],S.afterend=["AfterEnd","nextSibling"],!n.insertAdjacentHTML)return m=n.ownerDocument.createRange(),g="setStart"+(s.test(t)?"After":"Before"),S[t]?(m[g](n),y=m.createContextualFragment?m.createContextualFragment(r):v(r),n.parentNode.insertBefore(y,t==c?n:n.nextSibling),n[(t==c?"previous":"next")+"Sibling"]):(p=(t==l?"first":"last")+"Child",n.firstChild?(m[g](n[p]),y=m.createContextualFragment?m.createContextualFragment(r):v(r),t==l?n.insertBefore(y,n.firstChild):n.appendChild(y)):n.innerHTML=r,n[p]);if(i.test(n.tagName)&&(E=function(t,n,i,r){var a,s;if(e=e||document.createElement("div"),("td"!=t||n!=l&&n!=h)&&(o.test(t)||n!=c&&n!=u))return s=n==c?i:n==u?i.nextSibling:n==l?i.firstChild:null,n!=c&&n!=u||(i=i.parentNode),a="td"==t||"tr"==t&&(n==h||n==l)?C(4,"<table><tbody><tr>",r,"</tr></tbody></table>"):"tbody"==t&&(n==h||n==l)||"tr"==t&&(n==c||n==u)?C(3,"<table><tbody>",r,"</tbody></table>"):C(2,d,r,f),i.insertBefore(a,s),a}(n.tagName.toLowerCase(),t,n,r)))return E;if(S.afterbegin=["AfterBegin","firstChild"],S.beforeend=["BeforeEnd","lastChild"],a=S[t])return n.insertAdjacentHTML(a[0],r),n[a[1]];throw'Illegal insertion point -> "'+t+'"'},insertBefore:function(t,e,n){return m(t,e,n,c)},insertAfter:function(t,e,n){return m(t,e,n,u)},insertFirst:function(t,e,n){return m(t,e,n,l)},append:function(t,e,n){return m(t,e,n,h)},overwrite:function(t,e,n){return(t=Ext.getDom(t)).innerHTML=p(e),n?Ext.get(t.firstChild):t.firstChild},createHtml:p}}(),Ext.Template=function(t){var e,n=this,i=arguments,r=[];if(Ext.isArray(t))t=t.join("");else if(i.length>1){for(var o=0,a=i.length;o<a;o++)"object"==_typeof(e=i[o])?Ext.apply(n,e):r.push(e);t=r.join("")}n.html=t,n.compiled&&n.compile()},Ext.Template.prototype={re:/\{([\w\-]+)\}/g,applyTemplate:function(t){var e=this;return e.compiled?e.compiled(t):e.html.replace(e.re,(function(e,n){return void 0!==t[n]?t[n]:""}))},set:function(t,e){var n=this;return n.html=t,n.compiled=null,e?n.compile():n},compile:function compile(){var me=this,sep=Ext.isGecko?"+":",";function fn(t,e){return"'"+sep+"("+(e="values['"+e+"']")+" == undefined ? '' : "+e+")"+sep+"'"}return eval("this.compiled = function(values){ return "+(Ext.isGecko?"'":"['")+me.html.replace(/\\/g,"\\\\").replace(/(\r\n|\n)/g,"\\n").replace(/'/g,"\\'").replace(this.re,fn)+(Ext.isGecko?"';};":"'].join('');};")),me},insertFirst:function(t,e,n){return this.doInsert("afterBegin",t,e,n)},insertBefore:function(t,e,n){return this.doInsert("beforeBegin",t,e,n)},insertAfter:function(t,e,n){return this.doInsert("afterEnd",t,e,n)},append:function(t,e,n){return this.doInsert("beforeEnd",t,e,n)},doInsert:function(t,e,n,i){e=Ext.getDom(e);var r=Ext.DomHelper.insertHtml(t,e,this.applyTemplate(n));return i?Ext.get(r,!0):r},overwrite:function(t,e,n){return(t=Ext.getDom(t)).innerHTML=this.applyTemplate(e),n?Ext.get(t.firstChild,!0):t.firstChild}},Ext.Template.prototype.apply=Ext.Template.prototype.applyTemplate,Ext.Template.from=function(t,e){return t=Ext.getDom(t),new Ext.Template(t.value||t.innerHTML,e||"")},Ext.DomQuery=function(){var cache={},simpleCache={},valueCache={},nonSpace=/\S/,trimRe=/^\s+|\s+$/g,tplRe=/\{(\d+)\}/g,modeRe=/^(\s?[\/>+~]\s?|\s|$)/,tagTokenRe=/^(#)?([\w\-\*]+)/,nthRe=/(\d*)n\+?(\d*)/,nthRe2=/\D/,isIE=!!window.ActiveXObject,key=30803;function child(t,e){for(var n=0,i=t.firstChild;i;){if(1==i.nodeType&&++n==e)return i;i=i.nextSibling}return null}function _next(t){for(;(t=t.nextSibling)&&1!=t.nodeType;);return t}function _prev(t){for(;(t=t.previousSibling)&&1!=t.nodeType;);return t}function children(t){for(var e,n=t.firstChild,i=-1;n;)e=n.nextSibling,3!=n.nodeType||nonSpace.test(n.nodeValue)?n.nodeIndex=++i:t.removeChild(n),n=e;return this}function byClassName(t,e){if(!e)return t;for(var n,i=[],r=-1,o=0;n=t[o];o++)-1!=(" "+n.className+" ").indexOf(e)&&(i[++r]=n);return i}function attrValue(t,e){return t.tagName||void 0===t.length||(t=t[0]),t?"for"==e?t.htmlFor:"class"==e||"className"==e?t.className:t.getAttribute(e)||t[e]:null}function getNodes(t,e,n){var i,r=[],o=-1;if(!t)return r;if(n=n||"*",void 0!==t.getElementsByTagName&&(t=[t]),e){if("/"==e||">"==e){var a,s=n.toUpperCase();for(h=0;c=t[h];h++){var l;for(a=c.childNodes,f=0;l=a[f];f++)l.nodeName!=s&&l.nodeName!=n&&"*"!=n||(r[++o]=l)}}else if("+"==e)for(s=n.toUpperCase(),h=0;u=t[h];h++){for(;(u=u.nextSibling)&&1!=u.nodeType;);!u||u.nodeName!=s&&u.nodeName!=n&&"*"!=n||(r[++o]=u)}else if("~"==e){var u;for(s=n.toUpperCase(),h=0;u=t[h];h++)for(;u=u.nextSibling;)u.nodeName!=s&&u.nodeName!=n&&"*"!=n||(r[++o]=u)}}else for(var c,h=0;c=t[h];h++){i=c.getElementsByTagName(n);for(var d,f=0;d=i[f];f++)r[++o]=d}return r}function concat(t,e){if(e.slice)return t.concat(e);for(var n=0,i=e.length;n<i;n++)t[t.length]=e[n];return t}function byTag(t,e){if((t.tagName||t==document)&&(t=[t]),!e)return t;var n=[],i=-1;e=e.toLowerCase();for(var r,o=0;r=t[o];o++)1==r.nodeType&&r.tagName.toLowerCase()==e&&(n[++i]=r);return n}function byId(t,e){if((t.tagName||t==document)&&(t=[t]),!e)return t;for(var n,i=[],r=-1,o=0;n=t[o];o++)if(n&&n.id==e)return i[++r]=n,i;return i}function byAttribute(t,e,n,i,r){for(var o,a,s,l,u=[],c=-1,h="{"==r,d=Ext.DomQuery.operators[i],f=0;l=t[f];f++)1==l.nodeType&&(s||(a=Ext.DomQuery.isXml(l),s=!0),o=a?l.getAttribute(e):h?Ext.DomQuery.getStyle(l,e):"class"==e||"className"==e?l.className:"for"==e?l.htmlFor:"href"==e?l.getAttribute("href",2):l.getAttribute(e),(d&&d(o,n)||!d&&o)&&(u[++c]=l));return u}function byPseudo(t,e,n){return Ext.DomQuery.pseudos[e](t,n)}function nodupIEXml(t){var e,n=++key;t[0].setAttribute("_nodup",n),e=[t[0]];for(var i=1,r=t.length;i<r;i++){var o=t[i];!o.getAttribute("_nodup")!=n&&(o.setAttribute("_nodup",n),e[e.length]=o)}for(i=0,r=t.length;i<r;i++)t[i].removeAttribute("_nodup");return e}function nodup(t){if(!t)return[];var e,n,i,r=t.length,o=t,a=-1;if(!r||void 0!==t.nodeType||1==r)return t;if(isIE&&void 0!==t[0].selectSingleNode)return nodupIEXml(t);var s=++key;for(t[0]._nodup=s,n=1;e=t[n];n++){if(e._nodup==s){o=[];for(var l=0;l<n;l++)o[++a]=t[l];for(l=n+1;i=t[l];l++)i._nodup!=s&&(i._nodup=s,o[++a]=i);return o}e._nodup=s}return o}function quickDiffIEXml(t,e){for(var n=++key,i=[],r=0,o=t.length;r<o;r++)t[r].setAttribute("_qdiff",n);for(r=0,o=e.length;r<o;r++)e[r].getAttribute("_qdiff")!=n&&(i[i.length]=e[r]);for(r=0,o=t.length;r<o;r++)t[r].removeAttribute("_qdiff");return i}function quickDiff(t,e){var n=t.length,i=++key,r=[];if(!n)return e;if(isIE&&void 0!==t[0].selectSingleNode)return quickDiffIEXml(t,e);for(var o=0;o<n;o++)t[o]._qdiff=i;o=0;for(var a=e.length;o<a;o++)e[o]._qdiff!=i&&(r[r.length]=e[o]);return r}function quickId(t,e,n,i){return t==n?(n.ownerDocument||n).getElementById(i):byId(t=getNodes(t,e,"*"),i)}return eval("var batch = 30803;"),{getStyle:function(t,e){return Ext.fly(t).getStyle(e)},compile:function compile(path,type){type=type||"select";var fn=["var f = function(root){\n var mode; ++batch; var n = root || document;\n"],mode,lastPath,matchers=Ext.DomQuery.matchers,matchersLn=matchers.length,modeMatch,lmode=path.match(modeRe);for(lmode&&lmode[1]&&(fn[fn.length]='mode="'+lmode[1].replace(trimRe,"")+'";',path=path.replace(lmode[1],""));"/"==path.substr(0,1);)path=path.substr(1);for(;path&&lastPath!=path;){lastPath=path;var tokenMatch=path.match(tagTokenRe);for("select"==type?tokenMatch?("#"==tokenMatch[1]?fn[fn.length]='n = quickId(n, mode, root, "'+tokenMatch[2]+'");':fn[fn.length]='n = getNodes(n, mode, "'+tokenMatch[2]+'");',path=path.replace(tokenMatch[0],"")):"@"!=path.substr(0,1)&&(fn[fn.length]='n = getNodes(n, mode, "*");'):tokenMatch&&("#"==tokenMatch[1]?fn[fn.length]='n = byId(n, "'+tokenMatch[2]+'");':fn[fn.length]='n = byTag(n, "'+tokenMatch[2]+'");',path=path.replace(tokenMatch[0],""));!(modeMatch=path.match(modeRe));){for(var matched=!1,j=0;j<matchersLn;j++){var t=matchers[j],m=path.match(t.re);if(m){fn[fn.length]=t.select.replace(tplRe,(function(t,e){return m[e]})),path=path.replace(m[0],""),matched=!0;break}}if(!matched)throw'Error parsing selector, parsing failed at "'+path+'"'}modeMatch[1]&&(fn[fn.length]='mode="'+modeMatch[1].replace(trimRe,"")+'";',path=path.replace(modeMatch[1],""))}return fn[fn.length]="return nodup(n);\n}",eval(fn.join("")),f},jsSelect:function(t,e,n){"string"==typeof(e=e||document)&&(e=document.getElementById(e));for(var i=t.split(","),r=[],o=0,a=i.length;o<a;o++){var s=i[o].replace(trimRe,"");if(!cache[s]&&(cache[s]=Ext.DomQuery.compile(s),!cache[s]))throw s+" is not a valid selector";var l=cache[s](e);l&&l!=document&&(r=r.concat(l))}return i.length>1?nodup(r):r},isXml:function(t){var e=(t?t.ownerDocument||t:0).documentElement;return!!e&&"HTML"!==e.nodeName},select:document.querySelectorAll?function(t,e,n){if(e=e||document,!Ext.DomQuery.isXml(e))try{var i=e.querySelectorAll(t);return Ext.toArray(i)}catch(t){}return Ext.DomQuery.jsSelect.call(this,t,e,n)}:function(t,e,n){return Ext.DomQuery.jsSelect.call(this,t,e,n)},selectNode:function(t,e){return Ext.DomQuery.select(t,e)[0]},selectValue:function(t,e,n){t=t.replace(trimRe,""),valueCache[t]||(valueCache[t]=Ext.DomQuery.compile(t,"select"));var i,r=valueCache[t](e);return"function"==typeof(r=r[0]?r[0]:r).normalize&&r.normalize(),null==(i=r&&r.firstChild?r.firstChild.nodeValue:null)||""===i?n:i},selectNumber:function(t,e,n){var i=Ext.DomQuery.selectValue(t,e,n||0);return parseFloat(i)},is:function(t,e){"string"==typeof t&&(t=document.getElementById(t));var n=Ext.isArray(t),i=Ext.DomQuery.filter(n?t:[t],e);return n?i.length==t.length:i.length>0},filter:function(t,e,n){e=e.replace(trimRe,""),simpleCache[e]||(simpleCache[e]=Ext.DomQuery.compile(e,"simple"));var i=simpleCache[e](t);return n?quickDiff(i,t):i},matchers:[{re:/^\.([\w\-]+)/,select:'n = byClassName(n, " {1} ");'},{re:/^\:([\w\-]+)(?:\(((?:[^\s>\/]*|.*?))\))?/,select:'n = byPseudo(n, "{1}", "{2}");'},{re:/^(?:([\[\{])(?:@)?([\w\-]+)\s?(?:(=|.=)\s?(["']?)(.*?)\4)?[\]\}])/,select:'n = byAttribute(n, "{2}", "{5}", "{3}", "{1}");'},{re:/^#([\w\-]+)/,select:'n = byId(n, "{1}");'},{re:/^@([\w\-]+)/,select:'return {firstChild:{nodeValue:attrValue(n, "{1}")}};'}],operators:{"=":function(t,e){return t==e},"!=":function(t,e){return t!=e},"^=":function(t,e){return t&&t.substr(0,e.length)==e},"$=":function(t,e){return t&&t.substr(t.length-e.length)==e},"*=":function(t,e){return t&&-1!==t.indexOf(e)},"%=":function(t,e){return t%e==0},"|=":function(t,e){return t&&(t==e||t.substr(0,e.length+1)==e+"-")},"~=":function(t,e){return t&&-1!=(" "+t+" ").indexOf(" "+e+" ")}},pseudos:{"first-child":function(t){for(var e,n,i=[],r=-1,o=0;n=e=t[o];o++){for(;(e=e.previousSibling)&&1!=e.nodeType;);e||(i[++r]=n)}return i},"last-child":function(t){for(var e,n,i=[],r=-1,o=0;n=e=t[o];o++){for(;(e=e.nextSibling)&&1!=e.nodeType;);e||(i[++r]=n)}return i},"nth-child":function(t,e){for(var n,i=[],r=-1,o=nthRe.exec(("even"==e?"2n":"odd"==e&&"2n+1")||!nthRe2.test(e)&&"n+"+e||e),a=(o[1]||1)-0,s=o[2]-0,l=0;n=t[l];l++){var u=n.parentNode;if(batch!=u._batch){for(var c=0,h=u.firstChild;h;h=h.nextSibling)1==h.nodeType&&(h.nodeIndex=++c);u._batch=batch}1==a?0!=s&&n.nodeIndex!=s||(i[++r]=n):(n.nodeIndex+s)%a==0&&(i[++r]=n)}return i},"only-child":function(t){for(var e,n=[],i=-1,r=0;e=t[r];r++)_prev(e)||_next(e)||(n[++i]=e);return n},empty:function(t){for(var e,n=[],i=-1,r=0;e=t[r];r++){for(var o,a=e.childNodes,s=0,l=!0;o=a[s];)if(++s,1==o.nodeType||3==o.nodeType){l=!1;break}l&&(n[++i]=e)}return n},contains:function(t,e){for(var n,i=[],r=-1,o=0;n=t[o];o++)-1!=(n.textContent||n.innerText||"").indexOf(e)&&(i[++r]=n);return i},nodeValue:function(t,e){for(var n,i=[],r=-1,o=0;n=t[o];o++)n.firstChild&&n.firstChild.nodeValue==e&&(i[++r]=n);return i},checked:function(t){for(var e,n=[],i=-1,r=0;e=t[r];r++)1==e.checked&&(n[++i]=e);return n},not:function(t,e){return Ext.DomQuery.filter(t,e,!0)},any:function(t,e){for(var n,i,r=e.split("|"),o=[],a=-1,s=0;i=t[s];s++)for(var l=0;n=r[l];l++)if(Ext.DomQuery.is(i,n)){o[++a]=i;break}return o},odd:function(t){return this["nth-child"](t,"odd")},even:function(t){return this["nth-child"](t,"even")},nth:function(t,e){return t[e-1]||[]},first:function(t){return t[0]||[]},last:function(t){return t[t.length-1]||[]},has:function(t,e){for(var n,i=Ext.DomQuery.select,r=[],o=-1,a=0;n=t[a];a++)i(e,n).length>0&&(r[++o]=n);return r},next:function(t,e){for(var n,i=Ext.DomQuery.is,r=[],o=-1,a=0;n=t[a];a++){var s=_next(n);s&&i(s,e)&&(r[++o]=n)}return r},prev:function(t,e){for(var n,i=Ext.DomQuery.is,r=[],o=-1,a=0;n=t[a];a++){var s=_prev(n);s&&i(s,e)&&(r[++o]=n)}return r}}}}(),Ext.query=Ext.DomQuery.select,Ext.util.DelayedTask=function(t,e,n){var i,r=this,o=function(){clearInterval(i),i=null,t.apply(e,n||[])};r.delay=function(a,s,l,u){r.cancel(),t=s||t,e=l||e,n=u||n,i=setInterval(o,a)},r.cancel=function(){i&&(clearInterval(i),i=null)}},function(){var t=document;Ext.Element=function(e,n){var i,r="string"==typeof e?t.getElementById(e):e;return r?(i=r.id,!n&&i&&Ext.elCache[i]?Ext.elCache[i].el:(this.dom=r,void(this.id=i||Ext.id(r)))):null};var e=Ext.DomHelper,n=Ext.Element,i=Ext.elCache;n.prototype={set:function(t,n){var i,r,o=this.dom;for(i in n=!1!==n&&!!o.setAttribute,t)t.hasOwnProperty(i)&&(r=t[i],"style"==i?e.applyStyles(o,r):"cls"==i?o.className=r:n?o.setAttribute(i,r):o[i]=r);return this},defaultUnit:"px",is:function(t){return Ext.DomQuery.is(this.dom,t)},focus:function(t,e){var n=this;e=e||n.dom;try{Number(t)?n.focus.defer(t,null,[null,e]):e.focus()}catch(t){}return n},blur:function(){try{this.dom.blur()}catch(t){}return this},getValue:function(t){var e=this.dom.value;return t?parseInt(e,10):e},addListener:function(t,e,n,i){return Ext.EventManager.on(this.dom,t,e,n||this,i),this},removeListener:function(t,e,n){return Ext.EventManager.removeListener(this.dom,t,e,n||this),this},removeAllListeners:function(){return Ext.EventManager.removeAll(this.dom),this},purgeAllListeners:function(){return Ext.EventManager.purgeElement(this,!0),this},addUnits:function(t){return""===t||"auto"==t||void 0===t?t=t||"":isNaN(t)&&a.test(t)||(t+=this.defaultUnit||"px"),t},load:function(t,e,n){return Ext.Ajax.request(Ext.apply({params:e,url:t.url||t,callback:n,el:this.dom,indicatorText:t.indicatorText||""},Ext.isObject(t)?t:{})),this},isBorderBox:function(){return Ext.isBorderBox||Ext.isForcedBorderBox||l[(this.dom.tagName||"").toLowerCase()]},remove:function(){var t=this.dom;t&&(delete this.dom,Ext.removeNode(t))},hover:function(t,e,n,i){var r=this;return r.on("mouseenter",t,n||r.dom,i),r.on("mouseleave",e,n||r.dom,i),r},contains:function(t){return!!t&&Ext.lib.Dom.isAncestor(this.dom,t.dom?t.dom:t)},getAttributeNS:function(t,e){return this.getAttribute(e,t)},getAttribute:function(){var t=document.createElement("table"),e=!1,n=/undefined|unknown/;if("getAttribute"in t){try{t.getAttribute("ext:qtip")}catch(t){e=!0}return function(t,n){var i,r=this.dom;if(r.getAttributeNS&&(i=r.getAttributeNS(n,t)||null),null==i)if(n)if(e&&"TABLE"==r.tagName.toUpperCase())try{i=r.getAttribute(n+":"+t)}catch(t){i=""}else i=r.getAttribute(n+":"+t);else i=r.getAttribute(t)||r[t];return i||""}}return function(t,e){var i,r,o=this.om;return e?(r=o[e+":"+t],i=n.test(_typeof(r))?void 0:r):i=o[t],i||""}}(),update:function(t){return this.dom&&(this.dom.innerHTML=t),this}};var r=n.prototype;n.addMethods=function(t){Ext.apply(r,t)},r.on=r.addListener,r.un=r.removeListener,r.autoBoxAdjust=!0;var o,a=/\d+(px|em|%|en|ex|pt|in|cm|mm|pc)$/i;n.get=function(e){var r,a,s;if(!e)return null;if("string"==typeof e)return(a=t.getElementById(e))?(i[e]&&i[e].el?(r=i[e].el).dom=a:r=n.addToCache(new n(a)),r):null;if(e.tagName)return(s=e.id)||(s=Ext.id(e)),i[s]&&i[s].el?(r=i[s].el).dom=e:r=n.addToCache(new n(e)),r;if(e instanceof n)return e!=o&&(!Ext.isIE||null!=e.id&&""!=e.id?e.dom=t.getElementById(e.id)||e.dom:e.dom=e.dom),e;if(e.isComposite)return e;if(Ext.isArray(e))return n.select(e);if(e==t){if(!o){var l=function(){};l.prototype=n.prototype,(o=new l).dom=t}return o}return null},n.addToCache=function(t,e){return e=e||t.id,i[e]={el:t,data:{},events:{}},t},n.data=function(t,e,r){if(!(t=n.get(t)))return null;var o=i[t.id].data;return 2==arguments.length?o[e]:o[e]=r},n.collectorThreadId=setInterval((function(){if(Ext.enableGarbageCollector){var e,r,o;for(e in i)(o=i[e]).skipGC?Ext.EventManager.removeFromSpecialCache(o.el):(r=o.el.dom)&&r.parentNode&&(r.offsetParent||t.getElementById(e))||(Ext.enableListenerCollection&&Ext.EventManager.removeAll(r),delete i[e]);if(Ext.isIE){var a={};for(e in i)a[e]=i[e];i=Ext.elCache=a}}else clearInterval(n.collectorThreadId)}),3e4);var s=function(){};s.prototype=n.prototype,n.Flyweight=function(t){this.dom=t},n.Flyweight.prototype=new s,n.Flyweight.prototype.isFlyweight=!0,n._flyweights={},n.fly=function(t,e){var i=null;return e=e||"_global",(t=Ext.getDom(t))&&((n._flyweights[e]=n._flyweights[e]||new n.Flyweight).dom=t,i=n._flyweights[e]),i},Ext.get=n.get,Ext.fly=n.fly;var l=Ext.isStrict?{select:1}:{input:1,select:1,textarea:1};(Ext.isIE||Ext.isGecko)&&(l.button=1)}(),Ext.Element.addMethods((PARENTNODE="parentNode",NEXTSIBLING="nextSibling",PREVIOUSSIBLING="previousSibling",DQ=Ext.DomQuery,GET=Ext.get,{findParent:function(t,e,n){var i,r=this.dom,o=document.body,a=0;if(Ext.isGecko&&"[object XULElement]"==Object.prototype.toString.call(r))return null;for(e=e||50,isNaN(e)&&(i=Ext.getDom(e),e=Number.MAX_VALUE);r&&1==r.nodeType&&a<e&&r!=o&&r!=i;){if(DQ.is(r,t))return n?GET(r):r;a++,r=r.parentNode}return null},findParentNode:function(t,e,n){var i=Ext.fly(this.dom.parentNode,"_internal");return i?i.findParent(t,e,n):null},up:function(t,e){return this.findParentNode(t,e,!0)},select:function(t){return Ext.Element.select(t,this.dom)},query:function(t){return DQ.select(t,this.dom)},child:function(t,e){var n=DQ.selectNode(t,this.dom);return e?n:GET(n)},down:function(t,e){var n=DQ.selectNode(" > "+t,this.dom);return e?n:GET(n)},parent:function(t,e){return this.matchNode(PARENTNODE,PARENTNODE,t,e)},next:function(t,e){return this.matchNode(NEXTSIBLING,NEXTSIBLING,t,e)},prev:function(t,e){return this.matchNode(PREVIOUSSIBLING,PREVIOUSSIBLING,t,e)},first:function(t,e){return this.matchNode(NEXTSIBLING,"firstChild",t,e)},last:function(t,e){return this.matchNode(PREVIOUSSIBLING,"lastChild",t,e)},matchNode:function(t,e,n,i){for(var r=this.dom[e];r;){if(1==r.nodeType&&(!n||DQ.is(r,n)))return i?r:GET(r);r=r[t]}return null}})),Ext.Element.addMethods(function(){var t=Ext.getDom,e=Ext.get,n=Ext.DomHelper;return{appendChild:function(t){return e(t).appendTo(this)},appendTo:function(e){return t(e).appendChild(this.dom),this},insertBefore:function(e){return(e=t(e)).parentNode.insertBefore(this.dom,e),this},insertAfter:function(e){return(e=t(e)).parentNode.insertBefore(this.dom,e.nextSibling),this},insertFirst:function(n,i){return(n=n||{}).nodeType||n.dom||"string"==typeof n?(n=t(n),this.dom.insertBefore(n,this.dom.firstChild),i?n:e(n)):this.createChild(n,this.dom.firstChild,i)},replace:function(t){return t=e(t),this.insertBefore(t),t.remove(),this},replaceWith:function(e){var i=this;return e.nodeType||e.dom||"string"==typeof e?(e=t(e),i.dom.parentNode.insertBefore(e,i.dom)):e=n.insertBefore(i.dom,e),delete Ext.elCache[i.id],Ext.removeNode(i.dom),i.id=Ext.id(i.dom=e),Ext.Element.addToCache(i.isFlyweight?new Ext.Element(i.dom):i),i},createChild:function(t,e,i){return t=t||{tag:"div"},e?n.insertBefore(e,t,!0!==i):n[this.dom.firstChild?"append":"overwrite"](this.dom,t,!0!==i)},wrap:function(t,e){var i=n.insertBefore(this.dom,t||{tag:"div"},!e);return i.dom?i.dom.appendChild(this.dom):i.appendChild(this.dom),i},insertHtml:function(t,e,i){var r=n.insertHtml(t,this.dom,e);return i?Ext.get(r):r}}}()),Ext.Element.addMethods(function(){var t=Ext.supports,e={},n=/(-[a-z])/gi,i=document.defaultView,r=/alpha\(opacity=(.*)\)/i,o=/^\s+|\s+$/g,a=(Ext.Element,/\s+/),s=/\w/g,l="padding",u="margin",c="border",h="-left",d="-right",f="-top",m="-bottom",p="-width",C=Math,v="hidden",g="isClipped",y="overflow",E="overflow-x",S="overflow-y",b="originalClip",x={l:c+h+p,r:c+d+p,t:c+f+p,b:c+m+p},w={l:l+h,r:l+d,t:l+f,b:l+m},_={l:u+h,r:u+d,t:u+f,b:u+m},I=Ext.Element.data;function A(t,e){return e.charAt(1).toUpperCase()}function U(i){return e[i]||(e[i]="float"==i?t.cssFloat?"cssFloat":"styleFloat":i.replace(n,A))}return{adjustWidth:function(t){var e=this,n="number"==typeof t;return n&&e.autoBoxAdjust&&!e.isBorderBox()&&(t-=e.getBorderWidth("lr")+e.getPadding("lr")),n&&t<0?0:t},adjustHeight:function(t){var e=this,n="number"==typeof t;return n&&e.autoBoxAdjust&&!e.isBorderBox()&&(t-=e.getBorderWidth("tb")+e.getPadding("tb")),n&&t<0?0:t},addClass:function(t){var e,n,i,r=this,o=[];if(Ext.isArray(t)){for(e=0,n=t.length;e<n;e++)"string"==typeof(i=t[e])&&-1==(" "+r.dom.className+" ").indexOf(" "+i+" ")&&o.push(i);o.length&&(r.dom.className+=" "+o.join(" "))}else"string"!=typeof t||this.hasClass(t)||(r.dom.className+=" "+t);return r},removeClass:function(t){var e,n,i,r,s,l=this;if(Ext.isArray(t)||(t=[t]),l.dom&&l.dom.className){for(s=l.dom.className.replace(o,"").split(a),e=0,i=t.length;e<i;e++)"string"==typeof(r=t[e])&&(r=r.replace(o,""),-1!=(n=s.indexOf(r))&&s.splice(n,1));l.dom.className=s.join(" ")}return l},radioClass:function(t){var e,n,i,r=this.dom.parentNode.childNodes;for(t=Ext.isArray(t)?t:[t],n=0,i=r.length;n<i;n++)(e=r[n])&&1==e.nodeType&&Ext.fly(e,"_internal").removeClass(t);return this.addClass(t)},toggleClass:function(t){return this.hasClass(t)?this.removeClass(t):this.addClass(t)},hasClass:function(t){return t&&-1!=(" "+this.dom.className+" ").indexOf(" "+t+" ")},replaceClass:function(t,e){return this.removeClass(t).addClass(e)},isStyle:function(t,e){return this.getStyle(t)==e},getStyle:i&&i.getComputedStyle?function(e){var n,r,o,a,s=this.dom;return s==document?null:(e=U(e),o=(n=s.style[e])?n:(r=i.getComputedStyle(s,""))?r[e]:null,"marginRight"!=e||"0px"==o||t.correctRightMargin||(a=s.style.display,s.style.display="inline-block",o=i.getComputedStyle(s,"").marginRight,s.style.display=a),"backgroundColor"!=e||"rgba(0, 0, 0, 0)"!=o||t.correctTransparentColor||(o="transparent"),o)}:function(t){var e,n,i=this.dom;if(i==document)return null;if("opacity"==t){if(i.style.filter.match&&(e=i.style.filter.match(r))){var o=parseFloat(e[1]);if(!isNaN(o))return o?o/100:0}return 1}return t=U(t),i.style[t]||((n=i.currentStyle)?n[t]:null)},getColor:function(t,e,n){var i,r=this.getStyle(t),o=void 0!==n?n:"#";return!r||/transparent|inherit/.test(r)?e:(/^r/.test(r)?Ext.each(r.slice(4,r.length-1).split(","),(function(t){i=parseInt(t,10),o+=(i<16?"0":"")+i.toString(16)})):(r=r.replace("#",""),o+=3==r.length?r.replace(/^(\w)(\w)(\w)$/,"$1$1$2$2$3$3"):r),o.length>5?o.toLowerCase():e)},setStyle:function(t,e){var n,i;for(i in"object"!=_typeof(t)&&((n={})[t]=e,t=n),t)e=t[i],"opacity"==i?this.setOpacity(e):this.dom.style[U(i)]=e;return this},setOpacity:function(t,e){var n=this,i=n.dom.style;if(e&&n.anim)n.anim({opacity:{to:t}},n.preanim(arguments,1),null,.35,"easeIn");else if(Ext.isIE9m){var a=t<1?"alpha(opacity="+100*t+")":"",s=i.filter.replace(r,"").replace(o,"");i.zoom=1,i.filter=s+(s.length>0?" ":"")+a}else i.opacity=t;return n},clearOpacity:function(){var t=this.dom.style;return Ext.isIE9m?Ext.isEmpty(t.filter)||(t.filter=t.filter.replace(r,"").replace(o,"")):t.opacity=t["-moz-opacity"]=t["-khtml-opacity"]="",this},getHeight:function(t){var e=this,n=e.dom,i=Ext.isIE9m&&e.isStyle("display","none"),r=C.max(n.offsetHeight,i?0:n.clientHeight)||0;return(r=t?r-e.getBorderWidth("tb")-e.getPadding("tb"):r)<0?0:r},getWidth:function(t){var e=this,n=e.dom,i=Ext.isIE9m&&e.isStyle("display","none"),r=C.max(n.offsetWidth,i?0:n.clientWidth)||0;return(r=t?r-e.getBorderWidth("lr")-e.getPadding("lr"):r)<0?0:r},setWidth:function(t,e){var n=this;return t=n.adjustWidth(t),e&&n.anim?n.anim({width:{to:t}},n.preanim(arguments,1)):n.dom.style.width=n.addUnits(t),n},setHeight:function(t,e){var n=this;return t=n.adjustHeight(t),e&&n.anim?n.anim({height:{to:t}},n.preanim(arguments,1)):n.dom.style.height=n.addUnits(t),n},getBorderWidth:function(t){return this.addStyles(t,x)},getPadding:function(t){return this.addStyles(t,w)},clip:function(){var t=this,e=t.dom;return I(e,g)||(I(e,g,!0),I(e,b,{o:t.getStyle(y),x:t.getStyle(E),y:t.getStyle(S)}),t.setStyle(y,v),t.setStyle(E,v),t.setStyle(S,v)),t},unclip:function(){var t=this,e=t.dom;if(I(e,g)){I(e,g,!1);var n=I(e,b);n.o&&t.setStyle(y,n.o),n.x&&t.setStyle(E,n.x),n.y&&t.setStyle(S,n.y)}return t},addStyles:function(t,e){var n,i,r,o=0,a=t.match(s),l=a.length;for(r=0;r<l;r++)(i=(n=a[r])&&parseInt(this.getStyle(e[n]),10))&&(o+=C.abs(i));return o},margins:_}}()),D=Ext.lib.Dom,LEFT="left",RIGHT="right",TOP="top",BOTTOM="bottom",POSITION="position",STATIC="static",RELATIVE="relative",AUTO="auto",ZINDEX="z-index",Ext.Element.addMethods({getX:function(){return D.getX(this.dom)},getY:function(){return D.getY(this.dom)},getXY:function(){return D.getXY(this.dom)},getOffsetsTo:function(t){var e=this.getXY(),n=Ext.fly(t,"_internal").getXY();return[e[0]-n[0],e[1]-n[1]]},setX:function(t,e){return this.setXY([t,this.getY()],this.animTest(arguments,e,1))},setY:function(t,e){return this.setXY([this.getX(),t],this.animTest(arguments,e,1))},setLeft:function(t){return this.setStyle(LEFT,this.addUnits(t)),this},setTop:function(t){return this.setStyle(TOP,this.addUnits(t)),this},setRight:function(t){return this.setStyle(RIGHT,this.addUnits(t)),this},setBottom:function(t){return this.setStyle(BOTTOM,this.addUnits(t)),this},setXY:function(t,e){var n=this;return e&&n.anim?n.anim({points:{to:t}},n.preanim(arguments,1),"motion"):D.setXY(n.dom,t),n},setLocation:function(t,e,n){return this.setXY([t,e],this.animTest(arguments,n,2))},moveTo:function(t,e,n){return this.setXY([t,e],this.animTest(arguments,n,2))},getLeft:function(t){return t?parseInt(this.getStyle(LEFT),10)||0:this.getX()},getRight:function(t){var e=this;return t?e.getLeft(!0)+e.getWidth()||0:e.getX()+e.getWidth()},getTop:function(t){return t?parseInt(this.getStyle(TOP),10)||0:this.getY()},getBottom:function(t){var e=this;return t?e.getTop(!0)+e.getHeight()||0:e.getY()+e.getHeight()},position:function(t,e,n,i){var r=this;!t&&r.isStyle(POSITION,STATIC)?r.setStyle(POSITION,RELATIVE):t&&r.setStyle(POSITION,t),e&&r.setStyle(ZINDEX,e),(n||i)&&r.setXY([n||!1,i||!1])},clearPositioning:function(t){return t=t||"",this.setStyle({left:t,right:t,top:t,bottom:t,"z-index":"",position:STATIC}),this},getPositioning:function(){var t=this.getStyle(LEFT),e=this.getStyle(TOP);return{position:this.getStyle(POSITION),left:t,right:t?"":this.getStyle(RIGHT),top:e,bottom:e?"":this.getStyle(BOTTOM),"z-index":this.getStyle(ZINDEX)}},setPositioning:function(t){var e=this,n=e.dom.style;return e.setStyle(t),t.right==AUTO&&(n.right=""),t.bottom==AUTO&&(n.bottom=""),e},translatePoints:function(t,e){e=isNaN(t[1])?e:t[1],t=isNaN(t[0])?t:t[0];var n=this,i=n.isStyle(POSITION,RELATIVE),r=n.getXY(),o=parseInt(n.getStyle(LEFT),10),a=parseInt(n.getStyle(TOP),10);return o=isNaN(o)?i?0:n.dom.offsetLeft:o,a=isNaN(a)?i?0:n.dom.offsetTop:a,{left:t-r[0]+o,top:e-r[1]+a}},animTest:function(t,e,n){return!(!e||!this.preanim)&&this.preanim(t,n)}}),Ext.Element.addMethods({isScrollable:function(){var t=this.dom;return t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth},scrollTo:function(t,e){return this.dom["scroll"+(/top/i.test(t)?"Top":"Left")]=e,this},getScroll:function(){var t,e,n,i=this.dom,r=document,o=r.body,a=r.documentElement;return i==r||i==o?(Ext.isIE&&Ext.isStrict?(t=a.scrollLeft,e=a.scrollTop):(t=window.pageXOffset,e=window.pageYOffset),n={left:t||(o?o.scrollLeft:0),top:e||(o?o.scrollTop:0)}):n={left:i.scrollLeft,top:i.scrollTop},n}}),Ext.Element.VISIBILITY=1,Ext.Element.DISPLAY=2,Ext.Element.OFFSETS=3,Ext.Element.ASCLASS=4,Ext.Element.visibilityCls="x-hide-nosize",Ext.Element.addMethods((El=Ext.Element,VISIBILITY="visibility",DISPLAY="display",HIDDEN="hidden",OFFSETS="offsets",ASCLASS="asclass",NONE="none",NOSIZE="nosize",ORIGINALDISPLAY="originalDisplay",VISMODE="visibilityMode",ISVISIBLE="isVisible",data=El.data,getDisplay=function(t){var e=data(t,ORIGINALDISPLAY);return void 0===e&&data(t,ORIGINALDISPLAY,e=""),e},getVisMode=function(t){var e=data(t,VISMODE);return void 0===e&&data(t,VISMODE,e=1),e},{originalDisplay:"",visibilityMode:1,setVisibilityMode:function(t){return data(this.dom,VISMODE,t),this},animate:function(t,e,n,i,r){return this.anim(t,{duration:e,callback:n,easing:i},r),this},anim:function(t,e,n,i,r,o){n=n||"run",e=e||{};var a=this,s=Ext.lib.Anim[n](a.dom,t,e.duration||i||.35,e.easing||r||"easeOut",(function(){o&&o.call(a),e.callback&&e.callback.call(e.scope||a,a,e)}),a);return e.anim=s,s},preanim:function(t,e){return!!t[e]&&("object"==_typeof(t[e])?t[e]:{duration:t[e+1],callback:t[e+2],easing:t[e+3]})},isVisible:function(){var t=this,e=t.dom,n=data(e,ISVISIBLE);return"boolean"==typeof n||(n=!(t.isStyle(VISIBILITY,HIDDEN)||t.isStyle(DISPLAY,NONE)||getVisMode(e)==El.ASCLASS&&t.hasClass(t.visibilityCls||El.visibilityCls)),data(e,ISVISIBLE,n)),n},setVisible:function(t,e){var n=this,i=n.dom,r=getVisMode(i);if("string"==typeof e){switch(e){case DISPLAY:r=El.DISPLAY;break;case VISIBILITY:r=El.VISIBILITY;break;case OFFSETS:r=El.OFFSETS;break;case NOSIZE:case ASCLASS:r=El.ASCLASS}n.setVisibilityMode(r),e=!1}if(e&&n.anim)t&&(n.setOpacity(.01),n.setVisible(!0)),n.anim({opacity:{to:t?1:0}},n.preanim(arguments,1),null,.35,"easeIn",(function(){t||n.setVisible(!1).setOpacity(1)}));else if(r==El.ASCLASS)n[t?"removeClass":"addClass"](n.visibilityCls||El.visibilityCls);else{if(r==El.DISPLAY)return n.setDisplayed(t);r==El.OFFSETS?t?(n.applyStyles(n.hideModeStyles||{position:"",top:"",left:""}),delete n.hideModeStyles):(n.hideModeStyles={position:n.getStyle("position"),top:n.getStyle("top"),left:n.getStyle("left")},n.applyStyles({position:"absolute",top:"-10000px",left:"-10000px"})):(n.fixDisplay(),i.style.visibility=t?"visible":HIDDEN)}return data(i,ISVISIBLE,t),n},hasMetrics:function(){var t=this.dom;return this.isVisible()||getVisMode(t)==El.VISIBILITY},toggle:function(t){var e=this;return e.setVisible(!e.isVisible(),e.preanim(arguments,0)),e},setDisplayed:function(t){return"boolean"==typeof t&&(t=t?getDisplay(this.dom):NONE),this.setStyle(DISPLAY,t),this},fixDisplay:function(){var t=this;t.isStyle(DISPLAY,NONE)&&(t.setStyle(VISIBILITY,HIDDEN),t.setStyle(DISPLAY,getDisplay(this.dom)),t.isStyle(DISPLAY,NONE)&&t.setStyle(DISPLAY,"block"))},hide:function(t){return"string"==typeof t?(this.setVisible(!1,t),this):(this.setVisible(!1,this.preanim(arguments,0)),this)},show:function(t){return"string"==typeof t?(this.setVisible(!0,t),this):(this.setVisible(!0,this.preanim(arguments,0)),this)}})),function(){var t=null,e=void 0,n=!0,i=!1,r="setX",o="setY",a="setXY",s="left",l="bottom",u="top",c="right",h="height",d="width",f="points",m="hidden",p="absolute",C="visible",v="motion",g="easeOut",y=new Ext.Element.Flyweight,E={},S=function(t){return t||{}},b=function(t){return y.dom=t,y.id=Ext.id(t),y},x=function(t){return E[t]||(E[t]=[]),E[t]},w=function(t,e){E[t]=e};Ext.enableFx=n,Ext.Fx={switchStatements:function(t,e,n){return e.apply(this,n[t])},slideIn:function(e,n){n=S(n);var i,h,d,f,y,E,x,w,_=this,I=_.dom,A=I.style;return e=e||"t",_.queueFx(n,(function(){function S(){b(I).fxUnwrap(f,h.pos,n),A.width=h.width,A.height=h.height,b(I).afterFx(n)}function _(t,e,n,i,r,o,a,s,l,u,c){var h={};return b(t).setWidth(n).setHeight(i),b(t)[r]&&b(t)[r](o),e[a]=e[s]="0",l&&(h.width=l),u&&(h.height=u),c&&(h.points=c),h}i=b(I).getXY(),b(I).fixDisplay(),h=b(I).getFxRestore(),(d={x:i[0],y:i[1],0:i[0],1:i[1],width:I.offsetWidth,height:I.offsetHeight}).right=d.x+d.width,d.bottom=d.y+d.height,b(I).setWidth(d.width).setHeight(d.height),f=b(I).fxWrap(h.pos,n,m),A.visibility=C,A.position=p,E={to:[d.x,d.y]},x={to:d.width},w={to:d.height},y=b(I).switchStatements(e.toLowerCase(),_,{t:[f,A,d.width,0,t,t,s,l,t,w,t],l:[f,A,0,d.height,t,t,c,u,x,t,t],r:[f,A,d.width,d.height,r,d.right,s,u,t,t,E],b:[f,A,d.width,d.height,o,d.bottom,s,u,t,w,E],tl:[f,A,0,0,t,t,c,l,x,w,E],bl:[f,A,0,0,o,d.y+d.height,c,u,x,w,E],br:[f,A,0,0,a,[d.right,d.bottom],s,u,x,w,E],tr:[f,A,0,0,r,d.x+d.width,s,l,x,w,E]}),A.visibility=C,b(f).show(),arguments.callee.anim=b(f).fxanim(y,n,v,.5,g,S)})),_},slideOut:function(t,e){e=S(e);var n,r,o,a,m=this,y=m.dom,E=y.style,x=m.getXY(),w={to:0};return t=t||"t",m.queueFx(e,(function(){function m(){e.useDisplay?b(y).setDisplayed(i):b(y).hide(),b(y).fxUnwrap(n,r.pos,e),E.width=r.width,E.height=r.height,b(y).afterFx(e)}function S(t,e,n,i,r,o,a,s,l){var u={};return t[e]=t[n]="0",u[i]=r,o&&(u[o]=a),s&&(u[s]=l),u}r=b(y).getFxRestore(),(o={x:x[0],y:x[1],0:x[0],1:x[1],width:y.offsetWidth,height:y.offsetHeight}).right=o.x+o.width,o.bottom=o.y+o.height,b(y).setWidth(o.width).setHeight(o.height),n=b(y).fxWrap(r.pos,e,C),E.visibility=C,E.position=p,b(n).setWidth(o.width).setHeight(o.height),a=b(y).switchStatements(t.toLowerCase(),S,{t:[E,s,l,h,w],l:[E,c,u,d,w],r:[E,s,u,d,w,f,{to:[o.right,o.y]}],b:[E,s,u,h,w,f,{to:[o.x,o.bottom]}],tl:[E,c,l,d,w,h,w],bl:[E,c,u,d,w,h,w,f,{to:[o.x,o.bottom]}],br:[E,s,u,d,w,h,w,f,{to:[o.x+o.width,o.bottom]}],tr:[E,s,l,d,w,h,w,f,{to:[o.right,o.y]}]}),arguments.callee.anim=b(n).fxanim(a,e,v,.5,g,m)})),m},puff:function(t){t=S(t);var e,n,r,o=this,a=o.dom,s=a.style;return o.queueFx(t,(function(){function o(){t.useDisplay?b(a).setDisplayed(i):b(a).hide(),b(a).clearOpacity(),b(a).setPositioning(r.pos),s.width=r.width,s.height=r.height,s.fontSize="",b(a).afterFx(t)}e=b(a).getWidth(),n=b(a).getHeight(),b(a).clearOpacity(),b(a).show(),r=b(a).getFxRestore(),arguments.callee.anim=b(a).fxanim({width:{to:b(a).adjustWidth(2*e)},height:{to:b(a).adjustHeight(2*n)},points:{by:[.5*-e,.5*-n]},opacity:{to:0},fontSize:{to:200,unit:"%"}},t,v,.5,g,o)})),o},switchOff:function(e){e=S(e);var n,r=this,o=r.dom,a=o.style;return r.queueFx(e,(function(){function r(){e.useDisplay?b(o).setDisplayed(i):b(o).hide(),b(o).clearOpacity(),b(o).setPositioning(n.pos),a.width=n.width,a.height=n.height,b(o).afterFx(e)}b(o).clearOpacity(),b(o).clip(),n=b(o).getFxRestore(),b(o).fxanim({opacity:{to:.3}},t,t,.1,t,(function(){b(o).clearOpacity(),function(){b(o).fxanim({height:{to:1},points:{by:[0,.5*b(o).getHeight()]}},e,v,.3,"easeIn",r)}.defer(100)}))})),r},highlight:function(t,e){e=S(e);var n,i=this,r=i.dom,o=e.attr||"backgroundColor",a={};return i.queueFx(e,(function(){function i(){r.style[o]=n,b(r).afterFx(e)}b(r).clearOpacity(),b(r).show(),n=r.style[o],a[o]={from:t||"ffff9c",to:e.endColor||b(r).getColor(o)||"ffffff"},arguments.callee.anim=b(r).fxanim(a,e,"color",1,"easeIn",i)})),i},frame:function(t,e,n){n=S(n);var i,r,o=this,a=o.dom;return o.queueFx(n,(function(){6==(t=t||"#C3DAF9").length&&(t="#"+t),e=e||1,b(a).show();var o=b(a).getXY(),s={x:o[0],y:o[1],0:o[0],1:o[1],width:a.offsetWidth,height:a.offsetHeight},l=function(){return(i=b(document.body||document.documentElement).createChild({style:{position:p,"z-index":35e3,border:"0px solid "+t}})).queueFx({},u)};function u(){var t=Ext.isBorderBox?2:1;r=i.anim({top:{from:s.y,to:s.y-20},left:{from:s.x,to:s.x-20},borderWidth:{from:0,to:10},opacity:{from:1,to:0},height:{from:s.height,to:s.height+20*t},width:{from:s.width,to:s.width+20*t}},{duration:n.duration||1,callback:function(){i.remove(),--e>0?l():b(a).afterFx(n)}}),arguments.callee.anim={isAnimated:!0,stop:function(){r.stop()}}}arguments.callee.anim={isAnimated:!0,stop:function(){e=0,i.stopFx()}},l()})),o},pause:function(t){var e,n=this.dom;return this.queueFx({},(function(){e=setTimeout((function(){b(n).afterFx({})}),1e3*t),arguments.callee.anim={isAnimated:!0,stop:function(){clearTimeout(e),b(n).afterFx({})}}})),this},fadeIn:function(e){e=S(e);var n=this,i=n.dom,r=e.endOpacity||1;return n.queueFx(e,(function(){b(i).setOpacity(0),b(i).fixDisplay(),i.style.visibility=C,arguments.callee.anim=b(i).fxanim({opacity:{to:r}},e,t,.5,g,(function(){1==r&&b(i).clearOpacity(),b(i).afterFx(e)}))})),n},fadeOut:function(e){e=S(e);var n=this,i=n.dom,r=i.style,o=e.endOpacity||0;return n.queueFx(e,(function(){arguments.callee.anim=b(i).fxanim({opacity:{to:o}},e,t,.5,g,(function(){0==o&&(Ext.Element.data(i,"visibilityMode")==Ext.Element.DISPLAY||e.useDisplay?r.display="none":r.visibility=m,b(i).clearOpacity()),b(i).afterFx(e)}))})),n},scale:function(t,e,n){return this.shift(Ext.apply({},n,{width:t,height:e})),this},shift:function(t){t=S(t);var n=this.dom,i={};return this.queueFx(t,(function(){for(var r in t)t[r]!=e&&(i[r]={to:t[r]});i.width&&(i.width.to=b(n).adjustWidth(t.width)),i.height&&(i.height.to=b(n).adjustWidth(t.height)),(i.x||i.y||i.xy)&&(i.points=i.xy||{to:[i.x?i.x.to:b(n).getX(),i.y?i.y.to:b(n).getY()]}),arguments.callee.anim=b(n).fxanim(i,t,v,.35,g,(function(){b(n).afterFx(t)}))})),this},ghost:function(t,e){e=S(e);var n,r,o,a=this,s=a.dom,l=s.style,u={opacity:{to:0},points:{}},c=u.points;return t=t||"b",a.queueFx(e,(function(){function a(){e.useDisplay?b(s).setDisplayed(i):b(s).hide(),b(s).clearOpacity(),b(s).setPositioning(n.pos),l.width=n.width,l.height=n.height,b(s).afterFx(e)}n=b(s).getFxRestore(),r=b(s).getWidth(),o=b(s).getHeight(),c.by=b(s).switchStatements(t.toLowerCase(),(function(t,e){return[t,e]}),{t:[0,-o],l:[-r,0],r:[r,0],b:[0,o],tl:[-r,-o],bl:[-r,o],br:[r,o],tr:[r,-o]}),arguments.callee.anim=b(s).fxanim(u,e,v,.5,g,a)})),a},syncFx:function(){var t=this;return t.fxDefaults=Ext.apply(t.fxDefaults||{},{block:i,concurrent:n,stopFx:i}),t},sequenceFx:function(){var t=this;return t.fxDefaults=Ext.apply(t.fxDefaults||{},{block:i,concurrent:i,stopFx:i}),t},nextFx:function(){var t=x(this.dom.id)[0];t&&t.call(this)},hasActiveFx:function(){return x(this.dom.id)[0]},stopFx:function(t){var e=this,i=e.dom.id;if(e.hasActiveFx()){var r=x(i)[0];r&&r.anim&&(r.anim.isAnimated?(w(i,[r]),r.anim.stop(void 0!==t?t:n)):w(i,[]))}return e},beforeFx:function(t){return this.hasActiveFx()&&!t.concurrent?t.stopFx?(this.stopFx(),n):i:n},hasFxBlock:function(){var t=x(this.dom.id);return t&&t[0]&&t[0].block},queueFx:function(t,e){var n=b(this.dom);if(!n.hasFxBlock())if(Ext.applyIf(t,n.fxDefaults),t.concurrent)e.call(n);else{var i=n.beforeFx(t);e.block=t.block,x(n.dom.id).push(e),i&&n.nextFx()}return n},fxWrap:function(t,e,n){var i,r,o=this.dom;if(!e.wrap||!(i=Ext.getDom(e.wrap))){e.fixPosition&&(r=b(o).getXY());var a=document.createElement("div");a.style.visibility=n,i=o.parentNode.insertBefore(a,o),b(i).setPositioning(t),b(i).isStyle("position","static")&&b(i).position("relative"),b(o).clearPositioning("auto"),b(i).clip(),i.appendChild(o),r&&b(i).setXY(r)}return i},fxUnwrap:function(t,e,n){var i=this.dom;b(i).clearPositioning(),b(i).setPositioning(e),n.wrap||(b(t).dom.parentNode.insertBefore(i,t),b(t).remove())},getFxRestore:function(){var t=this.dom.style;return{pos:this.getPositioning(),width:t.width,height:t.height}},afterFx:function(t){var e=this.dom,i=e.id;t.afterStyle&&b(e).setStyle(t.afterStyle),t.afterCls&&b(e).addClass(t.afterCls),t.remove==n&&b(e).remove(),t.callback&&t.callback.call(t.scope,b(e)),t.concurrent||(x(i).shift(),b(e).nextFx())},fxanim:function(t,e,n,i,r,o){n=n||"run",e=e||{};var a=Ext.lib.Anim[n](this.dom,t,e.duration||i||.35,e.easing||r||g,o,this);return e.anim=a,a}},Ext.Fx.resize=Ext.Fx.scale,Ext.Element.addMethods(Ext.Fx)}(),Ext.CompositeElementLite=function(t,e){this.elements=[],this.add(t,e),this.el=new Ext.Element.Flyweight},Ext.CompositeElementLite.prototype={isComposite:!0,getElement:function(t){var e=this.el;return e.dom=t,e.id=t.id,e},transformElement:function(t){return Ext.getDom(t)},getCount:function(){return this.elements.length},add:function(t,e){var n=this,i=n.elements;if(!t)return this;"string"==typeof t?t=Ext.Element.selectorFunction(t,e):t.isComposite?t=t.elements:Ext.isIterable(t)||(t=[t]);for(var r=0,o=t.length;r<o;++r)i.push(n.transformElement(t[r]));return n},invoke:function(t,e){var n,i,r=this,o=r.elements,a=o.length;for(i=0;i<a;i++)(n=o[i])&&Ext.Element.prototype[t].apply(r.getElement(n),e);return r},item:function(t){var e=this.elements[t],n=null;return e&&(n=this.getElement(e)),n},addListener:function(t,e,n,i){var r,o,a=this.elements,s=a.length;for(r=0;r<s;r++)(o=a[r])&&Ext.EventManager.on(o,t,e,n||o,i);return this},each:function(t,e){var n,i,r=this,o=r.elements,a=o.length;for(n=0;n<a&&(!(i=o[n])||(i=this.getElement(i),!1!==t.call(e||i,i,r,n)));n++);return r},fill:function(t){var e=this;return e.elements=[],e.add(t),e},filter:function(t){var e=[],n=this,i=Ext.isFunction(t)?t:function(e){return e.is(t)};return n.each((function(t,r,o){!1!==i(t,o)&&(e[e.length]=n.transformElement(t))})),n.elements=e,n},indexOf:function(t){return this.elements.indexOf(this.transformElement(t))},replaceElement:function(t,e,n){var i,r=isNaN(t)?this.indexOf(t):t;return r>-1&&(e=Ext.getDom(e),n&&((i=this.elements[r]).parentNode.insertBefore(e,i),Ext.removeNode(i)),this.elements.splice(r,1,e)),this},clear:function(){this.elements=[]}},Ext.CompositeElementLite.prototype.on=Ext.CompositeElementLite.prototype.addListener,Ext.CompositeElementLite.importElementMethods=function(){var t,e=Ext.Element.prototype,n=Ext.CompositeElementLite.prototype;for(t in e)"function"==typeof e[t]&&function(t){n[t]=n[t]||function(){return this.invoke(t,arguments)}}.call(n,t)},Ext.CompositeElementLite.importElementMethods(),Ext.DomQuery&&(Ext.Element.selectorFunction=Ext.DomQuery.select),Ext.Element.select=function(t,e){var n;if("string"==typeof t)n=Ext.Element.selectorFunction(t,e);else{if(void 0===t.length)throw"Invalid selector";n=t}return new Ext.CompositeElementLite(n)},Ext.select=Ext.Element.select,function(){var t="beforerequest",e="requestcomplete",n="requestexception",i=void 0,r="load",o="POST",a="GET",s=window;Ext.data.Connection=function(i){Ext.apply(this,i),this.addEvents(t,e,n),Ext.data.Connection.superclass.constructor.call(this)},Ext.extend(Ext.data.Connection,Ext.util.Observable,{timeout:3e4,autoAbort:!1,disableCaching:!0,disableCachingParam:"_dc",request:function(e){var n=this;if(n.fireEvent(t,n,e)){e.el&&(Ext.isEmpty(e.indicatorText)||(n.indicatorText='<div class="loading-indicator">'+e.indicatorText+"</div>"),n.indicatorText&&(Ext.getDom(e.el).innerHTML=n.indicatorText),e.success=(Ext.isFunction(e.success)?e.success:function(){}).createInterceptor((function(t){Ext.getDom(e.el).innerHTML=t.responseText})));var r,l,u,c=e.params,h=e.url||n.url,d={success:n.handleResponse,failure:n.handleFailure,scope:n,argument:{options:e},timeout:Ext.num(e.timeout,n.timeout)};if(Ext.isFunction(c)&&(c=c.call(e.scope||s,e)),c=Ext.urlEncode(n.extraParams,Ext.isObject(c)?Ext.urlEncode(c):c),Ext.isFunction(h)&&(h=h.call(e.scope||s,e)),l=Ext.getDom(e.form)){if(h=h||l.action,e.isUpload||/multipart\/form-data/i.test(l.getAttribute("enctype")))return n.doFormUpload.call(n,e,c,h);u=Ext.lib.Ajax.serializeForm(l),c=c?c+"&"+u:u}if((r=e.method||n.method||(c||e.xmlData||e.jsonData?o:a))===a&&n.disableCaching&&!1!==e.disableCaching||!0===e.disableCaching){var f=e.disableCachingParam||n.disableCachingParam;h=Ext.urlAppend(h,f+"="+(new Date).getTime())}return e.headers=Ext.applyIf(e.headers||{},n.defaultHeaders||{}),(!0===e.autoAbort||n.autoAbort)&&n.abort(),(r==a||e.xmlData||e.jsonData)&&c&&(h=Ext.urlAppend(h,c),c=""),n.transId=Ext.lib.Ajax.request(r,h,d,c,e)}return e.callback?e.callback.apply(e.scope,[e,i,i]):null},isLoading:function(t){return t?Ext.lib.Ajax.isCallInProgress(t):!!this.transId},abort:function(t){(t||this.isLoading())&&Ext.lib.Ajax.abort(t||this.transId)},handleResponse:function(t){this.transId=!1;var n=t.argument.options;t.argument=n?n.argument:null,this.fireEvent(e,this,t,n),n.success&&n.success.call(n.scope,t,n),n.callback&&n.callback.call(n.scope,n,!0,t)},handleFailure:function(t,e){this.transId=!1;var i=t.argument.options;t.argument=i?i.argument:null,this.fireEvent(n,this,t,i,e),i.failure&&i.failure.call(i.scope,t,i),i.callback&&i.callback.call(i.scope,i,!1,t)},doFormUpload:function(t,n,i){var a,l=Ext.id(),u=document,c=u.createElement("iframe"),h=Ext.getDom(t.form),d=[],f="multipart/form-data",m={target:h.target,method:h.method,encoding:h.encoding,enctype:h.enctype,action:h.action};Ext.fly(c).set({id:l,name:l,cls:"x-hidden",src:Ext.SSL_SECURE_URL}),u.body.appendChild(c),Ext.isIE&&(document.frames[l].name=l),Ext.fly(h).set({target:l,method:o,enctype:f,encoding:f,action:i||m.action}),Ext.iterate(Ext.urlDecode(n,!1),(function(t,e){a=u.createElement("input"),Ext.fly(a).set({type:"hidden",value:e,name:t}),h.appendChild(a),d.push(a)})),Ext.EventManager.on(c,r,(function n(){var i,o,a=this,u={responseText:"",responseXML:null,argument:t.argument};try{(i=c.contentWindow.document||c.contentDocument||s.frames[l].document)&&(i.body&&(/textarea/i.test((o=i.body.firstChild||{}).tagName)?u.responseText=o.value:u.responseText=i.body.innerHTML),u.responseXML=i.XMLDocument||i)}catch(t){}function h(t,e,n){Ext.isFunction(t)&&t.apply(e,n)}Ext.EventManager.removeListener(c,r,n,a),a.fireEvent(e,a,u,t),h(t.success,t.scope,[u,t]),h(t.callback,t.scope,[t,!0,u]),a.debugUploads||setTimeout((function(){Ext.removeNode(c)}),100)}),this),h.submit(),Ext.fly(h).set(m),Ext.each(d,(function(t){Ext.removeNode(t)}))}})}(),Ext.Ajax=new Ext.data.Connection({autoAbort:!1,serializeForm:function(t){return Ext.lib.Ajax.serializeForm(t)}}),Ext.util.JSON=new function(){var useHasOwn=!!{}.hasOwnProperty,isNative=(useNative=null,function(){return null===useNative&&(useNative=Ext.USE_NATIVE_JSON&&window.JSON&&"[object JSON]"==JSON.toString()),useNative}),pad=function(t){return t<10?"0"+t:t},doDecode=function doDecode(json){return json?eval("("+json+")"):""},doEncode=function t(e){if(Ext.isDefined(e)&&null!==e){if(Ext.isArray(e))return encodeArray(e);if(Ext.isDate(e))return Ext.util.JSON.encodeDate(e);if(Ext.isString(e))return encodeString(e);if("number"==typeof e)return isFinite(e)?String(e):"null";if(Ext.isBoolean(e))return String(e);var n,i,r,o=["{"];for(i in e)if(!e.getElementsByTagName&&(!useHasOwn||e.hasOwnProperty(i)))switch(_typeof(r=e[i])){case"undefined":case"function":case"unknown":break;default:n&&o.push(","),o.push(t(i),":",null===r?"null":t(r)),n=!0}return o.push("}"),o.join("")}return"null"},m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},encodeString=function(t){return/["\\\x00-\x1f]/.test(t)?'"'+t.replace(/([\x00-\x1f\\"])/g,(function(t,e){var n=m[e];return n||(n=e.charCodeAt(),"\\u00"+Math.floor(n/16).toString(16)+(n%16).toString(16))}))+'"':'"'+t+'"'},encodeArray=function(t){var e,n,i,r=["["],o=t.length;for(n=0;n<o;n+=1)switch(_typeof(i=t[n])){case"undefined":case"function":case"unknown":break;default:e&&r.push(","),r.push(null===i?"null":Ext.util.JSON.encode(i)),e=!0}return r.push("]"),r.join("")},useNative,ec,dc;this.encodeDate=function(t){return'"'+t.getFullYear()+"-"+pad(t.getMonth()+1)+"-"+pad(t.getDate())+"T"+pad(t.getHours())+":"+pad(t.getMinutes())+":"+pad(t.getSeconds())+'"'},this.encode=function(t){return ec||(ec=isNative()?JSON.stringify:doEncode),ec(t)},this.decode=function(t){return dc||(dc=isNative()?JSON.parse:doDecode),dc(t)}},Ext.encode=Ext.util.JSON.encode,Ext.decode=Ext.util.JSON.decode,Ext.EventManager=function(){var t,e,n,i=!1,r=Ext.isGecko||Ext.isWebKit||Ext.isSafari||Ext.isIE10p,o=Ext.lib.Event,a=(Ext.lib.Dom,document),s=window,l="DOMContentLoaded",u="complete",c=/^(?:scope|delay|buffer|single|stopEvent|preventDefault|stopPropagation|normalized|args|delegate)$/,h=[];function d(t){var e,n=!1,i=0,r=h.length,o=!1;if(t){if(t.getElementById||t.navigator){for(;i<r;++i)if((e=h[i]).el===t){n=e.id;break}n||(n=Ext.id(t),h.push({id:n,el:t}),o=!0)}else n=Ext.id(t);Ext.elCache[n]||(Ext.Element.addToCache(new Ext.Element(t),n),o&&(Ext.elCache[n].skipGC=!0))}return n}function f(){if(window!=top)return!1;try{a.documentElement.doScroll("left")}catch(t){return!1}return v(),!0}function m(t){return!(!Ext.isIE9m||!f())||(a.readyState==u?(v(),!0):(i||(e=setTimeout(arguments.callee,2)),!1))}function p(t){return n||(n=Ext.query("style, link[rel=stylesheet]")),n.length==a.styleSheets.length?(v(),!0):(i||(e=setTimeout(arguments.callee,2)),!1)}function C(t){a.removeEventListener(l,arguments.callee,!1),p()}function v(n){i||(i=!0,e&&clearTimeout(e),r&&a.removeEventListener(l,v,!1),Ext.isIE9m&&m.bindIE&&a.detachEvent("onreadystatechange",m),o.un(s,"load",arguments.callee)),t&&!Ext.isReady&&(Ext.isReady=!0,t.fire(),t.listeners=[])}function g(t,e,n,i,r){var l,u=n&&"boolean"!=typeof n?n:{},c=Ext.getDom(t);if(i=i||u.fn,r=r||u.scope,!c)throw'Error listening for "'+e+'". Element "'+t+"\" doesn't exist.";function h(t){if(Ext){var e;if(t=Ext.EventObject.setEvent(t),u.delegate){if(!(e=t.getTarget(u.delegate,c)))return}else e=t.target;u.stopEvent&&t.stopEvent(),u.preventDefault&&t.preventDefault(),u.stopPropagation&&t.stopPropagation(),!1===u.normalized&&(t=t.browserEvent),i.call(r||c,t,e,u)}}return u.target&&(h=function(t,e){return function(){var n=Ext.toArray(arguments);e.target==Ext.EventObject.setEvent(n[0]).target&&t.apply(this,n)}}(h,u)),u.delay&&(h=function(t,e,n){return function(i){var r=new Ext.util.DelayedTask(t);n.tasks||(n.tasks=[]),n.tasks.push(r),r.delay(e.delay||10,t,null,[new Ext.EventObjectImpl(i)])}}(h,u,i)),u.single&&(h=function(t,e,n,i,r){return function(o){Ext.EventManager.removeListener(e,n,i,r),t(o)}}(h,c,e,i,r)),u.buffer&&(l=new Ext.util.DelayedTask(h),h=function(t,e,n){return function(i){n.delay(e.buffer,t,null,[new Ext.EventObjectImpl(i)])}}(h,u,l)),function(t,e,n,i,r,l){var u,c=d(t=Ext.getDom(t)),h=Ext.elCache[c].events;if(u=o.on(t,e,r),h[e]=h[e]||[],h[e].push([n,r,l,u,i]),t.addEventListener&&"mousewheel"==e){var f=["DOMMouseScroll",r,!1];t.addEventListener.apply(t,f),Ext.EventManager.addListener(s,"unload",(function(){t.removeEventListener.apply(t,f)}))}t==a&&"mousedown"==e&&Ext.EventManager.stoppedMouseDownEvent.addListener(r)}(c,e,i,l,h,r),h}var y={addListener:function(t,e,n,i,r){if("object"==_typeof(e)){var o,a,s=e;for(o in s)a=s[o],c.test(o)||(Ext.isFunction(a)?g(t,o,s,a,s.scope):g(t,o,a))}else g(t,e,r,n,i)},removeListener:function(t,e,n,i){var r,s,l,u,c,h=d(t=Ext.getDom(t)),f=t&&Ext.elCache[h].events[e]||[];for(s=0,u=f.length;s<u;s++)if(Ext.isArray(c=f[s])&&c[0]==n&&(!i||c[2]==i)){if(c[4]&&c[4].cancel(),l=n.tasks&&n.tasks.length){for(;l--;)n.tasks[l].cancel();delete n.tasks}for(l in r=c[1],o.un(t,e,o.extAdapter?c[3]:r),r&&t.addEventListener&&"mousewheel"==e&&t.removeEventListener("DOMMouseScroll",r,!1),r&&t==a&&"mousedown"==e&&Ext.EventManager.stoppedMouseDownEvent.removeListener(r),f.splice(s,1),0===f.length&&delete Ext.elCache[h].events[e],Ext.elCache[h].events)return!1;return Ext.elCache[h].events={},!1}},removeAll:function(t){var e,n,i,r,s,l,u,c=d(t=Ext.getDom(t)),h=(Ext.elCache[c]||{}).events||{};for(r in h)if(h.hasOwnProperty(r))for(n=0,i=(e=h[r]).length;n<i;n++){if((s=e[n])[4]&&s[4].cancel(),s[0].tasks&&(l=s[0].tasks.length)){for(;l--;)s[0].tasks[l].cancel();delete s.tasks}u=s[1],o.un(t,r,o.extAdapter?s[3]:u),t.addEventListener&&u&&"mousewheel"==r&&t.removeEventListener("DOMMouseScroll",u,!1),u&&t==a&&"mousedown"==r&&Ext.EventManager.stoppedMouseDownEvent.removeListener(u)}Ext.elCache[c]&&(Ext.elCache[c].events={})},getListeners:function(t,e){var n=d(t=Ext.getDom(t)),i=(Ext.elCache[n]||{}).events||{};return i&&i[e]?i[e]:null},removeFromSpecialCache:function(t){for(var e=0,n=h.length;e<n;++e)h[e].el==t&&h.splice(e,1)},purgeElement:function(t,e,n){var i,r,o,a=d(t=Ext.getDom(t)),s=(Ext.elCache[a]||{}).events||{};if(n){if(s&&s.hasOwnProperty(n))for(i=0,o=(r=s[n]).length;i<o;i++)Ext.EventManager.removeListener(t,n,r[i][0])}else Ext.EventManager.removeAll(t);if(e&&t&&t.childNodes)for(i=0,o=t.childNodes.length;i<o;i++)Ext.EventManager.purgeElement(t.childNodes[i],e,n)},_unload:function(){var t;for(t in Ext.elCache)Ext.EventManager.removeAll(t);delete Ext.elCache,delete Ext.Element._flyweights;var e,n,i,r=Ext.lib.Ajax;for(i in n="object"==_typeof(r.conn)?r.conn:{})(e=n[i])&&r.abort({conn:e,tId:i})},onDocumentReady:function(e,n,i){Ext.isReady?(t||(t=new Ext.util.Event),t.addListener(e,n,i),t.fire(),t.listeners=[]):(t||(t||(t=new Ext.util.Event),r&&a.addEventListener(l,v,!1),Ext.isIE9m?m()||(m.bindIE=!0,a.attachEvent("onreadystatechange",m)):Ext.isOpera?a.readyState==u&&p()||a.addEventListener(l,C,!1):Ext.isWebKit&&m(),o.on(s,"load",v)),(i=i||{}).delay=i.delay||1,t.addListener(e,n,i))},fireDocReady:v};return y.on=y.addListener,y.un=y.removeListener,y.stoppedMouseDownEvent=new Ext.util.Event,y}(),Ext.onReady=Ext.EventManager.onDocumentReady,initExtCss=function(){var t=document.body||document.getElementsByTagName("body")[0];if(!t)return!1;var e=[];if(Ext.isIE&&(Ext.isIE10p||e.push("ext-ie"),Ext.isIE6?e.push("ext-ie6"):Ext.isIE7?e.push("ext-ie7","ext-ie7m"):Ext.isIE8?e.push("ext-ie8","ext-ie8m"):Ext.isIE9?e.push("ext-ie9","ext-ie9m"):Ext.isIE10&&e.push("ext-ie10")),Ext.isGecko&&(Ext.isGecko2?e.push("ext-gecko2"):e.push("ext-gecko3")),Ext.isOpera&&e.push("ext-opera"),Ext.isWebKit&&e.push("ext-webkit"),Ext.isSafari?e.push("ext-safari "+(Ext.isSafari2?"ext-safari2":Ext.isSafari3?"ext-safari3":"ext-safari4")):Ext.isChrome&&e.push("ext-chrome"),Ext.isMac&&e.push("ext-mac"),Ext.isLinux&&e.push("ext-linux"),Ext.isStrict||Ext.isBorderBox){var n=t.parentNode;n&&(Ext.isStrict||(Ext.fly(n,"_internal").addClass("x-quirks"),Ext.isIE9m&&!Ext.isStrict&&(Ext.isIEQuirks=!0)),Ext.fly(n,"_internal").addClass(Ext.isStrict&&Ext.isIE||!Ext.enableForcedBoxModel&&!Ext.isIE?" ext-strict":" ext-border-box"))}return Ext.enableForcedBoxModel&&!Ext.isIE&&(Ext.isForcedBorderBox=!0,e.push("ext-forced-border-box")),Ext.fly(t,"_internal").addClass(e),!0},initExtCss()||Ext.onReady(initExtCss),supports=Ext.apply(Ext.supports,{correctRightMargin:!0,correctTransparentColor:!0,cssFloat:!0}),supportTests=function(){var t,e,n=document.createElement("div"),i=document;n.innerHTML='<div style="height:30px;width:50px;"><div style="height:20px;width:20px;"></div></div><div style="float:left;background-color:transparent;">',i.body.appendChild(n),e=n.lastChild,(t=i.defaultView)&&("0px"!=t.getComputedStyle(n.firstChild.firstChild,null).marginRight&&(supports.correctRightMargin=!1),"transparent"!=t.getComputedStyle(e,null).backgroundColor&&(supports.correctTransparentColor=!1)),supports.cssFloat=!!e.style.cssFloat,i.body.removeChild(n)},Ext.isReady?supportTests():Ext.onReady(supportTests),Ext.EventObject=(E=Ext.lib.Event,clickRe=/(dbl)?click/,safariKeys={3:13,63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35},btnMap=Ext.isIE?{1:0,4:1,2:2}:{0:0,1:1,2:2},Ext.EventObjectImpl=function(t){t&&this.setEvent(t.browserEvent||t)},Ext.EventObjectImpl.prototype={setEvent:function(t){var e=this;return t==e||t&&t.browserEvent?t:(e.browserEvent=t,t?(e.button=t.button?btnMap[t.button]:t.which?t.which-1:-1,clickRe.test(t.type)&&-1==e.button&&(e.button=0),e.type=t.type,e.shiftKey=t.shiftKey,e.ctrlKey=t.ctrlKey||t.metaKey||!1,e.altKey=t.altKey,e.keyCode=t.keyCode,e.charCode=t.charCode,e.target=E.getTarget(t),e.xy=E.getXY(t)):(e.button=-1,e.shiftKey=!1,e.ctrlKey=!1,e.altKey=!1,e.keyCode=0,e.charCode=0,e.target=null,e.xy=[0,0]),e)},stopEvent:function(){var t=this;t.browserEvent&&("mousedown"==t.browserEvent.type&&Ext.EventManager.stoppedMouseDownEvent.fire(t),E.stopEvent(t.browserEvent))},preventDefault:function(){this.browserEvent&&E.preventDefault(this.browserEvent)},stopPropagation:function(){var t=this;t.browserEvent&&("mousedown"==t.browserEvent.type&&Ext.EventManager.stoppedMouseDownEvent.fire(t),E.stopPropagation(t.browserEvent))},getCharCode:function(){return this.charCode||this.keyCode},getKey:function(){return this.normalizeKey(this.keyCode||this.charCode)},normalizeKey:function(t){return Ext.isSafari&&safariKeys[t]||t},getPageX:function(){return this.xy[0]},getPageY:function(){return this.xy[1]},getXY:function(){return this.xy},getTarget:function(t,e,n){return t?Ext.fly(this.target).findParent(t,e,n):n?Ext.get(this.target):this.target},getRelatedTarget:function(){return this.browserEvent?E.getRelatedTarget(this.browserEvent):null},getWheelDelta:function(){var t=this.browserEvent,e=0;return t.wheelDelta?e=t.wheelDelta/120:t.detail&&(e=-t.detail/3),e},within:function(t,e,n){if(t){var i=this[e?"getRelatedTarget":"getTarget"]();return i&&(!!n&&i==Ext.getDom(t)||Ext.fly(t).contains(i))}return!1}},new Ext.EventObjectImpl),Ext.Loader=Ext.apply({},{load:function(t,e,n,i){n=n||this;var r=document.getElementsByTagName("head")[0],o=document.createDocumentFragment(),a=t.length,s=0,l=this,u=function(e){r.appendChild(l.buildScriptTag(t[e],c))},c=function(){s++,a==s&&"function"==typeof e?e.call(n):!0===i&&u(s)};!0===i?u.call(this,0):(Ext.each(t,(function(t,e){o.appendChild(this.buildScriptTag(t,c))}),this),r.appendChild(o))},buildScriptTag:function(t,e){var n=document.createElement("script");return n.type="text/javascript",n.src=t,n.readyState?n.onreadystatechange=function(){"loaded"!=n.readyState&&"complete"!=n.readyState||(n.onreadystatechange=null,e())}:n.onload=e,n}}),Ext.ns("Ext.grid","Ext.list","Ext.dd","Ext.tree","Ext.form","Ext.menu","Ext.state","Ext.layout.boxOverflow","Ext.app","Ext.ux","Ext.chart","Ext.direct","Ext.slider"),Ext.apply(Ext,function(){var t=Ext,e=null;return{emptyFn:function(){},BLANK_IMAGE_URL:Ext.isIE6||Ext.isIE7||Ext.isAir?"http://www.extjs.com/s.gif":"data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",extendX:function(t,e){return Ext.extend(t,e(t.prototype))},getDoc:function(){return Ext.get(document)},num:function(t,e){return t=Number(Ext.isEmpty(t)||Ext.isArray(t)||"boolean"==typeof t||"string"==typeof t&&0==t.trim().length?NaN:t),isNaN(t)?e:t},value:function(t,e,n){return Ext.isEmpty(t,n)?e:t},escapeRe:function(t){return t.replace(/([-.*+?^${}()|[\]\/\\])/g,"\\$1")},sequence:function(t,e,n,i){t[e]=t[e].createSequence(n,i)},addBehaviors:function(t){if(Ext.isReady){var e,n,i,r={};for(n in t)(e=n.split("@"))[1]&&(r[i=e[0]]||(r[i]=Ext.select(i)),r[i].on(e[1],t[n]));r=null}else Ext.onReady((function(){Ext.addBehaviors(t)}))},getScrollBarWidth:function(t){if(!Ext.isReady)return 0;if(!0===t||null===e){var n=Ext.getBody().createChild('<div class="x-hide-offsets" style="width:100px;height:50px;overflow:hidden;"><div style="height:200px;"></div></div>'),i=n.child("div",!0),r=i.offsetWidth;n.setStyle("overflow",Ext.isWebKit||Ext.isGecko?"auto":"scroll");var o=i.offsetWidth;n.remove(),e=r-o+2}return e},combine:function(){for(var t=arguments,e=t.length,n=[],i=0;i<e;i++){var r=t[i];Ext.isArray(r)?n=n.concat(r):void 0===r.length||r.substr?n.push(r):n=n.concat(Array.prototype.slice.call(r,0))}return n},copyTo:function(t,e,n){return"string"==typeof n&&(n=n.split(/[,;\s]/)),Ext.each(n,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),this),t},destroy:function(){Ext.each(arguments,(function(t){t&&(Ext.isArray(t)?this.destroy.apply(this,t):"function"==typeof t.destroy?t.destroy():t.dom&&t.remove())}),this)},destroyMembers:function(t,e,n,i){for(var r=1,o=arguments,a=o.length;r<a;r++)Ext.destroy(t[o[r]]),delete t[o[r]]},clean:function(t){var e=[];return Ext.each(t,(function(t){t&&e.push(t)})),e},unique:function(t){var e=[],n={};return Ext.each(t,(function(t){n[t]||e.push(t),n[t]=!0})),e},flatten:function(t){var e=[];return function t(n){return Ext.each(n,(function(n){Ext.isArray(n)?t(n):e.push(n)})),e}(t)},min:function(t,e){var n=t[0];return e=e||function(t,e){return t<e?-1:1},Ext.each(t,(function(t){n=-1==e(n,t)?n:t})),n},max:function(t,e){var n=t[0];return e=e||function(t,e){return t>e?1:-1},Ext.each(t,(function(t){n=1==e(n,t)?n:t})),n},mean:function(t){return t.length>0?Ext.sum(t)/t.length:void 0},sum:function(t){var e=0;return Ext.each(t,(function(t){e+=t})),e},partition:function(t,e){var n=[[],[]];return Ext.each(t,(function(t,i,r){n[e&&e(t,i,r)||!e&&t?0:1].push(t)})),n},invoke:function(t,e){var n=[],i=Array.prototype.slice.call(arguments,2);return Ext.each(t,(function(t,r){t&&"function"==typeof t[e]?n.push(t[e].apply(t,i)):n.push(void 0)})),n},pluck:function(t,e){var n=[];return Ext.each(t,(function(t){n.push(t[e])})),n},zip:function(){for(var t=Ext.partition(arguments,(function(t){return"function"!=typeof t})),e=t[0],n=t[1][0],i=Ext.max(Ext.pluck(e,"length")),r=[],o=0;o<i;o++)if(r[o]=[],n)r[o]=n.apply(n,Ext.pluck(e,o));else for(var a=0,s=e.length;a<s;a++)r[o].push(e[a][o]);return r},getCmp:function(t){return Ext.ComponentMgr.get(t)},useShims:t.isIE6||t.isMac&&t.isGecko2,type:function(t){if(null==t)return!1;if(t.htmlElement)return"element";var e=_typeof(t);if("object"==e&&t.nodeName)switch(t.nodeType){case 1:return"element";case 3:return/\S/.test(t.nodeValue)?"textnode":"whitespace"}if("object"==e||"function"==e){switch(t.constructor){case Array:return"array";case RegExp:return"regexp";case Date:return"date"}if("number"==typeof t.length&&"function"==typeof t.item)return"nodelist"}return e},intercept:function(t,e,n,i){t[e]=t[e].createInterceptor(n,i)},callback:function(t,e,n,i){"function"==typeof t&&(i?t.defer(i,e,n||[]):t.apply(e,n||[]))}}}()),Ext.apply(Function.prototype,{createSequence:function(t,e){var n=this;return"function"!=typeof t?this:function(){var i=n.apply(this||window,arguments);return t.apply(e||this||window,arguments),i}}}),Ext.applyIf(String,{escape:function(t){return t.replace(/('|\\)/g,"\\$1")},leftPad:function(t,e,n){var i=String(t);for(n||(n=" ");i.length<e;)i=n+i;return i}}),String.prototype.toggle=function(t,e){return this==t?e:t},String.prototype.trim=(re=/^\s+|\s+$/g,function(){return this.replace(re,"")}),Date.prototype.getElapsed=function(t){return Math.abs((t||new Date).getTime()-this.getTime())},Ext.applyIf(Number.prototype,{constrain:function(t,e){return Math.min(Math.max(this,t),e)}}),Ext.lib.Dom.getRegion=function(t){return Ext.lib.Region.getRegion(t)},Ext.lib.Region=function(t,e,n,i){var r=this;r.top=t,r[1]=t,r.right=e,r.bottom=n,r.left=i,r[0]=i},Ext.lib.Region.prototype={contains:function(t){var e=this;return t.left>=e.left&&t.right<=e.right&&t.top>=e.top&&t.bottom<=e.bottom},getArea:function(){var t=this;return(t.bottom-t.top)*(t.right-t.left)},intersect:function(t){var e=this,n=Math.max(e.top,t.top),i=Math.min(e.right,t.right),r=Math.min(e.bottom,t.bottom),o=Math.max(e.left,t.left);if(r>=n&&i>=o)return new Ext.lib.Region(n,i,r,o)},union:function(t){var e=this,n=Math.min(e.top,t.top),i=Math.max(e.right,t.right),r=Math.max(e.bottom,t.bottom),o=Math.min(e.left,t.left);return new Ext.lib.Region(n,i,r,o)},constrainTo:function(t){var e=this;return e.top=e.top.constrain(t.top,t.bottom),e.bottom=e.bottom.constrain(t.top,t.bottom),e.left=e.left.constrain(t.left,t.right),e.right=e.right.constrain(t.left,t.right),e},adjust:function(t,e,n,i){var r=this;return r.top+=t,r.left+=e,r.right+=i,r.bottom+=n,r}},Ext.lib.Region.getRegion=function(t){var e=Ext.lib.Dom.getXY(t),n=e[1],i=e[0]+t.offsetWidth,r=e[1]+t.offsetHeight,o=e[0];return new Ext.lib.Region(n,i,r,o)},Ext.lib.Point=function(t,e){Ext.isArray(t)&&(e=t[1],t=t[0]);var n=this;n.x=n.right=n.left=n[0]=t,n.y=n.top=n.bottom=n[1]=e},Ext.lib.Point.prototype=new Ext.lib.Region,Ext.apply(Ext.DomHelper,function(){var t,e=/tag|children|cn|html$/i;function n(e,n,r,o,a,s){var l;return e=Ext.getDom(e),t.useDom?(l=i(n,null),s?e.appendChild(l):("firstChild"==a?e:e.parentNode).insertBefore(l,e[a]||e)):l=Ext.DomHelper.insertHtml(o,e,Ext.DomHelper.createHtml(n)),r?Ext.get(l,!0):l}function i(t,n){var r,o,a,s,l=document;if(Ext.isArray(t)){r=l.createDocumentFragment();for(var u=0,c=t.length;u<c;u++)i(t[u],r)}else if("string"==typeof t)r=l.createTextNode(t);else{for(var h in o=!!(r=l.createElement(t.tag||"div")).setAttribute,t)e.test(h)||(a=t[h],"cls"==h?r.className=a:o?r.setAttribute(h,a):r[h]=a);Ext.DomHelper.applyStyles(r,t.style),(s=t.children||t.cn)?i(s,r):t.html&&(r.innerHTML=t.html)}return n&&n.appendChild(r),r}return t={createTemplate:function(t){var e=Ext.DomHelper.createHtml(t);return new Ext.Template(e)},useDom:!1,insertBefore:function(t,e,i){return n(t,e,i,"beforebegin")},insertAfter:function(t,e,i){return n(t,e,i,"afterend","nextSibling")},insertFirst:function(t,e,i){return n(t,e,i,"afterbegin","firstChild")},append:function(t,e,i){return n(t,e,i,"beforeend","",!0)},createDom:i}}()),Ext.apply(Ext.Template.prototype,{disableFormats:!1,re:/\{([\w\-]+)(?:\:([\w\.]*)(?:\((.*?)?\))?)?\}/g,argsRe:/^\s*['"](.*)["']\s*$/,compileARe:/\\/g,compileBRe:/(\r\n|\n)/g,compileCRe:/'/g,applyTemplate:function(t){var e=this,n=!0!==e.disableFormats,i=Ext.util.Format,r=e;return e.compiled?e.compiled(t):e.html.replace(e.re,(function(o,a,s,l){if(s&&n){if("this."==s.substr(0,5))return r.call(s.substr(5),t[a],t);if(l){for(var u=e.argsRe,c=0,h=(l=l.split(",")).length;c<h;c++)l[c]=l[c].replace(u,"$1");l=[t[a]].concat(l)}else l=[t[a]];return i[s].apply(i,l)}return void 0!==t[a]?t[a]:""}))},compile:function compile(){var me=this,fm=Ext.util.Format,useF=!0!==me.disableFormats,sep=Ext.isGecko?"+":",",body;function fn(t,e,n,i){return n&&useF?(i=i?","+i:"","this."!=n.substr(0,5)?n="fm."+n+"(":(n='this.call("'+n.substr(5)+'", ',i=", values")):(i="",n="(values['"+e+"'] == undefined ? '' : "),"'"+sep+n+"values['"+e+"']"+i+")"+sep+"'"}return Ext.isGecko?body="this.compiled = function(values){ return '"+me.html.replace(me.compileARe,"\\\\").replace(me.compileBRe,"\\n").replace(me.compileCRe,"\\'").replace(me.re,fn)+"';};":(body=["this.compiled = function(values){ return ['"],body.push(me.html.replace(me.compileARe,"\\\\").replace(me.compileBRe,"\\n").replace(me.compileCRe,"\\'").replace(me.re,fn)),body.push("'].join('');};"),body=body.join("")),eval(body),me},call:function(t,e,n){return this[t](e,n)}}),Ext.Template.prototype.apply=Ext.Template.prototype.applyTemplate,Ext.util.Functions={createInterceptor:function(t,e,n){return Ext.isFunction(e)?function(){var i=this,r=arguments;return e.target=i,e.method=t,!1!==e.apply(n||i||window,r)?t.apply(i||window,r):null}:t},createDelegate:function(t,e,n,i){return Ext.isFunction(t)?function(){var r=n||arguments;if(!0===i)r=(r=Array.prototype.slice.call(arguments,0)).concat(n);else if(Ext.isNumber(i)){r=Array.prototype.slice.call(arguments,0);var o=[i,0].concat(n);Array.prototype.splice.apply(r,o)}return t.apply(e||window,r)}:t},defer:function(t,e,n,i,r){return t=Ext.util.Functions.createDelegate(t,n,i,r),e>0?setTimeout(t,e):(t(),0)},createSequence:function(t,e,n){return Ext.isFunction(e)?function(){var i=t.apply(this||window,arguments);return e.apply(n||this||window,arguments),i}:t}},Ext.defer=Ext.util.Functions.defer,Ext.createInterceptor=Ext.util.Functions.createInterceptor,Ext.createSequence=Ext.util.Functions.createSequence,Ext.createDelegate=Ext.util.Functions.createDelegate,Ext.apply(Ext.util.Observable.prototype,function(){function t(t){var e,n,i,r=(this.methodEvents=this.methodEvents||{})[t],o=this;if(!r){this.methodEvents[t]=r={},r.originalFn=this[t],r.methodName=t,r.before=[],r.after=[];var a=function(t,r,a){void 0!==(n=t.apply(r||o,a))&&("object"==_typeof(n)?(e=void 0!==n.returnValue?n.returnValue:n,i=!!n.cancel):!1===n?i=!0:e=n)};this[t]=function(){var t,s=Array.prototype.slice.call(arguments,0);e=n=void 0,i=!1;for(var l=0,u=r.before.length;l<u;l++)if(t=r.before[l],a(t.fn,t.scope,s),i)return e;for(void 0!==(n=r.originalFn.apply(o,s))&&(e=n),l=0,u=r.after.length;l<u;l++)if(t=r.after[l],a(t.fn,t.scope,s),i)return e;return e}}return r}return{beforeMethod:function(e,n,i){t.call(this,e).before.push({fn:n,scope:i})},afterMethod:function(e,n,i){t.call(this,e).after.push({fn:n,scope:i})},removeMethodListener:function(t,e,n){for(var i=this.getMethodEvent(t),r=0,o=i.before.length;r<o;r++)if(i.before[r].fn==e&&i.before[r].scope==n)return void i.before.splice(r,1);for(r=0,o=i.after.length;r<o;r++)if(i.after[r].fn==e&&i.after[r].scope==n)return void i.after.splice(r,1)},relayEvents:function(t,e){var n=this;function i(t){return function(){return n.fireEvent.apply(n,[t].concat(Array.prototype.slice.call(arguments,0)))}}for(var r=0,o=e.length;r<o;r++){var a=e[r];n.events[a]=n.events[a]||!0,t.on(a,i(a),n)}},enableBubble:function(t){var e=this;if(!Ext.isEmpty(t))for(var n=0,i=(t=Ext.isArray(t)?t:Array.prototype.slice.call(arguments,0)).length;n<i;n++){var r=t[n];r=r.toLowerCase();var o=e.events[r]||!0;"boolean"==typeof o&&(o=new Ext.util.Event(e,r),e.events[r]=o),o.bubble=!0}}}}()),Ext.util.Observable.capture=function(t,e,n){t.fireEvent=t.fireEvent.createInterceptor(e,n)},Ext.util.Observable.observeClass=function(t,e){if(t)return t.fireEvent||(Ext.apply(t,new Ext.util.Observable),Ext.util.Observable.capture(t.prototype,t.fireEvent,t)),"object"==_typeof(e)&&t.on(e),t},Ext.apply(Ext.EventManager,function(){var t,e,n,i,r=Ext.lib.Dom,o=Ext.EventManager._unload,a=0,s=0,l=Ext.isWebKit?Ext.num(navigator.userAgent.match(/AppleWebKit\/(\d+)/)[1])>=525:!(Ext.isGecko&&!Ext.isWindows||Ext.isOpera);return{_unload:function(){Ext.EventManager.un(window,"resize",this.fireWindowResize,this),o.call(Ext.EventManager)},doResizeEvent:function(){var e=r.getViewHeight(),n=r.getViewWidth();s==e&&a==n||t.fire(a=n,s=e)},onWindowResize:function(n,i,r){t||(t=new Ext.util.Event,e=new Ext.util.DelayedTask(this.doResizeEvent),Ext.EventManager.on(window,"resize",this.fireWindowResize,this)),t.addListener(n,i,r)},fireWindowResize:function(){t&&e.delay(100)},onTextResize:function(t,e,r){if(!n){n=new Ext.util.Event;var o=new Ext.Element(document.createElement("div"));o.dom.className="x-text-resize",o.dom.innerHTML="X",o.appendTo(document.body),i=o.dom.offsetHeight,setInterval((function(){o.dom.offsetHeight!=i&&n.fire(i,i=o.dom.offsetHeight)}),this.textResizeInterval)}n.addListener(t,e,r)},removeResizeListener:function(e,n){t&&t.removeListener(e,n)},fireResize:function(){t&&t.fire(r.getViewWidth(),r.getViewHeight())},textResizeInterval:50,ieDeferSrc:!1,getKeyEvent:function(){return l?"keydown":"keypress"},useKeydown:l}}()),Ext.EventManager.on=Ext.EventManager.addListener,Ext.apply(Ext.EventObjectImpl.prototype,{BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,RETURN:13,SHIFT:16,CTRL:17,CONTROL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGEUP:33,PAGE_DOWN:34,PAGEDOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,isNavKeyPress:function(){var t=this,e=this.normalizeKey(t.keyCode);return e>=33&&e<=40||e==t.RETURN||e==t.TAB||e==t.ESC},isSpecialKey:function(){var t=this.normalizeKey(this.keyCode);return"keypress"==this.type&&this.ctrlKey||this.isNavKeyPress()||t==this.BACKSPACE||t>=16&&t<=20||t>=44&&t<=46},getPoint:function(){return new Ext.lib.Point(this.xy[0],this.xy[1])},hasModifier:function(){return this.ctrlKey||this.altKey||this.shiftKey}}),Ext.Element.addMethods({swallowEvent:function(t,e){var n=this;function i(t){t.stopPropagation(),e&&t.preventDefault()}return Ext.isArray(t)?(Ext.each(t,(function(t){n.on(t,i)})),n):(n.on(t,i),n)},relayEvent:function(t,e){this.on(t,(function(n){e.fireEvent(t,n)}))},clean:function(t){var e=this,n=e.dom,i=n.firstChild,r=-1;if(Ext.Element.data(n,"isCleaned")&&!0!==t)return e;for(;i;){var o=i.nextSibling;3!=i.nodeType||/\S/.test(i.nodeValue)?i.nodeIndex=++r:n.removeChild(i),i=o}return Ext.Element.data(n,"isCleaned",!0),e},load:function(){var t=this.getUpdater();return t.update.apply(t,arguments),this},getUpdater:function(){return this.updateManager||(this.updateManager=new Ext.Updater(this))},update:function(t,e,n){if(!this.dom)return this;if(t=t||"",!0!==e)return this.dom.innerHTML=t,"function"==typeof n&&n(),this;var i=Ext.id(),r=this.dom;return t+='<span id="'+i+'"></span>',Ext.lib.Event.onAvailable(i,(function(){for(var e,r,o,a,s,l,u=document,c=u.getElementsByTagName("head")[0],h=/(?:<script([^>]*)?>)((\n|\r|.)*?)(?:<\/script>)/gi,d=/\ssrc=([\'\"])(.*?)\1/i,f=/\stype=([\'\"])(.*?)\1/i;e=h.exec(t);)(o=!!(r=e[1])&&r.match(d))&&o[2]?((l=u.createElement("script")).src=o[2],(a=r.match(f))&&a[2]&&(l.type=a[2]),c.appendChild(l)):e[2]&&e[2].length>0&&(window.execScript?window.execScript(e[2]):window.eval(e[2]));(s=u.getElementById(i))&&Ext.removeNode(s),"function"==typeof n&&n()})),r.innerHTML=t.replace(/(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)/gi,""),this},removeAllListeners:function(){return this.removeAnchor(),Ext.EventManager.removeAll(this.dom),this},createProxy:function(t,e,n){t="object"==_typeof(t)?t:{tag:"div",cls:t};var i=this,r=e?Ext.DomHelper.append(e,t,!0):Ext.DomHelper.insertBefore(i.dom,t,!0);return n&&i.setBox&&i.getBox&&r.setBox(i.getBox()),r}}),Ext.Element.prototype.getUpdateManager=Ext.Element.prototype.getUpdater},83459:()=>{var all,types,ptypes;Ext.util.MixedCollection=function(t,e){this.items=[],this.map={},this.keys=[],this.length=0,this.addEvents("clear","add","replace","remove","sort"),this.allowFunctions=!0===t,e&&(this.getKey=e),Ext.util.MixedCollection.superclass.constructor.call(this)},Ext.extend(Ext.util.MixedCollection,Ext.util.Observable,{allowFunctions:!1,add:function(t,e){if(1==arguments.length&&(e=arguments[0],t=this.getKey(e)),null!=t){var n=this.map[t];if(void 0!==n)return this.replace(t,e);this.map[t]=e}return this.length++,this.items.push(e),this.keys.push(t),this.fireEvent("add",this.length-1,e,t),e},getKey:function(t){return t.id},replace:function(t,e){1==arguments.length&&(e=arguments[0],t=this.getKey(e));var n=this.map[t];if(null==t||void 0===n)return this.add(t,e);var i=this.indexOfKey(t);return this.items[i]=e,this.map[t]=e,this.fireEvent("replace",t,n,e),e},addAll:function(t){if(arguments.length>1||Ext.isArray(t))for(var e=arguments.length>1?arguments:t,n=0,i=e.length;n<i;n++)this.add(e[n]);else for(var r in t)(this.allowFunctions||"function"!=typeof t[r])&&this.add(r,t[r])},each:function(t,e){for(var n=[].concat(this.items),i=0,r=n.length;i<r&&!1!==t.call(e||n[i],n[i],i,r);i++);},eachKey:function(t,e){for(var n=0,i=this.keys.length;n<i;n++)t.call(e||window,this.keys[n],this.items[n],n,i)},find:function(t,e){for(var n=0,i=this.items.length;n<i;n++)if(t.call(e||window,this.items[n],this.keys[n]))return this.items[n];return null},insert:function(t,e,n){return 2==arguments.length&&(n=arguments[1],e=this.getKey(n)),this.containsKey(e)&&(this.suspendEvents(),this.removeKey(e),this.resumeEvents()),t>=this.length?this.add(e,n):(this.length++,this.items.splice(t,0,n),null!=e&&(this.map[e]=n),this.keys.splice(t,0,e),this.fireEvent("add",t,n,e),n)},remove:function(t){return this.removeAt(this.indexOf(t))},removeAt:function(t){if(t<this.length&&t>=0){this.length--;var e=this.items[t];this.items.splice(t,1);var n=this.keys[t];return void 0!==n&&delete this.map[n],this.keys.splice(t,1),this.fireEvent("remove",e,n),e}return!1},removeKey:function(t){return this.removeAt(this.indexOfKey(t))},getCount:function(){return this.length},indexOf:function(t){return this.items.indexOf(t)},indexOfKey:function(t){return this.keys.indexOf(t)},item:function(t){var e=this.map[t],n=void 0!==e?e:"number"==typeof t?this.items[t]:void 0;return"function"!=typeof n||this.allowFunctions?n:null},itemAt:function(t){return this.items[t]},key:function(t){return this.map[t]},contains:function(t){return-1!=this.indexOf(t)},containsKey:function(t){return void 0!==this.map[t]},clear:function(){this.length=0,this.items=[],this.keys=[],this.map={},this.fireEvent("clear")},first:function(){return this.items[0]},last:function(){return this.items[this.length-1]},_sort:function(t,e,n){var i,r,o="DESC"==String(e).toUpperCase()?-1:1,a=[],s=this.keys,l=this.items;for(n=n||function(t,e){return t-e},i=0,r=l.length;i<r;i++)a[a.length]={key:s[i],value:l[i],index:i};for(a.sort((function(e,i){var r=n(e[t],i[t])*o;return 0===r&&(r=e.index<i.index?-1:1),r})),i=0,r=a.length;i<r;i++)l[i]=a[i].value,s[i]=a[i].key;this.fireEvent("sort",this)},sort:function(t,e){this._sort("value",t,e)},reorder:function(t){this.suspendEvents();var e,n=this.items,i=0,r=n.length,o=[],a=[];for(e in t)o[t[e]]=n[e];for(i=0;i<r;i++)null==t[i]&&a.push(n[i]);for(i=0;i<r;i++)null==o[i]&&(o[i]=a.shift());this.clear(),this.addAll(o),this.resumeEvents(),this.fireEvent("sort",this)},keySort:function(t,e){this._sort("key",t,e||function(t,e){var n=String(t).toUpperCase(),i=String(e).toUpperCase();return n>i?1:n<i?-1:0})},getRange:function(t,e){var n=this.items;if(n.length<1)return[];var i,r=[];if((t=t||0)<=(e=Math.min(void 0===e?this.length-1:e,this.length-1)))for(i=t;i<=e;i++)r[r.length]=n[i];else for(i=t;i>=e;i--)r[r.length]=n[i];return r},filter:function(t,e,n,i){return Ext.isEmpty(e,!1)?this.clone():(e=this.createValueMatcher(e,n,i),this.filterBy((function(n){return n&&e.test(n[t])})))},filterBy:function(t,e){var n=new Ext.util.MixedCollection;n.getKey=this.getKey;for(var i=this.keys,r=this.items,o=0,a=r.length;o<a;o++)t.call(e||this,r[o],i[o])&&n.add(i[o],r[o]);return n},findIndex:function(t,e,n,i,r){return Ext.isEmpty(e,!1)?-1:(e=this.createValueMatcher(e,i,r),this.findIndexBy((function(n){return n&&e.test(n[t])}),null,n))},findIndexBy:function(t,e,n){for(var i=this.keys,r=this.items,o=n||0,a=r.length;o<a;o++)if(t.call(e||this,r[o],i[o]))return o;return-1},createValueMatcher:function(t,e,n,i){if(!t.exec){var r=Ext.escapeRe;t=String(t),!0===e?t=r(t):(t="^"+r(t),!0===i&&(t+="$")),t=new RegExp(t,n?"":"i")}return t},clone:function(){for(var t=new Ext.util.MixedCollection,e=this.keys,n=this.items,i=0,r=n.length;i<r;i++)t.add(e[i],n[i]);return t.getKey=this.getKey,t}}),Ext.util.Format=function(){var trimRe=/^\s+|\s+$/g,stripTagsRE=/<\/?[^>]+>/gi,stripScriptsRe=/(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)/gi,nl2brRe=/\r?\n/g,fns;return{ellipsis:function(t,e,n){if(t&&t.length>e){if(n){var i=t.substr(0,e-2),r=Math.max(i.lastIndexOf(" "),i.lastIndexOf("."),i.lastIndexOf("!"),i.lastIndexOf("?"));return-1==r||r<e-15?t.substr(0,e-3)+"...":i.substr(0,r)+"..."}return t.substr(0,e-3)+"..."}return t},undef:function(t){return void 0!==t?t:""},defaultValue:function(t,e){return e||0===e||(e=""),void 0!==t&&""!==t?t:e},htmlEncode:function(t){return t?String(t).replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;"):t},htmlDecode:function(t){return t?String(t).replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&quot;/g,'"').replace(/&amp;/g,"&"):t},trim:function(t){return String(t).replace(trimRe,"")},substr:function(t,e,n){return String(t).substr(e,n)},lowercase:function(t){return String(t).toLowerCase()},uppercase:function(t){return String(t).toUpperCase()},capitalize:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1).toLowerCase():t},call:function call(value,fn){if(arguments.length>2){var args=Array.prototype.slice.call(arguments,2);return args.unshift(value),eval(fn).apply(window,args)}return eval(fn).call(window,value)},usMoney:function(t){t=(t=Math.round(100*(t-0))/100)==Math.floor(t)?t+".00":10*t==Math.floor(10*t)?t+"0":t;for(var e=(t=String(t)).split("."),n=e[0],i=e[1]?"."+e[1]:".00",r=/(\d+)(\d{3})/;r.test(n);)n=n.replace(r,"$1,$2");return"-"==(t=n+i).charAt(0)?"-$"+t.substr(1):"$"+t},date:function(t,e){return t?(Ext.isDate(t)||(t=new Date(Date.parse(t))),t.dateFormat(e||"m/d/Y")):""},dateRenderer:function(t){return function(e){return Ext.util.Format.date(e,t)}},stripTags:function(t){return t?String(t).replace(stripTagsRE,""):t},stripScripts:function(t){return t?String(t).replace(stripScriptsRe,""):t},fileSize:function(t){return t<1024?t+" bytes":t<1048576?Math.round(10*t/1024)/10+" KB":Math.round(10*t/1048576)/10+" MB"},math:(fns={},function(t,e){return fns[e]||(fns[e]=new Function("v","return v "+e+";")),fns[e](t)}),round:function(t,e){var n=Number(t);return"number"==typeof e&&(e=Math.pow(10,e),n=Math.round(t*e)/e),n},number:function(t,e){if(!e)return t;if(t=Ext.num(t,NaN),isNaN(t))return"";var n=",",i=".",r=!1,o=t<0;t=Math.abs(t),"/i"==e.substr(e.length-2)&&(e=e.substr(0,e.length-2),r=!0,n=".",i=",");var a=-1!=e.indexOf(n),s=(r?e.replace(/[^\d\,]/g,""):e.replace(/[^\d\.]/g,"")).split(i);if(1<s.length)t=t.toFixed(s[1].length);else{if(2<s.length)throw"NumberFormatException: invalid format, formats should have no more than 1 period: "+e;t=t.toFixed(0)}var l=t.toString();if(s=l.split("."),a){var u,c=s[0],h=[],d=c.length,f=(Math.floor(d/3),c.length%3||3);for(u=0;u<d;u+=f)0!=u&&(f=3),h[h.length]=c.substr(u,f);l=h.join(n),s[1]&&(l+=i+s[1])}else s[1]&&(l=s[0]+i+s[1]);return(o?"-":"")+e.replace(/[\d,?\.?]+/,l)},numberRenderer:function(t){return function(e){return Ext.util.Format.number(e,t)}},plural:function(t,e,n){return t+" "+(1==t?e:n||e+"s")},nl2br:function(t){return Ext.isEmpty(t)?"":t.replace(nl2brRe,"<br/>")}}}(),Ext.Error=function(t){this.message=this.lang[t]?this.lang[t]:t},Ext.Error.prototype=new Error,Ext.apply(Ext.Error.prototype,{lang:{},name:"Ext.Error",getName:function(){return this.name},getMessage:function(){return this.message},toJson:function(){return Ext.encode(this)}}),Ext.ComponentMgr=(all=new Ext.util.MixedCollection,types={},ptypes={},{register:function(t){all.add(t)},unregister:function(t){all.remove(t)},get:function(t){return all.get(t)},onAvailable:function(t,e,n){all.on("add",(function(i,r){r.id==t&&(e.call(n||r,r),all.un("add",e,n))}))},all,types,ptypes,isRegistered:function(t){return void 0!==types[t]},isPluginRegistered:function(t){return void 0!==ptypes[t]},registerType:function(t,e){types[t]=e,e.xtype=t},create:function(t,e){return t.render?t:new types[t.xtype||e](t)},registerPlugin:function(t,e){ptypes[t]=e,e.ptype=t},createPlugin:function(t,e){var n=ptypes[t.ptype||e];return n.init?n:new n(t)}}),Ext.reg=Ext.ComponentMgr.registerType,Ext.preg=Ext.ComponentMgr.registerPlugin,Ext.create=Ext.ComponentMgr.create},33883:()=>{!function(t){var e=null,n=null,i=!1,r="focusable-column",o="."+r,a={fadeDuration:700,hideOnClick:!1,hideOnESC:!1,findOnResize:!1,opacity:.7,beforeHideCallback:null,afterHideCallback:null};function s(){n&&(n=a.findOnResize?$(n.selector):n,C())}function l(t){a.hideOnESC&&27===t.keyCode&&i&&h()}function u(){a.hideOnClick&&h()}function c(){e.find(o).remove()}function h(){a.beforeHideCallback?a.beforeHideCallback.call():d()}function d(){i=!1,n=null,$("body").css("overflow",""),e.find(o).fadeOut(a.fadeDuration,c)}function f(t){if(n){var e=0;for(i=!0,c();e<4;)m(e),e++;!0===t&&$(o).show()}}function m(t){var i,o=n.offset(),s=0,l=0,u=p(n.outerWidth()),c="100%";switch(t){case 0:u=p(o.left);break;case 1:l=p(o.left),c=p(o.top);break;case 2:l=p(o.left),s=p(n.outerHeight()+o.top);break;case 3:u="100%",l=p(n.outerWidth()+o.left)}i="top:"+s+";left:"+l+";width:"+u+";height:"+c+";background: rgba(0,0,0,"+a.opacity+")",e.prepend('<div class="'+r+'" style="'+i+'"></div>')}function p(t){return t+"px"}function C(){f(!0)}$(document).ready((function(){var t;e=$("body"),window.jQuery&&window.$&&window.$.fn&&($.fn.focusable=function(t){return Focusable.setFocus(this,t),this}),(t=document.createElement("style"),t.appendChild(document.createTextNode("")),document.head.appendChild(t),t.sheet).insertRule(o+"{ display:none; position: absolute; z-index: 9999; background: rgba(0,0,0,0.8); }",0),e.on("click",o,u),$(window).on("resize",s),$(window).on("keyup",l)})),t.Focusable={setFocus:function(t,i){var s,l,u,c,h;$("body").css("overflow","hidden"),a=$.extend(a,i),n=t,f(),a.circle&&(u=(s=n.get(0).getBoundingClientRect()).width,c=s.height,h=Math.min(s.width/2,s.height/2),(l=$("<svg width="+u+" height="+c+'><defs> <mask id="hole"> <rect width="100%" height="100%" fill="white"/> <circle r="'+h+'" cx="'+u/2+'" cy="'+c/2+'" /> </mask></defs><rect id="donut" style="fill:rgba(0,0,0,0.8);" width="'+u+'" height="'+c+'" mask="url(#hole)" /></svg>')).attr("class",r),l.css({left:s.left,top:s.top,background:"transparent"}),e.prepend(l)),e.find(o).fadeIn(a.fadeDuration)},hide:d,refresh:C,getActiveElement:function(){return n},getOptions:function(){return a},isVisible:function(){return i}}}(window)},72322:()=>{function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}!function(e,n){"use strict";var i,r=e.document,o=[],a={},s={},l="async"in r.createElement("script")||"MozAppearance"in r.documentElement.style||e.opera,u=e.head_conf&&e.head_conf.head||"head",c=e[u]=e[u]||function(){c.ready.apply(null,arguments)};function h(){}function d(e,n){if(e){"object"===t(e)&&(e=[].slice.call(e));for(var i=0,r=e.length;i<r;i++)n.call(e,e[i],i)}}function f(t,e){var i=Object.prototype.toString.call(e).slice(8,-1);return e!==n&&null!==e&&i===t}function m(t){return f("Function",t)}function p(t){return f("Array",t)}function C(t){var e=t.split("/"),n=e[e.length-1],i=n.indexOf("?");return-1!==i?n.substring(0,i):n}function v(t){(t=t||h)._done||(t(),t._done=1)}function g(e){var n={};if("object"===t(e))for(var i in e)e[i]&&(n={name:i,url:e[i]});else n={name:C(e),url:e};var r=s[n.name];return r&&r.url===n.url?r:(s[n.name]=n,n)}function y(t){for(var e in t=t||s)if(t.hasOwnProperty(e)&&4!==t[e].state)return!1;return!0}function E(t,e){t.state===n&&(t.state=1,t.onpreload=[],function(t){t.state=2,d(t.onpreload,(function(t){t.call()}))}(t))}function S(t,n){n=n||h,4!==t.state?3!==t.state?1!==t.state?(t.state=3,function(t,n){function i(t){t=t||e.event,a.onload=a.onreadystatechange=a.onerror=null,n()}function o(i){("load"===(i=i||e.event).type||/loaded|complete/.test(a.readyState)&&(!r.documentMode||r.documentMode<9))&&(e.clearTimeout(t.errorTimeout),e.clearTimeout(t.cssTimeout),a.onload=a.onreadystatechange=a.onerror=null,n())}var a,s,l;n=n||h,"css"===(s=t.url,(l=(s=s||"").split("?")[0].split("."))[l.length-1].toLowerCase())?((a=r.createElement("link")).type="text/"+(t.type||"css"),a.rel="stylesheet",a.href=t.url,t.cssRetries=0,t.cssTimeout=e.setTimeout((function n(){if(4!==t.state&&t.cssRetries<=20){for(var i=0,s=r.styleSheets.length;i<s;i++)if(r.styleSheets[i].href===a.href)return void o({type:"load"});t.cssRetries++,t.cssTimeout=e.setTimeout(n,250)}}),500)):((a=r.createElement("script")).type="text/"+(t.type||"javascript"),a.src=t.url),a.onload=a.onreadystatechange=o,a.onerror=i,a.async=!1,a.defer=!1,t.errorTimeout=e.setTimeout((function(){i({type:"timeout"})}),7e3);var u=r.head||r.getElementsByTagName("head")[0];u.insertBefore(a,u.lastChild)}(t,(function(){t.state=4,n(),d(a[t.name],(function(t){v(t)})),i&&y()&&d(a.ALL,(function(t){v(t)}))}))):t.onpreload.push((function(){S(t,n)})):c.ready(t.name,n):n()}function b(){if(!r.body)return e.clearTimeout(c.readyTimeout),void(c.readyTimeout=e.setTimeout(b,50));i||(i=!0,function(){for(var t=r.getElementsByTagName("script"),e=0,n=t.length;e<n;e++){var i=t[e].getAttribute("data-headjs-load");if(i)return void c.load(i)}}(),d(o,(function(t){v(t)})))}function x(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",x,!1),b()):"complete"===r.readyState&&(r.detachEvent("onreadystatechange",x),b())}if("complete"===r.readyState)b();else if(r.addEventListener)r.addEventListener("DOMContentLoaded",x,!1),e.addEventListener("load",b,!1);else{r.attachEvent("onreadystatechange",x),e.attachEvent("onload",b);var w=!1;try{w=!e.frameElement&&r.documentElement}catch(t){}w&&w.doScroll&&function t(){if(!i){try{w.doScroll("left")}catch(n){return e.clearTimeout(c.readyTimeout),void(c.readyTimeout=e.setTimeout(t,50))}b()}}()}c.load=c.js=l?function(){var t=arguments,e=t[t.length-1],n={};return m(e)||(e=null),p(t[0])?(t[0].push(e),c.load.apply(null,t[0]),c):(d(t,(function(t,i){t!==e&&(t=g(t),n[t.name]=t)})),d(t,(function(t,i){t!==e&&S(t=g(t),(function(){y(n)&&v(e)}))})),c)}:function(){var t=arguments,e=t[t.length-1],n=[].slice.call(t,1),i=n[0];return m(e)||(e=null),p(t[0])?(t[0].push(e),c.load.apply(null,t[0]),c):(i?(d(n,(function(t){!m(t)&&t&&E(g(t))})),S(g(t[0]),m(i)?i:function(){c.load.apply(null,n)})):S(g(t[0])),c)},c.test=function(e,n,i,r){var o="object"===t(e)?e:{test:e,success:!!n&&(p(n)?n:[n]),failure:!!i&&(p(i)?i:[i]),callback:r||h},a=!!o.test;return a&&o.success?(o.success.push(o.callback),c.load.apply(null,o.success)):!a&&o.failure?(o.failure.push(o.callback),c.load.apply(null,o.failure)):r(),c},c.ready=function(t,e){if(t===r)return i?v(e):o.push(e),c;if(m(t)&&(e=t,t="ALL"),p(t)){var n={};return d(t,(function(t){n[t]=s[t],c.ready(t,(function(){y(n)&&v(e)}))})),c}if("string"!=typeof t||!m(e))return c;var l=s[t];if(l&&4===l.state||"ALL"===t&&y()&&i)return v(e),c;var u=a[t];return u?u.push(e):u=a[t]=[e],c},c.ready(r,(function(){y()&&d(a.ALL,(function(t){v(t)})),c.feature&&c.feature("domloaded",!0)}))}(window)},37142:function(t,e,n){var i,r,o,a=n(20134).btoa;function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}o=function(){"use strict";var t=function(){function t(t,e,n){this.x=t,this.y=e,this.time=n||Date.now()}return t.prototype.distanceTo=function(t){return Math.sqrt(Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2))},t.prototype.equals=function(t){return this.x===t.x&&this.y===t.y&&this.time===t.time},t.prototype.velocityFrom=function(t){return this.time!==t.time?this.distanceTo(t)/(this.time-t.time):0},t}(),e=function(){function e(t,e,n,i,r,o){this.startPoint=t,this.control2=e,this.control1=n,this.endPoint=i,this.startWidth=r,this.endWidth=o}return e.fromPoints=function(t,n){var i=this.calculateControlPoints(t[0],t[1],t[2]).c2,r=this.calculateControlPoints(t[1],t[2],t[3]).c1;return new e(t[1],i,r,t[2],n.start,n.end)},e.calculateControlPoints=function(e,n,i){var r=e.x-n.x,o=e.y-n.y,a=n.x-i.x,s=n.y-i.y,l=(e.x+n.x)/2,u=(e.y+n.y)/2,c=(n.x+i.x)/2,h=(n.y+i.y)/2,d=Math.sqrt(r*r+o*o),f=Math.sqrt(a*a+s*s),m=f/(d+f),p=c+(l-c)*m,C=h+(u-h)*m,v=n.x-p,g=n.y-C;return{c1:new t(l+v,u+g),c2:new t(c+v,h+g)}},e.prototype.length=function(){for(var t,e,n=0,i=0;i<=10;i+=1){var r=i/10,o=this.point(r,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),a=this.point(r,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y);if(i>0){var s=o-t,l=a-e;n+=Math.sqrt(s*s+l*l)}t=o,e=a}return n},e.prototype.point=function(t,e,n,i,r){return e*(1-t)*(1-t)*(1-t)+3*n*(1-t)*(1-t)*t+3*i*(1-t)*t*t+r*t*t*t},e}();return function(){function n(t,e){void 0===e&&(e={});var i=this;this.canvas=t,this.options=e,this._handleMouseDown=function(t){1===t.which&&(i._mouseButtonDown=!0,i._strokeBegin(t))},this._handleMouseMove=function(t){i._mouseButtonDown&&i._strokeMoveUpdate(t)},this._handleMouseUp=function(t){1===t.which&&i._mouseButtonDown&&(i._mouseButtonDown=!1,i._strokeEnd(t))},this._handleTouchStart=function(t){if(t.preventDefault(),1===t.targetTouches.length){var e=t.changedTouches[0];i._strokeBegin(e)}},this._handleTouchMove=function(t){t.preventDefault();var e=t.targetTouches[0];i._strokeMoveUpdate(e)},this._handleTouchEnd=function(t){if(t.target===i.canvas){t.preventDefault();var e=t.changedTouches[0];i._strokeEnd(e)}},this.velocityFilterWeight=e.velocityFilterWeight||.7,this.minWidth=e.minWidth||.5,this.maxWidth=e.maxWidth||2.5,this.throttle="throttle"in e?e.throttle:16,this.minDistance="minDistance"in e?e.minDistance:5,this.throttle?this._strokeMoveUpdate=function(t,e){void 0===e&&(e=250);var n,i,r,o=0,a=null,s=function(){o=Date.now(),a=null,n=t.apply(i,r),a||(i=null,r=[])};return function(){for(var l=[],u=0;u<arguments.length;u++)l[u]=arguments[u];var c=Date.now(),h=e-(c-o);return i=this,r=l,h<=0||h>e?(a&&(clearTimeout(a),a=null),o=c,n=t.apply(i,r),a||(i=null,r=[])):a||(a=window.setTimeout(s,h)),n}}(n.prototype._strokeUpdate,this.throttle):this._strokeMoveUpdate=n.prototype._strokeUpdate,this.dotSize=e.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=e.penColor||"black",this.backgroundColor=e.backgroundColor||"rgba(0,0,0,0)",this.onBegin=e.onBegin,this.onEnd=e.onEnd,this._ctx=t.getContext("2d"),this.clear(),this.on()}return n.prototype.clear=function(){var t=this._ctx,e=this.canvas;t.fillStyle=this.backgroundColor,t.clearRect(0,0,e.width,e.height),t.fillRect(0,0,e.width,e.height),this._data=[],this._reset(),this._isEmpty=!0},n.prototype.fromDataURL=function(t,e,n){var i=this;void 0===e&&(e={});var r=new Image,o=e.ratio||window.devicePixelRatio||1,a=e.width||this.canvas.width/o,s=e.height||this.canvas.height/o;this._reset(),r.onload=function(){i._ctx.drawImage(r,0,0,a,s),n&&n()},r.onerror=function(t){n&&n(t)},r.src=t,this._isEmpty=!1},n.prototype.toDataURL=function(t,e){switch(void 0===t&&(t="image/png"),t){case"image/svg+xml":return this._toSVG();default:return this.canvas.toDataURL(t,e)}},n.prototype.on=function(){this.canvas.style.touchAction="none",this.canvas.style.msTouchAction="none",window.PointerEvent?this._handlePointerEvents():(this._handleMouseEvents(),"ontouchstart"in window&&this._handleTouchEvents())},n.prototype.off=function(){this.canvas.style.touchAction="auto",this.canvas.style.msTouchAction="auto",this.canvas.removeEventListener("pointerdown",this._handleMouseDown),this.canvas.removeEventListener("pointermove",this._handleMouseMove),document.removeEventListener("pointerup",this._handleMouseUp),this.canvas.removeEventListener("mousedown",this._handleMouseDown),this.canvas.removeEventListener("mousemove",this._handleMouseMove),document.removeEventListener("mouseup",this._handleMouseUp),this.canvas.removeEventListener("touchstart",this._handleTouchStart),this.canvas.removeEventListener("touchmove",this._handleTouchMove),this.canvas.removeEventListener("touchend",this._handleTouchEnd)},n.prototype.isEmpty=function(){return this._isEmpty},n.prototype.fromData=function(t){var e=this;this.clear(),this._fromData(t,(function(t){var n=t.color,i=t.curve;return e._drawCurve({color:n,curve:i})}),(function(t){var n=t.color,i=t.point;return e._drawDot({color:n,point:i})})),this._data=t},n.prototype.toData=function(){return this._data},n.prototype._strokeBegin=function(t){var e={color:this.penColor,points:[]};"function"==typeof this.onBegin&&this.onBegin(t),this._data.push(e),this._reset(),this._strokeUpdate(t)},n.prototype._strokeUpdate=function(t){var e=t.clientX,n=t.clientY,i=this._createPoint(e,n),r=this._data[this._data.length-1],o=r.points,a=o.length>0&&o[o.length-1],s=!!a&&i.distanceTo(a)<=this.minDistance,l=r.color;if(!a||!a||!s){var u=this._addPoint(i);a?u&&this._drawCurve({color:l,curve:u}):this._drawDot({color:l,point:i}),o.push({time:i.time,x:i.x,y:i.y})}},n.prototype._strokeEnd=function(t){this._strokeUpdate(t),"function"==typeof this.onEnd&&this.onEnd(t)},n.prototype._handlePointerEvents=function(){this._mouseButtonDown=!1,this.canvas.addEventListener("pointerdown",this._handleMouseDown),this.canvas.addEventListener("pointermove",this._handleMouseMove),document.addEventListener("pointerup",this._handleMouseUp)},n.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this.canvas.addEventListener("mousedown",this._handleMouseDown),this.canvas.addEventListener("mousemove",this._handleMouseMove),document.addEventListener("mouseup",this._handleMouseUp)},n.prototype._handleTouchEvents=function(){this.canvas.addEventListener("touchstart",this._handleTouchStart),this.canvas.addEventListener("touchmove",this._handleTouchMove),this.canvas.addEventListener("touchend",this._handleTouchEnd)},n.prototype._reset=function(){this._lastPoints=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._ctx.fillStyle=this.penColor},n.prototype._createPoint=function(e,n){var i=this.canvas.getBoundingClientRect();return new t(e-i.left,n-i.top,(new Date).getTime())},n.prototype._addPoint=function(t){var n=this._lastPoints;if(n.push(t),n.length>2){3===n.length&&n.unshift(n[0]);var i=this._calculateCurveWidths(n[1],n[2]),r=e.fromPoints(n,i);return n.shift(),r}return null},n.prototype._calculateCurveWidths=function(t,e){var n=this.velocityFilterWeight*e.velocityFrom(t)+(1-this.velocityFilterWeight)*this._lastVelocity,i=this._strokeWidth(n),r={end:i,start:this._lastWidth};return this._lastVelocity=n,this._lastWidth=i,r},n.prototype._strokeWidth=function(t){return Math.max(this.maxWidth/(t+1),this.minWidth)},n.prototype._drawCurveSegment=function(t,e,n){var i=this._ctx;i.moveTo(t,e),i.arc(t,e,n,0,2*Math.PI,!1),this._isEmpty=!1},n.prototype._drawCurve=function(t){var e=t.color,n=t.curve,i=this._ctx,r=n.endWidth-n.startWidth,o=2*Math.floor(n.length());i.beginPath(),i.fillStyle=e;for(var a=0;a<o;a+=1){var s=a/o,l=s*s,u=l*s,c=1-s,h=c*c,d=h*c,f=d*n.startPoint.x;f+=3*h*s*n.control1.x,f+=3*c*l*n.control2.x,f+=u*n.endPoint.x;var m=d*n.startPoint.y;m+=3*h*s*n.control1.y,m+=3*c*l*n.control2.y,m+=u*n.endPoint.y;var p=n.startWidth+u*r;this._drawCurveSegment(f,m,p)}i.closePath(),i.fill()},n.prototype._drawDot=function(t){var e=t.color,n=t.point,i=this._ctx,r="function"==typeof this.dotSize?this.dotSize():this.dotSize;i.beginPath(),this._drawCurveSegment(n.x,n.y,r),i.closePath(),i.fillStyle=e,i.fill()},n.prototype._fromData=function(e,n,i){for(var r=0,o=e;r<o.length;r++){var a=o[r],s=a.color,l=a.points;if(l.length>1)for(var u=0;u<l.length;u+=1){var c=l[u],h=new t(c.x,c.y,c.time);this.penColor=s,0===u&&this._reset();var d=this._addPoint(h);d&&n({color:s,curve:d})}else this._reset(),i({color:s,point:l[0]})}},n.prototype._toSVG=function(){var t=this,e=this._data,n=Math.max(window.devicePixelRatio||1,1),i=this.canvas.width/n,r=this.canvas.height/n,o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.setAttribute("width",this.canvas.width.toString()),o.setAttribute("height",this.canvas.height.toString()),this._fromData(e,(function(t){var e=t.color,n=t.curve,i=document.createElement("path");if(!(isNaN(n.control1.x)||isNaN(n.control1.y)||isNaN(n.control2.x)||isNaN(n.control2.y))){var r="M "+n.startPoint.x.toFixed(3)+","+n.startPoint.y.toFixed(3)+" C "+n.control1.x.toFixed(3)+","+n.control1.y.toFixed(3)+" "+n.control2.x.toFixed(3)+","+n.control2.y.toFixed(3)+" "+n.endPoint.x.toFixed(3)+","+n.endPoint.y.toFixed(3);i.setAttribute("d",r),i.setAttribute("stroke-width",(2.25*n.endWidth).toFixed(3)),i.setAttribute("stroke",e),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),o.appendChild(i)}}),(function(e){var n=e.color,i=e.point,r=document.createElement("circle"),a="function"==typeof t.dotSize?t.dotSize():t.dotSize;r.setAttribute("r",a.toString()),r.setAttribute("cx",i.x.toString()),r.setAttribute("cy",i.y.toString()),r.setAttribute("fill",n),o.appendChild(r)}));var s='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 '+i+" "+r+'" width="'+i+'" height="'+r+'">',l=o.innerHTML;if(void 0===l){var u=document.createElement("dummy"),c=o.childNodes;u.innerHTML="";for(var h=0;h<c.length;h+=1)u.appendChild(c[h].cloneNode(!0));l=u.innerHTML}return"data:image/svg+xml;base64,"+a(s+l+"</svg>")},n}()},"object"===s(e)?t.exports=o():void 0===(r="function"==typeof(i=o)?i.call(e,n,e,t):i)||(t.exports=r)},53609:()=>{LoginForm.PrepareStartup()},25782:()=>{Common.Cs.Define("Ul.ApplicationAdapter","Common.Observable",{Control:null,constructor:function(){this.callParent(arguments),this.addEvents("SelectedSystemChanged"),this._createControl()},_createControl:function(){Common.Util.TryGetValue(Ul.ApplicationCtrlr,"CustomUi.Selector")||LoginFormData.CustomUiPrefix?this.Control=new Ui.CustomApplicationUi:this.Control=new Ui.ApplicationUi,this.Control.on({scope:this,SelectedSystemChanged:this._onApplicationUi_SelectedSystemChanged})},AddSystemUiToApplicationUi:function(t){this.Control.AddToMainTabPanel(t.Control)},AfterLoadSystem:function(){},SelectSystemUi:function(t,e){this.Control.SelectSystemTabPage(t,e)},SetSelectedButton:function(t,e){this.Control.SetSelectedButton(t,e)},GetSelectedSystemData:function(){return this.Control.GetSelectedSystemData()},ShowSecurityMessage:function(t,e){Ul.MsgBox.OKCancel(t,"تایید پیغام امنیتی",e)},_onApplicationUi_SelectedSystemChanged:function(t,e){this.fireEvent("SelectedSystemChanged",this,e)},statics:{InitBeforeApplicationLoadData:function(t){Common.Util.DisableBackSpaceKey(!1),Ul.LoadingMask.MaskBody(),t&&t()}}})},69528:()=>{Common.Cs.Define("Ul.ApplicationCtrlr","Common.Observable",{singleton:!0,EnterKeyForNavigation:!0,UseFlatIcons:!0,EventEnum:{BeforeApplicationStart:"MetaEventTopics.System_BeforeApplicationStart",GlobalReportMoUpdate:"GlobalReportMoUpdate",GlobalReportMoDelete:"GlobalReportMoDelete",GlobalReportMoAdd:"GlobalReportMoAdd",GlobalDesktopAlertClick:"GlobalDesktopAlertClick",AfterSystemSelect:"AfterSystemSelect",AfterSystemOrReportChange:"AfterSystemOrReportChange"},DefaultSystemId:null,SystemDict:null,ButtonsPressDelay:1e3,Adapter:null,IsInitializing:!1,constructor:function(t){this.SystemDict={},this.callParent(arguments),this.addEvents(this.EventEnum.BeforeApplicationStart,this.EventEnum.GlobalReportMoUpdate,this.EventEnum.GlobalReportMoAdd,this.EventEnum.GlobalReportMoDelete,this.EventEnum.GlobalDesktopAlertClick,this.EventEnum.AfterSystemSelect,this.EventEnum.AfterSystemOrReportChange),this.on(this.EventEnum.GlobalDesktopAlertClick,this._onGlobalDesktopAlertClick,this)},Initialize:function(t){Ul.ApplicationAdapter.InitBeforeApplicationLoadData(),1!=this.IsInitializing?(this.IsInitializing=!0,this.DefaultSystemId=0,Common.Async.Waterfall("Application Initialize",{EventEnum_BeforeApplicationStart:this.FireEventSynch.bind(this,this.EventEnum.BeforeApplicationStart,{Application:this}),_loadSystem:this._loadSystem.bind(this,0,!0),_createApplicationAdapter:this._createApplicationAdapter.bind(this),_showSecurityMessage:this._showSecurityMessage.bind(this),_showChangePasswordIfNeeded:this._showChangePasswordIfNeeded.bind(this),_showTwoFactorActivation:this._showTwoFactorActivation.bind(this),EventEnum_BeforeSystemCreate:function(t){var e=this.SystemDict[this.DefaultSystemId];e.FireEventSynch.call(e,Ul.SystemCtrlr.EventEnum.BeforeSystemCreate,this._createEventArg(this.DefaultSystemId),t)}.bind(this),_createSystemUi:this._createSystemUi.bind(this,0),EventEnum_AfterSystemCreate:function(t){var e=this.SystemDict[this.DefaultSystemId];e.FireEventSynch.call(e,Ul.SystemCtrlr.EventEnum.AfterSystemCreate,this._createEventArg(this.DefaultSystemId),t)}.bind(this),SelectSystem:this.SelectSystem.bind(this,0),InitIntegratedApps:function(t){this.Messenger&&Util.MessengerHelper.Init(this.Messenger),t()}.bind(this),StartupJs:this.StartupJs},(function(e,n){Ext.isNotEmpty(e)&&"Logout"==e.Tag?Ul.ApplicationCtrlr.Logout():(this.IsInitializing=!1,Ul.LoadingMask.UnmaskBody(),e&&(e instanceof Common.Exception&&(e=e.Text),Ul.MsgBox.Error(e)),t&&t(e,n))}))):t&&t()},StartupJs:function StartupJs(doReturn){if(LoginFormData.StartupJs){var url=window.location.href,match="?debug=",index=url.indexOf(match);if(-1!==index){var url2=url.substring(0,index);window.history.replaceState({},document.title,url2)}eval(LoginFormData.StartupJs)}doReturn()},SelectSystem:function(t,e){var n=t;0==n?n=this.DefaultSystemId:Ext.isObject(n)&&Ext.isDefined(n.Id)&&(n=n.Id);var i=this.FindSystemByIdOrName(n);if(i.SystemData.NoUi)e();else{Common.Debug.Assert(0==Ext.isEmpty(i),"Ul.ApplicationCtrlr.SelectSystem: Cant find system with the given Id");var r=i.SystemData.IsUiCreated;Ul.LoadingMask.MaskBody(500),!0===r?(this.CurrentSystemAdapter=i.Adapter,Common.Async.Waterfall("Application SelectSystem",{_checkLoginNeeded:Common.Async.ExecuteIfCondition.bind(null,0!=t,this._checkLoginNeeded.bind(this,n)),_checkIsActive:Common.Async.ContinueIfCondition.bind(this,0==i.SystemData.IsActive),EventEnum_BeforeSystemSelect:i.FireEventSynch.bind(i,Ul.SystemCtrlr.EventEnum.BeforeSystemSelect,this._createEventArg(n)),_selectSystemUi:this._selectSystemUi.bind(this,n,!0),EventEnum_AfterSystemSelect:i.FireEventSynch.bind(i,Ul.SystemCtrlr.EventEnum.AfterSystemSelect,this._createEventArg(n)),SelectStartupReport:i.SelectStartupReport.bind(i)},function(t,i){t||(window.ribbon=this.SystemDict[n].Adapter.Control.Ribbon),Ul.LoadingMask.UnmaskBody(),e&&e(t)}.bind(this))):Common.Async.Waterfall("Application SelectSystem (create and select)",{_checkLoginNeeded:Common.Async.ExecuteIfCondition.bind(null,0!=t,this._checkLoginNeeded.bind(this,n)),_exeBeforeLoadSystem:this._exeBeforeLoadSystem.bind(this,n),_loadSystem:this._loadSystem.bind(this,n,!1),EventEnum_BeforeSystemCreate:i.FireEventSynch.bind(i,Ul.SystemCtrlr.EventEnum.BeforeSystemCreate,this._createEventArg(n)),_createSystemUi:this._createSystemUi.bind(this,n),EventEnum_AfterSystemCreate:i.FireEventSynch.bind(i,Ul.SystemCtrlr.EventEnum.AfterSystemCreate,this._createEventArg(n)),EventEnum_BeforeSystemSelect:i.FireEventSynch.bind(i,Ul.SystemCtrlr.EventEnum.BeforeSystemSelect,this._createEventArg(n)),_selectSystemUi:this._selectSystemUi.bind(this,n,!1),EventEnum_AfterSystemSelect:i.FireEventSynch.bind(i,Ul.SystemCtrlr.EventEnum.AfterSystemSelect,this._createEventArg(n)),SelectStartupReport:i.SelectStartupReport.bind(i)},function(t,i){t||(window.ribbon=this.SystemDict[n].Adapter.Control.Ribbon),Ul.LoadingMask.UnmaskBody(),e&&e(t)}.bind(this))}},FindSystemByIdOrName:function(t){var e=this.SystemDict[t];if(Ext.isEmpty(e))for(var n in this.SystemDict)if(this.SystemDict[n].Name==t){e=this.SystemDict[n];break}return e},GetSelectedSystemData:function(){var t=null;return this.Adapter&&(t=this.Adapter.GetSelectedSystemData()),Ext.isEmpty(t)&&Ext.isNotEmpty(this.SystemDict[this.DefaultSystemId])&&(t=this.SystemDict[this.DefaultSystemId].SystemData),t},GetSelectedSystem:function(){var t=null,e=this.GetSelectedSystemData();return e&&(t=this.SystemDict[e.Id]),t},_____ShowSecurityMessage:function(t,e,n){var i,r=function(t){Data.getServerData("System.ConfirmAdvancedSecurityPolicy",null,null,null,null,!0),i.close(),n.call()},o=function(){i.close(),System.Logout()},a=new Ext.Button({text:"تأیید",style:"font-size : 12px",handler:r}),s=new Ext.Button({text:"انصراف",style:"font-size : 12px",handler:o}),l='<div style="height:300px; overflow-y: auto"><div style="margin: 8px;">'+e+"</div></div>",u=new Ext.Panel({layout:"hbox",html:l});(i=new Ext.Window({title:t,width:450,height:365,layout:"fit",bodyStyle:"padding:0px;",buttonAlign:"left",resizable:!1,closable:!1,modal:!0,buttons:[a,s],items:[u],keys:[{key:Ext.EventObject.ENTER,fn:r},{key:Ext.EventObject.ESC,fn:o}]})).show()},RegisterCustomEventHandlers:function(t,e,n){var i=this.SystemDict[t];Common.Debug.Assert(0==Ext.isEmpty(i),"Ul.ApplicationCtrlr.RegisterCustomEventHandlers"),i.RegisterCustomEventHandlers(e,n)},Logout:function(t){Common.LogManager.StartLog2("Application.Logout",{});var e=LoginFormData.Sso;if(e&&!e.ReturnOnLogout&&Ul.ApplicationCtrlr.NoLogout){var n=window.location.origin;window.location.href=n+"/api/base/ssologout"}else window.localStorage.removeItem(LoginAction.token2StorageKey),Common.Ajax.GetServerData_Sync("logout",{},(function(n){if(!t)if(e&&e.ReturnOnLogout){var i=window.location.origin;window.location.href=i}else n?window.location.href=n:LoadHelper.Reload()}),this,(function(){}),!0),Common.LogManager.EndLog()},ResolveSystemDataDict:function(){var t={};for(var e in this.SystemDict)t[e]=this.SystemDict[e].SystemData;return t},GetSystemCtrlrById:function(t){return this.SystemDict[t]},GetSystemCtrlrByName:function(t){for(var e in this.SystemDict)if(this.SystemDict.hasOwnProperty(e)&&this.SystemDict[e].Name===t)return this.SystemDict[e]},SetSelectedButton:function(t,e){this.Adapter.SetSelectedButton(t,e)},AllowDesign:function(){return!1===this.IsUser},_selectSystemUi:function(t,e,n){var i=this.GetSelectedSystemData();i&&(i.IsActive=!1),this.Adapter.SelectSystemUi(t,e),this.SystemDict[t].SystemData.IsActive=!0,n&&n()},_createApplicationAdapter:function(t){this.Adapter=new Ul.ApplicationAdapter,this.Adapter.on({scope:this,SelectedSystemChanged:this._onAdapter_SelectedSystemChanged}),t()},_createSystemUi:function(t,e){0==t&&(t=this.DefaultSystemId);var n=this.SystemDict[t];n.CreateUi(),this.Adapter.AddSystemUiToApplicationUi(n.Adapter),this.CurrentSystemAdapter=n.Adapter,e()},_checkLoginNeeded:function(t,e){if(this.SystemDict[t].SystemData.HasVerifyPassword){var n=this;Ui.SystemVerifyAccessWindow.Show(t,(function(){e(),n.DefaultSystemId=t}),(function(){n.SetSelectedButton(n.DefaultSystemId,!0),n.SetSelectedButton(t,!1),e(new Common.SilentException)}))}else e(),this.DefaultSystemId=t},_loadSystem:function(t,e,n){ContextStore.Set("Url",window.location.href);var i=Common.Util.GetUrlParameter("system");i||0==t&&(t=this.DefaultSystemId),Common.Ajax.GetServerData("System94.LoadSystem",{systemId:t,isFirstTime:e,isAllCustomCodeLoaded:!e&&this.SystemDict[t].IsAllCustomCodeLoaded,systemByUrl:i},(function(t){t.Error&&t.Error.SystemSelectError&&(Ui.ExceptionForm.Show("Error",t.Error.SystemSelectError),n&&n("Error"));var i=[];if(e){for(var r in Common.Merger.FastMerge(this,t,{excludeList:["System","SystemDict"]}),this.ShowDebugToolbar=this.Debug&&Common.Debug.IsShowTestToolbar,this._compatibilityConversion(),this.EnableNotification&&Ul.NotificationManager.Initialize(),t.SystemDict)(o=new Ul.SystemCtrlr({Id:r,Name:t.SystemDict[r].Name,Caption:t.SystemDict[r].Caption,SystemData:t.SystemDict[r]})).on(Ul.SystemCtrlr.EventEnum.AfterSystemSelect,(function(){this.FireEventSynch(this.EventEnum.AfterSystemOrReportChange,null)}),this),o.on(Ul.SystemCtrlr.EventEnum.AfterNavReportUnselect,(function(t,e){this.FireEventSynch(this.EventEnum.AfterSystemOrReportChange,e)}),this),this.SystemDict[r]=o,(a=o.ProcessCustomCode())&&i.push(a),o.FireEventSynch.call(o,Ul.SystemCtrlr.EventEnum.Startup,this._createEventArg(o.Id));if(0==this.DefaultSystemId)return void(n?(n(new Common.Exception({Text:"دسترسی به هیچ سیستمی برای کاربر جاری تنظیم نشده است!"})),this.Logout()):Ul.MsgBox.Warning("دسترسی به هیچ سیستمی برای کاربر جاری تنظیم نشده است!",(function(){this.Logout()})));this.SystemDict[this.DefaultSystemId].IsAllCustomCodeLoaded=!0,this._runCustomCodeInitMethods()}else{var o,a;(o=this.SystemDict[t.System.Id]).ApplyExtraData(t.System),o.IsAllCustomCodeLoaded=!0,(a=this.SystemDict[t.System.Id].ProcessCustomCode())&&i.push(a)}if(i.length>0){var s="اشکال در بارگذاری سیستم";if(t.Debug){var l="";Ext.each(i,(function(t){l+=t+"\n"})),Ui.ExceptionForm.Show(s,l,(function(){n(null)}))}else Ul.MsgBox.Error(s,n)}else n&&n(null)}),(function(t,e,n){n&&n.detailMessage&&n.detailMessage.indexOf("No system defined for current user!")>=0?Util.ShowMessage("دسترسی به هیچ سیستمی برای کاربر جاری تنظیم نشده است!",(function(){window.location.href="Login.aspx"})):t instanceof Common.BaseException&&t.Execute()}),null,this)},_showSecurityMessage:function(t){var e=Common.Util.TryGetValue(this,"AdvancedSecurityLogin.SecurityMessage"),n=Common.Util.TryGetValue(this,"MultiSystem_ValidSystemList");Ext.isEmpty(e)?t():Ext.isEmpty(n)?Common.Async.Waterfall("Application _showSecurityMessage",[this.Adapter.ShowSecurityMessage.bind(this,e),function(t,e){"ok"==t?(Common.Ajax.GetServerData("System94.ConfirmAdvancedSecurityPolicy"),e()):e(new Common.Exception({Tag:"Logout",Text:"به شما امکان در صورت عدم تایید به شما امکان ورود به سیستم داده نمیشود."}))}.bind(this)],(function(e,n){Common.Async.Finalize(e,n,t)})):(Common.Ajax.GetServerData("System94.ConfirmAdvancedSecurityPolicy"),t())},_showTwoFactorActivation:function(t){this.AdvancedSecurityLogin&&this.AdvancedSecurityLogin.NeedActivateTwoFactor?Bw.Form.Show({SystemTypeDefCaption:["امنیت پیشرفته","فعال سازي 2 مرحله اي"]}).continueFunction=t:t()},_showChangePasswordIfNeeded:function(t){this.AdvancedSecurityLogin&&this.AdvancedSecurityLogin.NeedChangePassword?Common.Async.Waterfall("Application _showChangePasswordIfNeeded",[Ul.ChangePasswordCtrlr.ShowForm.bind(null,!1,this.AdvancedSecurityLogin.PasswordChangeMsg)],(function(e,n){0==n&&(e=new Common.Exception({Tag:"Logout",Text:"برای ورود به سیستم لازم است که کلمه عبور را تغییر دهید"})),Common.Async.Finalize(e,n,t)})):t()},_compatibilityConversion:function(){},_createEventArg:function(t){0==t&&(t=this.DefaultSystemId);var e=this.SystemDict[t];return{System:e,SystemData:e.SystemData,PrevSystem:this.GetSelectedSystem()}},_registerUserForRememberNotify:function(){CurrentNotifyClient=new NotifyManagerClient(1),CurrentNotifyClient.addListener("messageRecieve",(function(t){var e=new Ext.ux.Notification({title:t.messageSubject,iconCls:"reminderWindow-icon",autoDestroy:null==t.relatedObjectId,hideDelay:1e4}),n=t.relatedObjectId,i=ImageUtil.GetIconUrl(n,"","MetaObject");e.html=null!=n?String.format('<table border="0" cellpadding="1" cellspacing="1" style="width: 98%;margin:5px;" dir="rtl"><tr><td rowspan="3" style="vertical-align: top; text-align: right; width: 20px"><img class="GridImage" src="{3}"/></td></tr><tr><td class="x-notify-title" onclick="ReadNotifyMessage(\'{1}\',\'{2}\',\'{4}\',{5});"><a style="cursor:pointer;" href="#"><b>{0}</b></a></td></tr></table>',t.messageBody,t.messageSubject,t.messageBody,i,e.id,"'"+n+"'"):String.format('<table border="0" cellpadding="1" cellspacing="1" style="width: 98%;margin:5px;" dir="rtl"><tr><td rowspan="3" style="vertical-align: top; text-align: right; width: 20px"></td></tr><tr><td class="x-notify-title" onclick="ReadNotifyMessage(\'{1}\',\'{2}\');"><a style="cursor:pointer;" href="#"><b>{0}</b></a></td></tr></table>',t.messageBody,t.messageSubject,t.messageBody),e.show(document)}))},_onAdapter_SelectedSystemChanged:function(t,e){var n=Common.LogManager.StartLog("Application.SystemChanged",{SystemId:e.Id});this.SelectSystem(e.Id,n),Common.LogManager.EndLog(n)},_exeBeforeLoadSystem:function(t,e){e()},_runCustomCodeInitMethods:function(){for(var t in this.SystemDict)if(this.SystemDict.hasOwnProperty(t)){var e=this.SystemDict[t];for(var n in e.CustomCodeObject)if(Ext.isFunction(e.CustomCodeObject[n])){var i=e.CustomCodeObject[n];"init"===i.FunctionName.toLowerCase()&&i()}}},_getSystemIdByIndex:function(t){var e=0;for(var n in Ul.ApplicationCtrlr.SystemDict){if(t==e)break;e+=1}return n},_onGlobalDesktopAlertClick:function(t,e){Bw.Form.Show({MoId:e.MoId,TypeDefId:e.TypeDefId})}})},32635:()=>{var t,e,n;Common.Cs.Define("Ui.CustomApplicationUi","Common.Observable",(n=function(t,e){},(e="SetSelectedButton")in(t={constructor:function(t){this.addEvents("SelectedSystemChanged"),this.callParent(arguments);var e=Common.Util.TryGetValue(Ul.ApplicationCtrlr,"CustomUi.Selector");if(null==e){var n=LoginFormData.CustomUiPrefix;n&&(e=n+"-ui-application-ui")}this.controlUi=document.createElement(e),this.controlUi.id=Ext.id(),this.controlUi.context=this,document.body.appendChild(this.controlUi)},GetSelectedSystemData:function(){return this.controlUi.rendered?this.controlUi.getSelectedSystemData():null},SelectSystemTabPage:function(t,e){this.controlUi.selectedSystemId=t},AddToMainTabPanel:function(t){this.controlUi&&this.controlUi.addToMainTabPanel(t)},SetSelectedButton:function(t,e){}})?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t))},59128:()=>{Common.Cs.Define("Ul.ReportCountExtensionManager","Common.Observable",{singleton:!0,_ExtensionList:[],EventTopic:"GlobalAfterReportCountChanged",constructor:function(t){this.RegisterEvent()},RegisterEvent:function(){Ul.ApplicationCtrlr.addEvents(this.EventTopic),Ul.ApplicationCtrlr.on(this.EventTopic,this._onGlobalAfterReportCountChanged,this)},RegisterItem:function(t,e){if(t.ReportCountExtension){var n=this._ExtensionList[t.ReportId];n||(n={NavItem:t,UpdateFnList:[]},this._ExtensionList[t.ReportId]=n),n.navItem=t,n.UpdateFnList.push(e)}},GetReportCaption:function(t,e){Common.Ajax.GetServerData("System94.GetNavigatorFolderTitle",{folderId:t},(function(t){e(t)}))},_onGlobalAfterReportCountChanged:function(t,e){var n=e,i=this._ExtensionList[n];if(i){var r=i.NavItem;r._navItem&&(r.ExtraCaption=r._navItem.ExtraCaption,r._navItem.Caption=r.Caption);var o=this;setTimeout((function(){o.GetReportCaption(r.FolderId,(function(t){r.Caption=t,i.UpdateFnList.forEach((function(t){t(r)}))}))}),50)}}})},8074:()=>{Common.Cs.Define("Ul.CaptchaPopupFormCtrlr","Common.Observable",{_cancelable:!0,_caption:null,_doReturn:null,Adapter:null,constructor:function(){this.callParent(arguments),this._createAdapter()},_createAdapter:function(){this._cancelable=Ext.value(this._cancelable,!0),this.Adapter=new Ul.CaptchaPopupAdapter({_cancelable:this._cancelable,_caption:this._caption}),this.Adapter.on("ButtonClick",(function(t,e){if("Ok"==t){if(Ext.isEmpty(e.captcha))return Ul.MsgBox.Error("اطلاعات وارد شده کافی نیست. لطفا همه مقادیر درخواست شده را پر کنید"),!1;var n={captchaText:e.captcha,captchaId:e.captchaId},i=JSON.stringify(n);AjaxHelper.AjaxRequest("/api/auth/validatePopupCaptcha",i,!1,function(t){this._doReturn&&(this.Adapter.Close(),this._doReturn(t))}.bind(this),function(t){var e=JSON.parse(t.responseText),n=this.Adapter.Control;return Ul.MsgBox.Error(e.message,(function(){Ui.ForgetPasswordFormUi._refreshCaptcha.call(n)})),!1}.bind(this),null)}else this._doReturn&&this._doReturn(null,!1)}),this)},Show:function(){this.Adapter.Show()},statics:{ShowForm:function(t,e,n){new Ul.CaptchaPopupFormCtrlr({_cancelable:t,_caption:e,_doReturn:n}).Show()}}}),Common.Cs.Define("Ul.CaptchaPopupAdapter","Common.Observable",{Control:null,constructor:function(){this.callParent(arguments),this.addEvents("ButtonClick"),this._createControl()},_createControl:function(){this.Control=new Ui.CaptchaPopupFormUi({_cancelable:this._cancelable,_caption:this._caption}),this.Control.on("ButtonClick",(function(t,e){this.fireEvent("ButtonClick",t,e)}),this)},Close:function(){this.Control.close()},Show:function(){this.Control.show()}})},62062:()=>{Common.Cs.Define("Ul.ChangePasswordAdapter","Common.Observable",{Control:null,constructor:function(){this.callParent(arguments),this.addEvents("ButtonClick"),this._createControl()},_createControl:function(){this.Control=new Ui.ChangePasswordForm({_cancelable:this._cancelable,_caption:this._caption}),this.Control.on("ButtonClick",(function(t,e){this.fireEvent("ButtonClick",t,e)}),this)},Close:function(){this.Control.close()},Show:function(){this.Control.show()}})},9350:()=>{Common.Cs.Define("Ul.ChangePasswordCtrlr","Common.Observable",{_cancelable:!0,_caption:null,_doReturn:null,Adapter:null,constructor:function(){this.callParent(arguments),this._createAdapter()},_createAdapter:function(){this._cancelable=Ext.value(this._cancelable,!0),this.Adapter=new Ul.ChangePasswordAdapter({_cancelable:this._cancelable,_caption:this._caption}),this.Adapter.on("ButtonClick",(function(t,e){if("Ok"==t){if(Ext.isEmpty(e.newPassword)||Ext.isEmpty(e.newPassword2)||Ext.isEmpty(e.oldPassword))return Ul.MsgBox.Error("اطلاعات وارد شده کافی نیست. لطفا همه مقادیر درخواست شده را پر کنید"),!1;if(e.newPassword!==e.newPassword2)return Ul.MsgBox.Error_ShowHtml(BBB.AlertChangePasswordConfirmationAreNotTheSameDescription),!1;if(e.oldPassword===e.newPassword)return Ul.MsgBox.Error_ShowHtml(BBB.AlertChangePasswordOldNewPasswordAreTheSameDescription),!1;var n={oldPassword:e.oldPassword,newPassword:e.newPassword,newPassword2:e.newPassword2,captchaText:e.captcha,captchaId:e.captchaId};Common.Ajax.GetServerData("System94.ChangePassword",n,(function(t){this._doReturn&&this._doReturn(),this.Adapter.Close()}),(function(t){return Ul.MsgBox.Error(t.Text,this._doReturn),Ui.ForgetPasswordFormUi._refreshCaptcha.call(this.Adapter.Control),!1}),null,this,!0)}else this._doReturn&&this._doReturn(null,!1)}),this)},Show:function(){this.Adapter.Show()},statics:{ShowForm:function(t,e,n){new Ul.ChangePasswordCtrlr({_cancelable:t,_caption:e,_doReturn:n}).Show()}}})},8346:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var async=__webpack_require__(98182);Common.Cs.Define("Common.CustomCodeManager","",{singleton:!0,dict:null,constructor:function(){this.dict={}},AddToDictionary:function(t){for(var e in t.CustomCodeObject){var n=t.CustomCodeObject[e],i=this._createKey(n);if(i)if(Ext.isArray(this.dict[i])){var r=this.dict[i];0==this._isExist(n,r)&&r.push(n)}else this.dict[i]=[n]}},_createKey:function(t){return t.Id},_isExist:function(t,e){for(var n=!1,i=0;i<e.length;i++)if(e[i].FunctionName==t.FunctionName&&e[i].SystemId==t.SystemId){n=!0;break}return n},FindFunctions:function(t){return this.dict[t]},FindEventHandlers:function(t,e){var n=[];if(Ext.isEmpty(e))return n;for(var i=Ext.value(this.FindFunctions(t),[]),r=0;r<i.length;r++)i[r].EventTopicName==e&&n.push(i[r]);return n},RegisterEventHandler:function(t,e){var n=this.FindFunctions(e);if(!Ext.isEmpty(n))for(var i=0;i<n.length;i++){var r=n[i];Common.Debug.Assert(0==Ext.isEmpty(r.EventTopicName),"Common.CustomCodeManager.RegisterEventHandler: EventTopicName cant be null");var o=Ul.ApplicationCtrlr.SystemDict[r.SystemId].CustomCodeObject;t.un(r.EventTopicName,r,o),t.on(r.EventTopicName,r,o)}},RegisterHandlerWithArgumentProvider_Old:function(t,e,n){Common.Debug.Assert(!0===Ext.isFunction(n),"RegisterHandlerWithArgumentProvider: eArgProviderFn should be a function");var i=this.FindFunctions(e);if(!Ext.isEmpty(i))for(var r=0;r<i.length;r++){var o=i[r];Common.Debug.Assert(0==Ext.isEmpty(o.EventTopicName),"Common.CustomCodeManager.RegisterEventHandler: EventTopicName cant be null");var a=Ul.ApplicationCtrlr.SystemDict[o.SystemId].CustomCodeObject,s=this._wrapHandler.bind(a,o,n);t.un(o.EventTopicName,s,a),t.on(o.EventTopicName,s,a)}},_wrapHandler_Old:function(){var t=arguments[0],e=arguments[1],n=arguments[2],i=arguments[3],r=e();for(var o in r)r[o]=Bw._wrap(r[o]);return i&&(r.E=i),t.call(this,n,r)},_wrapHandlerForAsync:function(t,e,n,i,r){var o=e();for(var a in o)o[a]=Bw._wrap(o[a]);return i&&(o.E=i),t.call(this,n,o,r)},_wrapHandler:function(t,e,n,i){var r=e();for(var o in r)r[o]=Bw._wrap(r[o]);return i&&(r.E=i),t.call(this,n,r)},ExecFunctions_Old:function(t,e,n,i){var r=this.FindEventHandlers(t,e);if(Ext.isEmpty(r))return!1;0==Ext.isArray(r)&&(r=[r]);for(var o=0;o<r.length;o++){var a=r[o];n=Ext.value(n,[]);var s=a.apply(this.CustomCodeObject,n);if(Ext.isFunction(i)&&!1===i.apply(null,s))break}},ExecFunctions_Old2:function(t,e,n,i){var r=this.FindEventHandlers(t,e);if(Ext.isEmpty(r))return!1;0==Ext.isArray(r)&&(r=[r]);for(var o=0;o<r.length;o++){var a=r[o];n=Ext.value(n,[]);var s=a.apply(this.CustomCodeObject,n);if(Ext.isFunction(i)&&!1===i.apply(this.CustomCodeObject,s))break}},RegisterHandlerWithArgumentProvider:function(t,e,n){Common.CustomCodeManagerExt.RegisterHandlerWithArgumentProviderExt(t,e,n)},ExecFunctions:function(t,e,n,i){var r=this.FindEventHandlers(t,e);if(Ext.isEmpty(r))i&&i();else{n=Ext.value(n,[]);var o=[],a=[];Ext.isFunction(i)?r.forEach((function(t){Common.Async.FunctionHasDoReturnArgument(t)?o.push(t):a.push(t)}),this):a=r;for(var s=!0,l=0;l<a.length;l++){var u,c=a[l];if(c.SystemId&&Ul.ApplicationCtrlr.SystemDict[c.SystemId]&&Ul.ApplicationCtrlr.SystemDict[c.SystemId].CustomCodeObject&&(u=Ul.ApplicationCtrlr.SystemDict[c.SystemId].CustomCodeObject),!1===(s=c.apply(u,n)))break}if(0==s)return i&&i(new Common.WaterfallBreakerException),!1;if(Ext.isNotEmpty(o)){var h=[];o.forEach((function(t){var e;t.SystemId&&Ul.ApplicationCtrlr.SystemDict[t.SystemId]&&Ul.ApplicationCtrlr.SystemDict[t.SystemId].CustomCodeObject&&(e=Ul.ApplicationCtrlr.SystemDict[t.SystemId].CustomCodeObject),t=t.bind.apply(t,[e].concat(n)),t=async.compose((function(t,e){1==arguments.length&&(e=t,t=null),!1!==t?e(null,t):e(new Common.WaterfallBreakerException)}),t),h.push(t)}),this),Common.Async.Sequence("Asyn ExecFunctions:"+e,h,(function(t,e){s=!1,i&&i(t)}))}else i&&i()}},RunDynamicCommand:function RunDynamicCommand(targetId,e,doReturn){var useMo=e&&e.DynamicSetting&&e.DynamicSetting.HasMoParam,mo=useMo?e.Mo:null;Common.Ajax.GetServerData("Command.GetCommandJs",{targetId,parameterMo:mo},(function(result){if(!result)throw new"Dynamic command not implemented!";var context0={Settings:result.Settings,Parameter:mo};e&&(context0=Ext.apply(context0,e));var code="var method = function(context){"+result.JsCode+"}";eval(code);var codeResult=method.call(mo,context0);return doReturn&&doReturn(),codeResult}),(function(t){doReturn&&doReturn(t)}))}})},39288:()=>{Common.Cs.Define("Common.CustomCodeManagerExt","",{singleton:!0,RegisterHandlerWithArgumentProviderExt:function(t,e,n){Common.Debug.Assert(!0===Ext.isFunction(n),"RegisterHandlerWithArgumentProvider: eArgProviderFn should be a function");var i=Common.CustomCodeManager.FindFunctions(e);Ext.isEmpty(i)||i.forEach((function(e){Common.Debug.Assert(0==Ext.isEmpty(e.EventTopicName),"Common.CustomCodeManager.RegisterEventHandler: EventTopicName cant be null");var i,r=Ul.ApplicationCtrlr.SystemDict[e.SystemId].CustomCodeObject;if(Common.Async.FunctionHasDoReturnArgument(e)){i=Common.CustomCodeManager._wrapHandlerForAsync.bind(r,e,n);var o=function(t){i.apply(r,arguments)};t.un(e.EventTopicName,o,r),t.on(e.EventTopicName,o,r)}else i=Common.CustomCodeManager._wrapHandler.bind(r,e,n),t.un(e.EventTopicName,i,r),t.on(e.EventTopicName,i,r)}),this)}})},30924:()=>{Common.Cs.Define("Ul.ForgetPasswordCtrlr","Common.Observable",{_cancelable:!0,_caption:null,_doReturn:null,Adapter:null,constructor:function(){this.callParent(arguments)},Start:function(t,e){this._username=t,Common.Async.Waterfall("Common.AgentHelper.SendAction",{Step1:this._showForm1.bind(this),Step2:this._showForm2.bind(this)},function(t,n){Common.Async.Finalize(t,n,e)}.bind(this))},_showForm1:function(t){var e=this;new Ui.ForgetPasswordFormUi({_step:1,_username:this._username,_callback:function(n,i){n?(e._username=n.username,Ul.ForgetPasswordCtrlr.SendSms(n,(function(e){i(!0),t(null)}),(function(t){Ul.MsgBox.Error(t.Text),i(!1)}),t)):t(!0)}}).show()},_showForm2:function(t){new Ui.ForgetPasswordFormUi({_step:2,_username:this._username,_callback:function(e,n){e?Ul.ForgetPasswordCtrlr.Verify(e,(function(e){n(!0),Ul.MsgBox.Info("تغییر رمز با موفقیت انجام شد و به شماره همراه شما ارسال گردید."),t(null)}),(function(t){Ul.MsgBox.Error(t.Text),n(!1)}),t):t(!0)}}).show()},statics:{SendSms:function(t,e,n,i){Common.Ajax.GetServerData("/api/auth/forgetPassword_SendSms",t,e,n,null,this,!0)},Verify:function(t,e,n,i){Common.Ajax.GetServerData("/api/auth/forgetPassword_Verify",t,e,n,null,this,!0)}}})},23739:()=>{Common.Cs.Define("Common.Global","",{singleton:!0,UserId:0,UserDispalyName:"",UserName:"",ConnectionInfo:"",Version:"",DateText:"",ServerName:""}),Ext.define("Common.Const",{singleton:!0,constructor:function(){this.WaitImage=new Image,this.WaitImage.src="/assets/Images/loading0.gif",this.AutomaticImage=new Image,this.AutomaticImage.src="/assets/Images/refresh16.png",this.Space="&nbsp;"},LessSign:"",GreaterSign:"",ColSeparator:"",KotaitionReplace:"",FileWordPath:"",WaitImage:null,AutomaticImage:null})},72988:()=>{Common.Cs.Define("Ul.NavGroupAdapter","Ul.NavGroupAdapterBase",{Data:null,Control:null,_isAccordion:!1,_isVerticalTab:!1,CreateControl:function(t){this.addEvents("NavItemChanged"),t.Data=this.Data;var e=new Ui.NavGroupUi(t);return e.on({scope:this,ItemClicked:function(t){this.fireEvent("NavItemChanged",this,t)}}),e},GetNavItemById:function(t){return this.Control.GetNavItemById(t)},GetNavItemByCaption:function(t){return this.Control.GetNavItemByCaption(t)},SelectItem:function(t,e,n){return this.Control.SelectItem(t,e,n)},UnselectAll:function(){this.Control.UnselectAll()},GetSelectedNavItem:function(){return this.Control.GetSelectedNavItem()},GetNavItemByIndex:function(t){return this.Control.GetNavItemByIndex(t)},GetWholeItemsCount:function(){return this.Control.GetWholeLeafsCount()},UpdateNavItem:function(t){this.Control.UpdateNavItem(t)}})},86541:()=>{Common.Cs.Define("Ul.NavGroupAdapterBase","Ul.NavAdapterBase",{CreateControlConfig:function(){var t=this.callParent(arguments);return this.Data.Region&&(t.region=this.Data.Region,t.collapsible="center"!=t.region),t},GetNavItemById:function(t){throw"Inherited classes must implement this"},GetNavItemByCaption:function(t){throw"Inherited classes must implement this"},UnselectAll:function(){this.Control.UnselectAll()},UpdateNavItem:function(t){}})},6040:()=>{Common.Cs.Define("Ul.NavGroupUlvAdapter","Ul.NavGroupAdapterBase",{Data:null,Control:null,_folder:null,_ulvCtrlr:null,CreateControlConfig:function(){for(var t=this.callParent(arguments),e=0;e<this.Data.Items.length;e++)if(this.Data.Items[e].ShowReportInNavigator){this._folder=this.Data.Items[e];break}var n={xtype:"panel",title:this.Data.Caption,AccessibleName:this.Data.Caption,layout:"fit",collapsible:!0,frame:!1,border:!1,cls:"a-navigator-report-group"};Common.Merger.FastMerge(n,t);var i=Ext.value(this._folder.InsideView_Height,200);i<=0&&(i=200),n.height=i;var r=this.Data.DockSetting;return r&&(r.Region&&(n.region=r.Region),r.Height&&(n.height=Number(r.Height)),r.MinHeight&&(n.minHeight=Number(r.MinHeight)),r.MaxHeight&&(n.maxHeight=Number(r.MaxHeight))),n},CreateControl:function(t){this.addEvents("NavItemChanged");var e=new Ext.Panel(t),n=new Ul.UlvParams({FolderId:this._folder.FolderId,UsageEnum:Ul.UlvMainCtrlr.UlvUsageEnum.ListField}),i={UlvParams:n,UiOverride:{style:"border-width: 0;"}};return this._ulvCtrlr=new Ul.UlvMainCtrlr(i),this._ulvCtrlr.on(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this._onUlvCtrlr_SelectionChange,this),Common.Async.Waterfall("Ul.NavGroupUlvAdapter.CreateControl",[function(t){e._ulvIsAdded=!1,e.on("render",(function(){1!=e._ulvIsAdded&&e.Mask({delay:500})}),this),t()}.bind(this),this._ulvCtrlr.Load.bind(this._ulvCtrlr,n),function(t){this._ulvCtrlr.Adapter.NavGroupUlvAdapter=this;var n=this._ulvCtrlr.Adapter.Control;e.add(n),e.doLayout();var i=this.Data.DockSetting||this.Data.FolderJsonExtraProp&&this.Data.FolderJsonExtraProp.DockSetting;if(i&&1==i.AutoHeight){var r=this._ulvCtrlr.GetFullSize();if(r){var o=parseInt(Ext.value(e.body.getStyle("padding-bottom"),0)),a=r.height+e.header.getHeight()+o;e.setHeight(a),e.ownerCt.doLayout()}}t()}.bind(this)],(function(t,n){e._ulvIsAdded=!0,e.Unmask(),Common.Async.Finalize(t,n)})),0==Ext.isEmpty(t.region)&&(e.region=t.region),e},_onUlvCtrlr_SelectionChange:function(t){if(this._folder.InsideView_RelatedFieldName){var e=this.GetSelectedNavItem();e&&this.fireEvent("NavItemChanged",this,e)}},GetNavItemById:function(t){var e=this._ulvCtrlr.GetValue();if(e&&e.GetMoById){var n=t.indexOf(":")<0?t:t.substring(t.indexOf(":")+1),i=e.GetMoById(n);return i?new Common.NavItem({Type:Ul.SystemCtrlr.ContainerTypeEnum.Field,Id:this._folder.FolderId+":"+i.Id,FolderId:this._folder.FolderId,Name:this._folder.Name,Caption:i.$Caption,IconUrl:this._folder.IconUrl,OtherData:{Mo:i,FieldDbName:this._folder.InsideView_RelatedFieldName,FieldId:this._folder.InsideView_RelatedFieldId,ReportName:this._folder.InsideView_ReportName,ParentObjectTypeDefId:this._ulvCtrlr.Setting.Extra.TypeDefId}}):null}},GetWholeItemsCount:function(){return this._ulv.viewer.store.getCount()},SelectItem:function(t,e){1==this.Control.rendered&&this._ulvCtrlr.SelectItem(t)},GetSelectedNavItem:function(){var t=this._ulvCtrlr.GetSelectedMetaObject();if(!t)return null;var e=Common.Util.TryGetValue(t,"Data.$Caption"),n=Common.Util.TryGetValue(t,"Data.$Icon");return new Common.NavItem({Type:Ul.SystemCtrlr.ContainerTypeEnum.Field,Id:this._folder.FolderId+":"+t.Id,FolderId:this._folder.FolderId,Name:this._folder.Name,Caption:e||this._folder.Caption,IconUrl:n||this._folder.IconUrl,OtherData:{Mo:t,FieldDbName:this._folder.InsideView_RelatedFieldName,FieldId:this._folder.InsideView_RelatedFieldId,ReportId:this._ulvCtrlr.Setting.Extra.Report.Id,ParentObjectTypeDefId:this._ulvCtrlr.Setting.Extra.TypeDefId}})},UpdateSystemContainerTabCaption:function(t){}})},25590:()=>{Common.Cs.Define("Ul.NavPageAccordionAdapter","Ul.NavAdapterBase",{Data:null,Control:null,CreateControlConfig:function(){var t=this.callParent(arguments),e=this.Data.Caption;return this.Data.IconUrl&&(e=e+" "+Common.Util.GetImageTag(this.Data.IconUrl)),t.title=e,t.xtype="Ui.NavPageUi",t}})},67207:()=>{Common.Cs.Define("Ul.NavPageNormalAdapter","Ul.NavAdapterBase",{Data:null,Control:null,CreateControlConfig:function(){var t=this.callParent(arguments);return t.header=!1,t}})},59172:()=>{Common.Cs.Define("Ul.NavPageVerticalTabAdapter","Ul.NavAdapterBase",{Data:null,Control:null,_isAccordion:!1,_isVerticalTab:!1,CreateControlConfig:function(){var t=this.callParent(arguments),e='style="width:auto;height:auto; ';if(e="rtl"==BBB.WindowDirection?e+'margin-right:0"':e+'margin-left:0"',Ext.isIE||Ext.isEdge){var n=Common.Util.GetIconUrl(this.Data.Id,"","VerticalFolderCaption","",!1,"&text="+this.Data.Caption+"&theme="+window.CurrentTheme),i=Common.Util.GetImageTag(n,"",e);t.title=i}else{var r='<div style="writing-mode:vertical-rl;transform:rotate(180deg)">'+this.Data.Caption+"</div>";this.Data.IconUrl&&(r='<img style="margin:3px 0;" src="'+this.Data.IconUrl+'"/>'+r),t.title=r}t.cls="x-navigator-tabpage",t.Data=this.Data,t.xtype="Ui.NavPageUi";var o=this.Data.Caption,a=o.startsWith("(")&&o.endsWith(")")&&Ext.isNotEmpty(this.Data.Items.length)&&this.Data.Items.length<=3;return a&&(this._makeItDockable(t),this.Data.Caption=o.substring(1,o.length-1)),t},_isDockable:function(){var t=this.Data.Items.length,e=!1;return 1!=t&&2!=t&&3!=t||(e=this.Data.Items.every((function(t){return t.Items.length>=1&&t.Items[0].ShowReportInNavigator&&t.Items[0].JsonExtraProp&&t.Items[0].JsonExtraProp.DockSetting}),this)),e},_makeItDockable:function(t){0!=this._isDockable()&&(this.Data.Items.forEach((function(t){t.DockSetting=t.Items[0].JsonExtraProp.DockSetting}),this),t.layout="border",this.Data.ChildsAreDocked=!0)}})},12270:()=>{Common.Cs.Define("Bl.SizeSaver","",{constructor:function(t){Ext.apply(this,t),this.component.width=this.width,this.component.on({afterrender:function(){this.lastSize=this.component.getSize()},scope:this}),this.component.on({resize:function(){if(this.lastSize){var t=this.component.getSize();this.lastSize.width!=t.width&&(console.log(t.width),Common.Ajax.GetServerData("System94.SetUserNavigationControlWidth",{systemId:this.systemId,value:t.width},(function(){}),null,null)),this.lastSize=t}},scope:this})}})},47570:()=>{Common.Cs.Define("Ul.NavAccordionPanelAdapter","Ul.NavAdapterBase",{Data:null,Control:null,CreateControlConfig:function(){var t=this.callParent(arguments),e={xtype:"panel",border:!1,bodyStyle:{margin:"rtl"==BBB.WindowDirection?"0 2 0 0":"0 0 0 2"},defaults:{autoScroll:!0},layout:{type:"accordion",titleCollapse:!0,align:"stretch",animate:!0,collapseFirst:!0,stretchMaxPartner:200,activeOnTop:!1}};return Common.Merger.FastMerge(e,t),e},SelectChildAdapter:function(t,e,n){t&&this.Control.SelectChildItem(t.Control.Data.Id,e,n)}})},30982:()=>{Common.Cs.Define("Ul.NavAdapterBase","Common.Observable",{Data:null,Control:null,_controlConfig:null,ChildAdapters:null,ParentAdapter:null,constructor:function(t){Common.Merger.FastMerge(this,t),this.callParent(arguments),this.Data&&(this._controlConfig=Ext.value(this._controlConfig,{}),this._controlConfig.itemId=this.Data.Id);var e=this.CreateControlConfig();this.Control=this.CreateControl(e),this.addEvents("Rendered"),this.Control.on("afterRender",(function(){this.fireEvent("Rendered")}),this)},CreateControlConfig:function(){var t=Ext.value(this._controlConfig,{});return this.Data&&(t.itemId=this.Data.Id),t.JsonExtraProp=this.JsonExtraProp,t},CreateControl:function(t){return Ext.create(t)},AddChildAdapter:function(t){this.Control.add(t.Control),Ext.isEmpty(this.ChildAdapters)&&(this.ChildAdapters=[]),this.ChildAdapters.push(t),t.ParentAdapter=this},SelectChildAdapter:function(t,e,n){t&&this.Control.SelectChildItem(t.Control.Data.Id,e,n)},Unselect:function(){}})},27267:()=>{Common.Cs.Define("Ul.NavTabPanelAdapter","Ul.NavAdapterBase",{Data:null,Control:null,CreateControlConfig:function(t){var e=this.callParent(arguments),n={xtype:"Ui.NavTabPanelUi",activeTab:0,ctCls:"right-navigator",tabPosition:BBB.MainAlignment,textAlign:BBB.MainAlignment,tabWidth:29,bodyStyle:{margin:"rtl"==BBB.WindowDirection?"0 2 0 0":"0 0 0 2"},defaults:{autoScroll:!0}};return Common.Merger.FastMerge(n,e),n}})},73583:()=>{Common.Cs.Define("Ui.CustomSystemContainerUi","Common.Observable",{SystemData:null,constructor:function(t){this.addEvents("TabClose"),this.callParent(arguments);var e=LoginFormData.CustomUiPrefix;e&&(component=e+Common.Util.GetKebabCase(t.originalXtype)),this.controlUi=document.createElement(component),this.controlUi.id=Ext.id(),this.controlUi.context=this},getCustomHtmlElement:function(){return this.controlUi},CreatePage:function(t,e){this.controlUi.rendered&&this.controlUi.createPage(t),e&&e()},MaskCurrentPage:function(t,e){this.controlUi.rendered&&this.controlUi.maskCurrentPage(navItem),e&&e()},UnmaskCurrentPage:function(t){this.controlUi.rendered&&this.controlUi.unmaskCurrentPage(navItem),t&&t()},MaskPage:function(t,e,n){this.controlUi.rendered&&this.controlUi.mask(t,e),n&&n()},UnmaskPage:function(t,e){this.controlUi.rendered&&this.controlUi.unmask(t),e&&e()},SelectPage:function(t,e){this.controlUi.rendered&&this.controlUi.selectPage(t),e&&e()},ClosePage:function(t){this.controlUi.rendered&&this.controlUi.closePage(t),doReturn&&doReturn()},GetSelectedPageNavItem:function(){this.controlUi.rendered&&this.controlUi.getSelectedPageNavItem()},PageHasControl:function(t){this.controlUi.rendered&&this.controlUi.pageHasControl(t)},AddControlToPage:function(t,e){this.controlUi.rendered&&this.controlUi.addControlToPage(t,e)},SetTabIcon:function(t,e){this.controlUi.rendered&&this.controlUi.setTabIcon(t,e)},UpdateNavItem:function(t){this.controlUi.rendered&&this.controlUi.updateNavItem(t)},_onTabPage_Close:function(t){this.fireEvent("TabClose",this,t)},getWidth:function(){this.controlUi.rendered&&this.controlUi.getWidth()},getHeight:function(){this.controlUi.rendered&&this.controlUi.getHeight()},statics:{ItemKeyPerfix:"_ULVR"}})},80751:()=>{Common.Cs.Define("Ul.SystemContainerAdapter","Common.Observable",{Control:null,SystemData:null,_prevActiveTab:null,constructor:function(t){this.callParent(arguments),Common.Merger.FastMerge(this,t),this.addEvents("ActiveTabChange","TabClose","TabUnselect"),LoginFormData.CustomUiPrefix?(controlConfig={SystemData:this.SystemData,originalXtype:"Ui.SystemContainerUi"},controlConfig.originalXtype="Ui.SystemContainerUi",this.Control=new Ui.CustomSystemContainerUi(controlConfig)):this.Control=new Ui.SystemContainerUi({SystemData:this.SystemData}),this.Control.on({scope:this,tabchange:this._onControl_TabChange,beforetabchange:this._onControl_BeforeTabChange,TabClose:this._onControl_TabClose})},CreatePage:function(t,e){this.Control.CreatePage(t,e)},MaskCurrentPage:function(t,e){this.Control.MaskCurrentPage(t,e)},UnmaskCurrentPage:function(t){this.Control.UnmaskCurrentPage(t)},MaskPage:function(t,e,n){this.Control.MaskPage(t,e,n)},UnmaskPage:function(t,e){this.Control.UnmaskPage(t,e)},GetSelectedPageNavItem:function(){return this.Control.GetSelectedPageNavItem()},AddControlToPage:function(t,e){this.Control.AddControlToPage(t,e)},SelectPage:function(t){this.Control.SelectPage(t)},IsPageLoaded:function(t){return this.Control.PageHasControl(t)},ClosePage:function(t){this.Control.ClosePage(t)},GetSize:function(){return{Width:this.Control.getWidth(),Height:this.Control.getHeight()}},GetPageCount:function(){return this.Control.items.getCount()},PageExists:function(t){var e=this.Control.items.items;if(e.length<1)return!1;for(var n=0;n<e.length;n++)if(e[n].itemId==t)return!0;return!1},PageHasInnerControls:function(t){var e=this.Control.getItem(t);return!(Ext.isEmpty(e)||Ext.isEmpty(e.items)||Ext.isEmpty(e.items.items))&&e.items.items[0]instanceof UnifiedListViewer},UpdateNavItem:function(t){this.Control.UpdateNavItem(t)},_onControl_TabChange:function(t,e){},_onControl_TabClose:function(t,e){this.fireEvent("TabClose",this,{NavItem:e.NavItem})},_onControl_BeforeTabChange:function(t,e,n){this._prevActiveTab&&this.fireEvent("TabUnselect",this,{NavItem:this._prevActiveTab.NavItem}),this._prevActiveTab=e,Ext.isEmpty(e)||Ext.defer((function(){this.fireEvent("ActiveTabChange",this,{NavItem:e.NavItem})}),50,this)}})},1850:()=>{Common.Cs.Define("Ul.SystemContainerCtrlr","Common.Observable",{Adapter:null,SystemData:null,SystemCtrlr:null,UlvDict:null,constructor:function(t){this.callParent(arguments),this.UlvDict={},Common.Merger.FastMerge(this,t),this.addEvents("ActiveTabChange","TabClose","TabUnselect"),this._createAdapter()},_createAdapter:function(){this.Adapter=new Ul.SystemContainerAdapter({SystemData:this.SystemData}),this.Adapter.on({scope:this,ActiveTabChange:this._onAdapter_ActiveTabChange,TabClose:this._onAdapter_TabClose,TabUnselect:this._onAdapter_TabUnselect})},CreatePage:function(t,e){this.Adapter.CreatePage(t,e),Ul.ReportCountExtensionManager.RegisterItem(t,this.UpdateNavItem.bind(this))},MaskCurrentPage:function(t,e){this.Adapter.MaskCurrentPage(t,e)},UnmaskCurrentPage:function(t){this.Adapter.UnmaskCurrentPage(t)},MaskPage:function(t,e,n){this.Adapter.MaskPage(t,e,n)},UnmaskPage:function(t,e){this.Adapter.UnmaskPage(t,e)},SelectPage:function(t,e){this.Adapter.SelectPage(t),e&&e()},IsPageLoaded:function(t){return this.Adapter.IsPageLoaded(t)},ClosePage:function(t){this.Adapter.ClosePage(t)},GetSelectedPageNavItem:function(){return this.Adapter.GetSelectedPageNavItem()},CreateSystemContainerItemCtrlr:function(t,e){switch(t.Type){case Ul.SystemCtrlr.ContainerTypeEnum.Ulv:case Ul.SystemCtrlr.ContainerTypeEnum.Field:Ul.UlvMainCtrlr.CreateForReport(this.SystemCtrlr,t,e)}},AddSystemContainerItemCtrlrToPage:function(t,e,n){var i=e;i.on(Ul.UlvMainCtrlr.EventEnum.BeforeDestroy,(function(t){delete this.UlvDict[t.NavItem.Id]}),this,{single:!0}),this.UlvDict[t.Id]=i,i.UpdateNavItemCaption(),t.SystemContainerItemCtrlr=i,this.Adapter.AddControlToPage(t,i.Adapter.Control),n&&n()},GetSize:function(){return this.Adapter.GetSize()},GetPageCount:function(){return this.Adapter.GetPageCount()},_createContainer_Ulv:function(t,e){var n=this.Adapter.Control.getActiveTab(t.Id),i={lpo:{folderId:t.FolderId,width:n.getSize().width,height:n.getSize().height}};UnifiedListViewer.CreateByConfig(i,(function(n){t.Caption=n.lpo.ReportName+"&nbsp;&nbsp;&nbsp;&nbsp;",n.AccessibleName=t.Caption,e(null,n)}),null,n,window.ribbon)},_createContainer_Field:function(t,e){var n={parentObjectId:t.OtherData.ObjectId,parentObjectTypeDefId:t.OtherData.ParentObjectTypeDefId,fieldDbName:t.OtherData.FieldDbName};Data.getServerData("Form.CreateInnerFieldContorl",n,(function(n){if(null==n)return this.Adapter.CloseContainerPage(t.Id),void e(!1);if(n.lpo&&n.lpo.Relation&&(n.lpo.Relation.AutoSave=!0),n.ControlFieldDefId){n.parentRibbon=window.ribbon;var i=Ext.create(n);e(null,i)}}),this,function(){this.Adapter.CloseContainerPage(t.Id),e(!1)}.bind(this))},_onAdapter_ActiveTabChange:function(t,e){var n=this.Adapter.GetSelectedPageNavItem();if(n){var i=this.GetUlvByNavItemId(n.Id);this.GetSelectedPageNavItem().Id==n.Id&&i.RefreshCommands(),this.fireEvent("ActiveTabChange",this)}else this.SystemCtrlr.UndoRibbonLevelConfig(Ui.Ribbon.ConfigLevels.Ulv)},_onAdapter_TabClose:function(t,e){var n=this.UlvDict[e.NavItem.Id];n&&n.Destroy(),this.UlvDict[e.NavItem.Id]=null,0==this.GetPageCount()&&this.SystemCtrlr.UndoRibbonLevelConfig(Ui.Ribbon.ConfigLevels.Ulv),this.fireEvent("TabClose",this,e)},_onAdapter_TabUnselect:function(t,e){this.fireEvent("TabUnselect",this,e)},PageExists:function(t){return this.Adapter.PageExists(t)},PageHasInnerControls:function(t){return this.Adapter.PageHasInnerControls(t)},UpdateNavItem:function(t){this.Adapter.UpdateNavItem(t)},GetUlvByNavItemId:function(t){return this.UlvDict[t]}})},32852:()=>{Common.Cs.Define("Ui.CustomSystemNavUi","Common.Observable",{FastSearchNavItemList:null,constructor:function(t){this.addEvents("NavItemSelectRequested","SyncWithNavPanelRequested"),this.callParent(arguments);var e=LoginFormData.CustomUiPrefix;e&&(component=e+Common.Util.GetKebabCase(t.originalXtype)),this.controlUi=document.createElement(component),this.controlUi.id=Ext.id(),this.controlUi.context=this},getCustomHtmlElement:function(){return this.controlUi},AddChildControl:function(t){}})},99253:()=>{Ext.define("Common.NavItem",{Id:0,ReportId:0,FolderId:0,Name:null,Caption:null,IconUrl:null,ParentControlId:null,Data:null,ExtraData:null,Type:null,GroupAdapter:null,ReportCountExtension:null,constructor:function(t){this.Type=Ul.SystemCtrlr.ContainerTypeEnum.Ulv,Ext.apply(this,t)},IsEqual:function(t){return t&&this.Id==t.Id}})},28331:()=>{Common.Cs.Define("Ul.SystemNavAdapter","Ul.NavAdapterBase",{constructor:function(t){this.addEvents("NavItemSelectRequested","SyncWithNavPanelRequested"),this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments);return t.SystemData=this.SystemData,t},CreateControl:function(t){var e=null;return LoginFormData.CustomUiPrefix?(t.originalXtype="Ui.SystemNavUi",e=new Ui.CustomSystemNavUi(t)):e=new Ui.SystemNavUi(t),e.on({NavItemSelectRequested:function(t,e){this.fireEvent("NavItemSelectRequested",this,e)},NavItemChanged:function(t,e){this.fireEvent("NavItemChanged",this,e)},SyncWithNavPanelRequested:function(t){this.fireEvent("SyncWithNavPanelRequested",this)},scope:this}),e},AddChildAdapter:function(t){this.Control.AddChildControl(t.Control),Ext.isEmpty(this.ChildAdapters)&&(this.ChildAdapters=[]),this.ChildAdapters.push(t),t.ParentAdapter=this},SetTitle:function(t){this.Control.rendered?this.Control.setTitle(t):this.Control.title=t},FastSearchNavItemList:function(t){this.Control.FastSearchNavItemList=t}})},68573:()=>{Common.Cs.Define("Ul.SystemNavCtrlr","Common.Observable",{SystemData:null,SystemCtrlr:null,Adapter:null,TopLevelPanelAdapter:null,_topLevelStyle:"",_navigatorData:null,_navGroupAdapterList:null,_ViewStyle:null,_isAccordion:!1,_lastSelectedGroupAdapter:null,FastSearchNavItemList:null,constructor:function(t){if(this.callParent(arguments),this.FastSearchNavItemList=[],Common.Merger.FastMerge(this,t),this._navigatorData=this.SystemData.Navigator,this._navGroupAdapterList=[],this.SystemData.JsonExtraProp){var e=this.SystemData.JsonExtraProp.Navigator_TopLevelStyle;this._topLevelStyle="Accordion"==e?Ul.SystemCtrlr.NavTopLevelStyleEnum.Accordion:Ul.SystemCtrlr.NavTopLevelStyleEnum.Normal}this._createAdapter(),this.SetTitle(BBB.SubSystemTitle.format(this.SystemData.Caption))},SetTitle:function(t){this.Adapter.SetTitle(t)},_createAdapter:function(){this.Adapter=new Ul.SystemNavAdapter({SystemData:this.SystemData,JsonExtraProp:this.SystemData.JsonExtraProp}),"Common.Observable"==this.Adapter.Control.BaseClassName==0&&(this.TopLevelPanelAdapter=this._createTopLevelPanelAdapter(),this.Adapter.AddChildAdapter(this.TopLevelPanelAdapter)),this.SetTitle(BBB.SubSystemTitle.format(this.SystemData.Caption)),this.Adapter.FastSearchNavItemList(this.FastSearchNavItemList),this.Adapter.on({NavItemSelectRequested:function(t,e){this.SelectNavItem(e,!1,!0)},NavItemChanged:function(t,e){this.fireEvent("NavItemChanged",this,e)},SyncWithNavPanelRequested:function(t){var e=this.SystemCtrlr.SystemContainerCtrlr.GetSelectedPageNavItem(),n=this.GetSelectedNavItem();e&&n&&e.Id!=n.Id&&this.SelectNavItem(e.Id,!0,!0)},scope:this})},_createTopLevelPanelAdapter:function(){var t=null;return t=1==this._navigatorData.Root.IsTab?this._topLevelStyle==Ul.SystemCtrlr.NavTopLevelStyleEnum.Accordion?this._createNavAccordionPanelAdapter(this._navigatorData.Root):this._createNavTabPanelAdapter(this._navigatorData.Root):this._createNavPageAdapter(this._navigatorData.Root),this.TopLevelPanelAdapter=t,t},_createNavTabPanelAdapter:function(t){for(var e=new Ul.NavTabPanelAdapter({Data:t,JsonExtraProp:this.SystemData.JsonExtraProp}),n=0;n<t.Items.length;n++){var i=t.Items[n];i.Parent=t;var r=this._createNavPageAdapter(i,!1,!0);e.AddChildAdapter(r)}return e},_createNavAccordionPanelAdapter:function(t){for(var e=new Ul.NavAccordionPanelAdapter({Data:t,JsonExtraProp:this.SystemData.JsonExtraProp}),n=0;n<t.Items.length;n++){var i=t.Items[n];i.Parent=t;var r=this._createNavPageAdapter(i,!0,!1);e.AddChildAdapter(r)}return e},_createNavPageAdapter:function(t,e,n){var i=null;i=e?new Ul.NavPageAccordionAdapter({Data:t}):n?new Ul.NavPageVerticalTabAdapter({Data:t}):new Ul.NavPageNormalAdapter({Data:t});for(var r=0;r<t.Items.length;r++){var o,a=t.Items[r];a.Parent=t,o=0==this._isUlvNavItem(a)?this._createNavGroupAdapter(a):this._createNavGroupUlvAdapter(a),i.AddChildAdapter(o),this._navGroupAdapterList.push(o)}return i},_createNavGroupAdapter:function(t){var e=new Ul.NavGroupAdapter({Data:t});if(t.Caption==BBB.StartPage&&(this.SystemData.StartPageId_ByNavGroupName=0==Ext.isEmpty(t.Items)&&t.Items.length>0?t.Items[0].Id:null),e.on({scope:this,NavItemChanged:function(t,e){this._lastSelectedGroupAdapter&&this._lastSelectedGroupAdapter!=t&&this._lastSelectedGroupAdapter.UnselectAll(),this._lastSelectedGroupAdapter=t,e.GroupAdapter=t,this.fireEvent("NavItemChanged",this,e)}}),t.Items)for(var n=0;n<t.Items.length;n++){var i=t.Items[n];this.FastSearchNavItemList.push(i)}return e},_createNavGroupUlvAdapter:function(t){var e=new Ul.NavGroupUlvAdapter({Data:t});return e.on({scope:this,NavItemChanged:function(t,e){this.fireEvent("NavItemChanged",this,e)}}),e},_isUlvNavItem:function(t){var e=!1;if(t.Items)for(var n=0;n<t.Items.length;n++)if(t.Items[n].ShowReportInNavigator){e=!0;break}return e},GetNavItemById:function(t){for(var e,n=0;n<this._navGroupAdapterList.length;n++){var i=this._navGroupAdapterList[n];if(e=i.GetNavItemById(t)){e.GroupAdapter=i;break}}return e},UpdateNavItem:function(t){t.GroupAdapter||(t=this.GetNavItemById(t.Id)),t&&t.GroupAdapter.UpdateNavItem(t)},GetSelectedNavItem:function(){var t;return this._lastSelectedGroupAdapter&&(t=this._lastSelectedGroupAdapter.GetSelectedNavItem()),t},SelectNavItem:function(t,e,n){if(!t)return!1;if(Ext.isString(t)){var i=t;t=this.GetNavItemById(i)}var r;if(t.GroupAdapter||(t=this.GetNavItemById(t.Id)),n=Ext.value(n,!0),e=Ext.value(e,!1),n){for(var o=[],a=t.GroupAdapter;a&&1!=a.Data.IsRoot;)o.push(a),a=a.ParentAdapter;o.reverse();for(var s=0;s<o.length;s++)o[s].ParentAdapter.SelectChildAdapter(o[s],e,n)}return(r=t.GroupAdapter.SelectItem(t.Id,e,n))&&this._lastSelectedGroupAdapter&&this._lastSelectedGroupAdapter!=t.GroupAdapter&&(this._lastSelectedGroupAdapter.UnselectAll(),this._lastSelectedGroupAdapter=t.GroupAdapter),r},SelectNavItemByName:function(t){if(!Ext.isEmpty(this.FastSearchNavItemList)){var e=this.FastSearchNavItemList.find((function(e){return e.Name==t}),this);return e?this.SelectNavItem(e.Id):void 0}},GetUlvNavItemByName:function(t){for(var e=0;e<this._navGroupAdapterList.length;e++){var n=this._navGroupAdapterList[e];if(n._ulvCtrlr&&n.Data.Caption==t)return n._ulvCtrlr}}})},72709:()=>{Common.Cs.Define("Ul.SystemTreeNavAdapter","Ul.NavAdapterBase",{constructor:function(t){this.addEvents("NavItemChanged","NavItemSelectRequested","SyncWithNavPanelRequested"),this.callParent(arguments)},CreateControlConfig:function(){var t=this.callParent(arguments);return t.SystemData=this.SystemData,t.FastSearchNavItemList=this.FastSearchNavItemList,t},CreateControl:function(t){var e=new Ui.SystemTreeNavUi(t);return e.on({NavItemChanged:function(t,e){this.fireEvent("NavItemChanged",this,e)},NavItemSelectRequested:function(t,e){this.fireEvent("NavItemSelectRequested",this,e)},SyncWithNavPanelRequested:function(t){this.fireEvent("SyncWithNavPanelRequested",this)},scope:this}),e},SetTitle:function(t){this.Control.rendered?this.Control.setTitle(t):this.Control.title=t},SelectNavItem:function(t,e,n){return this.Control.SelectNavItem(t,e,n)},GetSelectedNavItem:function(){return this.Control.GetSelectedNavItem()}})},88895:()=>{Common.Cs.Define("Ul.SystemTreeNavCtrlr","Common.Observable",{SystemData:null,SystemCtrlr:null,Adapter:null,_ViewStyle:null,FastSearchNavItemList:null,constructor:function(t){this.callParent(arguments),this.FastSearchNavItemList=[],Common.Merger.FastMerge(this,t),this._navigatorData=this.SystemData.Navigator,this._createAdapter(),this.SetTitle(BBB.SubSystemTitle.format(this.SystemData.Caption)),this.addEvents("NavItemChanged","ItemClicked")},SetTitle:function(t){this.Adapter.SetTitle(t)},_createAdapter:function(){this.Adapter=new Ul.SystemTreeNavAdapter({SystemData:this._navigatorData,FastSearchNavItemList:this.FastSearchNavItemList}),this.SetTitle(BBB.SubSystemTitle.format(this.SystemData.Caption)),this.Adapter.on({NavItemSelectRequested:function(t,e){this.SelectNavItem(e,!1,!0)},SyncWithNavPanelRequested:function(t){var e=this.SystemCtrlr.SystemContainerCtrlr.GetSelectedPageNavItem(),n=this.GetSelectedNavItem();e&&n&&e.Id!=n.Id&&this.SelectNavItem(e.Id,!0,!0)},NavItemChanged:function(t,e){this.fireEvent("NavItemChanged",this,e)},scope:this})},SelectNavItemByName:function(t){if(!Ext.isEmpty(this.FastSearchNavItemList)){var e=this.FastSearchNavItemList.find((function(e){return e.Name==t}),this);return e?this.SelectNavItem(e.Id):void 0}},SelectNavItemById:function(t){var e=this.Adapter.GetNavItemById(t);e&&this.SelectNavItem(e.Id)},UpdateNavItem:function(t){},GetSelectedNavItem:function(){return this.Adapter.GetSelectedNavItem()},SelectNavItem:function(t,e,n){return this.Adapter.SelectNavItem(t,e,n)}})},91519:()=>{Common.Cs.Define("Ui.CustomSystemUi","Common.Observable",{constructor:function(t){this.callParent(arguments);var e=Common.Util.TryGetValue(this.SystemData,"CustomUi.Selector",null);if(null==e){var n=LoginFormData.CustomUiPrefix;n&&(e=n+Common.Util.GetKebabCase(t.originalXtype))}this.controlUi=document.createElement(e),this.controlUi.id=Ext.id(),this.controlUi.context=this},getCustomHtmlElement:function(){return this.controlUi},ShowFormPanelControl:function(t){this.controlUi.rendered&&this.controlUi.showFormPanelControl(t)},RefreshRibbon:function(){},UndoRibbonLevelConfig:function(){},EnableCommand:function(t,e){},VisibleCommand:function(t,e){}})},25261:()=>{Common.Cs.Define("Ul.SystemAdapter","Common.Observable",{Control:null,SystemData:null,SystemNavAdapter:null,SystemContainerAdapter:null,constructor:function(t){this.callParent(arguments),Common.Merger.FastMerge(this,t);var e={SystemData:this.SystemData,SystemNavUi:this.SystemNavAdapter.Control,SystemContainerUi:this.SystemContainerAdapter.Control},n=Common.Util.TryGetValue(this.SystemData,"CustomUi.Selector",null);n||LoginFormData.CustomUiPrefix?(e.originalXtype="Ui.SystemUi",this.Control=new Ui.CustomSystemUi(e)):this.Control=new Ui.SystemUi(e),this.addEvents("Rendered"),this.Control.on("afterRender",(function(){this.fireEvent("Rendered")}),this),this.relayEvents(this.Control,["RibbonCommandClick"])},RefreshRibbon:function(t){this.Control.RefreshRibbon(t)},UndoRibbonLevelConfig:function(t){this.Control.UndoRibbonLevelConfig(t)},VisibleCommand:function(t,e){this.Control.VisibleCommand(t,e)},EnableCommand:function(t,e){this.Control.EnableCommand(t,e)},ShowFormPanelControl:function(t){this.Control.ShowFormPanelControl(t)}})},40136:()=>{Common.Cs.Define("Ul.SystemCtrlr","Common.Observable",{Adapter:null,SystemContainerCtrlr:null,SystemNavCtrlr:null,CustomCodeObject:null,IsAllCustomCodeLoaded:null,Id:null,Name:null,Caption:null,SystemData:null,CustomCodeErrors:[],constructor:function(t){this.callParent(arguments),this._mergeWithExtraSystemData(t,this),this.addEvents(Ul.SystemCtrlr.EventEnum.Startup,Ul.SystemCtrlr.EventEnum.BeforeSystemCreate,Ul.SystemCtrlr.EventEnum.AfterSystemCreate,Ul.SystemCtrlr.EventEnum.BeforeSystemSelect,Ul.SystemCtrlr.EventEnum.AfterSystemSelect,Ul.SystemCtrlr.EventEnum.BeforeNavReportCreate,Ul.SystemCtrlr.EventEnum.AfterNavReportCreate,Ul.SystemCtrlr.EventEnum.BeforeNavReportSelect,Ul.SystemCtrlr.EventEnum.AfterNavReportSelect,Ul.SystemCtrlr.EventEnum.AfterNavReportUnselect,"Rendered")},ApplyExtraData:function(t){this._mergeWithExtraSystemData(t,this.SystemData)},CreateUi:function(){this._createInnerControllers(),this._createAdapter(),this.SystemData.IsUiCreated=!0},_createInnerControllers:function(){this.SystemData.UseTreeNavigator?this.SystemNavCtrlr=new Ul.SystemTreeNavCtrlr({System:this,SystemData:this.SystemData,SystemCtrlr:this}):this.SystemNavCtrlr=new Ul.SystemNavCtrlr({System:this,SystemData:this.SystemData,SystemCtrlr:this}),this.SystemNavCtrlr.on({scope:this,NavItemChanged:this._onSystemNavCtrlr_ItemChanged}),this.SystemContainerCtrlr=new Ul.SystemContainerCtrlr({System:this,SystemData:this.SystemData,SystemCtrlr:this}),this.SystemContainerCtrlr.on({scope:this,ActiveTabChange:this._onSystemContainer_ActiveTabChange,TabClose:this._onSystemContainer_TabClose,TabUnselect:this._onSystemContainer_TabUnselect})},_createAdapter:function(){this.Adapter=new Ul.SystemAdapter({SystemData:this.SystemData,SystemNavAdapter:this.SystemNavCtrlr.Adapter,SystemContainerAdapter:this.SystemContainerCtrlr.Adapter}),this.SystemData.IsUiCreated=!0,this.Adapter.on("Rendered",(function(){this.fireEvent("Rendered")}),this),this.Adapter.on("RibbonCommandClick",this._onAdapter_RibbonCommandClick,this)},ProcessCustomCode:function ProcessCustomCode(){if(0==Ext.isEmpty(this.SystemData.CustomCodeError))return this.SystemData.CustomCodeError;if(!Ext.isEmpty(this.SystemData.CustomCodeList)){for(var jsCode="temp= new function(){\n",i=0;i<this.SystemData.CustomCodeList.length;i++)jsCode+=this.SystemData.CustomCodeList[i].FunctionBody+"\n";jsCode+="};";try{eval(jsCode)}catch(t){return String.format("اشکال در اجرای کد دلخواه سیستم: {0}",this.Caption)}for(var i=0;i<this.SystemData.CustomCodeList.length;i++){var customCode=this.SystemData.CustomCodeList[i];if(0==Ext.isEmpty(customCode.FunctionName)){var fn=temp[customCode.FunctionName];fn.SystemId=this.Id,Common.Merger.FastMerge(fn,customCode,{excludeList:["FunctionBody"]})}}this.CustomCodeObject=Ext.value(this.CustomCodeObject,{}),Common.Merger.FastMerge(this.CustomCodeObject,temp,{excludeFunctions:!1,onlyNewProperties:!0}),this.SystemData.CustomCodeList=null,Common.CustomCodeManager.AddToDictionary(this),Common.CustomCodeManager.RegisterEventHandler(this,this.Id)}},ExecRibbonCommand:function(t){this._onAdapter_RibbonCommandClick(t)},_mergeWithExtraSystemData:function(t,e){var n=t.SystemData?t.SystemData:t;n.ExtraData&&(Common.Merger.FastMerge(n,n.ExtraData),n.ExtraData=null),e&&Common.Merger.FastMerge(e,t)},_onAdapter_RibbonCommandClick:function(t,e){if(Ext.isString(t))switch(t){case"ChangePassword":Ul.ChangePasswordCtrlr.ShowForm();break;case"Exit":Ul.ApplicationCtrlr.Logout();break;case"Chat":StartChat();break;case"About":if(e.ctrlKey&&!e.altKey&&Ul.ApplicationCtrlr.AllowManagementWindow){var n=Common.LogManager.StartLog("System.RefreshStructure",{SystemId:this.Id});Bw.RestartStructure((function(t){n&&n(),t&&LoadHelper.Reload()})),Common.LogManager.EndLog(n)}break;case"Debug":Debug.Show();break;case"Lock":Ui.LockWindow.Lock();break;case"Refresh":var i=this.SystemContainerCtrlr.GetSelectedPageNavItem();if(i){var r=this.GetUlvByNavItemId(i.Id);r&&(n=Common.LogManager.StartLog("System.Refresh",{ReportId:r.Setting.Data.ReportId}),r.Reload(n),Common.LogManager.EndLog(n))}break;case"Help":e.ctrlKey&&Ul.ApplicationCtrlr.AllowDesign()&&window.open("\\_Documents\\Help\\WebHelp\\index.htm","toolbar=no,titlebar=no,menubar=no");break;case"Test":break;case"SendExitToAllUser":Common.Ajax.GetServerData("System94.SendExitToAllUsers",null,null,null,null,null)}else if(Ext.isObject(t)){var o=t,a={CommandId:o.Id};if(n=Common.LogManager.StartLog("System.Command",a),o.DynamicCommandId)e={Command:o,DynamicSetting:null},Common.CustomCodeManager.RunDynamicCommand(o.DynamicCommandId,e,n);else{var s=this.SystemData.Id+":"+o.Text;Common.CustomCodeManager.ExecFunctions(s,"click",[o,{System:Bw._wrap(Ul.ApplicationCtrlr.GetSelectedSystem()),E:e}],n)}Common.LogManager.EndLog(n)}},_onSystemContainer_ActiveTabChange:function(t){if(1!=this._temporaryDisableTabChangeEvent){var e=t.GetSelectedPageNavItem();this._reloadUlvByNavItem(e)}},_onSystemContainer_TabClose:function(){},_onSystemContainer_TabUnselect:function(t,e){this.fireEvent(Ul.SystemCtrlr.EventEnum.AfterNavReportUnselect,this,e)},_onSystemNavCtrlr_ItemChanged:function(t,e){var n=Common.LogManager.StartLog("Report.NavItemChanged",{FolderId:e.FolderId,ReportId:e.ReportId});this.ShowSystemContainerPage(e,n),Common.LogManager.EndLog(n)},ShowSystemContainerPage:function(t,e){if(this.SystemContainerCtrlr.GetSelectedPageNavItem(),this.SystemContainerCtrlr.IsPageLoaded(t.Id))Common.Async.Waterfall("ShowSystemContainerPage select navId: "+t.Id,[this.FireEventSynch.bind(this,Ul.SystemCtrlr.EventEnum.BeforeNavReportSelect,this._createEventArg(t)),function(e){this._temporaryDisableTabChangeEvent=!0,this.SystemContainerCtrlr.SelectPage.call(this.SystemContainerCtrlr,t.Id),this._temporaryDisableTabChangeEvent=!1;var n=this.SystemContainerCtrlr.GetSelectedPageNavItem();this._reloadUlvByNavItem(n),e()}.bind(this),this.FireEventSynch.bind(this,Ul.SystemCtrlr.EventEnum.AfterNavReportSelect,this._createEventArg(t))],(function(t,n){e&&e(t,n)}));else if(t.DynamicCommand){var n={CommandId:t.FolderId},i=Common.LogManager.StartLog("Navigator.Command",n),r={Command:t,DynamicSetting:t.DynamicCommand};Common.CustomCodeManager.RunDynamicCommand(t.Id,r,i),Common.LogManager.EndLog(i)}else Common.Async.Waterfall("ShowSystemContainerPage load navId: "+t.Id,[this.FireEventSynch.bind(this,Ul.SystemCtrlr.EventEnum.BeforeNavReportCreate,this._createEventArg(t)),this.SystemContainerCtrlr.CreatePage.bind(this.SystemContainerCtrlr,t),this.SystemContainerCtrlr.MaskPage.bind(this.SystemContainerCtrlr,t.Id,1e3),this.SystemContainerCtrlr.CreateSystemContainerItemCtrlr.bind(this.SystemContainerCtrlr,t),this.SystemContainerCtrlr.AddSystemContainerItemCtrlrToPage.bind(this.SystemContainerCtrlr,t),this.SystemContainerCtrlr.UnmaskPage.bind(this.SystemContainerCtrlr,t.Id),this.FireEventSynch.bind(this,Ul.SystemCtrlr.EventEnum.AfterNavReportCreate,this._createEventArg(t)),this.FireEventSynch.bind(this,Ul.SystemCtrlr.EventEnum.BeforeNavReportSelect,this._createEventArg(t)),this.FireEventSynch.bind(this,Ul.SystemCtrlr.EventEnum.AfterNavReportSelect,this._createEventArg(t))],(function(t,n){Common.Async.Finalize(t,n,e)}))},SelectNavItem:function(t){return this.SystemNavCtrlr.SelectNavItem(t)},SelectNavItemByName:function(t){this.SystemNavCtrlr.SelectNavItemByName(t)},GetSelectedNavItem:function(){return this.SystemContainerCtrlr.GetSelectedPageNavItem()},GetSelectedUlv:function(){var t=this.GetSelectedNavItem();if(t)return this.GetUlvByNavItemId(t.Id)},RefreshRibbon:function(t){this.Adapter.RefreshRibbon(t)},UndoRibbonLevelConfig:function(t){this.Adapter.UndoRibbonLevelConfig(t)},UpdateNavItem:function(t){this.SystemNavCtrlr.UpdateNavItem(t),this.SystemContainerCtrlr.UpdateNavItem(t)},GetReportByNameInNavigator:function(t){return this.SystemNavCtrlr.GetUlvNavItemByName(t)},_createEventArg:function(t,e){return{NavItem:t,PrevNavitem:this.GetSelectedNavItem(),SystemData:this.SystemData}},VisibleCommand:function(t,e){this.Adapter.VisibleCommand(t,e)},EnableCommand:function(t,e){this.Adapter.EnableCommand(t,e)},GetUlvByNavItemId:function(t){return this.SystemContainerCtrlr.GetUlvByNavItemId(t)},UpdateSystemContainerTabCaption:function(t){if(!Ext.isEmpty(t)){var e=t;Ext.isArray(t)&&(e=t[0]);var n,i=this.SystemContainerCtrlr.UlvDict;for(var r in i)if((r.indexOf(":")>=0?r.substring(r.indexOf(":")+1):r)==e.Id){n=i[r];break}n&&n.NavItem&&(n.NavItem.OtherData.Mo.$Caption=e.$Caption)}},isFirstTime_SelectStartupReport:!0,SelectStartupReport:function(t){if(this.isFirstTime_SelectStartupReport){this.isFirstTime_SelectStartupReport=!1;var e=Ext.value(this.SystemData.StartPageId_ByNavGroupName,this.SystemData.StartupFolderId);Ext.isNotEmpty(e)&&this.SelectNavItem(e)}t&&t()},_reloadUlvByNavItem:function(t){if(t){var e=this.GetUlvByNavItemId(t.Id);e&&e.Reload()}},statics:{EventEnum:{Startup:"MetaEventTopics.System_Startup",BeforeSystemCreate:"MetaEventTopics.BeforeSystemCreate",AfterSystemCreate:"MetaEventTopics.AfterSystemCreate",BeforeSystemSelect:"MetaEventTopics.BeforeSystemSelect",AfterSystemSelect:"MetaEventTopics.AfterSystemSelect",BeforeNavReportSelect:"MetaEventTopics.BeforeNavReportSelect",AfterNavReportSelect:"MetaEventTopics.AfterNavReportSelect",BeforeNavReportCreate:"MetaEventTopics.BeforeNavReportCreate",AfterNavReportCreate:"MetaEventTopics.AfterNavReportCreate",AfterNavReportUnselect:"AfterNavReportUnselect"},ContainerTypeEnum:{Ulv:"Ulv",Report:"Report",Field:"Field",Form:"Form"},NavTopLevelStyleEnum:{Normal:"Normal",Accordion:"Accordion"}}})},57305:()=>{},7214:()=>{Common.Cs.Define("Common.MetaObjectCheckListWeb","Common.MetaObjectListWeb",{ForEach:function(t,e){for(var n=0,i=this.GetCount();n<i;n++){var r=this.GetMoByIndex(n);0==Ext.isDefined(r.$IsOriginalyChecked)&&0==Ext.isDefined(r.$IsChecked)||t.call(e,r,n,this.MoListData)}},GetCheckedCount:function(){for(var t=this.GetCount(),e=0,n=0;n<t;n++){var i=this.GetMoByIndex(n);Ext.isDefined(i.$IsChecked)&&!0===i.$IsChecked&&e++}return e},GetChangedObject:function(){var t=[],e=[];this.ForEach((function(n){0==n.$IsChecked&&1==n.$IsOriginalyChecked?t.push({Id:n.Id}):1==n.$IsChecked&&1!=n.$IsOriginalyChecked&&e.push({Id:n.Id})}),this);var n=null;return 0!=Ext.isEmpty(t)&&0!=Ext.isEmpty(e)||(n={DeletedList:t,AddedList:e,$Type:"Common.MetaObjectCheckListWeb",TypeDefId:this.TypeDefId}),n}})},71984:()=>{Common.Cs.Define("Common.MetaObjectListWeb","Common.MetaBase",{$Recently:null,constructor:function(t){var e;e=t,e=Common.Merger.Clone(e,Common.MetaObjectListWeb._internalDefaults,{onlyNewProperties:!0}),Ext.apply(this,e)},_resolveMoId:function(t){return Ext.isObject(t)?t.Id:t.toString()},GetCount:function(){return this.MoDataList.length},_getIndexOfDeletedMo:function(t){var e=this._resolveMoId(t);return this.DeletedList.indexOfByProperty("Id",e)},_getIndexOfAddedMo:function(t){var e=this._resolveMoId(t);return this.AddedList.indexOfByProperty("Id",e)},_getIndexOfMo:function(t){var e=this._resolveMoId(t);return this.MoDataList.indexOfByProperty("Id",e)},_getListOfIds:function(){for(var t=[],e=0;e<this.MoDataList.length;e++)t.push(this.MoDataList[e].Id);return t},SetFieldDict:function(t){this.$FieldDict=t},GetMoById:function(t){var e=this._getIndexOfMo(t);return-1==e?null:this.GetMoByIndex(e)},GetMoByIndex:function(t){var e=null;try{e=this.MoDataList[t]}catch(t){return null}return Ext.isEmpty(e)?null:(Ext.isEmpty(e.$TypeDefId)&&(e.$TypeDefId=this.TypeDefId),Ext.isEmpty(e.$ReportId)&&(e.$ReportId=this.ReportId),Ext.isEmpty(e.$FieldDict)&&(e.$FieldDict=this.$FieldDict),Common.MetaObjectWeb.CreateMo(e))},GetMoByData:function(t){return Ext.isEmpty(t)?null:t instanceof Common.MetaObjectWeb?t:Common.MetaObjectWeb.CreateMoByData(t,this.TypeDefId,this.ReportId)},GetCaption:function(){var t=[];return this.ForEach((function(e){t.push(e.GetCaption())}),this),t.join(",")},ForEach:function(t,e){for(var n=0,i=this.GetCount();n<i;n++){var r=this.GetMoByIndex(n);if(0==t.call(e,r,n,this.MoDataList))break}},MergeAddedAndDeletedObjects:function(t,e){t=Ext.value(t,[]),e=Ext.value(e,[]);for(var n=0;n<t.length;n++){var i=t[n];-1==this.AddedList.indexOfByProperty("Id",i.Id)&&(-1!=(r=this.DeletedList.indexOfByProperty("Id",i.Id))&&this.DeletedList.splice(r,1),this.AddMo(i))}for(n=0;n<e.length;n++){var r;i=e[n],-1==this.DeletedList.indexOfByProperty("Id",i.Id)&&(-1!=(r=this.AddedList.indexOfByProperty("Id",i.Id))&&this.AddedList.splice(r,1),this.RemoveMo(i.Id))}},MergeWithMoList:function(t){for(var e=0;e<t.length;e++){var n=t[e],i=this.GetMoById(n.Id);if(Ext.isEmpty(i)){if(-1!=this.AddedList.indexOfByProperty("Id",n.Id))continue;-1!=(r=this.DeletedList.indexOfByProperty("Id",n.Id))&&this.DeletedList.splice(r,1),this.AddMo(n)}}for(e=this.MoDataList.length-1;e>=0;e--)if(n=this.MoDataList[e],-1==t.indexOfByProperty("Id",n.Id)){if(-1!=this.DeletedList.indexOfByProperty("Id",n.Id))continue;var r;-1!=(r=this.AddedList.indexOfByProperty("Id",n.Id))&&this.AddedList.splice(r,1),this.RemoveMo(n.Id)}},UpdateMo:function(t){var e=this._getIndexOfMo(t);e>-1&&(this.MoDataList[e]=Common.Merger.Clone(this.MoDataList[e],t))},AddMo:function(t){if(!Ext.isEmpty(t)){0==Ext.isArray(t)&&(t=[t]);for(var e=[],n=0;n<t.length;n++){var i=t[n];if(0==this.OnlyDistinctItems||-1==this._getIndexOfMo(i)){this.MoDataList.push(i);var r=i.GetTypeDefId?i.GetTypeDefId():i.$TypeDefId;this.AddedList.push({Id:i.Id,TypeDefId:r});var o=this._getIndexOfDeletedMo(i);-1!=o&&this.DeletedList.splice(o,1)}else e.push(i)}return e}},RemoveMo:function(t,e,n){if(!Ext.isEmpty(t)){0==Ext.isArray(t)&&(t=[t]),e=Ext.value(e,!0),n=Ext.value(n,!0);for(var i=0;i<t.length;i++){var r=t[i],o=this._getIndexOfMo(r),a=this._getIndexOfAddedMo(r);if(-1!=a&&this.AddedList.splice(a,1),-1!=o){var s=this.MoDataList[o];1==n&&this.MoDataList.splice(o,1),1==e&&this.DeletedList.push(s)}}}},RemoveAll:function(t,e){t=Ext.value(t,!0),e=Ext.value(e,!0);for(var n=this.MoDataList.length-1;n>=0;n--){var i=this.MoDataList[n];1==e&&this.MoDataList.splice(n,1),1==t&&this.DeletedList.push(i)}},_getMinifiedDeletedRows:function(){for(var t=[],e=0;e<this.DeletedList.length;e++)t.push({Id:this.DeletedList[e].Id});return t},Commit:function(t){},Reject:function(){},GetChangedObject:function(){var t,e,n=[];this.ForEach((function(t){if(this.Relation&&this.Relation.RelationType==Common.Enums.RelationType.Composition&&(t.$State==Common.Enums.MoState.New||t.$State==Common.Enums.MoState.Modified)){var e=t.GetChangedObject();n.push(e)}}),this),t=this._getMinifiedDeletedRows(),e=this.AddedList;var i=null;return 0!=Ext.isEmpty(t)&&0!=Ext.isEmpty(n)&&0!=Ext.isEmpty(e)||(i={MoDataList:n,DeletedList:t,AddedList:e,$Type:"Common.MetaObjectListWeb",TypeDefId:this.TypeDefId,ReportId:this.ReportId}),i},SetRelationType:function(t){var e=Ext.value(this.Relation,{});e.RelationType=t,this.Relation=e},Filter:function(t,e,n){var i=[];return e=Ext.value(e,this),this.ForEach((function(r){if(1==t.call(e,r)&&(i.push(r),1==n))return!1})),i.length>0&&n&&(i=i[0]),i},FindByFieldValue:function(){var t=Array.prototype.slice.call(arguments),e=!1;t.length%2==1&&(e=1==arg[arg.length-1],t.pop());for(var n=[],i=0;i<t.length;i+=2)n.push({f:t[i],v:t[i=1]});var r=[];return this.ForEach((function(t){if(n.every((function(e){return t.GetFValue(e.f)==e.v}),this)&&(r.push(),e))return!1})),r.length>0&&e&&(r=r[0]),r},ConvertToArray:function(){var t=[];return this.ForEach((function(e){t.push(e)}),this),t},GetIdList:function(){var t=[];return this.ForEach((function(e){t.push(e.Id)})),t},statics:{_internalDefaults:{$Recently:{DeletedList:[],AddedList:[]},OnlyDistinctItems:!0,DeletedList:[],AddedList:[],MoDataList:[],Paging:{HasPaging:!1,StartIndex:0,EndIndex:0,RowCount:0,TotalRows:0,TotalPages:0,PageSize:0,Page:0}},GetMoIdListFromArgument:function(t){var e=[];if(Ext.isString(t)||Ext.isNumber(t))e=[t];else if("Common.MetaObjectListWeb"==t.aType)e=t._getListOfIds();else if("Common.MetaObjectWeb"==t.aType||Ext.isObject(t))Common.Debug.Assert(0==Ext.isEmpty(t.Id),"Common.MetaObjectListWeb.GetMoIdListFromArgument: Object must have Id"),e=[t.Id];else if(Ext.isArray(t))for(var n=0;n<t.length;n++){var i=t[n];if(Ext.isString(i)||Ext.isNumber(i))e.push(i);else if(Ext.isObject(i)){var r=i.Id;Common.Debug.Assert(0==Ext.isEmpty(r),"Common.MetaObjectListWeb.GetMoIdListFromArgument"),e.push(r)}}return e},CreateFromMoArray:function(t){if(!Ext.isEmpty(t)){var e=new Common.MetaObjectListWeb;return e.TypeDefId=t[0].GetTypeDefId(),e.ReportId=t[0].GetReportId(),t.forEach((function(t){e.AddMo(t)})),e}}}}),Common.Cs.Define("Common.MetaObjectListWebGeneral","Common.MetaObjectListWeb",{})},41931:()=>{Common.Cs.Define("Common.MetaBase","",{statics:{Wrap:function(t){return Ext.isEmpty(t)||t instanceof Common.MetaBase||(Ext.isString(t)&&(t=Ext.decode(t)),t.xtype=Ext.value(t.$Type,"Common.MetaObjectWeb"),Object.setPrototypeOf(t,Ext.create({xtype:t.xtype}))),t}}}),Common.Cs.Define("Common.MetaObjectWeb","Common.MetaBase",{constructor:function(t){Ext.isString(t)&&(t=Ext.decode(t)),t&&delete t.xtype,Ext.apply(this,t)},GetFieldName:function(t){if(this.$FieldDict)return this.$FieldDict[t]},GetFValue:function(t){var e=this[t],n=e;return!Ext.isObject(e)||!e.$Type||e instanceof Common.MetaBase||(n=Common.MetaBase.Wrap(e)),n},SetFValue:function(t,e,n){if(0==Ext.isDefined(this[t])&&1==Common.MetaObjectWeb.LimitedMode)throw'Common.MetaObjectWeb.SetFValue: Can not find field "'+t+'"';this.$OriginalValues=Ext.value(this.$OriginalValues,{});var i=this.$OriginalValues;1!=n&&0==Ext.isDefined(i[t])&&(i[t]=this[t],Ext.isDefined(this[t+"$Caption"])&&(i[t+"$Caption"]=this[t+"$Caption"])),this[t]=e,this.SetModified(n)},SetModified:function(t){(this.$State==Common.MetaObjectWeb.StateEnum.Unchanged||Ext.isEmpty(this.$State))&&1!=t&&(this.$State=Common.MetaObjectWeb.StateEnum.Modified)},GetFValueByCaption:function(t){var e=this.GetFieldName(t);if(!e)throw"فیلد با عنوان "+t+"یافت نشد";return this.GetFValue(e)},SetFValueByCaption:function(t,e){var n=this.GetFieldName(t);if(!n)throw"فیلد با عنوان "+t+"یافت نشد";return this.SetFValue(n,e)},GetFCaption:function(t){return Common.MetaObjectWeb.GetFieldCaption(this,t)},SetFCaption:function(t,e){this[t+"$Caption"]=e},GetFIcon:function(t){return this[t+"$Icon"]},GetTypeDefId:function(){return this.$TypeDefId},GetReportId:function(){return this.$ReportId},Commit:function(t){this.$OriginalValues={},this.$State=Common.MetaObjectWeb.StateEnum.Unchanged,this.ForEachField((function(t){Ext.isFunction(t.Commit)&&t.Commit()}),this)},Reject:function(){this.$State=Common.MetaObjectWeb.StateEnum.Unchanged,Ext.apply(this,this.$OriginalValues)},GetPrevState:function(){return this.$StatePrev},GetState:function(){return this.$State},SetState:function(t){this.$State=t},GetWorkflowChoice:function(){return this.$WorkflowChoice},SetWorkflowChoice:function(t){this.$WorkflowChoice=t},IsNew:function(){return this.GetState()==Common.Enums.MoState.New},IsModified:function(){return this.GetState()==Common.Enums.MoState.Modified},GetChangedObject:function(){var t={Id:this.Id,$TypeDefId:this.$TypeDefId};if(this.$State&&(t.$State=this.$State),this.$TypeDefId&&(t.$TypeDefId=this.$TypeDefId),this.$ReportId&&(t.$ReportId=this.$ReportId),this.$HasOo&&(t.$HasOo=this.$HasOo),this.$WorkflowChoice&&(t.$WorkflowChoice=this.$WorkflowChoice),this.GetState()==Common.MetaObjectWeb.StateEnum.Deleted)return t;for(var e in this.$__CycleRefCheck=!0,this)if(!Ext.isFunction(this[e])&&!(-1!=e.indexOf("$")&&-1==e.indexOf("$Path")||1==this[e+"$ReadOnly"]||0==Ext.isDefined(this[e])||this.GetState()!=Common.MetaObjectWeb.StateEnum.New&&Ext.isObject(this.$OriginalValues)&&0==this.$OriginalValues.hasOwnProperty(e)&&0==Ext.isObject(this[e]))){var n=this.GetFValue(e);if(n&&n.GetChangedObject){if(n.$__CycleRefCheck)continue;var i=n.GetChangedObject();this.GetState()==Common.MetaObjectWeb.StateEnum.Unchanged&&n.GetState&&n.GetState()!=Common.MetaObjectWeb.StateEnum.Unchanged&&(t.$State=Common.MetaObjectWeb.StateEnum.Modified),0==Ext.isEmpty(i)&&(t[e]=i)}else if(Ext.isObject(n)){var r={};for(var o in n)"$FormPanelSetting"!=o?-1!=o.indexOf("$")&&"$TypeDefId"!=o||((r=Ext.value(r,{}))[o]=n[o]):r=Common.MetaObjectWeb.CreateMo(n.$FormPanelSetting.Data.Mo).GetChangedObject();t[e]=r}else t[e]=n}return delete this.$__CycleRefCheck,Ext.isEmpty(t.$WorkflowChoice)&&delete t.$WorkflowChoice,t},_getChangedObject_Complete:function(){if(1==this.$Complete)return this._getChangedObject_Complete();var t={Id:this.Id,$TypeDefId:this.$TypeDefId};if(this.$State&&(t.$State=this.$State),this.$TypeDefId&&(t.$TypeDefId=this.$TypeDefId),this.$ReportId&&(t.$ReportId=this.$ReportId),this.$HasOo&&(t.$HasOo=this.$HasOo),this.$WorkflowChoice&&(t.$WorkflowChoice=this.$WorkflowChoice),this.$Complete&&(t.$Complete=this.$Complete),this.GetState()==Common.MetaObjectWeb.StateEnum.Deleted)return t;for(var e in this.$__CycleRefCheck=!0,this)if(!Ext.isFunction(this[e])&&0==e.indexOf("$")){if(1!=this.$Complete){if(e.indexOf("$")>0&&e.indexOf("$Path")>0)continue;if(0==Ext.isDefined(this[e]))continue;if(this.GetState()!=Common.MetaObjectWeb.StateEnum.New&&Ext.isObject(this.$OriginalValues)&&0==this.$OriginalValues.hasOwnProperty(e)&&0==Ext.isObject(this[e]))continue}var n=this.GetFValue(e);if(n&&n.GetChangedObject){if(n.$__CycleRefCheck)continue;var i=n.GetChangedObject();this.GetState()==Common.MetaObjectWeb.StateEnum.Unchanged&&n.GetState&&n.GetState()!=Common.MetaObjectWeb.StateEnum.Unchanged&&(t.$State=Common.MetaObjectWeb.StateEnum.Modified),0==Ext.isEmpty(i)&&(t[e]=i)}else if(Ext.isObject(n)){var r={};for(var o in n)"$FormPanelSetting"!=o?-1!=o.indexOf("$")&&"$TypeDefId"!=o||((r=Ext.value(r,{}))[o]=n[o]):r=Common.MetaObjectWeb.CreateMo(n.$FormPanelSetting.Data.Mo).GetChangedObject();t[e]=r}else t[e]=n}return delete this.$__CycleRefCheck,Ext.isEmpty(t.$WorkflowChoice)&&delete t.$WorkflowChoice,t},GetMinimalMo:function(){return{Id:this.Id,$TypeDefId:this.$TypeDefId,$State:this.$State}},GetChanges:function(){return this.GetState()==Common.Enums.MoState.New||this.GetState()==Common.Enums.MoState.Modified?this.GetChangedObject():this.GetMinimalMo()},GetNewMo:function(){return{Id:Math.floor(1e9*Math.random()+1),$TypeDefId:this.$TypeDefId,$State:Common.MetaObjectWeb.StateEnum.New}},GetCaption:function(){return this.$Caption},SetCaption:function(t){this.$Caption=t},GetIcon:function(){return this.$Icon},CopyFromMo:function(t,e){for(var n in t)if(!Ext.isFunction(this[n])&&"Id"!=n)if(n.contains("$"))-1==Common.MetaObjectWeb._excludeFromCopy.indexOf(n)&&(this[n]=t[n]);else{var i=n+"$Caption";0==Ext.isDefined(t[i])&&Ext.isDefined(this[i])&&delete this[i],i=n+"$Icon",0==Ext.isDefined(t[i])&&Ext.isDefined(this[i])&&delete this[i],1==e&&this.GetFValue(n)==t.GetFValue(n)||this.SetFValue(n,t.GetFValue(n))}},Clone:function(){var t=Common.MetaObjectWeb.CreateNewMo(this.GetTypeDefId(),this.GetReportId());return t.CopyFromMo(this,!1),t},_isRealField:function(t){return 0==Ext.isFunction(this[t])&&-1==t.indexOf("$")&&"Id"!=t},ForEachField:function(t,e){for(var n in this)this._isRealField(n)&&t.call(e,n)},SetAllFieldsChanged:function(){this.$OriginalValues=Ext.value(this.$OriginalValues,{});var t=this.$OriginalValues;for(var e in this)this._isRealField(e)&&0==t.hasOwnProperty(e)&&(t[e]=null)},GetMiniMo:function(){return{Id:this.Id,$TypeDefId:this.GetTypeDefId(),$Caption:this.GetCaption(),$Icon:this.GetIcon()}},ChangedFields:function(){var t=[];for(var e in this.$OriginalValues)t.push(e);return t},ChangedFieldsCaption:function(){var t=this.ChangedFields(),e=this._Mo.$FieldDict;return t.map((function(t){return e[t]?e[t]:t}))},HasFieldValue:function(t){return Ext.isDefined(this[t])},statics:{LimitedMode:!1,StateEnum:{New:"New",Modified:"Modified",Deleted:"Deleted",Unchanged:"Unchanged"},_internalDefaults:{},_excludeFromCopy:["$State","$TypeDefId","$Object","$TypeDefName","$Type","$ReportId","$FieldDict","$OriginalValues"],GetFieldCaption:function(t,e){var n=e+"$Caption";return Ext.isDefined(t[n])?t[n]:Ext.isObject(t[e])?t[e].$Caption:t[e]},GetFieldIcon:function(t,e){var n=e+"$Icon";if(n in t)return t[n]},CreateMoByData:function(t,e,n){return Common.MetaObjectWeb.IsMo(t)?t:(Common.Debug.Assert(Ext.isDefined(t.Id),"Common.MetaObjectWeb.CreateMoByData: data should have Id"),t.$TypeDefId=Ext.value(t.$TypeDefId,e),t.$ReportId=n,new Common.MetaObjectWeb(t))},CreateNewMo:function(t,e){var n=new Common.MetaObjectWeb({$TypeDefId:t,$ReportId:e});return n.SetState(Common.Enums.MoState.New),n},CreateMo:function(t){return Ext.isEmpty(t)||Common.MetaObjectWeb.IsMo(t)||(Ext.isString(t)&&(t=Ext.decode(t)),t.xtype=Ext.value(t.$Type,"Common.MetaObjectWeb"),Object.setPrototypeOf(t,Ext.create({xtype:t.xtype}))),t},WrapToMo:function(t,e,n){return Ext.isEmpty(t)||Common.MetaObjectWeb.IsMo(t)||(Ext.isString(t)&&(t=Ext.decode(t)),Object.setPrototypeOf(t,new Common.MetaObjectWeb),e&&(t.$TypeDefId=e),n&&(t.$ReportId=n)),t},IsMo:function(t){return t instanceof Common.MetaObjectWeb},ConvertMoOrMoListToMoArray:function(t){var e=[];return t instanceof Common.MetaObjectListWeb?t.ForEach((function(t){e.push(t)}),this):t instanceof Common.MetaObjectWeb?e.push(t):(0==Ext.isArray(t)&&(t=[t]),t.forEach((function(t){Ext.isString(t)?e.push(t):Ext.isObject(t)&&(t=Common.MetaObjectWeb.CreateMo(t),e.push(t))}),this)),e}}}),Common.Cs.Define("Common.MetaObjectWebSearchPanel","Common.MetaObjectWeb",{GetChangedObject:function(){this.SetState(Common.MetaObjectWeb.StateEnum.New);var t=this.callParent(arguments);return this.$ReportId&&(t.$ReportId=this.$ReportId,t.$Type="MetaObjectWebSearchPanel"),t}})},62633:()=>{Ext.apply(lang,{calendar:{numbers:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],",":"،",goText:"برو",dayText:"روز",multiDayText:"روزها",weekText:"هفته",multiWeekText:"هفته",monthText:"ماه",jumpToText:"پرش به:",todayText:"2امروز",calendarsText:"تقویم ها",ddCreateEventText:"درج رویداد برای ",ddMoveEventText:"درج رویداد در "}})},52997:()=>{NotificationManagerClient={defaultPollingInterval:5e3,defaultPollingIntervalSpeedUp:200,defaultIncreaseCheckCount:20,lastFetchedIndex:0,messageData:null,task:null,mythis:null,applicationList:[],SpeedUpIndex:0,disabled:!0,initialize:function(){this.pollingInterval=this.defaultPollingInterval,this.ResetTask()},ResetTask:function(){this.disabled||(this.task&&Ext.TaskMgr.stop(this.task),this.task=Ext.TaskMgr.start({run:this.GetNewMessagesFromServer,interval:this.pollingInterval,scope:this}))},RegisterApplication:function(t){this.applicationList[t.Id]=t},GetNewMessagesFromServer:function(){this.disabled||(this.SpeedUpIndex>0?this.SpeedUpIndex--:0==this.SpeedUpIndex&&(this.IncreaseNotificationSpeedForAWhile(!0),this.SpeedUpIndex--),null!=window.userId&&0!=window.userId&&-1!=window.userId&&Data.getServerData("Notification_GetNewMessagesFromServer",{userId:window.userId,lastFetchedIndex:this.lastFetchedIndex},(function(t){if(this.lastFetchedIndex<parseInt(t.lastFetchedIndex,10)){for(i=0;i<t.messageList.length;i++){var e=t.messageList[i].messageData,n=t.messageList[i].applicationId;this.OnNewMessageReceived(n,e)}this.lastFetchedIndex=parseInt(t.lastFetchedIndex,10)}}),this))},OnNewMessageReceived:function(t,e){this.disabled||this.applicationList[t].HandleMessageFromServer(e)},IncreaseNotificationSpeedForAWhile:function(t){this.disabled||(t?this.pollingInterval=this.defaultPollingInterval:(this.pollingInterval=this.defaultPollingIntervalSpeedUp,this.SpeedUpIndex=this.defaultIncreaseCheckCount),this.ResetTask())}},NotificationManagerClient.initialize()},78993:()=>{function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}ReportFinder={_data:null,_findWindow:null,_searchCombo:null,SetNavigatorItems:function(t){if(this._data=[],1==t.isTab)for(var e=0;e<t.items.length;e++){var n=t.items[e];n.items&&this.AddPage(n.items)}else this.AddPage(t.items[0].items)},AddPage:function(t){for(var e=0;e<t.length;e++)for(var n=t[e],i=0;i<n.items.length;i++){var r=n.items[i];r.iconName=ImageUtil.GetIconUrl2("Folder","id="+r.id),this._data.push([r.id,fixYe(r.title),r.iconName])}},Show:function(){var e,n=this,i=new Ext.data.ArrayStore({fields:["id","title","iconName"],data:n._data}),r=new Ext.form.ComboBox((t(e={id:"DrpFindReport",plugins:[new Ext.ux.plugins.IconCombo],flex:1,displayField:"title",iconClsField:"iconName",typeAhead:!0,editable:!0,minChars:1,mode:"local",forceSelection:!0,hideTrigger:!0,triggerAction:"all",selectOnFocus:!0,emptyText:BBB.SearchReportTitle},"selectOnFocus",!0),t(e,"listeners",{select:function(t,e,i){window.mainTabPanel.activeTab.items.items[1].items.items[0].ShowFolder(e.data.id,!0,null),n._findWindow.hide()},focus:function(){this.focus()},beforequery:function(t){var e=t.combo,n=fixYe(this.getRawValue());e.setValue(n)}}),e));r.valueField="id",r.displayField="title",r.bindStore(i),n._findWindow||(n._findWindow=new Ext.Window({id:"FindWindow",title:BBB.Search,layout:"fit",width:400,height:50,autoOpen:!0,closeAction:"hide",listeners:{show:function(){$("#DrpFindReport").val(""),new Ext.util.DelayedTask((function(){$("#DrpFindReport").focus()}),this).delay(200)}}})),n._findWindow.add(r),n._findWindow.show()}}},47960:()=>{Common.Cs.Define("Common.ProgressHelper","",{singleton:!0,RunBlMethodWithProgress:function(t){var e={Title:"عملیات",Message:"انجام عملیات ...",MethodName:null,Parameters:[],CheckInterval:300,FinishCallback:function(t){BW.ShowInfo(t.ProgressText)}};if(!t.MethodName)throw"No method name specified in 'RunBlMethodWithProgress'!";var n={methodName:(t=Ext.applyIf(t,e)).MethodName,parameters:t.Parameters};Common.Ajax.GetServerData("Progress.Start",n,(function(e){t.Message2="<b>"+t.Message+"</b>";var n=e.JobCode,i={title:t.Title,msg:t.Message2,progressText:"...",width:300,progress:!0,animEl:"mb6"};!1===t.modal&&(i.modal=!1),Ext.MessageBox.show(i);var r=setInterval((function(){t.HasFinished?clearInterval(r):Common.ProgressHelper.UpdateProgressStatus(n,t)}),t.CheckInterval)}))},UpdateProgressStatus:function(t,e){e.HasFinished||Common.Ajax.GetServerData("Progress.GetStatus",{jobCode:t},(function(t){if("Finished"==t.Status)Ext.MessageBox.hide(),e.HasFinished=!0,e.FinishCallback(t);else if("Working"==t.Status){var n=t.ProgressPercent/100;Ext.MessageBox.updateText(e.Message2+"<br/>"+t.ProgressText),Ext.MessageBox.updateProgress(n,t.ProgressPercent+"% انجام شده")}}))}})},45438:()=>{Common.Cs.Define("Ul.NotificationManager","",{singleton:!0,Initialize:function(){var t="signalr";head.load("./Scripts/jquery.signalR-2.4.2.min.js",t+"/hubs",function(){var e=$.connection.notificationHub;e.client.OnPublishEvent=this._onNotificationHub_PublishEvent,e.client.OnPublishNotificationPopup=this._onNotificationHub_PublishNotificationPopup,e.client.OnPublishFileUpdated=this._onNotificationHub_OnPublishFileUpdated,e.client.OnPublishFileWordUpdated=this._onNotificationHub_OnPublishFileWordUpdated,e.client.OnPublishChangeLogSettings=this._onNotificationHub_OnPublishChangeLogSettings,$.connection.hub.url=t,$.connection.hub.start().done((function(){console.log("ارتباط موفق با notificationHub, ConnectionId: "+$.connection.hub.id)})).fail((function(){console.log("Cannot connect to NotificationHub!")})),$.connection.hub.disconnected((function(){setTimeout((function(){$.connection.hub.start()}),5e3)}))}.bind(this))},_onNotificationHub_OnPublishChangeLogSettings:function(t){var e=JSON.parse(t);Common.LogSettingsManager.SetSettings(e)},_onNotificationHub_OnPublishFileUpdated:function(t){var e=Ul.NotificationManager;e.OnPublishFileUpdatedCallback&&(e.OnPublishFileUpdatedCallback(t),e.OnPublishFileUpdatedCallback=null)},_onNotificationHub_OnPublishFileWordUpdated:function(t){var e=Ul.NotificationManager;e.OnPublishFileWordUpdatedCallback&&e.OnPublishFileWordUpdatedCallback(t)},_onNotificationHub_PublishEvent:function(t,e,n){try{(e=Ext.decode(e)).$Type&&(e.xtype=e.$Type,e=Ext.create(e))}catch(t){}if("RefreshReport"==t){var i=e.ReportId.toString(),r=Ul.UlvMainCtrlr.UlvReportsDictionary[i];if(!r||!r.DataCtrlr)return;setTimeout((function(){r.DataCtrlr.Reload()}),200)}if(Ext.isEmpty(n))return Ul.ApplicationCtrlr.addEvents(t),void Ul.ApplicationCtrlr.FireEvent(t,Ul.ApplicationCtrlr,e);Common.CustomCodeManager.ExecFunctions(n,t,[e])},_onNotificationHub_PublishNotificationPopup:function(t,e,n,i,r,o,a){Common.Async.Waterfall("Common.File.IsAgentActive",[Common.AgentHelper.IsConnected.bind(Common.AgentHelper)],function(s,l){Ext.isNotEmpty(i)&&-1===(i+="&si=64").indexOf("?")&&(i=i.replace("&","?")),Ul.NotifyPopup.Show(t,e,n,i,r,o,a)}.bind(this))}})},22106:(t,e,n)=>{var i=n(20318).Lobibox;Common.Cs.Define("Ul.NotifyPopup","Common.Observable",{singleton:!0,Adapter:null,constructor:function(t){Ext.apply(this,t),this.callParent(arguments),this.addEvents("Show")},Show:function(t,e,n,r,o,a,s){if(LoginFormData.CustomUiPrefix)this.FireEvent("Show",t,e,n,r,o,a,s);else{var l=null;n=Ext.value(n,"default"),a=Ext.value(a,{}),Ext.isString(e)&&(a.title=e),a.msg=t,Ext.isNotEmpty(r)&&(a.img=r),a.onClick=null,o&&(a.onClick=function(t){"lobibox-close"!=t.target.className?Bw.Form.Show({Mo:o}):l.remove()}),s&&(a.onClick=function(t){"lobibox-close"!=t.target.className?Bw.Form.Show({MoId:s.MoId,TypeDefId:s.TypeDefId}):l.remove()}),l=i.notify(n,a)}},statics:{DefaultOptions:{Sound:!0,Image:null,Title:null,Icon:!1,Delay:1e4,Closable:!0,DelayIndicator:!0,CloseOnClick:!0,IsRtl:!0,Position:" bottom left",SoundPath:"sounds/",Size:"normal",ContinueDelayOnInactiveTab:!0,Width:400,MessageHeight:60}}})},74435:()=>{Common.Cs.Define("Ui.CustomAspReportViewer","Common.Observable",{Setting:null,Features:null,ParentMo:null,SearchMo:null,_delayedTaskLoad:null,_reloadOnresize:!1,_frameId:null,_oldHeight:0,_oldWidth:0,_frameIdPerfix:"",_aspUrl:"",_htmlTemplate:'<form id="frm_ppppp" name="frm_ppppp" method=post target="ppppp" ><input name="hidden_ppppp" id="hidden_ppppp" type="hidden" ></form><iframe name="ppppp" id="ppppp" class=""; style="border-style: none" height=100% width=100% src="about:blank" ></iframe>',_isLoading:!1,constructor:function(t){var e=t._htmlTemplate?t._htmlTemplate:this._htmlTemplate;t._frameId=t._frameIdPerfix+Math.floor(1e6*Math.random()+1),t._htmlTemplate=Util.ReplaceAll("ppppp",t._frameId,e),this.callParent(arguments)},Reload:function(){this.fireEvent("RequestForParams",this,basket),basket.UlvParams&&this.fireEvent("Reload")}})},39420:()=>{Common.Cs.Define("Ul.ViewerAdapter_Dashboard","Ul.ViewerAdapter_Blank",{UlvParams:null,constructor:function(t){this.callParent(arguments),this.CreateViewerUi()},CreateViewerUi:function(t){var e={Setting:this.Setting,Features:this.Features,_frameIdPerfix:"dashboardFrame",_aspUrl:"Report94/AspViewer/Dashboard/Dashboard.aspx"},n=Common.Util.TryGetValue(this.Setting,"ClassNames.CustomUi.Selector",null),i=LoginFormData.CustomUiPrefix;null!=n||i?(e.originalXtype="Ui.AspReportViewer",this.Control=new Ui.CustomAspReportViewer(e)):this.Control=new Ui.AspReportViewer(e),this._addListenersForControlEvents()},_addListenersForControlEvents:function(){this.Control.on({scope:this,render:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this)},RequestForParams:function(t,e){var n,i,r,o=this.UlvMainCtrlr.FieldCtrlr,a=Common.Util.TryGetValue(o,"ParentFormPanel.Adapter.Control._dictFieldUi");if(a){var s=a[o.Setting.ControlName];s.Bounds&&(n=s.Bounds?s.Bounds.width:0,i=s.Bounds?s.Bounds.height:0)}o?((r=Common.Util.TryGetValue(o,"UlvMainCtrlr.SearchPanelCtrlr.Mo"))&&(r=r.GetChangedObject()),e.UlvParams={FieldDefId:o.Setting.ControlFieldDefId,ParentMo:o.ParentFormPanel.Mo?o.ParentFormPanel.Mo.GetChangedObject():null,SearchMo:r,Width:n,Height:i}):(e.UlvParams=this.UlvParams,(r=Common.Util.TryGetValue(this.UlvMainCtrlr,"SearchPanelCtrlr.Mo"))&&(r=r.GetChangedObject(),e.UlvParams.SearchMo=r))}})},Rebind:function(t){this.Control.rendered&&this.Control.Reload(),t&&t()}})},48563:()=>{Common.Cs.Define("Ul.ViewerAdapter_PivotChart","Ul.ViewerAdapter_Blank",{UlvParams:null,constructor:function(t){this.callParent(arguments),this.CreateViewerUi()},CreateViewerUi:function(t){var e={Setting:this.Setting,Features:this.Features,_frameIdPerfix:"pivotChart",_aspUrl:"Report94/AspViewer/PivotChartView.aspx"},n=Common.Util.TryGetValue(this.Setting,"ClassNames.CustomUi.Selector",null),i=LoginFormData.CustomUiPrefix;null!=n||i?(e.originalXtype="Ui.AspReportViewer",this.Control=new Ui.CustomAspReportViewer(e)):this.Control=new Ui.PivotChart(e),this._addListenersForControlEvents()},_addListenersForControlEvents:function(){this.Control.on({scope:this,render:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this)},RequestForParams:function(t,e){var n=this.UlvMainCtrlr.FieldCtrlr;if(n){var i,r,o=Common.Util.TryGetValue(n,"ParentFormPanel.Adapter.Control._dictFieldUi");if(o){var a=o[n.Setting.ControlName];a.Bounds&&(i=a.Bounds?a.Bounds.width:0,r=a.Bounds?a.Bounds.height:0)}(s=Common.Util.TryGetValue(n,"UlvMainCtrlr.SearchPanelCtrlr.Mo"))&&(s=s.GetChangedObject()),e.UlvParams={FieldDefId:n.Setting.ControlFieldDefId,ParentMo:n.ParentFormPanel.Mo?n.ParentFormPanel.Mo.GetChangedObject():null,SearchMo:s,Width:i,Height:r}}else{var s;e.UlvParams=this.UlvParams,(s=Common.Util.TryGetValue(this.UlvMainCtrlr,"SearchPanelCtrlr.Mo"))&&(s=s.GetChangedObject(),e.UlvParams.SearchMo=s)}}})},Rebind:function(t){this.Control.rendered&&this.Control.Reload(),t&&t()}})},6395:()=>{Common.Cs.Define("Ul.ViewerAdapter_Stimul","Ul.ViewerAdapter_Blank",{UlvParams:null,constructor:function(t){this.callParent(arguments),this.CreateViewerUi()},CreateViewerUi:function(t){var e={Setting:this.Setting,Features:this.Features,_frameIdPerfix:"stimulFrame",_aspUrl:"Report94/AspViewer/StimulReportView.aspx"},n=Common.Util.TryGetValue(this.Setting,"ClassNames.CustomUi.Selector",null),i=LoginFormData.CustomUiPrefix;null!=n||i?(e.originalXtype="Ui.AspReportViewer",this.Control=new Ui.CustomAspReportViewer(e)):this.Control=new Ui.SimulReport(e),this._addListenersForControlEvents()},_addListenersForControlEvents:function(){this.Control.on({scope:this,render:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this)},RequestForParams:function(t,e){var n,i=this.UlvMainCtrlr.FieldCtrlr;i?((n=Common.Util.TryGetValue(i,"UlvMainCtrlr.SearchPanelCtrlr.Mo"))&&(n=n.GetChangedObject()),e.UlvParams={FieldDefId:i.Setting.ControlFieldDefId,ParentMo:i.ParentFormPanel.Mo?i.ParentFormPanel.Mo.GetChangedObject():null,SearchMo:n}):(e.UlvParams=this.UlvParams,(n=Common.Util.TryGetValue(this.UlvMainCtrlr,"SearchPanelCtrlr.Mo"))&&(n=n.GetChangedObject(),e.UlvParams.SearchMo=n)),e.UlvParams=JSON.parse(JSON.stringify(e.UlvParams))}})},Rebind:function(t){this.Control.rendered&&this.Control.Reload(),t&&t()}})},30088:()=>{Common.Cs.Define("Ul.BaseListViewerAdapter","Common.Observable",{Control:null,UlvParams:null,UlvAdapter:null,Setting:null,DataList:null,constructor:function(t){this.addEvents(Ul.UlvMainCtrlr.EventEnum.RenderViewer,Ul.UlvMainCtrlr.EventEnum.DestroyViewer,Ul.UlvMainCtrlr.EventEnum.UserSettingChange,Ul.UlvMainCtrlr.EventEnum.BindData,Ul.UlvMainCtrlr.EventEnum.ItemDblClick,Ul.UlvMainCtrlr.EventEnum.ItemClick,Ul.UlvMainCtrlr.EventEnum.KeyDown,Ul.UlvMainCtrlr.EventEnum.ValueChange,Ul.UlvMainCtrlr.EventEnum.EnterEditMode,Ul.UlvMainCtrlr.EventEnum.ExitEditMode),this.callParent(arguments)},Destroy:function(){this.purgeListeners(),this.Control.Destroy?this.Control.Destroy():this.Control.destroy&&this.Control.destroy(),this.ResetVariable()},ResetVariable:function(){},GetFullSize:function(){if(this.Control)return this.Control.getSize()},GetSize:function(){if(this.Control)return this.Control.getSize()},GetViewerUi:function(){return this.Control},CreateFieldDictFromColumn:function(t){if(!Ext.isEmpty(t)){var e={};return t.forEach((function(t){t.Name&&t.Name.startsWith("$")||(e[t.Caption]=t.Name)}),this),e}}})},18998:()=>{Common.Cs.Define("Ul.SelectionAdapter_Blank","Common.Observable",{Setting:null,Control:null,UlvMainCtrlr:null,constructor:function(t){this.callParent(arguments)},IsSelectable:function(){return!1},CanSelectNext:function(){},CanSelectPrev:function(){},SelectNext:function(){},SelectPrev:function(){},SelectFirst:function(){},GetSelectedMetaObject:function(){},GetSelectedMetaObjectList:function(){},GetSelectedId:function(){},GetPrevSelectedId:function(){},GetSelectedIdList:function(){},SelectItem:function(t){},SelectByKeyboard:function(){},GetSelectionCount:function(){}})},27724:()=>{Common.Cs.Define("Ul.ViewerAdapter_Blank","Ul.BaseListViewerAdapter",{UlvMainCtrlr:null,Features:null,Setting:null,Control:null,_moList:null,constructor:function(t){this.callParent(arguments)},CreateViewerUi:function(t){},GetViewerUi:function(){return this.Control},CreateDataObject:function(){},GetValue:function(){},SetValue:function(t){},RefreshRowsByMos:function(t,e,n){},ConvertRecordToMo:function(t){},ConvertMoToRecord:function(t){},SetUserSetting:function(t){},GetUserSetting:function(){},Rebind:function(t){t&&t()},GetSortSetting:function(){}})},12616:()=>{Common.Cs.Define("Ul.CalendarSelectionAdapter","Common.Observable",{_selectedItem:null,constructor:function(t){this.callParent(arguments),this.addEvents(Ul.UlvMainCtrlr.EventEnum.SelectionChange,Ul.UlvMainCtrlr.EventEnum.BeforeSelectionChange),this._calendar=this.UlvMainCtrlr.GetViewerUi(),this._calendar.on({scope:this,EventAction:this._onControl_EventAction})},_onControl_EventAction:function(t){switch(this._selectedItem=t.event,t.action){case"edit":this.UlvMainCtrlr.ShowEditForm();break;case"delete":this.UlvMainCtrlr.Delete()}},GetSelectedMetaObject:function(){return this._selectedItem?this.UlvMainCtrlr.ConvertRecordToMo(this._selectedItem):null},GetSelectedMetaObjectList:function(){var t=this.GetSelectedMetaObject();return t?[t]:[]},GetSelectedIdList:function(){return this._selectedItem?this._selectedItem.id:null},GetSelectionCount:function(){return null==this.GetSelectedMetaObject()?0:1},CanSelectPrev:function(){if(!this._selectedItem)return!1;var t=!1,e=null;return this._calendar.activeView.store.data.items.forEach((function(n){t||e&&this._selectedItem.id==n.id||(e=n),n.id==this._selectedItem.id&&e.id!=n.id&&(t=!0)}),this),t},CanSelectNext:function(){if(!this._selectedItem)return!1;var t=!1,e=!1;return this._calendar.activeView.store.data.items.forEach((function(n){t&&(e=!0),n.id==this._selectedItem.id&&(t=!0)}),this),e},SelectPrev:function(){if(!this._selectedItem)return!1;var t=null;return this._calendar.activeView.store.data.items.some((function(e){if(t&&this._selectedItem.id==e.id||(t=e),e.id==this._selectedItem.id&&t.id!=e.id)return this._selectedItem=t,!0}),this),!0},SelectNext:function(){if(!this._selectedItem)return!1;var t=!1;return this._calendar.activeView.store.data.items.some((function(e){if(t)return this._selectedItem=e,!0;e.id==this._selectedItem.id&&(t=!0)}),this),!0},IsSelectable:function(){return!0},ClearSelectedEvent:function(){this._selectedItem=null}})},78225:()=>{Common.Cs.Define("Ul.CalendarUlvDataCtrlr","Ul.UlvDataCtrlr",{constructor:function(t){this.callParent(arguments);var e={scope:this};e[Ul.UlvMainCtrlr.EventEnum.BeforeReportExecute]=this._onUlvMainCtrlr_BeforeReportExecute,this.UlvMainCtrlr.on(e)},Delete:function(){this.callParent(arguments),this.UlvMainCtrlr.SelectionAdapter.ClearSelectedEvent()},_onUlvMainCtrlr_BeforeReportExecute:function(t,e){var n=Ext.value(e.UlvParams.ExtraParams,{}),i=this.UlvMainCtrlr.ViewerAdapter;if(i){var r=i.GetRange();n.Start=r.Start,n.End=r.End}else n.Start=(new Date).clearTime();e.UlvParams.ExtraParams=n}})},9733:()=>{Common.Cs.Define("Ul.CalendarViewerAdapter","Ul.BaseListViewerAdapter",{UlvMainCtrlr:null,Features:null,Setting:null,Control:null,_dataList:null,constructor:function(t){this.callParent(arguments),this.CreateDataObject(),this.CreateViewerUi()},CreateViewerUi:function(){this._createControl()},GetViewerUi:function(){return this.Control},CreateDataObject:function(){if(this.Setting.Data){if(this._dataList=this.Setting.Data.MoDataList,0==Ext.isEmpty(this._dataList))for(var t=this.Setting.View.CalendarFields.StartDate,e=this.Setting.View.CalendarFields.EndDate,n=this._dataList.length-1;n>=0;n--){var i=this._dataList[n];(Ext.isEmpty(i[t])||Ext.isEmpty(i[e]))&&this._dataList.splice(n,1)}}else this._dataList=[]},GetValue:function(){return this._dataList},SetValue:function(t){this.Setting.Data=t,this.Rebind()},RefreshRowsByMos:function(t,e,n){t&&(Ext.isArray(t)||(t=[t]),t.forEach((function(t){this._updateEventItem(t)}),this)),e&&(Ext.isArray(e)||(e=[e]),e.forEach((function(t){this._addEventItem(t)}),this)),n&&(Ext.isArray(n)||(n=[n]),n.forEach((function(t){this._deleteEventById(t)}),this)),this.Control.Refresh()},ConvertRecordToMo:function(t){var e=null;return 0==Ext.isEmpty(t)&&(e="Common.Observable"!=this.Control.BaseClassName||t.data?Common.MetaObjectWeb.CreateMoByData(t.data,this.Setting.Data.TypeDefId,this.Setting.Data.ReportId):Common.MetaObjectWeb.WrapToMo(t,this.Setting.Data.TypeDefId,this.Setting.Data.ReportId)),e},ConvertMoToRecord:function(t){var e=t;e.Id=t.Id;var n=new this._eventStore.recordType(e,e.Id);return n.json=Common.Merger.Clone({},e),n},SetUserSetting:function(t){},GetUserSetting:function(){},GetRange:function(){return this.Control.GetRange()},Rebind:function(t){this.CreateDataObject(),this.Control.store.loadData(this._dataList),this.Control.Refresh(),t&&t()},GetSortSetting:function(){},_createControl:function _createControl(){var defaultView,extraProp=this.Setting.Extra&&this.Setting.Extra.ExtraJsonPropReport;defaultView=extraProp&&extraProp.DefaultView?eval(extraProp.DefaultView):this.Setting.View.DefaultViewIndex;var controlConfig={activeItem:defaultView,eventStore:{},Setting:this.Setting,_calendarFields:this.Setting.View.CalendarFields,access:this.Setting.Extra.DefaultCommandsAccess},component=Common.Util.TryGetValue(this.Setting,"ClassNames.CustomUi.Selector",null),uiLibrary=LoginFormData.CustomUiPrefix;null!=component||uiLibrary?(controlConfig.originalXtype="Ui.Calendar",this._isCustomUi=!0,this.Control=new Ui.CustomCalendar(controlConfig),this.Control.loadData(this._dataList)):(this._eventStore=this._createEventStore(),controlConfig.eventStore=this._eventStore,this.Control=new Ui.Calendar(controlConfig)),this._addListenersForControlEvents()},_addEventItem:function(t){if(this._isCustomUi)this.Control.add(t);else{var e=this.ConvertMoToRecord(t);this._eventStore.add(e)}},_deleteEventById:function(t){if(this._isCustomUi)this.Control.deleteById(t);else{var e=this._eventStore.getById(t);this._eventStore.remove(e)}},_updateEventItem:function(t){this._isCustomUi?this.Control.update(t):(this._deleteEventById(t.Id),this._addEventItem(t))},_createEventStore:function(){var t=Ext.apply({},Ext.ensible.cal.EventMappings),e=this.Setting.View.CalendarFields;t.EventId={name:"Id",mapping:"Id",type:"string"},t.Title={name:e.Title,mapping:e.Title,type:"string"},t.Notes={name:e.Notes,mapping:e.Notes,type:"string"},t.StartDate={name:e.StartDate,mapping:e.StartDate,type:"date"},t.EndDate={name:e.EndDate,mapping:e.EndDate,type:"date"},Ext.ensible.cal.EventMappings=t,Ext.ensible.cal.EventRecord.reconfigure();var n=new Ext.data.JsonReader({idProperty:Ext.ensible.cal.EventMappings.EventId.mapping||"id",fields:Ext.ensible.cal.EventRecord.prototype.fields.getRange()});return new Ext.data.Store({data:this._dataList,proxy:new Ext.data.MemoryProxy,writer:new Ext.data.DataWriter,reader:n})},_addListenersForControlEvents:function(){this.Control.on({scope:this,DaySelect:this._onControl_DaySelect,rangeselect:this._onControl_RangeSelect,datechange:this._onControl_DateChange,beforedatechange:this._onControl_BeforeDateChange,afterrender:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this)},destroy:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.DestroyViewer,this)},BindData:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.BindData,this)}}),this.Control.on("eventmove",this._onControl_EventMove,this,{delay:100})},_onControl_DateChange:function(){Common.Async.Waterfall("Ul.CalendarViewerAdapter.DateOrViewChange",[this.UlvMainCtrlr.Reload.bind(this.UlvMainCtrlr)],function(t,e){this.UlvMainCtrlr.UnmaskView(),Common.Async.Finalize(t,e)}.bind(this))},_onControl_BeforeDateChange:function(){this.UlvMainCtrlr.MaskView(0)},_onControl_DaySelect:function(t){var e,n=(e=t?t.date:new Date).add(Date.MINUTE,60),i=Common.MetaObjectWeb.CreateNewMo(this.Setting.Data.TypeDefId);i.SetFValue(this.Setting.View.CalendarFields.StartDate,e),i.SetFValue(this.Setting.View.CalendarFields.EndDate,n),this.UlvMainCtrlr.ShowNewForm(i)},_onControl_RangeSelect:function(t,e,n){var i=Common.MetaObjectWeb.CreateNewMo(this.Setting.Data.TypeDefId);for(var r in e)i.SetFValue(r,e[r]);return this.UlvMainCtrlr.ShowNewForm(i),!1},_onControl_EventMove:function(t,e,n,i){var r=this.ConvertRecordToMo(e);r.SetFValue(this.Setting.View.CalendarFields.StartDate,n),r.SetFValue(this.Setting.View.CalendarFields.EndDate,i),this.UlvMainCtrlr.ShowEditForm(r)}})},19700:()=>{Common.Cs.Define("Ui.CustomCalendar","Common.Observable",{_calendarFields:null,store:null,start:null,end:null,constructor:function(t){this.callParent(arguments),this.addEvents("DaySelect","EventAction","MoDataListChanged"),this.store=this},loadData:function(t){this.moDataList=t,this.fireEvent("MoDataListChanged",this.moDataList)},getById:function(t){var e=-1;return this.moDataList.forEach((function(n,i){n.Id==t&&(e=i)})),e},add:function(t){this.moDataList.push(t),this.fireEvent("MoDataListChanged",this.moDataList)},deleteById:function(t){var e=this.getById(t);e>-1&&(this.moDataList.splice(e,1),this.fireEvent("MoDataListChanged",this.moDataList))},update:function(t){var e=this.getById(t.Id);e>-1?(this.moDataList[e]=t,this.fireEvent("MoDataListChanged",this.moDataList)):this.add(t)},_onDayClick:function(t,e,n,i){return this.fireEvent("DaySelect",{date:e,allDay:n}),!1},dayViewCfg:{showHourSeparator:!1,hourHeight:24,minEventDisplayMinutes:45,enableEventResize:!1},weekViewCfg:{showHourSeparator:!1,hourHeight:24,minEventDisplayMinutes:45,enableEventResize:!1},monthViewCfg:{showHeader:!0,showWeekLinks:!0,showWeekNumbers:!0},Refresh:function(){this.fireEvent("Refresh")},GetRange:function(){return{Start:this.start,End:this.end}}})},78662:()=>{Common.Cs.Define("Ul.ChartViewerAdapter","Ul.BaseListViewerAdapter",{UlvMainCtrlr:null,Features:null,Setting:null,Control:null,_data:null,constructor:function(t){this.callParent(arguments),this.CreateDataObject(),this.CreateViewerUi()},CreateViewerUi:function(){var t=this.Setting.Extra.ExtraJsonPropReport,e=t.ExtraOptions?Common.Merger.Clone({},t.ExtraOptions):null,n=e?e.seriesTemplate:null;n&&delete e.seriesTemplate;var i={Setting:this.Setting,_dataSetting:this._dataSetting,_extraOptions:e,_seriesTemplate:n,_chartType:t.ChartType?t.ChartType:"bar",_zooming:t.Zooming};this.Control=new Ui.Chart(i),this._addListenersForControlEvents()},CreateDataObject:function(){if(this.Setting.Data){var t=this._resolveFieldSettings(),e=t.s,n=t.x,i=t.v,r=t.fn,o=!1,a=this.Setting.Data.MoDataList,s={};if(a.forEach((function(t,a){var l=this._getFieldValueCaption(t,e),u=s[l];if(u||(u={},s[l]=u),0==a&&(r||(r=isNaN(t[i])?"Count":"Sum"),o="Sum"==r),n){var c=this._getFieldValueCaption(t,n);0==Ext.isDefined(c)&&(c="بدون مقدار"),o?u[c]?u[c]+=Number(t[i]):u[c]=Number(t[i]):u[c]?u[c]+=1:u[c]=1}else{var h=Ext.value(u.DummySeries,0);u.DummySeries=Number(t[i])+h}}),this),1==Object.keys(s).length&&"undefined"==Object.keys(s)[0]){var l=Common.Util.TryGetValue(this.Setting,"Extra.Report.Caption","سری0");s[l]=s[void 0],delete s[void 0]}var u,c=Object.keys(s),h={};for(var d in s)s[d],h[d]=Object.values(s[d]),u||(u=Object.keys(s[d]));var f={SeriesData:h,SeriesNames:c,XAxisLabels:u};this._dataSetting=f}},Rebind:function(t){this.CreateDataObject(),this.Control.SetData(this._dataSetting),t&&t()},_addListenersForControlEvents:function(){this.Control.on({scope:this,resize:function(t,e,n,i){this.fireEvent("Resize",this,null)},afterrender:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this)},destroy:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.DestroyViewer,this)}})},_getFieldValueCaption:function(t,e){var n=t[e];return t[e+"$Caption"]?n=t[e+"$Caption"]:Ext.isObject(n)&&(n=n.$Caption),n},_resolveFieldSettings:function(){var t=this.Setting.Extra.ExtraJsonPropReport,e={v:t.ValueFieldName,x:t.XAxisFieldName,s:t.SeriesFieldName,fn:t.Function};return!e.v&&Ext.isDefined(t.ValueField)&&(e.v=this._getFieldNameByCaption(t.ValueField)),!e.x&&Ext.isDefined(t.XAxisField)&&(e.x=this._getFieldNameByCaption(t.XAxisField)),!e.s&&Ext.isDefined(t.SeriesField)&&(e.s=this._getFieldNameByCaption(t.SeriesField)),e},_getFieldNameByCaption:function(t){var e=this.Setting.View.Columns.findByProperty("Caption",t);if(e)return e.Name}})},69637:()=>{Common.Cs.Define("Ui.CustomUlvMainUi","Common.Observable",{Setting:null,_pagingSetting:null,NavItem:null,Features:null,_toolbar:null,_settingsPage:null,constructor:function(t){this.addEvents("PageChange,ShowWindow","ViewerControlChanged","MaskChanged","ViewerMaskChanged","ReadonlyChanged","VisibleChanged","MenuItemsChanged","TitleChanged","FormPanelControlShowWindow","SearchPanelChanged","PagingSettingChanged","ToolbarButtonsChanged","EnableChanged","Destroy"),Common.Merger.Clone(t,{},{onlyNewProperties:!0}),this.config=t,this.tblButtons=this.config.buttons,this.currentPage=0,this.mask=!1,this.callParent(arguments),this._pagingSetting=Common.Util.TryGetValue(this.Setting,"Data.Paging",null)},setSize:function(){},setVisible:function(t){this.visible=t,this.fireEvent("VisibleChanged",this.visible)},SetMenuItems:function(t){this.menuItems=t,this.fireEvent("MenuItemsChanged",this.menuItems)},SetTitle:function(t,e){this.fireEvent("TitleChanged",{text:t,image:e})},FormPanelControlShowWindow:function(t,e){this.fireEvent("FormPanelControlShowWindow",{formpanelControl:t,hasParentMo:e})},AddViewerToUlv:function(t){this.viewerControl=t,this.fireEvent("ViewerControlChanged",this.viewerControl)},AddSearchPanelToUlv:function(t){this._searchPanelControl=t,LoginFormData.CustomUiPrefix?this.fireEvent("SearchPanelChanged",t):t.render(this._searchPanelPlaceHolder)},GetCurrentPage:function(){return this.currentPage},RefershPagingToolbar:function(t){this._pagingSetting=t,this.fireEvent("PagingSettingChanged",this._pagingSetting)},SetToolbarButtons:function(t){this.tlbButtons=t,this.fireEvent("ToolbarButtonsChanged",this.tlbButtons)},VisibleToolbarBtn:function(t,e){this.tlbButtons.forEach((function(n){n.Id==t&&(n.visible=e)})),this.fireEvent("ToolbarButtonsChanged",this.tlbButtons)},EnableToolbarBtn:function(t,e){this.tlbButtons.forEach((function(n){n.Id==t&&(n.enable=e)})),this.fireEvent("ToolbarButtonsChanged",this.tlbButtons)},ReadOnlyToolbarBtn:function(t,e){this.tlbButtons.forEach((function(n){n.Id==t&&(n.readonly=e)})),this.fireEvent("ToolbarButtonsChanged",this.tlbButtons)},Destroy:function(){this.fireEvent("Destroy",this.tlbButtons)},ShowSettings:function(){this._settingsPage.open(this.controlUi)},SetEnable:function(t){this.enable=t,this.fireEvent("EnableChanged",this.enable)},SetReadOnly:function(t){this.readonly=t,this.fireEvent("ReadonlyChanged",this.readonly)},EnableCommands:function(t,e){this.tlbButtons.forEach((function(n){t.contains(n.Name)&&(n.enable=e)})),this.fireEvent("ToolbarButtonsChanged",this.tlbButtons)},RefreshCmdUi:function(t){if(this.menuItems&&t){var e=null;this.menuItems.forEach((function(n){n.itemId==t.Id&&(e=n)})),Ul.Command,e.Command=t,this.fireEvent("MenuItemsChanged",this.menuItems)}this.fireEvent("ToolbarButtonsChanged",this.tlbButtons)},RefreshAllCmdUi:function(){this.fireEvent("ToolbarButtonsChanged",this.tlbButtons)},ReadOnlyAllCommands:function(t,e){console.error("ReadOnlyAllCommands not implemented!")},MaskView:function(t){this.viwerMask=!0,this.fireEvent("ViewerMaskChanged",this.mask)},UnmaskView:function(){this.viwerMask=!1,this.fireEvent("ViewerMaskChanged",this.mask)},Mask:function(){this.mask=!0,this.fireEvent("MaskChanged",this.mask)},Unmask:function(){this.mask=!1,this.fireEvent("MaskChanged",this.mask)},GetPagingToolbarSize:function(){}})},93515:()=>{Common.Cs.Define("Ul.DataViewDataCtrlr","Ul.UlvDataCtrlr",{ShowNewForm1:function(t,e){t||(t=Common.MetaObjectWeb.CreateNewMo(this.Setting.Data.TypeDefId));var n=this.UlvMainCtrlr.GetSelectedId();t.SetFValue(this.Setting.View.ParentIdDbName,n),this.callParent([t,e])}})},72559:()=>{Common.Cs.Define("Ul.DataViewSelectionAdapter","Common.Observable",{Setting:null,_moList:null,Control:null,UlvMainCtrlr:null,_selectionModel:null,_prevSelectedId:!1,_tree:null,constructor:function(t){this.callParent(arguments),Common.Merger.FastMerge(this,t),this.addEvents(Ul.UlvMainCtrlr.EventEnum.SelectionChange),this.Control=this.UlvMainCtrlr.GetViewerUi(),this.Control.on({scope:this,selectionchange:this._onControl_SelectionChange})},IsSelectable:function(){return!0},CanSelectNext:function(){return this._canMove("Next")},CanSelectPrev:function(){return this._canMove("Prev")},SelectNext:function(){var t=this._findNodeIndexToMove("Next");t&&t>-1&&this.Control.select(t)},SelectPrev:function(){var t=this._findNodeIndexToMove("Prev");t&&t>-1&&this.Control.select(t)},SelectFirst:function(){var t=this._findNodeIndexToMove("First");t&&t>-1&&this.Control.select(t)},SelectLast:function(){var t=this._findNodeIndexToMove(Ul.TreeSelectionAdapter.MoveDirection.Last);t&&t>-1&&this.Control.select(t)},GetSelectedMetaObject:function(){var t=this.Control.getSelectedRecords();if(Ext.isNotEmpty(t))return this.UlvMainCtrlr.ConvertRecordToMo(t[0])},GetSelectedMetaObjectList:function(){var t=this.GetSelectedMetaObject();return t?[t]:[]},GetSelectedId:function(){var t=this.Control.getSelectedRecords();if(Ext.isNotEmpty(t))return t[0].id},GetPrevSelectedId:function(){return this._prevSelectedId},GetSelectedIdList:function(){var t,e=this.Control.getSelectedRecords();return Ext.isNotEmpty(e)&&(t=[],e[0].forEach((function(e){t.push(e.id)}))),t},GetSelectionCount:function(){return this.Control.getSelectionCount()},SelectItem:function(t){},_onControl_SelectionChange:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this)},_onControl_BeforeSelect:function(t,e,n){oldNode&&(this._prevSelectedId=oldNode.id)},_findNodeIndexToMove:function(t){var e=this.getStore(),n=e?e.getCount():0,i=this.getSelectedIndexes(),r=Ext.isNotEmpty(i)?i[0]:0,o=Ext.isNotEmpty(i)?i[i.length-1]:0,a=-1;return 0==n?-1:"First"===t?0:"Last"===t?n-1:("Next"===t?a=o>n-1?n-1:o+1:"Prev"===t&&(a=r<=0?0:r-1),a)},_canMove:function(t){return Boolean(this._findNodeIndexToMove(t))}})},59631:()=>{Common.Cs.Define("Ul.DataViewTemplateManager","",{DataViewControl:null,_ulv:null,initialize:function(){},Template:[' <tpl for="."> ',' <div class="af-row dataview_row af-{[this.GetThemeName()]}"> ',' <div class="af-info"> ',' <div class="af-info-block"> ',' <div class="af-avatar"> ',' <span class="af-helper"></span> ',' <a class="af-avatar-a" href=""> ',' <img src="{[this.GetPhoto(values, 96, \'/Customization/Mail/emptyPhoto-60.png\')]}" width="96" height="96" alt="عکس" />'," </a> "," </div> ",' <div class="af-user-container"> ',' <div class="af-user-name"> '," {[this.GetUserName(values)]} "," </div> ",' <tpl if="A_Creator_Position_Name"> ',' <div class="af-user-title"> '," {A_Creator_Position_Name} "," </div> "," </tpl> ",' <tpl if="A_Creator_IsAdmin"> ',' <div class="af-user-banner af-rect-green"> '," مدیر گروه "," </div> "," </tpl> ",' <tpl if="A_Creator_IsSpecial"> ',' <div class="af-user-banner af-rect-aqua"> '," کاربر ویژه "," </div> "," </tpl> "," </div> ",' <div class="af-extrauserinfo"> ',' <dl class="af-pairsJustified"> ',' <tpl if="CountLike &gt; 0"> '," <dt>تعداد لایک</dt> "," <dd>{CountLike}</dd> "," </tpl> ",' <tpl if="CountReport &gt; 0"> '," <dt>تعداد ریپورت</dt> "," <dd>{CountReport}</dd> "," </tpl> ",' <tpl if="CountReply &gt; 0"> '," <dt>تعداد پاسخ</dt> "," <dd>{CountReply}</dd> "," </tpl> "," </dl> "," </div> ",' <span class="af-arrow"><span></span></span> '," </div> "," </div> ",' <div class="af-msg"> ',' <div class="af-msg-title">{Subject}</div> ',' <div class="af-msg-content">{Description}</div> '," </div> ",' <div class="af-commandbar"> ',' <div class="af-public-control" style="float: left;"> '," <tpl if=\"this.HascommandAccess('Like')\"> ",' <button CommandName="Like" class="af-btn af-btn-like">لایک</button> '," </tpl> "," <tpl if=\"this.HascommandAccess('Reply')\"> ",' <button CommandName="Reply" class="af-btn af-btn-reply">پاسخ</button> '," </tpl> "," </div> ",' <div class="af-private-control" style="float: right;"> ',' <span style="color: gray; font-size: smaller;"> '," {[this.FormatDateRelative(values.CreateDate)]} "," </span> "," <tpl if=\"this.HascommandAccess('Solution')\"> ",' <button CommandName="Solution" class="af-btn af-btn-solution">تایید راهکار</button>'," </tpl> "," <tpl if=\"this.HascommandAccess('Report')\"> ",' <button CommandName="Report" class="af-btn af-btn-report">گزارش</button> '," </tpl> "," </div> "," </div> "," </div> "," </tpl> "],constructor:function(t){this.callParent(arguments),Ext.apply(this,t)},GetCommands:function(){if(Ext.isArray(this._commands))return this._commands;var t=this.GetUlv().Setting;return this._commands=[],Ext.isNotEmpty(t.Extra.CustomCommands)&&(this._commands=t.Extra.CustomCommands.slice(0)),this._commands},FormatDateRelative:function(t){return Common.Date.FormatDateRelative(t)},HascommandAccess:function(t){return!0},GetThemeName:function(){return"af-"+Ext.value(this.CurrentTheme,"Gray")},GetPhoto:function(t,e,n){return t.A_Creator_Photo&&t.A_Creator_Photo.FileId?Common.Util.GetIconUrl(t.A_Creator_Photo.FileId,null,null,e):n},OnRender:function(t){$("#"+t.el.id+" .dataview_button").click(this._onButtonClick.bind(this))},_onButtonClick:function(t){var e=t.currentTarget.getAttribute("data-id");this.DataViewControl.GeneralClickHandler(e,t)},GetUlv:function(){return this._ulv=this._ulv?this._ulv:this.DataViewControl.GetUlv(),this._ulv},GetMoById:function(t){return this.GetUlv().GetMoById(t)},GetMoByElement:function(t){var e=$(t).closest(this.GetRowClass()).attr("data-id");if(e)return this.GetMoById(e)},_getMo:function(t){return t instanceof Common.MetaObjectWeb?t:this.GetMoById(t.Id)},GetRelativeDateByDbName:function(t,e){var n=this.GetValueByDbName(t,e);return""==n?"":this.FormatDateRelative(n)},GetValueByDbName:function(t,e){if(""==e)return"";var n=this._getMo(t);return n?n[e]:void 0},GetValue:function(t,e){var n=this._getMo(t);if(n)return n.GetFValueByCaption(e)},GetCaption:function(t,e){var n=this._getMo(t);if(n){var i=n.GetFieldName(e);return n.GetFCaption(i)}},GetIcon:function(t,e){var n=this._getMo(t);if(n){var i=n.GetFieldName(e);return n.GetFIcon(i)}},GetId:function(t,e){var n=this._getMo(t);if(n){var i=n.GetFieldName(e),r=n.GetFValue(i);return Ext.isObject(r)&&r.Id?r.Id:""}},IsNotEmpty:function(t){return!this.IsEmpty(t)},IsEmpty:function(t){var e=Ext.isEmpty(t);return 0==e&&Ext.isObject(t)&&Ext.isArray(t.Files)&&Ext.isEmpty(t.Files)&&(e=!0),e},GetMoId:function(t){return t.Id},GetMoCaption:function(t){},FormatDateSmart:function FormatDateSmart(d){if(Ext.isEmpty(d))return"";Ext.isString(d)&&(d=eval(d));var result="",dateName=Common.Date.GetDayRelativeName(d);return result=dateName?dateName+" ساعت "+d.format(BBB.Date_ShortTime2):d.format(BBB.Date_ShortDate2),result},GetParentMo:function(){var t=this.GetUlv();return Common.Util.TryGetValue(t,"FieldCtrlr.ParentFormPanel.Mo")},statics:{_avatarColors:["#1abc9c","#2ecc71","#3498db","#9b59b6","#34495e","#16a085","#27ae60","#2980b9","#8e44ad","#2c3e50","#f1c40f","#e67e22","#e74c3c","#ecf0f1","#95a5a6","#f39c12","#d35400","#c0392b","#bdc3c7","#7f8c8d"],GetInitialsFromName:function(t){t=t||"";var e=String(t).toUpperCase().split(" ");return 1==e.length?e[0]?e[0].charAt(0):"?":e[0].charAt(0)+"‌‌"+e[1].charAt(0)},GetColorFromName:function(t){var e=Ul.DataViewTemplateManager.GetInitialsFromName(t).charCodeAt(0)%Ul.DataViewTemplateManager._avatarColors.length;return Ul.DataViewTemplateManager._avatarColors[e]},GetAvatarLetter:function(t,e){t=t||"?",e=e||60;var n,i,r,o,a=Ul.DataViewTemplateManager.GetInitialsFromName(t);return window.devicePixelRatio&&(e*=window.devicePixelRatio),n=a.charCodeAt(0)%Ul.DataViewTemplateManager._avatarColors.length,(i=document.createElement("canvas")).width=e,i.height=e,(r=i.getContext("2d")).fillStyle=Ul.DataViewTemplateManager._avatarColors[n-1],r.fillRect(0,0,i.width,i.height),r.font=Math.round(i.width/2)+"px Arial",r.textAlign="center",r.fillStyle="#FFF",r.fillText(a,e/2,e/1.5),o=i.toDataURL(),i=null,o}}})},1269:()=>{Common.Cs.Define("Ul.DataViewViewerAdapter","Ul.BaseListViewerAdapter",{UlvMainCtrlr:null,Setting:null,Control:null,_moList:null,constructor:function(t){this.callParent(arguments),this.CreateViewerUi()},CreateViewerUi:function(){var t={Setting:this.Setting};this.Control=new Ui.DataView(t),this._createStylesForCondFormat(),this._addListenersForControlEvents(),this.Rebind()},CreateDataObject:function(){if(this.Setting.Data){var t=Common.Util.TryGetValue(this.Setting,"View.Columns"),e=this.CreateFieldDictFromColumn(t);e&&(this.Setting.Data.$FieldDict=e),this._moList=new Common.MetaObjectListWeb(this.Setting.Data)}},GetValue:function(){return this._moList},SetValue:function(t){this._moList=t,t instanceof Common.MetaObjectListWeb==0&&Common.Util.TryGetValue(t,"$Type")&&(this._moList=new Common.MetaObjectListWeb(t));var e=Common.Util.TryGetValue(this._moList,"MoDataList",[]);this._moList&&this._addFieldDictToMoList(this._moList),this.Control._createStore(e)},_addFieldDictToMoList:function(t){var e=Common.Util.TryGetValue(this.Setting,"View.Columns"),n=this.CreateFieldDictFromColumn(e);n&&t.SetFieldDict(n)},RefreshRowsByMos:function(t,e,n){var i=this.Control.getStore();if(i){var r=!1,o=0,a=0,s=[];t=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(t),e=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(e),n=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(n),t.forEach((function(t){var n=i.getById(t.Id);if(n){var o=this.Control.getNode(n);$(o).empty(),this._applyMoToRecord(t,n);var a=this.Control.indexOf(o);this.Control.refreshNode(a),o=this.Control.getNode(a),this.Control.TemplateManager.OnRenderRow($(o).find(".af-btn")),r=!0}else e.push(t)}),this),e.forEach((function(t){var e=Common.MetaObjectWeb.CreateMo(t),n=this._moList.AddMo(e);if(0!=Ext.isEmpty(n)){r=!0;var a=this.ConvertMoToRecord(e);i.add(a),s.push(a),o++}}),this);var l=-1;if(n.forEach((function(t){var e=t;Ext.isObject(t)&&(e=t.Id),this._moList.RemoveMo(e),r=!0;var n=i.indexOfId(e);-1!=n&&(i.removeAt(n),l=n),a++}),this),l>-1&&(l>i.getCount()-1&&(l=i.getCount()-1),(c=i.getAt(l))&&this.UlvMainCtrlr.SelectItem(c.id)),o-a!=0&&this.UlvMainCtrlr.UpdateTotalRowCount(o-a),1!=this.UlvMainCtrlr.IsPreviewSourceField&&Ext.isNotEmpty(s)){var u=s[s.length-1],c=i.getById(u.Id),h=this.Control.getNode(c);this.Control.select(h)}this.Control.refresh(),r&&this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ValueChange,this,t,e,n)}},_getNodeItem:function(t){return this.UlvMainCtrlr.SelectionAdapter.ExpandToNode(t),this.Control.getNodeById(t)},ConvertRecordToMo:function(t){var e=null;return 0==Ext.isEmpty(t)&&(e=Common.MetaObjectWeb.WrapToMo(t.json,this._moList.TypeDefId,this._moList.ReportId)),e},ConvertMoToRecord:function(t){for(var e={},n=this.Setting.View.Columns,i=0;i<n.length;i++){var r=n[i].Name;e[r]=t[r]}e.Id=t.Id;var o=new(this.Control.getStore().recordType)(e,t.Id);return o.json=t,o},_applyMoToRecord:function(t,e){t=Common.MetaObjectWeb.CreateMo(t);var n=Common.MetaObjectWeb.CreateMoByData(e.json,e.json.$TypeDefId,e.json.$ReportId);if(t&&n)for(var i in n.CopyFromMo(t,!0),0==this.UlvMainCtrlr.IsComposite()&&n.Commit(),e.data)e.data[i]=e.json[i]},SetUserSetting:function(t){},GetUserSetting:function(){},Rebind:function(t){this.CreateDataObject(),this.SetValue(this._moList),t&&t()},GetSortSetting:function(){},GetFullSize:function(){if(this.Control)return this.Control.GetFullSize()},GetMoById:function(t){var e=this.GetValue();if(Ext.isNotEmpty(e))return e.GetMoById(t)},_addListenersForControlEvents:function(){this.Control.on({scope:this,dblclick:this._onControl_RowDblClick,render:this._onControl_Render,contextmenu:this._onCotrol_ContextMenu,selectionchange:this._onCotrol_SelectionChange,CommandClick:this._onControl_CommandClick,RequestForUlv:this._onControl_RequestForUlv}),this.Control.on("click",this._onControl_RowClick,this,{delay:50})},_onControl_KeyDown:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.KeyDown,this,t)},_onControl_RowDblClick:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemDblClick,this)},_onControl_RowClick:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemClick,this)},_onControl_Render:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this),this.Control.el.on({scope:this,keydown:this._onControl_KeyDown})},_onCotrol_ContextMenu:function(t,e,n,i){this.select(node),this.UlvMainCtrlr.CommandBarCtrlr.ShowContextMenu(i.xy[0],i.xy[1])},_onCotrol_SelectionChange:function(t,e){},_onControl_CommandClick:function(t,e,n){var i=this.Setting.Extra.CustomCommands;if(!Ext.isEmpty(i)){var r=i.find((function(t){var n=Common.Util.TryGetValue(t,"Data.FieldDef.Id");return t.Text==e||Ext.isNotEmpty(n)&&n==e}));r&&this.UlvMainCtrlr._onCommandBarAdapter_CommandClick(null,{Data:r.Data,E:n})}},_onControl_RequestForUlv:function(t,e){e.Ulv=this.UlvMainCtrlr},_createStylesForCondFormat:function(){}})},61379:()=>{Common.Cs.Define("Ul.FormUlvDataCtrlr","Ul.UlvDataCtrlr",{Setting:null,UlvMainCtrlr:null,FormPanelCtrlr:null,MoList:null,constructor:function(t){this.callParent(arguments),this.addEvents()},______createFromPanelCtrlr:function(t){var e={Setting:t||{},Features:{Workflow:!1,Toolbar:!1,InfoBar:!1}};this.FormPanelCtrlr=new Ul.FormPanelCtrlr(e),Common.Async.Waterfall("Ul.FormUlvDataCtrlr._createFromPanelCtrlr",[this.FormPanelCtrlr.LoadAndCreate.bind(this.FormPanelCtrlr,null,!1,!1),function(t){this.UlvMainCtrlr.Adapter.Control.AddViewerToUlv(this.FormPanelCtrlr.Adapter.Control)}.bind(this)],(function(t,e){Common.Async.Finalize(t,e)}))}})},7096:()=>{Common.Cs.Define("Ul.FormViewerAdapter","Ul.ViewerAdapter_Blank",{constructor:function(t){this.callParent(arguments),this.CreateViewerUi()},CreateViewerUi:function(){this.Setting.View.FormPanelSetting&&this._createFromPanelCtrlr(this.Setting.View.FormPanelSetting)},GetViewerUi:function(){return Common.Util.TryGetValue(this,"FormPanelCtrlr.Adapter.Control")},GetValue:function(){if(this.FormPanelCtrlr)return this.FormPanelCtrlr.GetValue()},SetValue:function(t){if(this.FormPanelCtrlr)return this.FormPanelCtrlr.SetValue(t)},Destroy:function(){this.purgeListeners(),this.FormPanelCtrlr.Destroy()},_createFromPanelCtrlr:function(t){var e={Setting:t||{},Features:{Workflow:!1,Toolbar:!1,InfoBar:!1},IsFormReport:!0,FormReportReportSetting:this.Setting.Extra.Report};this.FormPanelCtrlr=new Ul.FormPanelCtrlr(e),Common.Async.Waterfall("Ul.FormUlvDataCtrlr._createFromPanelCtrlr",[this.FormPanelCtrlr.LoadAndCreate.bind(this.FormPanelCtrlr,null,!1,!1),function(t){this.UlvMainCtrlr.Adapter.Control.AddViewerToUlv(this.FormPanelCtrlr.Adapter.Control)}.bind(this)],(function(t,e){Common.Async.Finalize(t,e)}))}})},68273:()=>{Common.Cs.Define("Ul.ForumSelectionAdapter","Common.Observable",{Setting:null,_moList:null,Control:null,UlvMainCtrlr:null,_selectionModel:null,_prevSelectedId:!1,_tree:null,constructor:function(t){this.callParent(arguments),Common.Merger.FastMerge(this,t),this.addEvents(Ul.UlvMainCtrlr.EventEnum.SelectionChange),this.Control=this.UlvMainCtrlr.GetViewerUi(),this.Control.on({scope:this,selectionchange:this._onControl_SelectionChange})},IsSelectable:function(){return!0},CanSelectNext:function(){return this._canMove("Next")},CanSelectPrev:function(){return this._canMove("Prev")},SelectNext:function(){var t=this._findNodeIndexToMove("Next");t&&t>-1&&this.Control.select(t)},SelectPrev:function(){var t=this._findNodeIndexToMove("Prev");t&&t>-1&&this.Control.select(t)},SelectFirst:function(){var t=this._findNodeIndexToMove("First");t&&t>-1&&this.Control.select(t)},SelectLast:function(){var t=this._findNodeIndexToMove(Ul.TreeSelectionAdapter.MoveDirection.Last);t&&t>-1&&this.Control.select(t)},GetSelectedMetaObject:function(){var t=this.Control.getSelectedRecords();if(Ext.isNotEmpty(t))return this.UlvMainCtrlr.ConvertRecordToMo(t[0])},GetSelectedMetaObjectList:function(){var t=this.GetSelectedMetaObject();return t?[t]:[]},GetSelectedId:function(){var t=this.Control.getSelectedRecords();if(Ext.isNotEmpty(t))return t[0].id},GetPrevSelectedId:function(){return this._prevSelectedId},GetSelectedIdList:function(){var t,e=this.Control.getSelectedRecords();return Ext.isNotEmpty(e)&&(t=[],e[0].forEach((function(e){t.push(e.id)}))),t},GetSelectionCount:function(){return this.Control.getSelectionCount()},SelectItem:function(t){},_onControl_SelectionChange:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this)},_onControl_BeforeSelect:function(t,e,n){oldNode&&(this._prevSelectedId=oldNode.id)},_findNodeIndexToMove:function(t){var e=this.getStore(),n=e?e.getCount():0,i=this.getSelectedIndexes(),r=Ext.isNotEmpty(i)?i[0]:0,o=Ext.isNotEmpty(i)?i[i.length-1]:0,a=-1;return 0==n?-1:"First"===t?0:"Last"===t?n-1:("Next"===t?a=o>n-1?n-1:o+1:"Prev"===t&&(a=r<=0?0:r-1),a)},_canMove:function(t){return Boolean(this._findNodeIndexToMove(t))}})},34788:()=>{Common.Cs.Define("Ul.ForumUlvDataCtrlr","Ul.UlvDataCtrlr",{PrepateMoForNewForm:function(t){t||(t=Common.MetaObjectWeb.CreateNewMo(this.Setting.Data.TypeDefId));var e=this.UlvMainCtrlr.GetSelectedId();return t.SetFValue(this.Setting.View.ParentIdDbName,e),t}})},18052:(t,e,n)=>{var i=n(98182);Common.Cs.Define("Ul.ForumViewerAdapter","Ul.BaseListViewerAdapter",{UlvMainCtrlr:null,Setting:null,Control:null,_moList:null,constructor:function(t){this.callParent(arguments),this.CreateViewerUi()},CreateViewerUi:function(){var t={Setting:this.Setting};this.Control=new Ui.Forum(t),this._createStylesForCondFormat(),this._addListenersForControlEvents(),this.Rebind()},CreateDataObject:function(){this.Setting.Data&&(this._moList=new Common.MetaObjectListWeb({Data:this.Setting.Data}))},GetValue:function(){return this._moList},SetValue:function(t){this._moList=t,t instanceof Common.MetaObjectListWeb==0&&t.$Type&&(this._moList=new Common.MetaObjectListWeb(t));var e=Common.Util.TryGetValue(this._moList,"Data.MoDataList",[]);this.Control._createStore(e)},RefreshRowsByMos:function(t,e,n){t&&(Ext.isArray(t)||(t=[t]),t.forEach((function(t){var e=this.Control.getNodeById(t.Data.Id);e&&e.setText(t.Data.$Caption)}),this)),e&&(Ext.isArray(e)||(e=[e]),e.forEach((function(t){var e=this.UlvMainCtrlr.Setting.View.ParentIdDbName,n=this.Control.getNodeById(t.Data[e]);n||(n=this.Control.getRootNode());var i=n.childNodes.length;n.leaf=!1,n.expand(),t.Data.Id=t.Id,n.appendChild({id:t.Id,text:t.Data.$Caption,leaf:!0,Data:t.Data}),0!=i&&this.Control.getSelectionModel().select(this.Control.getNodeById(t.Id))}),this)),n&&(Ext.isArray(n)||(n=[n]),n.forEach((function(t){var e=this._getNodeItem(t);e&&e.parentNode.removeChild(e)}),this))},_getNodeItem:function(t){return this.UlvMainCtrlr.SelectionAdapter.ExpandToNode(t),this.Control.getNodeById(t)},ConvertRecordToMo:function(t){var e=null;return 0==Ext.isEmpty(t)&&(e=Common.MetaObjectWeb.CreateMoByData(t,this._moList.TypeDefId,this._moList.ReportId)),e},ConvertMoToRecord:function(t){},SetUserSetting:function(t){},GetUserSetting:function(){},Rebind:function(t){this.CreateDataObject(),this.SetValue(this._moList),t&&t()},GetSortSetting:function(){},GetFullSize:function(){if(this.Control)return this.Control.GetFullSize()},_getChildernFromServerAndLoadThem:function(t,e){i.waterfall([this._loadChildren.bind(this,t),function(t,n){e(t,{status:null!=t}),n()}],(function(t,e){}))},_loadChildren:function(t,e){var n={nodeId:t.id,reportId:Common.Util.TryGetValue(this.Setting,"Extra.Report.Id"),fieldDefId:Common.Util.TryGetValue(this.Setting,"Extra.Relation.ChildFdId")};Common.Ajax.GetServerData("List94.GetNodeChildren",n,(function(t){if(t){var n=t.map((function(t){return this._createNode(t)}),this);e(null,n)}}),null,e,this)},_addListenersForControlEvents:function(){this.Control.on({scope:this,dblclick:this._onControl_NodeDblClick,click:this._onControl_NodeClick,render:this._onControl_Render,contextmenu:this._onCotrol_ContextMenu,selectionchange:this._onCotrol_SelectionChange}),this.Control.on("click",this._onControl_NodeClick,this,{delay:50})},_onControl_KeyDown:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.KeyDown,this,t)},_onControl_NodeDblClick:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemDblClick,this)},_onControl_NodeClick:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemClick,this)},_onControl_Render:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this),this.Control.el.on({scope:this,keydown:this._onControl_KeyDown})},_onCotrol_ContextMenu:function(t,e,n,i){this.select(node),this.UlvMainCtrlr.CommandBarCtrlr.ShowContextMenu(i.xy[0],i.xy[1])},_onCotrol_SelectionChange:function(t,e){},_createNode:function(t){var e={id:t.Id,text:t.$Caption,leaf:!t.$HasChildren,icon:t.$Icon?t.$Icon:this._moList.Icon,Data:t};if(0==Ext.isEmpty(t.$StyleIndex)&&0==Ext.isEmpty(this.Setting.View.ConditionalFormats)){for(var n,i=0;i<t.$StyleIndex.length;i++)n+=" "+this.Setting.View.ConditionalFormats[t.$StyleIndex[i]].Cls;e.cls=n}if(t.$Children)for(e.children=[],i=0;i<t.$Children.length;i++){var r=this._createNode(t.$Children[i]);e.children.push(r)}return e},_createStylesForCondFormat:function(){if(!Ext.isEmpty(this.Setting.View.ConditionalFormats))for(var t=0;t<this.Setting.View.ConditionalFormats.length;t++){var e=this.Setting.View.ConditionalFormats[t],n=".a-UlvTree ."+e.Cls;Ext.get(n)||Ext.util.CSS.createStyleSheet(n+" { "+e.Style+"}",n)}}})},76540:()=>{Common.Cs.Define("Ui.CustomGanttChart","Ui.CustomGridUi",{xtype:"GanttChartUi",border:!1,moDataList:[],store:null,_gridColumns:[],constructor:function(){this.callParent(arguments),this.addEvents("rowdblclick","BindData","rowcontextmenu","containercontextmenu","ConvertMoToRecord","ModeChange","RequestForParams")},Reload:function(){this.Mask();var t={};this.fireEvent("RequestForParams",this,t),t.UlvParams&&(t.UlvParams.Height=this.getSize().height,t.UlvParams.Width=this.getSize().width,this._isLoading=!0)},ConvertMoToRecord:function(t){return t},OnDayCommandClick:function(){this.fireEvent("ModeChange","day")},OnMonthCommandClick:function(){this.fireEvent("ModeChange","month")},OnYearCommandClick:function(){this.fireEvent("ModeChange","year")}})},64364:()=>{Common.Cs.Define("GanttChartHelper","Common.Observable",{ganttData:{data:[]},ganttId:null,constructor:function(t){this.ganttFields=t,this.addEvents("rowclick","rowdblclick","BindData","rowcontextmenu","containercontextmenu"),this.callParent()},init:function(t,e){this.ganttId=e,this._mapMoListToDhtmlGanttData(this.ganttData.data,t),this.ganttData.links=this.ganttFields.Links},setData:function(t){this.ganttData.data=[],this._mapMoListToDhtmlGanttData(this.ganttData.data,t),this.ganttChart&&(this.ganttChart.clearAll(),this.ganttChart.parse(this.ganttData))},applyMoToRecord:function(t,e){if(this.ganttChart){var n=this.ganttChart.getTask(e.id);n=this._updateTask(n,t),this.ganttChart.refreshTask(t.Id)}},getCount:function(){return this.ganttChart?this.ganttChart.getTaskCount():0},getAt:function(t){return this.ganttChart?this.ganttChart.getTaskByIndex(t):null},selectRecords:function(t){var e=t[0];this.ganttChart&&this.ganttChart.selectTask(e.id)},getById:function(t){return this.ganttChart&&this.ganttChart.isTaskExists(t)?this.ganttChart.getTask(t):null},indexOfId:function(t){var e=this.getById(t);return this.ganttChart&&e?this.ganttChart.getGlobalTaskIndex(e.id):-1},removeAt:function(t){if(this.ganttChart){var e=this.ganttChart.getTaskByIndex(t);this.ganttChart.deleteTask(e.id)}},remove:function(t){this.ganttChart&&this.ganttChart.deleteTask(t.Id)},add:function(t){this.ganttChart&&(t=this.ganttChart.addTask(t))},hasNext:function(){if(this.ganttChart){var t=this.ganttChart.getSelectedId();return this.ganttChart.getGlobalTaskIndex(t)<this.ganttChart.getTaskCount()-1}return!1},hasPrevious:function(){if(this.ganttChart){var t=this.ganttChart.getSelectedId();return this.ganttChart.getGlobalTaskIndex(t)>0}return!1},hasSelection:function(){return!!this.ganttChart&&null!=this.ganttChart.getSelectedId()},selectNext:function(){if(this.ganttChart){var t=this.ganttChart.getSelectedId(),e=this.ganttChart.getNext(t);return this.ganttChart.selectTask(e),!0}return!1},selectPrevious:function(){if(this.ganttChart){var t=this.ganttChart.getSelectedId(),e=this.ganttChart.getPrev(t);return this.ganttChart.selectTask(e),!0}return!1},selectFirstRow:function(){if(this.ganttChart){var t=getTaskByIndex(0);return this.ganttChart.selectTask(t.id),!0}return!1},selectLastRow:function(){if(this.ganttChart){var t=this.ganttChart.getTaskByIndex(this.ganttChart.getTaskCount()-1);return this.ganttChart.selectTask(t.id),!0}return!1},selectRow:function(t){if(this.ganttChart){var e=getTaskByIndex(t);return this.ganttChart.selectTask(e.id),!0}return!1},getSelectedId:function(){return this.ganttChart?this.ganttChart.getSelectedId():-1},getSelectionCount:function(){return this.getSelectedId()?1:0},renderGantt:function(){var t=document.createElement("link");t.href="/Lib/gantt-master/codebase/dhtmlxgantt.css",t.rel="stylesheet",t.type="text/css",(document.head||document.documentElement).appendChild(t),Common.Util.IsRtl()&&(gantt.clearAll(),gantt.i18n.setLocale("fa"),gantt.config.rtl=!0,gantt.config.scale_height=50,gantt.config.scales=[{unit:"month",step:1,date:"%F, %Y"},{unit:"day",step:1,date:"%j, %D"}],gantt.templates.progress_text=function(t,e,n){return"<span style='text-align:right;'>"+Math.round(100*n.progress)+"% </span>"},gantt.templates.grid_row_class=function(t,e,n){return"gantt-fix-grid"},gantt.templates.leftside_text=function(t,e,n){return n.type==gantt.config.types.milestone?n.text:""},gantt.templates.tooltip_text=function(t,e,n){var i="<span style='text-align:right;' dir ='rtl'><b>"+BBB.Gantt_Name+":</b> "+n.text+"<br/><b>"+BBB.Gantt_Start+":</b> "+gantt.templates.tooltip_date_format(t)+"<br/><b>"+BBB.Gantt_End+":</b> "+gantt.templates.tooltip_date_format(e);return n.actualPercentage&&(i+="</br><b>"+BBB.Gantt_ActualProgress+": </b>"+n.actualPercentage+"%"),i+"</span>"}),this._enableColumnResize(gantt);var e=gantt.attachEvent;e("onTaskDblClick",function(t,e){return this.fireEvent("rowdblclick",this),!1}.bind(this)),e("onTaskClick",function(t,e){return this.fireEvent("rowclick",this),!0}.bind(this)),e("onTaskSelected",function(t,e){return this.fireEvent("rowselect",this),!0}.bind(this)),e("onTaskUnselected",function(t,e){return this.fireEvent("rowdeselect",this),!0}.bind(this)),e("onAfterTaskUpdate",(function(t,e){})),gantt.config.columns=[{name:"text",tree:!0,width:"*",min_width:150,resize:!0},{name:"start_date",align:"center",resize:!0,width:150},{name:"duration",align:"center",width:50,resize:!0}],this.ganttFields.EndDate&&gantt.config.columns.push({name:"end_date",align:"center",resize:!1,label:BBB.Gantt_EndDate,width:150}),this.ganttFields.Weight&&gantt.config.columns.push({name:"weight",align:"center",resize:!1,label:BBB.Gantt_Weight,width:40}),this.ganttFields.Percentage&&gantt.config.columns.push({name:"progress",align:"center",resize:!1,label:BBB.Gantt_PlannedProgress,min_width:90,template:function(t){return 100*t.progress}}),this.ganttFields.ActualPercentage&&gantt.config.columns.push({name:"actualPercentage",align:"center",resize:!1,label:BBB.Gantt_ActualProgress,min_width:85}),gantt.config.grid_width=540,this._enableTooltip(gantt),gantt.config.readonly=!0,gantt.init(this.ganttId),gantt.parse(this.ganttData),this.ganttChart=gantt},convertMoToRecord:function(t){return this._updateTask({},t)},changeToDay:function(){gantt.config.scales=[{unit:"month",step:1,format:"%F, %Y"},{unit:"day",step:1,format:"%j, %D"}],gantt.render()},changeToMonth:function(){gantt.config.scales=[{unit:"month",step:1,format:"%F, %Y"}],gantt.render()},changeToYear:function(){gantt.config.scales=[{unit:"year",step:1,format:"%Y"}],gantt.render()},_mapMoListToDhtmlGanttData:function(t,e){t.length=0,e.forEach(function(e){t.push(this._updateTask({},e)),e.$HasChildren&&this._mapMoListToDhtmlGanttData(t,e.$Children)}.bind(this))},_updateTask:function(t,e){var n=e[this.ganttFields.Parent],i=e[this.ganttFields.Percentage];switch(t.id=e.Id,t.text=e[this.ganttFields.Name],t.start_date=e[this.ganttFields.StartDate],t.end_date=e[this.ganttFields.EndDate],t.duration=parseInt(e[this.ganttFields.Duration]),t.weight=e[this.ganttFields.Weight],t.actualPercentage=e[this.ganttFields.ActualPercentage],t.parent=n?n.Id:0,t.progress=i?i/100:0,t.open=!0,e[this.ganttFields.TaskType]){case"1":t.type="project";break;case"2":t.type="task";break;case"3":t.type="milestone";break;default:t.type="task"}return t},_enableTooltip:function(t){t.plugins({tooltip:!0}),t.attachEvent("onGanttReady",(function(){t.ext.tooltips.tooltip.setViewport(t.$task_data)}))},_enableFullscreen:function(t){t.plugins({fullscreen:!0}),t.attachEvent("onTemplatesReady",(function(){var e=document.createElement("i");e.className="fa fa-expand gantt-fullscreen",t.toggleIcon=e,t.$container.appendChild(e),e.onclick=function(){t.ext.fullscreen.toggle()}})),t.attachEvent("onExpand",(function(){var e=t.toggleIcon;e&&(e.className=e.className.replace("fa-expand","fa-compress"))})),t.attachEvent("onCollapse",(function(){var e=t.toggleIcon;e&&(e.className=e.className.replace("fa-compress","fa-expand"))}))},_enableColumnResize:function(t){t.config.keep_grid_width=!1,t.config.grid_resize=!0,t.attachEvent("onColumnResizeStart",(function(e,n){return t.message("Start resizing <b>"+t.locale.labels["column_"+n.name]+"</b>"),!0}));var e=null;t.attachEvent("onColumnResize",(function(n,i,r){e||(e=t.message({expire:-1,text:"<b>"+t.locale.labels["column_"+i.name]+"</b> is now <b id='width_placeholder'></b><b>px</b> width"})),document.getElementById("width_placeholder").innerText=r})),t.attachEvent("onColumnResizeEnd",(function(n,i,r){return t.message.hide(e),e=null,t.message("Column <b>"+t.locale.labels["column_"+i.name]+"</b> is now "+r+"px width"),!0})),t.attachEvent("onGridResizeStart",(function(e){return t.message("Start grid resizing"),!0})),t.attachEvent("onGridResize",(function(n,i){e||(e=t.message({expire:-1,text:"Grid is now <b id='width_placeholder'></b><b>px</b> width"})),document.getElementById("width_placeholder").innerText=i})),t.attachEvent("onGridResizeEnd",(function(n,i){return t.message.hide(e),e=null,t.message("Grid is now <b>"+i+"</b>px width"),!0}))}})},36848:()=>{Common.Cs.Define("Ul.GanttSelectionAdapter","Ul.GridSelectionAdapter",{constructor:function(t){this.callParent(arguments)}})},40509:()=>{Common.Cs.Define("Ul.UlvRibbonAdapter_Gantt","Ul.UlvRibbonAdapter",{_createConfig_Ribbon:function(){var t,e=this.callParent(arguments),n=e.Tabs[0].Groups[0];return(t=this.GeneralCommands.DayView).CanCreate&&t.CanCreate()&&n.Buttons.push(this._createButton(t)),(t=this.GeneralCommands.MonthView).CanCreate&&t.CanCreate()&&n.Buttons.push(this._createButton(t)),(t=this.GeneralCommands.YearView).CanCreate&&t.CanCreate()&&n.Buttons.push(this._createButton(t)),e}})},17352:()=>{Common.Cs.Define("Ul.UlvRibbonCtrlr_Gantt","Ul.UlvRibbonCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.UlvRibbonAdapter_Gantt",t},_createGeneralCommands:function(){this.callParent(arguments);var t=this._createCmd_DayView(),e=this._createCmd_MonthView(),n=this._createCmd_YearView();this.GeneralCommands[t.Id]=t,this.GeneralCommands[e.Id]=e,this.GeneralCommands[n.Id]=n},_createCmd_DayView:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="DayView",t.Text=BBB.Gantt_Day,t.Order=110,t.UseForSingle=!0,t.UseForMulti=!0,t.UseAlways=!0,t.IsLarge=!0,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Day,null,32),t.Parent=this,t.Handler=this.OnDayCommandClick,t.CanCreate=function(){return!0},new Ul.Command(t)},_createCmd_MonthView:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="MonthView",t.Text=BBB.Gantt_Month,t.Order=111,t.UseForSingle=!0,t.UseForMulti=!0,t.UseAlways=!0,t.IsLarge=!0,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Month,null,32),t.Parent=this,t.Handler=this.OnMonthCommandClick,t.CanCreate=function(){return!0},new Ul.Command(t)},_createCmd_YearView:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="YearView",t.Text=BBB.Gantt_Year,t.Order=112,t.UseForSingle=!0,t.UseForMulti=!0,t.UseAlways=!0,t.IsLarge=!0,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Year,null,32),t.Parent=this,t.Handler=this.OnYearCommandClick,t.CanCreate=function(){return!0},new Ul.Command(t)},OnDayCommandClick:function(){this.UlvMainCtrlr.ViewerAdapter.OnDayCommandClick()},OnMonthCommandClick:function(){this.UlvMainCtrlr.ViewerAdapter.OnMonthCommandClick()},OnYearCommandClick:function(){this.UlvMainCtrlr.ViewerAdapter.OnYearCommandClick()}})},76942:()=>{Common.Cs.Define("Ul.UlvToolbarAdapter_Gantt","Ul.UlvToolbarAdapter",{UlvMainCtrlr:null,Setting:null,System:null,GeneralCommands:null,CustomCommands:null,constructor:function(t){this.callParent(arguments)},CreateControl:function(){var t=this._createConfig_Toolbar();this.UlvMainCtrlr.Adapter.SetToolbarButtons(t)},_createConfig_Toolbar:function(){var t=this.callParent(arguments),e=["-","DayView","MonthView","YearView"];e.forEach((function(e){if("-"==e)t.push(e);else{var n=this.GeneralCommands[e];n&&n.CanCreate&&n.CanCreate()&&t.push(this._createButton(n,!1))}}),this);for(var n=t.length-1;n>=0;n--){var i=t[n];"-"==i&&(n!=t.length-1&&0!=n&&"-"!=t[n+1]||(t.splice(n,1),0==n&&(n=1)))}return t}})},73868:()=>{Common.Cs.Define("Ul.UlvToolbarCtrlr_Gantt","Ul.UlvToolbarCtrlr",{CreateAdapter:function(){var t=this.CreateAdapterConfig();this.ToolbarAdapter=new Ul.UlvToolbarAdapter_Gantt(t),this.MenuAdapter=new Ul.UlvMenuAdapter(t)},CreateCommands:function(){var t=this._createDayBtn(this.GetCmd_Day_config()),e=this._createMonthBtn(this.GetCmd_Month_config()),n=this._createYearBtn(this.GetCmd_Year_config()),i={};i[t.Id]=t,i[e.Id]=e,i[n.Id]=n,this.GeneralCommands?Common.Merger.FastMerge(this.GeneralCommands,i):this.GeneralCommands=i,this.callParent()},_createDayBtn:function(t){var e=Common.Merger.Merge(t,this._defaultcommand,{onlyNewProperties:!0});return e.UseAlways=!0,e.IsLarge=!0,e.Parent=this,e.Handler=this.OnDayCommandClick.bind(this),e.CanCreate=function(){return!0},e.DisableWhenReadonly=!1,new Ul.Command(e)},_createMonthBtn:function(t){var e=Common.Merger.Merge(t,this._defaultcommand,{onlyNewProperties:!0});return e.UseAlways=!0,e.IsLarge=!0,e.Parent=this,e.Handler=this.OnMonthCommandClick.bind(this),e.CanCreate=function(){return!0},e.DisableWhenReadonly=!1,new Ul.Command(e)},_createYearBtn:function(t){var e=Common.Merger.Merge(t,this._defaultcommand,{onlyNewProperties:!0});return e.UseAlways=!0,e.IsLarge=!0,e.Parent=this,e.Handler=this.OnYearCommandClick.bind(this),e.CanCreate=function(){return!0},e.DisableWhenReadonly=!1,new Ul.Command(e)},GetCmd_Day_config:function(){var t={Id:"DayView"};return t.Text=BBB.Gantt_Day,t.Order=110,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Day,null,32),t},GetCmd_Month_config:function(){var t={Id:"MonthView"};return t.Text=BBB.Gantt_Month,t.Order=111,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Month,null,32),t},GetCmd_Year_config:function(){var t={Id:"YearView"};return t.Text=BBB.Gantt_Year,t.Order=112,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Year,null,32),t},OnDayCommandClick:function(){this.UlvMainCtrlr.ViewerAdapter.OnDayCommandClick()},OnMonthCommandClick:function(){this.UlvMainCtrlr.ViewerAdapter.OnMonthCommandClick()},OnYearCommandClick:function(){this.UlvMainCtrlr.ViewerAdapter.OnYearCommandClick()}})},82700:()=>{Common.Cs.Define("Ul.GanttViewerAdapter","Ul.GridViewerAdapter",{constructor:function(t){this.callParent(arguments)},CreateViewerUi:function(){var t=this._createControlConfig(),e=Common.Util.TryGetValue(this.Setting,"ClassNames.CustomUi.Selector",null),n=LoginFormData.CustomUiPrefix;null!=e||n?(t.originalXtype="Ui.GanttChart",this.Control=new Ui.CustomGanttChart(t)):this.Control=new Ui.GanttChart(t),this._addListenersForControlEvents()},GetMoByRowIndex:function(t){if(this.Control)return t>-1&&t<this._moList.length-1?this._moList[t]:void 0},ConvertRecordToMo:function(t){return Common.MetaObjectWeb.WrapToMo(t,this._moList.TypeDefId,this._moList.ReportId)},_applyMoToRecord:function(t,e){var n=-1;this._moList.MoDataList.forEach((function(t,i){t.Id==e.Id&&(n=i)})),-1!=n&&(this._moList.MoDataList.removeAt(n),this._moList.MoDataList.insertAt(n,t)),this.Control.ApplyMoToRecord(t,e)},ConvertMoToRecord:function(t){return this.Control.ConvertMoToRecord(t)},GetSortSetting:function(){return null},SetUserSetting:function(t){},GetUserSetting:function(){return null},RefreshRowByMoTemporarily:function(t){if(t)if(this.Control instanceof Ui.CustomGridUi)this.Control.RefreshMoDataList(this._moList.MoDataList);else{var e=this.UlvMainCtrlr.ConvertMoToRecord(t),n=this.Control.getStore(),i=n.getById(t.Id);i?this.Control.ApplyMoToRecord(t,i):n.add(e)}},OnDayCommandClick:function(){this.Control.OnDayCommandClick()},OnMonthCommandClick:function(){this.Control.OnMonthCommandClick()},OnYearCommandClick:function(){this.Control.OnYearCommandClick()}})},41272:()=>{function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?e(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}Common.Cs.Define("Ui.CustomGridUi","Common.Observable",{xtype:"CustomGridUi",border:!1,moDataList:[],store:null,_gridColumns:[],constructor:function(t){t.Setting.View.Grid_HideHeader=!0,this.store=this,this.callParent(arguments),this.moDataList=t._rawData,this.addEvents("UserSettingChange","LoadUserSetting","MoDataListChanged","afterrender","rowselect","rowclick","RefreshContextMoDataList")},ShowColumns:function(t){var e={};Ext.isArray(t)&&(t.forEach((function(t){e[t]=!1})),this._setHideColumns(e))},HideColumns:function(t){var e={};Ext.isArray(t)&&(t.forEach((function(t){e[t]=!0})),this._setHideColumns(e))},SetColumnVisible:function(t,e){var n={};n[t]=e,this._setHideColumns(n)},_setHideColumns:function(t){this.fireEvent("ColumnHideChanged",t)},IsUiRendered:function(){return this.controlUi},ApplyMoToRecord:function(t,e){var n=this.indexOfId(t.Id);this.moDataList[n]=t,this.fireEvent("MoDataListChanged",this.moDataList)},GetSortSetting:function(){return Common.Util.TryGetValue(this,"Setting.View.GridSetting.SortSettingList",[])},getSelected:function(){return this.moDataList.find((function(t){return t.$IsChecked}))},hasNext:function(){return this.moDataList.findIndex((function(t){return t.$IsChecked}))<this.moDataList.length-1},hasPrevious:function(){return this.moDataList.findIndex((function(t){return t.$IsChecked}))>0},hasSelection:function(){return this.moDataList.findIndex((function(t){return t.$IsChecked}))>-1},selectNext:function(){var t=this.moDataList.findIndex((function(t){return t.$IsChecked}));return t<this.moDataList.length-1&&(this.moDataList[t].$IsChecked=!1,this._select(t+1),!0)},selectPrevious:function(){var t=this.moDataList.findIndex((function(t){return t.$IsChecked}));return t>0&&(this.moDataList[t].$IsChecked=!1,this._select(t-1),!0)},selectFirstRow:function(){return this.moDataList.forEach((function(t){return t.$IsChecked=!1})),this.moDataList.length>0&&(this._select(0),!0)},_select:function(t){var e=this.moDataList[t];return e.$IsChecked=!0,this.fireEvent("MoDataListChanged",this.moDataList),this.fireEvent("rowselect",this),e},getById:function(t){return this.moDataList.find((function(e){return e.Id==t}))},find:function(t,e){return this.moDataList.findIndex((function(n){return n[t]==e}))},add:function(t){this.moDataList.push(t),this.fireEvent("MoDataListChanged",this.moDataList)},indexOfId:function(t){return this.moDataList.findIndex((function(e){return e.Id==t}))},removeAt:function(t){var e=this.moDataList[t];e&&(this.moDataList=this.moDataList.filter((function(t){return t.Id!=e.Id})),this.fireEvent("MoDataListChanged",this.moDataList))},remove:function(t){var e=t.id?t.id:t.Id;this.moDataList=this.moDataList.filter((function(t){return t.Id!=e})),this.fireEvent("MoDataListChanged",this.moDataList)},getCount:function(){return this.moDataList.length},getSelectionCount:function(){return this.moDataList.filter((function(t){return t.$IsChecked})).length},getAt:function(t){return this.moDataList[t]},getSelections:function(){return this.moDataList.filter((function(t,e){return t.$IsChecked}))},selectRecords:function(t){var e=this;t.forEach((function(t){var n=e.moDataList.find((function(e){return e.Id==t.Id}));n&&(n.$IsChecked=!0)})),this.fireEvent("MoDataListChanged",this.moDataList)},getRow:function(t){},GetUserSetting:function(){return Common.Util.TryGetValue(this,"Setting.View.GridSetting",null)},DeSelectRecords:function(t){var e=this;t.forEach((function(t){var n=e.moDataList.find((function(e){return e.Id==t.Id}));n&&(n.$IsChecked=!1)})),this.fireEvent("MoDataListChanged",this.moDataList)},ClearAllSelected:function(){this.moDataList.forEach((function(t){t.$IsChecked=!1})),this.fireEvent("MoDataListChanged",this.moDataList)},getStore:function(){return this},RefreshMoDataList:function(t){this.moDataList=t,this.fireEvent("MoDataListChanged",this.moDataList)},_createStore:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.moDataList=t(e),n&&this.fireEvent("MoDataListChanged",this.moDataList)},getView:function(){return this},getSelectionModel:function(){return this},ShowSettings:function(){},Mask:function(){this.mask=!0,this.fireEvent("maskChanged",this.mask)},Unmask:function(){this.mask=!1,this.fireEvent("maskChanged",this.mask)}})},49287:()=>{Common.Cs.Define("Ul.CustomUlvDataGridRowEditorCtrlr","Ul.UlvDataCtrlr",{rowNumber:null,cellNumber:null,constructor:function(t){this.callParent(arguments),this.UlvMainCtrlr.on(Ul.UlvMainCtrlr.EventEnum.ItemDblClick,this._ViewerAdapter_DblClick,this)},_ViewerAdapter_DblClick:function(){this.ShowEditForm()},GetEditFormParams:function(t,e,n,i){if(n&&0==this.HasAccessAdd(t)){if(!i)return;i()}var r=this.callParent(arguments);return r.IsGridEditor=!1,r},PrepateMoForNewForm:function(t){return Ext.isEmpty(t)&&Common.Util.TryGetValue(this,"Setting.Data.TypeDefId",null)?Common.MetaObjectWeb.CreateNewMo(this.Setting.Data.TypeDefId):(this.callParent(t),t)}})},80017:()=>{Common.Cs.Define("Ul.GridCheckListSelectionAdapter","Ul.GridSelectionAdapter",{Setting:null,_moList:null,Control:null,UlvMainCtrlr:null,_selectionModel:null,_grid:null,constructor:function(t){this.callParent(arguments),this._grid=this.UlvMainCtrlr.GetViewerUi(),this._selectionModel=this._grid.getSelectionModel(),this._selectionModel.on({scope:this,rowdeselect:this._onControlSm_RowDeselect})},_onControlSm_RowDeselect:function(t,e,n){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this)}})},33253:()=>{Common.Cs.Define("Ul.GridCheckListSelectionAdapter_CellSelection","Ul.GridSelectionAdapter_CellSelection",{Setting:null,_moList:null,Control:null,UlvMainCtrlr:null,_selectionModel:null,_grid:null,_cell:null,constructor:function(t){this.callParent(arguments),this._grid.on("cellmousedown",function(t,e,n){this._selectCell(e,n);var i=this._grid.store.getAt(e);this._prevSelectedId=i.id,this._prevSelectedRecord&&this._prevSelectedRecord.id==i.id||(this._prevSelectedRecord=i),this._rowIndex=e}.bind(this))},_selectCell:function(t,e){this._cell=[],this._grid.getSelectionModel().selectRow(t),this._cell.push(t),this._cell.push(e)},_onControlSm_RowDeselect:function(t,e,n){},GetSelectedMetaObject:function(){var t=this._grid.getSelectionModel().getSelected();return!t&&this._grid.getSelectionModel().grid&&this._rowIndex>-1&&(t=this._grid.getSelectionModel().grid.store.data.items[this._rowIndex]),this.UlvMainCtrlr.ConvertRecordToMo(t)},GetSelectionNative:function(){return this._cell},CanSelectNext:function(){var t=this._selectionModel.getSelected();if(t){var e=this._grid.store.totalLength;return this._grid.store.indexOf(t)<e-1}return!1},CanSelectPrev:function(){var t=this._selectionModel.getSelected();if(t){var e=this._grid.store.indexOf(t),n=this._grid.store.totalLength;return e>0&&e<n}return!1},SelectNext:function(){if(this._selectionModel.getSelected()){var t=this._grid.store.totalLength,e=this._cell;e[0]+1<=t-1&&this.SelectCell(e[0]+1,0)}else this.SelectCell(0,0)},SelectPrev:function(){if(this._selectionModel.getSelected()){var t=this._cell;t[0]-1>=0&&this.SelectCell(t[0]-1,0)}else this.SelectCell(0,0)},SetSelectionNative:function(t){t&&this._selectCell(t[0],t[1])},SelectCell:function(t,e){if(Ext.isNotEmpty(t)&&Ext.isNotEmpty(e)){var n=this._findFirstVisibleColumn(e);n&&t>=0&&this._selectCell(t,n.id)}},GetSelectedCell:function(t){var e=this._cell;if(e){t&&(e[1]=t),this._cell=e,this._rowIndex=e[0];var n=this._grid.getView();if(null!=n){var i=n.getRow(this._rowIndex),r=n.getCell(this._rowIndex,e[1]);if(!r)return null;Ext.get(i);var o=Ext.get(r),a=this._grid.getColumnModel().getDataIndex(e[1]);return{x:o.getX(),y:o.getY(),name:a,height:o.getHeight(),width:o.getWidth(),rowIndex:this._rowIndex,colIndex:e[1]}}return null}}})},57666:()=>{Common.Cs.Define("Ul.GridCheckListViewerAdapter","Ul.GridViewerAdapter",{_createControlConfig:function(){var t=this.callParent(arguments);return t._isCheckList=!0,t},CreateDataObject:function(){this.Setting.Data&&(this._moList=new Common.MetaObjectCheckListWeb(this.Setting.Data))},SetValue:function(t){this.callParent(arguments),this._selectCheckedRows()},SetReadOnly:function(t){var e=this.Control.getSelectionModel();t?e.lock():e.unlock()},_addListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("viewready",this._onControl_GridViewerReady,this);var t=this.Control.getSelectionModel();t.on({scope:this,rowselect:this._onControlSm_RowSelect,rowdeselect:this._onControlSm_RowDeselect,beforerowselect:this._onControlSm_BeforeRowSelect})},_onControl_GridViewerReady:function(){var t=this.Control.getSelectionModel();this._isGridViewReady=this._selectCheckedRows(),this.UlvMainCtrlr.GetReadOnly()&&t.lock()},_onControlSm_RowSelect:function(t,e,n){var i;if(n.json)var r=n.json;else r=n;r.$IsChecked=!0,i=[r],this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ValueChange,this,void 0,i,void 0)},_onControlSm_RowDeselect:function(t,e,n){var i;if(n.json)var r=n.json;else r=n;r.$IsChecked=!1,i=[r],this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ValueChange,this,void 0,void 0,i)},_onControlSm_BeforeRowSelect:function(){if(this.UlvMainCtrlr.GetReadOnly())return!1},_selectCheckedRows:function(){if(!Ext.isEmpty(this.Control.getView())&&this.Control.rendered&&!LoginFormData.IsPortal){var t=this.Control.getSelectionModel(),e=[],n=this.Control.getStore();n&&n.each((function(t){1==t.json.$IsChecked&&e.push(t)}),this),t.suspendEvents();var i=t.isLocked();i&&t.unlock(),t.selectRecords(e),i&&t.lock(),t.resumeEvents()}}})},71629:()=>{Common.Cs.Define("Ul.GridCheckListViewerAdapter_InlineEdit","Ul.GridViewerAdapter",{_createControlConfig:function(){var t=this.callParent(arguments);return t._isCheckList=!0,t},CreateDataObject:function(){this.Setting.Data&&(this._moList=new Common.MetaObjectCheckListWeb(this.Setting.Data))},SetValue:function(t){this.callParent(arguments),this._selectCheckedRows()},_addListenersForControlEvents:function(){this.callParent(arguments),this.Control.on("viewready",this._onControl_GridViewerReady,this)},_onControl_GridViewerReady:function(){this._isGridViewReady=this._selectCheckedRows()},_selectCheckedRows:function(){if(!Ext.isEmpty(this.Control.getView())&&this.Control.rendered){var t=this.Control.getSelectionModel(),e=[],n=this.Control.getStore();n&&n.each((function(t){1==t.json.$IsChecked&&e.push(t)}),this),t.suspendEvents(),t.selectRecords(e),t.resumeEvents()}}})},45494:()=>{Common.Cs.Define("Ul.GridExporter","Common.Observable",{singleton:!0,Export:function(t){var e=t.GetTotalRowCount(),n=new Ul.ExportToExcelForm({_count:e});n.show(),n.on("OkPressed",(function(e,n,i,r){e.Mask(),Ext.isNumber(n)&&(n-=1),Ext.isNumber(i)&&(i-=1);var o=t.UlvParams?t.UlvParams:t.ResolveUlvParams();o.StartIndex=n,o.EndIndex=i;var a={ulvParams:o,format:r};Common.Ajax.GetServerData("List94.ExportGridToExcel",a,(function(t){this.Unmask(),this.close(),0==Ext.isEmpty(t)&&Bw.File.Download({Url:t.FileName})}),null,null,e)}),this)}})},91171:()=>{Common.Cs.Define("Ul.GridSelectionAdapter","Common.Observable",{Setting:null,_moList:null,Control:null,_rowIndex:null,UlvMainCtrlr:null,_selectionModel:null,_grid:null,_prevSelectedId:!1,_suspendBeforeSelect:!1,constructor:function(t){this.callParent(arguments),this.addEvents(Ul.UlvMainCtrlr.EventEnum.SelectionChange,Ul.UlvMainCtrlr.EventEnum.BeforeSelectionChange),this._grid=this.UlvMainCtrlr.GetViewerUi(),this._selectionModel=this._grid.getSelectionModel(),this._selectionModel.on({scope:this,rowselect:this._onControlSm_RowSelect,beforerowselect:this._onControlSm_BeforeRowSelect})},ClearAllSelected:function(){this._selectionModel.ClearAllSelected()},IsSelectable:function(){return!0},CanSelectNext:function(){return this._selectionModel.hasNext()},CanSelectPrev:function(){return this._selectionModel.hasPrevious()},SelectNext:function(){var t=this._selectionModel;return 0==t.hasSelection()?(t.selectFirstRow(),!0):t.selectNext()},SelectPrev:function(){var t=this._selectionModel;return 0==t.hasSelection()?(t.selectLastRow(),!0):t.selectPrevious()},SelectFirst:function(){return this._selectionModel.selectFirstRow()},SelectLast:function(){return this._selectionModel.selectLastRow()},GetSelectedMetaObject:function(){var t=this._selectionModel.getSelected();return this.UlvMainCtrlr.ConvertRecordToMo(t)},GetSelectedMetaObjectList:function(){var t=[],e=this._selectionModel.getSelections();return 0==Ext.isEmpty(e)&&Ext.each(e,(function(e,n){var i=this.UlvMainCtrlr.ConvertRecordToMo(e);t.push(i)}),this),t},GetSelectedId:function(){if("Common.Observable"!=this._grid.BaseClassName||this._grid.rendered){var t=this._selectionModel.getSelected();return 0==Ext.isEmpty(t)?t.Id?t.Id:t.id:void 0}},GetSelectedItemLocation:function(){var t=this._rowIndex;if(null!=t||null!=this._grid.getView()){var e=this._grid.getView().getRow(t),n=Ext.get(e);return{x:n.getX(),y:n.getY(),height:n.getHeight()}}return null},GetPrevSelectedId:function(){return this._prevSelectedId},GetSelectedRecord:function(){},GetSelectedIdList:function(){var t=[],e=this._selectionModel.getSelections();return 0==Ext.isEmpty(e)&&Ext.each(e,(function(e,n){t.push(e.Id?e.Id:e.id)})),t},SelectItem:function(t){var e=Common.MetaObjectListWeb.GetMoIdListFromArgument(t);if(0!=e.length){for(var n=this._grid.getStore(),i=[],r=0;r<e.length;r++){var o=n.getById(e[r]);i.push(o)}if(i.length>0)try{this._selectionModel.selectRecords(i)}catch(t){}}},SelectByKeyboard:function(t,e,n,i){var r=!1;return t==Ext.EventObject.DOWN||t==Ext.EventObject.PAGE_DOWN?(this.SelectNext(),r=!0):t==Ext.EventObject.UP||t==Ext.EventObject.PAGE_UP?(this.SelectPrev(),r=!0):t==Ext.EventObject.HOME?(this.SelectFirst(),r=!0):t==Ext.EventObject.END&&(this.SelectLast(),r=!0),r},GetSelectionCount:function(){return this._selectionModel.getSelectionCount?this._selectionModel.getSelectionCount():this._selectionModel.getCount()},GetSelectionNative:function(){},SetSelectionNative:function(t){},_onControlSm_RowSelect:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this)},_onControlSm_BeforeRowSelect:function(t,e,n,i){this._rowIndex=e;var r=this._selectionModel.getSelected();r&&(this._prevSelectedId=r.Id?r.Id:r.id)}})},65321:()=>{Common.Cs.Define("Ul.GridSelectionAdapter_CellSelection","Ul.GridSelectionAdapter",{Setting:null,_moList:null,Control:null,_rowIndex:null,UlvMainCtrlr:null,_selectionModel:null,_grid:null,_prevSelectedId:!1,cell:null,_prevCell:null,_prevHighlightRowIndex:null,_suspendBeforeSelect:!1,_gridColumns:[],constructor:function(t){this.callParent(arguments),this.addEvents(Ul.UlvMainCtrlr.EventEnum.SelectionChange,Ul.UlvMainCtrlr.EventEnum.BeforeSelectionChange),this._grid=this.UlvMainCtrlr.GetViewerUi(),this._selectionModel=this._grid.getSelectionModel(),this._selectionModel.on({scope:this,cellselect:this._onControlSm_CellSelect,beforecellselect:this._onControlSm_BeforeCellSelect}),this._gridColumns=[];for(var e=0;e<this._grid._gridColumns.length;e++)this._gridColumns.push(this._grid._gridColumns[e])},IsSelectable:function(){return!0},CanSelectNext:function(){if(this._selectionModel&&this._selectionModel.selection){var t=this._selectionModel.selection.record.store.data.length;return this._selectionModel.selection.cell[0]<t-1}return!1},CanSelectPrev:function(){return!(!this._selectionModel||!this._selectionModel.selection)&&this._selectionModel.selection.cell[0]>0},SelectNext:function(){if(this._selectionModel&&this._selectionModel.selection){var t=this._selectionModel.selection.record.store.data.length,e=this._selectionModel.selection.cell;e[0]+1<=t-1&&this.SelectCell(e[0]+1,0)}else this.SelectCell(0,0)},SelectPrev:function(){if(this._selectionModel&&this._selectionModel.selection){var t=this._selectionModel.selection.cell;t[0]-1>=0&&this.SelectCell(t[0]-1,0)}else this.SelectCell(0,0)},SelectFirst:function(){this.SelectCell(0,0)},SelectLast:function(){if(this._selectionModel){var t=this._selectionModel.grid.store.data.length;this.SelectCell(t-1,0)}else this.SelectCell(0,0)},GetSelectedMetaObject:function(){var t=this._grid.getSelectionModel().selection?this._grid.getSelectionModel().selection.record:null;return!t&&this._grid.getSelectionModel().grid&&this._rowIndex&&(t=this._grid.getSelectionModel().grid.store.data.items[this._rowIndex]),this.UlvMainCtrlr.ConvertRecordToMo(t)},GetSelectedMetaObjectList:function(){var t=[];if(this._selectionModel.selection){var e=this._selectionModel.selection.record;return t[this.UlvMainCtrlr.ConvertRecordToMo(e)]}return t},GetSelectedId:function(){if(this._selectionModel.selection)return this._selectionModel.selection.record.id},GetSelectedItemLocation:function(){},GetSelectedCell:function(t){var e=this._grid.getSelectionModel().selection?this._grid.getSelectionModel().selection.cell:this._cell;if(e){t&&(e[1]=t),this._cell=e,this._rowIndex=e[0];var n=this._grid.getView();if(null!=n){var i=n.getRow(this._rowIndex),r=n.getCell(this._rowIndex,e[1]);if(!r)return null;Ext.get(i);var o=Ext.get(r),a=this._grid.getColumnModel().getDataIndex(e[1]);return{x:o.getX(),y:o.getY(),name:a,height:o.getHeight(),width:o.getWidth(),rowIndex:this._rowIndex,colIndex:e[1]}}return null}},GetGridColumns:function(){return this._gridColumns},AddHighlightClassToSelectedCellsRow:function(){if(this.RemoveHighlightClassFromSelectedCellsRow(),null!=this._rowIndex&&this._grid.getView()){this._prevHighlightRowIndex=this._rowIndex;var t=this._grid.getView().getRow(this._rowIndex);t&&Ext.get(t).addClass("x-row-highlight")}},RemoveHighlightClassFromSelectedCellsRow:function(){null!=this._prevHighlightRowIndex&&this._grid.getView()&&this._prevHighlightRowIndex<this._grid.getView().getRows().length&&Ext.get(this._grid.getView().getRow(this._prevHighlightRowIndex)).removeClass("x-row-highlight")},GetPrevSelectedId:function(){return this._prevSelectedId},GetSelectedRecord:function(){return this._prevSelectedRecord},GetSelectedIdList:function(){return this.GetSelectedId()},GetPrecSelectedCell:function(){return this._prevCell},SelectItem:function(t){var e=Common.MetaObjectListWeb.GetMoIdListFromArgument(t);if(0!=e.length){var n=this._grid.getStore().indexOfId(e[0]);this.SelectCell(n,0)}},SelectByKeyboard:function(t,e,n,i){var r=!1;return t==Ext.EventObject.DOWN||t==Ext.EventObject.PAGE_DOWN?(this.SelectNext(),r=!0):t==Ext.EventObject.UP||t==Ext.EventObject.PAGE_UP?(this.SelectPrev(),r=!0):t==Ext.EventObject.HOME?(this.SelectFirst(),r=!0):t==Ext.EventObject.END&&(this.SelectLast(),r=!0),r},GetSelectionCount:function(){return this._selectionModel.selection&&this._selectionModel.selection.cell?1:0},SelectCell:function(t,e){if(Ext.isNotEmpty(t)&&Ext.isNotEmpty(e)){var n=this._findFirstVisibleColumn(e);n&&t>=0&&this._grid.getSelectionModel().select(t,n.id)}},GetSelectionNative:function(){return this._selectionModel.getSelectedCell()},SetSelectionNative:function(t){t&&this._selectionModel.select(t[0],t[1])},_findFirstVisibleColumn:function(t){t=Ext.value(t,0);for(var e=this.GetGridColumns(),n=t;n<e.length;n++)if(1!=e[n].hidden&&"numberer"!=e[n].id&&"checker"!=e[n].id)return e[n];for(n=0;n<t;n++)if(1!=e[n].hidden)return e[n]},_onControlSm_CellSelect:function(t,e,n){if(t&&t.selection){null==this._prevCell&&(this._prevCell=t.selection.cell);var i=t.selection.record;this._prevSelectedId=i.id,this._prevSelectedRecord&&this._prevSelectedRecord.id==i.id||(this._prevSelectedRecord=i),this._rowIndex&&(this._rowIndex=t.selection.cell[0])}this.fireEvent(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this)},_onControlSm_BeforeCellSelect:function(t,e,n){if(this._rowIndex=e,t&&t.selection){this._prevCell=t.selection.cell;var i=t.selection.record;this._prevSelectedId=i.id}}})},43239:()=>{Common.Cs.Define("Ul.GridViewerAdapter","Ul.BaseListViewerAdapter",{UlvMainCtrlr:null,Features:null,Setting:null,Control:null,_moList:null,_lastTempEditedResocrd:null,_selectedCell:null,constructor:function(t){this.addEvents("ColumnResize","Resize"),this.callParent(arguments),this.CreateDataObject(),this.CreateViewerUi()},SetColumnVisible:function(t,e){this.Control&&this.Control.SetColumnVisible(t,e)},ShowColumns:function(t){this.Control&&this.Control.ShowColumns(t)},HideColumns:function(t){this.Control&&this.Control.HideColumns(t)},GetNext:function(t){var e=this.Control.getStore(),n=e.getById(t.Id),i=e.indexOf(n),r=e.getAt(i+1);return this.ConvertRecordToMo(r)},GetPrev:function(t){var e=this.Control.getStore(),n=e.getById(t.Id),i=e.indexOf(n),r=e.getAt(i-1);return this.ConvertRecordToMo(r)},CreateViewerUi:function(){var t=this._createControlConfig(),e=Common.Util.TryGetValue(this.Setting,"ClassNames.CustomUi.Selector",null),n=LoginFormData.CustomUiPrefix;null!=e||n?(t.originalXtype="Ui.Grid",this.Control=new Ui.CustomGridUi(t)):this.Control=new Ui.Grid(t),Common.Debug.InitUi(this.Control,this),this._createStylesForCondFormat(),this._createStylesForRowHeight(),this._addListenersForControlEvents()},GetViewerUi:function(){return this.Control},CreateDataObject:function(){this.Setting.Data&&(this._moList=new Common.MetaObjectListWeb(this.Setting.Data))},GetValue:function(){return this._moList},SetValue:function(t){if(!Ext.isEmpty(t)){t instanceof Common.MetaObjectListWeb||t instanceof Common.MetaObjectCheckListWeb?this._moList=t:(this.Setting.Data=t,this.CreateDataObject());var e=Common.Util.TryGetValue(this._moList,"MoDataList",[]);this.Control._defaultRowIcon=Common.Util.TryGetValue(this._moList,"Icon"),this.Control._createStore(e)}},Replace:function(t,e){var n=this.Control.getStore(),i=n.getById(t.Id);this._applyMoToRecord(t,i);var r=n.getById(e.Id);this._applyMoToRecord(e,r);var o=n.indexOf(i),a=n.indexOf(r);n.removeAt(o),n.insert(a,i),this.Control.getSelectionModel().selectRecords([i])},RefreshRowsByMosNoSelectionChange:function(t,e,n){this.RefreshRowsByMos(t,e,n,!1,!0)},RefreshRowsByMos:function(t,e,n,i,r){var o=this.Control.getStore(),a=0,s=0;if(o){t=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(t),e=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(e),n=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(n);var l=[],u=[],c=[],h=!1;t.forEach((function(t){t=Common.MetaObjectWeb.CreateMo(t);var n=null;(n=this._findRecordById(t.Id))?(this.UlvMainCtrlr.IsAutoInlineEdit()&&this.RefreshRowByMoTemporarily(t),this._applyMoToRecord(t,n),LoginFormData.IsPortal&&this._moList.UpdateMo(t),l.push(n),u.push(t)):(this.UlvMainCtrlr.IsAutoInlineEdit()&&t.$OldId&&(n=this._findRecordById(t.$OldId))&&o.remove(n),e.push(t)),h=!0}),this),e.forEach((function(t){if((t=Common.MetaObjectWeb.CreateMo(t)).$TypeDefId!=this.Setting.Extra.Report.TypeDefId&&t.InheritanceInfo){var e=t.InheritanceInfo.ParentFieldName,n=t.InheritanceInfo.ChildFieldName,i=t.GetFValue(e),r=Object.assign({},t);(t=i).SetFValue(n,r)}var s=this._moList.AddMo(t);if(0!=Ext.isEmpty(s)){h=!0;var d=this._findRecordById(t.Id);Ext.isNotEmpty(d)?this.RefreshRowByMoTemporarily(t):(d=this.ConvertMoToRecord(t),o.add(d)),l.push(d),u.push(t),a++}else c=c.concat(s)}),this);var d=-1;if(n.forEach((function(t){var e=t;Ext.isObject(t)&&(e=t.Id),this._moList.RemoveMo(e),h=!0;var n=o.indexOfId(e);-1!=n&&(o.removeAt(n),d=n),s++}),this),d>-1){d>o.getCount()-1&&(d=o.getCount()-1);var f=o.getAt(d);!f||this instanceof Ul.GridCheckListViewerAdapter||this.UlvMainCtrlr.SelectItem(f.id||f.Id)}a-s!=0&&this.UlvMainCtrlr.UpdateTotalRowCount(a-s),r||1==this.UlvMainCtrlr.IsPreviewSourceField||0!=Ext.isEmpty(u)||0!=this.UlvMainCtrlr.IsAutoInlineEdit()||this instanceof Ul.GridCheckListViewerAdapter||this.UlvMainCtrlr.SelectItem(u),Ext.isNotEmpty(c)&&this.RefreshRowsByMos(c,null,null),h&&1!=i&&this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ValueChange,this,t,e,n)}},RefreshRowByMoTemporarily:function(t){if(t)if(this.Control instanceof Ui.CustomGridUi)this.Control.RefreshMoDataList(this._moList.MoDataList);else{var e=this.UlvMainCtrlr.ConvertMoToRecord(t),n=[];for(var i in e.data)t.hasOwnProperty(i)||n.push(i);for(var r in n)delete e.data[n[r]];var o=this.Control.getStore().getById(t.Id);for(var a in o||(o=this.ConvertMoToRecord(t),this.Control.getStore().add(o)),o.$InlineEditJson={},e.json)o.$InlineEditJson[a]=e.json[a];for(var a in o.beginEdit(),e.data)Common.MetaObjectWeb.IsMo(e.data[a])?o.data[a]=e.data[a]:o.set(a,e.data[a]);o.endEdit();var s=this.UlvMainCtrlr.SelectionAdapter.GetSelectionNative();this.UlvMainCtrlr.SelectionAdapter.SetSelectionNative(s)}},_copyRecord:function(t,e){for(var n in Ext.isEmpty(e)&&(e={id:t.id,json:{},data:{}}),t.json)e.json[n]=t.json[n];for(var n in t.data)e.data[n]=t.data[n];return e},RollbackRecord:function(t){var e=this.UlvMainCtrlr.GetSelectedRecord();if(Common.Debug.Assert(e&&e.id==t.Id,"record not found in RollbackRecord"),"New"==e.json.$State)this.Control.getStore().remove(e);else{for(var n in e.json)e.json[n]=t[n],e.$InlineEditJson&&(e.$InlineEditJson[n]=t[n]);e.reject()}this.Control.getView().refresh(!1)},ConvertRecordToMo:function(t){var e=null;return 0==Ext.isEmpty(t)&&(e="Common.Observable"!=this.Control.BaseClassName||t.json?Common.MetaObjectWeb.WrapToMo(t.json,this._moList.TypeDefId,this._moList.ReportId):Common.MetaObjectWeb.WrapToMo(t,this._moList.TypeDefId,this._moList.ReportId)),e},ConvertMoToRecord:function(t){var e={};if(this.Control instanceof Ui.CustomGridUi)return t;for(var n=this.Control.getColumnModel().config,i=0;i<n.length;i++){var r=n[i].dataIndex;e[r]=t[r]}e.Id=t.Id;var o=new(this.Control.getStore().recordType)(e,t.Id);return o.json=t,o},SetUserSetting:function(t){this.Control.SetUserSetting(t)},GetUserSetting:function(){return this.Control.GetUserSetting()},Rebind:function(t){this.CreateDataObject(),this.SetValue(this._moList),t&&t()},GetSortSetting:function(){return this.Control.GetSortSetting()},GetFullSize:function(){if(this.Control)return this.Control.GetFullSize()},ExportToExcel:function(){Ul.GridExporter.Export(this.UlvMainCtrlr)},ResetVariable:function(){this._selectedCell=null},GetMoByRowIndex:function(t){var e,n=this.Control;if(n)return(e=n.store.getAt(t))?this.ConvertRecordToMo(e):void 0},_applyMoToRecord:function(t,e){if(Common.Merger.FastMerge(e.json,t),this.Control.getColumnModel){var n=this.Control.getColumnModel().config;e.beginEdit();for(var i=0;i<n.length;i++)if(!Ext.isEmpty(n[i].Column)){var r=n[i].Column.Name,o=t[r];try{e.set(r,o)}catch(t){}}this.Control.ResetRecordStyle&&this.Control.ResetRecordStyle(e),e.endEdit(),e.commit()}else this.Control.ApplyMoToRecord(t,e)},____applyMoToRecord:function(t,e){t=Common.MetaObjectWeb.CreateMo(t);var n=Common.MetaObjectWeb.CreateMoByData(e.json,e.json.$TypeDefId,e.json.$ReportId);if(t&&n){n.CopyFromMo(t,!0),0==this.UlvMainCtrlr.IsComposite()&&n.Commit();var i=this.Control.getColumnModel().config;e.beginEdit();for(var r=0;r<i.length;r++)if(!Ext.isEmpty(i[r].Column)){var o=i[r].Column.Name,a=t.Data[o];a&&(a instanceof Common.MetaObjectWeb||a.Data&&a.Data.$Object&&"Common.MetaObjectWeb"==a.Data.$Type)&&(delete a.Data.$Object,e.data[o]&&e.data[o].Data&&delete e.data[o].Data.$Object);try{e.set(o,a)}catch(t){}}e.endEdit(),e.commit()}},_createControlConfig:function(){return{_rawData:Common.Util.TryGetValue(this._moList,"MoDataList",[]),Setting:this.Setting,ViewSetting:this.Setting.View,Features:this.Features,enableKeyEvents:!0,_defaultRowIcon:Common.Util.TryGetValue(this._moList,"Icon")}},_createStylesForCondFormat:function(){if(!(this.Control instanceof Ui.CustomGridUi||Ext.isEmpty(this.Setting.View.ConditionalFormats)))for(var t=0;t<this.Setting.View.ConditionalFormats.length;t++){var e=this.Setting.View.ConditionalFormats[t],n="."+e.Cls+" .x-grid3-cell-inner",i="."+e.Cls,r="."+e.Cls+'[class*="selected"] .x-grid3-cell-inner';Common.UtilUi.AddRowFormatingStyle(i,"{"+e.Style+"}"),Common.UtilUi.AddRowFormatingStyle(n,"{"+e.Style+"}"),Common.UtilUi.AddRowFormatingStyle(r,"{background-image: url(/customization/bg/selection-background.jpg);background-blend-mode:multiply;}")}},_createStylesForRowHeight:function(){var t=Common.Util.TryGetValue(this.Setting,"Extra.ExtraJsonPropReport.GridRowHeight");if(t){var e=".a-GridRowHeight-"+t+" {height:"+(Number(t)+6)+"px;}",n="html > head > style:contains('{0}')".format(e);if($(n).length>0)return;var i=$("<style>"+e+"</style>");$("html > head").append(i)}},_addListenersForControlEvents:function(){this.Control.on({scope:this,keydown:function(t){this._keyCodeInValidKeys(t)&&this.fireEvent(Ul.UlvMainCtrlr.EventEnum.EnterEditMode,this),this.fireEvent(Ul.UlvMainCtrlr.EventEnum.KeyDown,this,t)},commandClick:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.CommandClick,this,t)},rowclick:function(t,e,n){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemClick,this),this.fireEvent(Ul.UlvMainCtrlr.EventEnum.EnterEditMode,this)},cellclick:function(t,e,n,i){this._selectedCell=n},rowdblclick:function(t,e,n){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemDblClick,this,e,n)},resize:function(t,e,n,i){this.fireEvent("Resize",this,null)},columnresize:function(t,e){this.fireEvent("ColumnResize",this,null)},afterrender:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this)},destroy:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.DestroyViewer,this)},LoadUserSetting:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.LoadUserSettingRequest,this)},UserSettingChange:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.UserSettingChange,this,e)},BindData:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.BindData,this)},RefreshContextMoDataList:function(t){this._moList.MergeWithMoList(t),t.forEach(function(t){this._moList.UpdateMo(t)}.bind(this)),this.Control._createStore(t,!1),this._raiseValueChangeEvent()},rowcontextmenu:this._onCotrol_RowContextMenu,containercontextmenu:this._onCotrol_ContainerContextMenu})},_keyCodeInValidKeys:function(t){return t.keyCode==t.F2},_raiseValueChangeEvent:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ValueChange,this)},_findRecordById:function(t){var e=this.Control.getStore(),n=e.find("Id",t);return n>=0?e.getAt(n):null},_onCotrol_RowContextMenu:function(t,e,n){n.stopEvent(),this.UlvMainCtrlr.CommandBarCtrlr.ShowContextMenu(n.xy[0],n.xy[1])},_onCotrol_ContainerContextMenu:function(t,e){e.stopEvent(),this.UlvMainCtrlr.CommandBarCtrlr.ShowContextMenu(e.xy[0],e.xy[1])},ShowSettings:function(){this.Control.ShowSettings()}})},78508:()=>{Common.Cs.Define("Ul.UlvDataGridRowEditorCtrlr","Ul.UlvDataCtrlr",{rowNumber:null,cellNumber:null,_showEditFormDelayed:null,constructor:function(t){this.callParent(arguments),this.UlvMainCtrlr.on(Ul.UlvMainCtrlr.EventEnum.AfterCreateInnerParts,(function(){this.UlvMainCtrlr.ViewerAdapter&&(this.UlvMainCtrlr.ViewerAdapter.on("ColumnResize",(function(){this.ChangeFormPanelSizeAndPosition()}),this),this.UlvMainCtrlr.ViewerAdapter.on("Resize",(function(){this.ChangeFormPanelSizeAndPosition()}),this))}),this),this.UlvMainCtrlr.on(Ul.UlvMainCtrlr.EventEnum.ItemClick,this._ViewerAdapter_Click,this),this.UlvMainCtrlr.on(Ul.UlvMainCtrlr.EventEnum.ItemDblClick,this._ViewerAdapter_DblClick,this),this._showEditFormDelayed=new Ext.util.DelayedTask(this._showEditFormWithDelay,this)},_ViewerAdapter_DblClick:function(){this._showEditFormDelayed.cancel(),this._isRowDoubleClicked=!0,this.ShowEditForm()},_ViewerAdapter_Click:function(){this._showEditFormDelayed.delay(200)},_showEditFormWithDelay:function(){!this._isRowDoubleClicked&&this.UlvMainCtrlr.SelectionAdapter.GetSelectedCell&&"Id"!=this.UlvMainCtrlr.SelectionAdapter.GetSelectedCell().name?this.ShowEditForm():Ext.isNotEmpty(this.FormPanelCtrlr)&&Ext.isNotEmpty(this.FormPanelCtrlr.Adapter)&&this.FormPanelCtrlr.ForceClose(!1)},GetEditFormParams:function(t,e,n,i){if(n&&0==this.HasAccessAdd(t)){if(!i)return;i()}var r=this.callParent(arguments);return r.IsGridEditor=!1,r},PrepateMoForNewForm:function(t){if(Ext.isEmpty(t)&&Common.Util.TryGetValue(this,"Setting.Data.TypeDefId",null))return Common.MetaObjectWeb.CreateNewMo(this.Setting.Data.TypeDefId);if(t&&this.UlvMainCtrlr.IsComposite()){var e=Common.Util.TryGetValue(this.Setting,"Extra.Relation");t.SetFValue(e.ParentFdName,e.ParentMoId)}return t},_showEditFormHelper:function(t,e,n,i,r){if(!n&&this._isRowDoubleClicked){var o=Common.Util.TryGetValue(this.Setting,"Extra.ExtraJsonPropReport.ItemDbClick",!0);return 0==o?(this._isRowDoubleClicked=!1,void(r&&r(new Common.WaterfallBreakerException))):(Ext.isNotEmpty(this.FormPanelCtrlr)&&Ext.isNotEmpty(this.FormPanelCtrlr.Adapter)&&this.FormPanelCtrlr.ForceClose(!1,r),this.callParent(arguments),void(this._isRowDoubleClicked=!1))}Common.Async.Waterfall("UlvDataGridRowEditorCtrlr._showEditFormHelper",{SaveAndCloseIfNeeded:function(e){Ext.isEmpty(this.FormPanelCtrlr)?e():this.FormPanelCtrlr.Mo&&(t&&t.Id==this.FormPanelCtrlr.Mo.Id?e&&e():this.FormPanelCtrlr.SaveAndClose(e))}.bind(this),_showEditFormHelperMore:this._showEditFormHelperMore.bind(this,t,e,n,void 0),release:function(t){this._isRowDoubleClicked=!1,t()}.bind(this)},function(t,e){this._isRowDoubleClicked=!1,Common.Async.Finalize(t,e,r)}.bind(this))},_showEditFormHelperMore:function(t,e,n,i,r){if(e=Ext.value(e,!1)||this.UlvMainCtrlr.GetReadOnly(),this.FormPanelCtrlr){var o=this._getEditCell(i);this.FormPanelCtrlr._moveToCell(o.name,{x:o.x,y:o.y,width:o.width,height:o.height}),t.Id==this.FormPanelCtrlr.Mo.Id&&this.UlvMainCtrlr.RefreshRowByMoTemporarily(this.FormPanelCtrlr.Mo),r&&r()}else{var a=this.GetEditFormParams(t,e,n);if(!a)return void r();a.IsGridEditor=!0;var s={xtype:"Ul.GridRowEditorCtrlr",UlvMainCtrlr:this.UlvMainCtrlr,FormRequestParams:a,_isReadOnly:e,ParentMoProvider:this.UlvMainCtrlr,IsAutoInlineEdit:!0,IsNew:n},l=Ext.create(s);this.FormPanelCtrlr=l,this._subscribeToFormPanelCtrlEvents(),Ul.ApplicationCtrlr.on(Ul.ApplicationCtrlr.EventEnum.AfterSystemOrReportChange,(function(t,e){this._disposeFormPanel()}),this),this.FormPanelCtrlr.ShowFormWindow(r)}this.UlvMainCtrlr.SelectionAdapter.AddHighlightClassToSelectedCellsRow()},_subscribeToFormPanelCtrlEvents:function(){this.callParent(arguments),this.FormPanelCtrlr&&(this.FormPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.KeyPress,this._onFormPanelCtrlr_KeyPress,this),this.FormPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.AfterReady,this._onFormPanelCtrlr_AfterReady,this),this.FormPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.AfterSaveAndClose,this._onFormPanelCtrlr_AfterSaveAndClose,this))},_unSubscribeFromFormPanelCtrlEvents:function(){this.callParent(arguments),this.FormPanelCtrlr&&(this.FormPanelCtrlr.un(Ul.FormPanelCtrlr.EventEnum.KeyPress,this._onFormPanelCtrlr_KeyPress,this),this.FormPanelCtrlr.un(Ul.FormPanelCtrlr.EventEnum.AfterReady,this._onFormPanelCtrlr_AfterReady,this))},_onFormPanelCtrlr_AfterReady:function(t,e){if(this.FormPanelCtrlr&&this.FormPanelCtrlr instanceof Ul.GridRowEditorCtrlr&&this.UlvMainCtrlr.SelectionAdapter){this.FormPanelCtrlr.IsNew&&(this.UlvMainCtrlr.RefreshRowByMoTemporarily(this.FormPanelCtrlr.Mo),this.UlvMainCtrlr.SelectItem(this.FormPanelCtrlr.Mo));var n=this._getEditCell();this.FormPanelCtrlr._moveToCell(n.name,{x:n.x,y:n.y,width:n.width,height:n.height})}},_getEditCell:function(t){var e,n=this.UlvMainCtrlr.SelectionAdapter.GetSelectedCell();if(Ext.isEmpty(t)?e=this._findNextEditableCellIndex(n.colIndex,!0):1==t?e=this._findNextEditableCellIndex(n.colIndex+1,!0):0==t&&(e=this._findNextEditableCellIndex(n.colIndex-1,!1)),!e)throw new Common.Exception({Text:"فیلد قابل ویرایشی وجود ندارد."});return this.UlvMainCtrlr.SelectionAdapter.SelectCell(n.rowIndex,e),this.editedCell=[n.rowIndex,e],this.UlvMainCtrlr.SelectionAdapter.GetSelectedCell()},____findNextEditableCellIndex_Old:function(t,e){if(this.FormPanelCtrlr&&t&&this.FormPanelCtrlr.Setting.View.ControlInfo){var n=this.UlvMainCtrlr.SelectionAdapter.GetGridColumns(),i=n.length;(t<2||t>i)&&(t=1==e?2:i);var r=!1,o=t-1;do{var a=n[o].colName,s=this.FormPanelCtrlr.GetFieldlByName(a);s&&1!=s.Setting.IsReadOnly&&1!=s.Setting.IsAutomatic&&(r=!0,t=o),1!=e?o--:o++,o==i&&(o=0)}while(!r&&o!=t)}return++t},_findNextEditableCellIndex:function(t,e){var n,i=this.UlvMainCtrlr.SelectionAdapter.GetGridColumns(),r=[];if((Ext.isEmpty(t)||-1==t)&&(t=e?0:i.length-1),e){for(var o=t;o<i.length;o++)r.push(i[o]);for(o=0;o<t;o++)r.push(i[o])}else{for(o=t;o>=0;o--)r.push(i[o]);for(o=i.length-1;o>t;o--)r.push(i[o])}if(n=r.find((function(t){if(0==t.hidden){var e=this.FormPanelCtrlr.GetFieldlByName(t.colName);if(e&&1!=e.GetReadOnly()&&0!=e.GetEnable()&&e.Adapter.Control.Focusable&&e.Adapter.Control.Focusable.CanFocus()&&(1!=e.Setting.IsAutomatic||"FullEdit"==e.Setting.EditType))return n=t,!0}}),this))return n.id},ChangeFormPanelSizeAndPosition:function(){if(this.FormPanelCtrlr){var t=this._getEditCell();this.FormPanelCtrlr._moveToCell(t.name,{x:t.x,y:t.y,width:t.width,height:t.height})}},isInside:!1,_onFormPanelCtrlr_KeyPress:function(t,e){var n=this.UlvMainCtrlr.SelectionAdapter;if(this.editedCell[0]!==n._cell[0]&&n.SelectCell(this.editedCell[0],this.editedCell[1]),this.UlvMainCtrlr.IsAutoInlineEdit()){if(e.keyCode==e.TAB&&e.shiftKey)return this._showEditFormHelperMore(this.FormPanelCtrlr.Mo,!1,!0,!1),void e.stopEvent();if(e.keyCode==e.TAB)return this._showEditFormHelperMore(this.FormPanelCtrlr.Mo,!1,!0,!0),void e.stopEvent();if(e.keyCode==e.ENTER){if(this.FormPanelCtrlr){if(this.isInside)return;this.isInside=!0,Common.Async.Waterfall("UlvDataGridRowEditorCtrlr.EnterKey",{SaveAndCloseForm:this.FormPanelCtrlr.SaveAndClose.bind(this.FormPanelCtrlr),SelectNextRow:function(t){this.UlvMainCtrlr.CanSelectNext()?(this.UlvMainCtrlr.SelectNext(),this.UlvMainCtrlr.ShowEditForm(null,null,t)):this.UlvMainCtrlr.ShowNewForm(null,null,t)}.bind(this)},function(t,e){this.isInside=!1,Common.Async.Finalize(t,e)}.bind(this))}}else if(e.keyCode==e.ESC){if(this.FormPanelCtrlr.Mo,this.FormPanelCtrlr.ForceClose(),this.UlvMainCtrlr)if(this.UlvMainCtrlr.RollbackRecord(this.FormPanelCtrlr.CachedMo),this.FormPanelCtrlr&&this.FormPanelCtrlr.IsNew)this.UlvMainCtrlr.SelectLast();else{var i=this._getEditCell();i&&this.UlvMainCtrlr.SelectionAdapter.SelectCell(i.rowIndex,i.colIndex)}return void e.stopEvent()}}},_onFormPanelCtrlr_AfterSaveAndClose:function(t,e){this.UlvMainCtrlr.SelectNext(),this.UlvMainCtrlr.ShowEditForm()}})},18397:()=>{Common.Cs.Define("Ui.CustomGraph","Common.Observable",{gojsWrapper:null,constructor:function(){this.callParent(arguments),this.gojsWrapper=new GojsWrapper({font:"12px BarsaFont"}),this.gojsWrapper.on({ChangedSelection:this._selectionChange.bind(this),doubleClick:this._nodeDoubleClick.bind(this)})},Draw:function(t){this._pendingData&&(this.gojsWrapper._draw(this._pendingData,t),this._pendingData=null)},InitDiagram:function(t){this.gojsWrapper&&this.rendered?this.gojsWrapper._reloadData(t):this._pendingData=t},GetDiagram:function(){return this.gojsWrapper.diagram},_nodeDoubleClick:function(t,e){this.fireEvent("dblClick")},_selectionChange:function(){this.fireEvent("selectionchange")}}),Common.Cs.Define("Ui.GraphTemplates","",{singleton:!0})},49235:()=>{Common.Cs.Define("GojsWrapper","Common.Observable",{diagram:null,constructor:function(t){this.callParent(arguments),this._loadGo()},_loadGo:function(t){"undefined"==typeof go?Ext.Loader.load(["/Lib/go.js"],function(){this._overrideGo(),t&&t()}.bind(this)):t&&t()},_overrideGo:function(){go.bind2=function(t,e,n){return new go.Binding(t,"",(function(t){var i=t.MoData[e];return n?n(i):i}))},go.textStyle=function(t){return[{font:config.font,stroke:"rgba(0, 0, 0, .60)",visible:!1},new go.Binding("visible",t,(function(t){return void 0!==t}))]},go.textStyle2=function(t){return[{font:config.font,stroke:"rgba(0, 0, 0, .60)",visible:!1},go.bind2("visible",t,(function(t){return void 0!==t}))]}},_draw:function(t,e){this._loadGo(function(){if("undefined"!=typeof go){var n=go.GraphObject.make,i=n(go.Diagram,e,{initialAutoScale:go.Diagram.Uniform,initialContentAlignment:go.Spot.Center,"undoManager.isEnabled":!0,layout:n(go.TreeLayout,{angle:90,layerSpacing:35,arrangement:go.TreeLayout.ArrangementHorizontal,arrangementSpacing:new go.Size(50,50)})});t.Nodes.forEach(this.prepareNode);var r=this.Template&&Ui.GraphTemplates[this.Template.Name],o=r?r.call(this,i,this.Template.Bindings):{};i.nodeTemplate=o.nodeTemplate||n(go.Node,"Auto",{doubleClick:function(){this.fireEvent("doubleClick",arguments)}.bind(this),fromSpot:go.Spot.RightSide,toSpot:go.Spot.LeftSide,layoutConditions:go.Part.LayoutStandard&~go.Part.LayoutNodeSized},n(go.Shape,{stroke:"black",strokeWidth:1,fill:"#fff"},new go.Binding("fill","color"),new go.Binding("figure","_figure"),new go.Binding("width","_width"),new go.Binding("height","_height")),n(go.TextBlock,{font:"13px BarsaFont",margin:5,wrap:go.TextBlock.WrapFit,isMultiline:!0,maxSize:new go.Size(90,90),textAlign:"center"},new go.Binding("text","caption"))),i.linkTemplate=o.linkTemplate||n(go.Link,{routing:go.Link.Orthogonal,corner:10},n(go.Shape),n(go.Shape,{toArrow:"Standard"})),i.addDiagramListener("ChangedSelection",function(){this.fireEvent("ChangedSelection",arguments)}.bind(this)),i.model=this._getModel(t),this.diagram=i}else alert("diagram util is undefined!")}.bind(this))},prepareNode:function(t){switch(t._width=70,t._height=70,t.shape){case"Parallelogram":return t._figure="Parallelogram1",void(t._width=90);case"Ellipse":return t._figure="Ellipse",void(t._width=100);case"Rectangle":case"Rectangle3":return t._figure="RoundedRectangle",void(t._width=100);case"Rectangle2":return t._figure="Rectangle",void(t._width=100);case"Diamond":return t._figure="Diamond",void(t._width=100);case"Trapezoid":return t._figure="Trapezoid",void(t._width=100);case"GroupShape":return t._figure="Circle",t._width=50,void(t._height=50);case"Cart":case"Gauge":return t._figure="Rectangle",t._width=60,void(t._height=60);case"FourPointStart":return void(t._figure="FivePointedStart");case"RegularPentagon":return void(t._figure="Pentagon");case"FourPointStart":return void(t._figure="FivePointedStart");default:return void(t._figure=t.shape)}},_reloadData:function(t){this._loadGo(function(){this.gojsWrapper.diagram.model=this._getModel(t)}.bind(this))},_getModel:function(t){var e=go.GraphObject.make;if(t.ReuseExistingNodes)return new go.GraphLinksModel(t.Nodes,t.Links);var n=e(go.TreeModel);return n.nodeDataArray=t.Nodes,n}})},81569:()=>{Common.Cs.Define("Ul.HetroTreeSelectionAdapter","Ul.TreeSelectionAdapter",{GetSelectedParentMetaObject:function(){var t=this._selectionModel.selNode;return t&&t.parentNode?this.UlvMainCtrlr.ConvertRecordToMo(t.parentNode.attributes.Data):null}})},61010:()=>{Common.Cs.Define("Ul.HetroTreeSelectionAdapter_Graph","Common.Observable",{_control:null,constructor:function(t){this.callParent(arguments),this._control=this.UlvMainCtrlr.GetViewerUi()},IsSelectable:function(){},CanSelectNext:function(){},CanSelectPrev:function(){},SelectNext:function(){},SelectPrev:function(){},SelectFirst:function(){},SelectLast:function(){},GetSelectedMetaObject:function(){var t=this._getSelectedNode();if(!t)return null;var e=t.data,n=null;return e&&(n=this.UlvMainCtrlr.ConvertRecordToMo(e)),n},_getSelectedNode:function(){var t=this._control.GetDiagram();if(t){for(var e=null,n=t.selection.iterator;n.next();)e=n.value;return e}},GetSelectedMetaObjectList:function(){},GetSelectedId:function(){},GetPrevSelectedId:function(){},GetSelectedIdList:function(){},SelectItem:function(t){},SelectByKeyboard:function(t,e,n,i){},GetSelectionCount:function(){var t=this._control.GetDiagram();return t?t.selection.count:0}})},70519:()=>{Common.Cs.Define("Ul.HetroTreeUlvDataCtrlr","Ul.TreeUlvDataCtrlr",{ShowEditForm:function(){this.callParent(arguments)},SetSelectedRelation:function(t){this._selectedHetroRelation=t},PrepateMoForNewForm:function(t){var e=this._selectedHetroRelation,n=this.UlvMainCtrlr.GetSelectedMetaObject();if(!t)if(e){var i=e.TargetTypeDefId;t=Common.MetaObjectWeb.CreateNewMo(i)}else i=Common.Util.TryGetValue(this.Setting,"Extra.Report.TypeDefId"),t=Common.MetaObjectWeb.CreateNewMo(i);return e&&"Report"!=e.RelationType&&e.ParentFieldDBName&&t.SetFValue(e.ParentFieldDBName,n.Id),t},_onFormPanelCtrlr_AfterClose:function(t,e){this.callParent(arguments),this._selectedHetroRelation=null},GetEditFormParams:function(t,e,n,i){var r,o=this.callParent(arguments);return n?this._selectedHetroRelation?(r=this.UlvMainCtrlr.GetSelectedMetaObject(),o.MoContext.HetTree_RelationItemId=this._selectedHetroRelation.Id,o.MoContext.HetTree_ParentIdDbName=this._selectedHetroRelation.ParentFieldDBName):r=this.UlvMainCtrlr.ParentMo:r=this.UlvMainCtrlr.SelectionAdapter.GetSelectedParentMetaObject(),o.ParentMo=r,this._selectedHetroRelation&&"Report"==this._selectedHetroRelation.RelationType&&(o.TargetReportId=this._selectedHetroRelation.TargetReportId),t.$ReportId&&(o.MoContext.ReportId=t.$ReportId),o},ShowNewForm:function(){this.callParent(arguments)},Delete:function(){this.callParent(arguments)}})},90442:()=>{Common.Cs.Define("Ul.HetroTreeUlvDataCtrlr_Graph","Ul.UlvDataCtrlr",{ShowEditForm:function(){this.callParent()},ShowNewForm:function(){},Delete:function(){}})},88763:()=>{Common.Cs.Define("Ul.HetroTreeViewerAdapter","Ul.TreeViewerAdapter",{GetParentId:function(t){return t&&t.$ParentId},ConvertRecordToMo:function(t){var e=null;return 0==Ext.isEmpty(t)&&(e=Common.MetaObjectWeb.CreateMoByData(t,t.$TypeDefId,t.$ReportId)),e},_loadChildren:function(t,e){for(var n=1,i=t.parentNode;null!=i&&i!=this.Control.getRootNode();)n++,i=i.parentNode;var r=Common.Util.TryGetValue(t.attributes,"Data.$TypeDefId");Ext.isEmpty(r)&&(r=Common.Util.TryGetValue(this.Setting.Extra,"Report.TypeDefId"));var o={parentId:t.attributes.key,parentTypeDef:r,reportId:this.Setting.Extra.Report.Id,nodeLevel:n};Common.Ajax.GetServerData("List94.F14_GetNodeChildrenHetro",o,(function(t){if(t){var n=t.map((function(t){return this._createNode(t)}),this);e(null,n)}}),null,e,this)},_getChildernFromServerAndLoadThem:function(t,e){Common.Async.Waterfall("Ul.HetroTreeViewerAdapter._getChildernFromServerAndLoadThem",[this._loadChildren.bind(this,t),function(t,n){e(t,{status:null!=t}),n()}.bind(this)],(function(t,e){}))},CreateDataObject:function(){this.Setting.Data&&(this._moList=new Common.MetaObjectListWeb(this.Setting.Data))},_onCotrol_ContextMenu:function(t,e){if(!t.attributes.IsGroup){this.Control.getSelectionModel().select(t);var n=this.UlvMainCtrlr.CommandBarCtrlr.ContextMenu,i=t.attributes.Data.$TypeDefId,r=t.attributes.Data.$TypeDefCaption;if(i){n.getComponent("Delete").disable(),n.getComponent("Edit").disable();var o=n.getComponent("New");o.hide(),o.setText(BBB.New+" - "+r),this._createContextMenuItems(t,n),n.showAt(e.xy)}}},_createContextMenuItems:function(t,e){var n=this.UlvMainCtrlr.Setting.View.RelationList;if(n){var r=t.attributes.Data.$TypeDefId;for(i=0;i<n.length;i++){var o=n[i];if(o){var a=e.getComponent(o.Id);if(a&&e.remove(a,!0),o.SourceTypeDefId==r){var s=this.UlvMainCtrlr.CommandBarCtrlr._createCmd_New();s.Id=o.Id;var l=o.ObjectInRelationName;o.GroupCaption&&(l+=" ("+o.GroupCaption+")"),l+=" جدید...",s.Text=l,s.Handler=function(t,e){this.UlvMainCtrlr.SetSelectedHetroRelation(t.Tag),this.UlvMainCtrlr.DataCtrlr.ShowNewForm(null,null)};var u=this.UlvMainCtrlr.CommandBarCtrlr.MenuAdapter._createMenuItem(s,!0);u.Tag=o,e.insert(0,u)}}}}},_createNode:function(t){var e=this.callParent(arguments);return e.Data.$IsGroup&&(e.text="["+e.text+"]",e.cls="groupNode"),e},____createNodes:function(t,e){e.children=[],t.forEach((function(t){var n=this._createTreeNode(t);this._addGroupNode(t.$PersistGroupNodes,n),t.$GroupNode?(this._findOrCreateGroupNode(t,e),e._groupNode.leaf=!1,e._groupNode.children.push(n)):e.children.push(n),Ext.isEmpty(t.$Children)||this._createNodes(t.$Children,n)}),this)},____findOrCreateGroupNode:function(t,e){for(var n=0;n<e.children.length;n++)if(e.children[n].id==t.$GroupNode+e.id)return;var i=this._createGroupNode(t.$GroupNode+e.id,t.$GroupNode);e.children.push(i),e._groupNode=i},____createGroupNode:function(t,e){return{id:t,text:"["+e+"]",children:[],leaf:!0,IsGroup:!0,cls:"groupNode"}},____addGroupNode:function(t,e){t&&t.split("#").forEach((function(t){e.leaf=!1;var n=this._createGroupNode(t+e.id,t);e.appendChild?e.appendChild(n):e.children?e.children.push(n):e.children=[n]}),this)}})},99689:()=>{Common.Cs.Define("Ul.HetroTreeViewerAdapter_Graph","Ul.BaseListViewerAdapter",{UlvMainCtrlr:null,Features:null,Setting:null,Control:null,_dataList:null,constructor:function(t){this.callParent(arguments),this.addEvents(Ul.HetroTreeViewerAdapter_Graph.EventEnum.LayoutChange),this.on({scope:this,"Ul.HetroTreeViewerAdapter_Graph.LayoutChange":this._onControlLayoutChange}),this.CreateDataObject(),this.CreateViewerUi()},CreateViewerUi:function(){var t=Common.Util.TryGetValue(this.Setting,"Extra.ExtraJsonPropReport.Template"),e=Common.Util.TryGetValue(this.Setting,"ClassNames.CustomUi.Selector",null),n=LoginFormData.CustomUiPrefix;this.Control=null!=e||n?new Ui.CustomGraph({Template:t,originalXtype:"Ui.Graph",Setting:this.Setting}):new Ui.Graph({Template:t}),this._addListenersForControlEvents(),this.Rebind()},GetViewerUi:function(){return this.Control},CreateDataObject:function(){this.Setting.Data&&(this._dataList=this.Setting.Data.MoDataList)},GetValue:function(){return this._dataList},SetValue:function(t){this._dataList=t,Ext.isNotEmpty(this._dataList)&&(t instanceof Common.MetaObjectListWeb==0&&Common.Util.TryGetValue(t,"Data.$Type")&&(this._dataList=new Common.MetaObjectListWeb(t)),this.Setting.Data=this._dataList.Data),this.Rebind()},RefreshRowsByMos:function(t,e,n){},ConvertRecordToMo:function(t){var e=null;return Ext.isNotEmpty(t)&&(e=Common.MetaObjectWeb.CreateMo(t.MoData)),e},ConvertMoToRecord:function(t){},SetUserSetting:function(t){},GetUserSetting:function(){},Rebind:function(t){if(this.Setting.Data){var e=this.Setting.Data.MoDataList,n=this.Setting.View.ReuseExistingNodes,i={Nodes:[],Links:[],ReuseExistingNodes:n},r=n?{}:null;this._createGraphData(e,null,i,r),this.Control.InitDiagram(i)}t&&t()},GetSortSetting:function(){},_addListenersForControlEvents:function(){this.Control.on({scope:this,render:this._onControl_Render,dblClick:this._onControl_DblClick,selectionchange:this._onControl_SelectionChange})},_onControl_Render:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this)},_onControl_DblClick:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemDblClick,this)},_onControl_SelectionChange:function(){this.UlvMainCtrlr.SelectionAdapter.fireEvent("SelectionChange",this)},_onControlLayoutChange:function(t){var e=this.Control.GetDiagram();switch(t){case"RightToLeft":e.layout.angle=180;break;case"LeftToRight":e.layout.angle=0;break;case"UpToDown":e.layout.angle=270;break;case"DownToUp":e.layout.angle=90}e.layoutDiagram()},sequence:1e3,_createGraphData:function(t,e,n,i){for(var r=0;r<t.length;r++){var o;this.Setting.View.ShapeList&&(o=this.Setting.View.ShapeList[t[r].$TypeDefId]);var a=t[r].Id,s={id:a,caption:t[r].$Caption,shape:o?o.Type:"Circle",color:o?o.Color:"white",MoData:t[r]};if(i){if(e&&n.Links.push({from:e,to:a}),n[a])continue;s.key=a,n[a]=s}else s.key=this.sequence++,s.parent=e||0;var l=t[r].$Children;l&&l.length>0&&this._createGraphData(l,s.key,n,i),n.Nodes.push(s)}},statics:{EventEnum:{LayoutChange:"Ul.HetroTreeViewerAdapter_Graph.LayoutChange"}}})},19537:()=>{Common.Cs.Define("Ul.UlvRibbonAdapter_Tree_Graph","Ul.UlvRibbonAdapter",{_createConfig_Ribbon:function(){var t,e=this.callParent(arguments),n=e.Tabs[0].Groups[0];return(t=this.GeneralCommands.LeftToRight).CanCreate&&n.Buttons.push(this._createButton(t)),(t=this.GeneralCommands.RightToLeft).CanCreate&&n.Buttons.push(this._createButton(t)),(t=this.GeneralCommands.UpToDown).CanCreate&&n.Buttons.push(this._createButton(t)),(t=this.GeneralCommands.DownToUp).CanCreate&&n.Buttons.push(this._createButton(t)),e}})},80839:()=>{Common.Cs.Define("Ul.UlvRibbonCtrlr_Tree_Graph","Ul.UlvRibbonCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.UlvRibbonAdapter_Tree_Graph",t},_createGeneralCommands:function(){this.callParent();var t=this._createGraphGeneralCommands();Common.Merger.FastMerge(this.GeneralCommands,t)},_createGraphGeneralCommands:function(){var t=this._createLayoutBtn(Ul.UlvRibbonCtrlr_Tree_Graph.GetCmd_LeftToRight_config()),e=this._createLayoutBtn(Ul.UlvRibbonCtrlr_Tree_Graph.GetCmd_RightToLeft_config()),n=this._createLayoutBtn(Ul.UlvRibbonCtrlr_Tree_Graph.GetCmd_UpToDown_config()),i=this._createLayoutBtn(Ul.UlvRibbonCtrlr_Tree_Graph.GetCmd_DownToUp_config()),r={};return r[t.Id]=t,r[e.Id]=e,r[n.Id]=n,r[i.Id]=i,r},_createLayoutBtn:function(t){var e=Common.Merger.Merge(t,this._defaultcommand,{onlyNewProperties:!0});return e.UseAlways=!0,e.IsLarge=!0,e.Parent=this,e.Handler=this._graphCommandHandler,e.CanCreate=function(){return!0},new Ul.Command(e)},_graphCommandHandler:function(t,e){this.UlvMainCtrlr.ViewerAdapter.fireEvent("Ul.HetroTreeViewerAdapter_Graph.LayoutChange",t.itemId)},statics:{GetCmd_LeftToRight_config:function(){var t={Id:"LeftToRight"};return t.Text=BBB.LeftToRight,t.Order=105,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Right,null,32),t},GetCmd_RightToLeft_config:function(){var t={Id:"RightToLeft"};return t.Text=BBB.RightToLeft,t.Order=106,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Left,null,32),t},GetCmd_UpToDown_config:function(){var t={Id:"UpToDown"};return t.Text=BBB.UpToDown,t.Order=107,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Up,null,32),t},GetCmd_DownToUp_config:function(){var t={Id:"DownToUp"};return t.Text=BBB.DownToUp,t.Order=108,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Down,null,32),t}}})},73469:()=>{Common.Cs.Define("Ul.UlvToolbarAdapter_Tree_Graph","Ul.UlvToolbarAdapter",{_createConfig_Toolbar:function(){var t=[];for(var e in["RefreshReport","-","LeftToRight","RightToLeft","UpToDown","DownToUp"].forEach((function(e){if("-"==e)t.push(e);else{var n=this.GeneralCommands[e];n&&n.CanCreate&&n.CanCreate()&&t.push(this._createButton(n,!1))}}),this),this.CustomCommands){var n=this.CustomCommands[e];if(n.ShowOnToolbar){var i=this._createButton(n,!1);t.push(i)}}for(var r=t.length-1;r>=0;r--)"-"==t[r]&&(r!=t.length-1&&0!=r&&"-"!=t[r+1]||(t.splice(r,1),0==r&&(r=1)));return t}})},94679:()=>{Common.Cs.Define("Ul.UlvToolbarCtrlr_Tree_Graph","Ul.UlvToolbarCtrlr",{CreateAdapter:function(){var t=this.CreateAdapterConfig();this.ToolbarAdapter=new Ul.UlvToolbarAdapter_Tree_Graph(t),LoginFormData.IsPortal&&(this.MenuAdapter=new Ul.UlvMenuAdapter(t))},_createGeneralCommands:function(){this.callParent();var t=this._createGraphGeneralCommands();Common.Merger.FastMerge(this.GeneralCommands,t)},_createGraphGeneralCommands:function(){var t=this._createLayoutBtn(Ul.UlvRibbonCtrlr_Tree_Graph.GetCmd_LeftToRight_config()),e=this._createLayoutBtn(Ul.UlvRibbonCtrlr_Tree_Graph.GetCmd_RightToLeft_config()),n=this._createLayoutBtn(Ul.UlvRibbonCtrlr_Tree_Graph.GetCmd_UpToDown_config()),i=this._createLayoutBtn(Ul.UlvRibbonCtrlr_Tree_Graph.GetCmd_DownToUp_config()),r={};return r[t.Id]=t,r[e.Id]=e,r[n.Id]=n,r[i.Id]=i,r},_createLayoutBtn:function(t){var e=Common.Merger.Merge(t,this._defaultcommand,{onlyNewProperties:!0});return e.UseAlways=!0,e.IsLarge=!0,e.Parent=this,e.Handler=this._graphCommandHandler,e.CanCreate=function(){return!0},new Ul.Command(e)},_graphCommandHandler:function(t,e){this.UlvMainCtrlr.ViewerAdapter.fireEvent("Ul.HetroTreeViewerAdapter_Graph.LayoutChange",t.itemId)}})},91645:()=>{Common.Cs.Define("Ul.MapDataCtrlr","Ul.UlvDataCtrlr",{PrepateMoForNewForm:function(t){t||(t=Common.MetaObjectWeb.CreateNewMo(this.Setting.Data.TypeDefId));var e=this.UlvMainCtrlr.ViewerAdapter,n=e.LastOnContextEventLoc;return n&&(t.SetFValue(e.FieldLat,n.lat),t.SetFValue(e.FieldLng,n.lng)),t}})},20580:()=>{Common.Cs.Define("Ul.MapSelectionAdapter","Common.Observable",{_diagram:null,constructor:function(t){this.callParent(arguments),this._control=this.UlvMainCtrlr.GetViewerUi(),this._control.on({scope:this,SelectionChanged:this._onControl_SelectionChanged})},IsSelectable:function(){},CanSelectNext:function(){},CanSelectPrev:function(){},SelectNext:function(){},SelectPrev:function(){},SelectFirst:function(){},SelectLast:function(){},GetSelectedMetaObject:function(){if(this._control._lastClickedMarker)return this._control._lastClickedMarker.options.Data},GetSelectedMetaObjectList:function(){},GetSelectedId:function(){if(this._control._lastClickedMarker)return this._control._lastClickedMarker.options.Id},GetPrevSelectedId:function(){},GetSelectedIdList:function(){},SelectItem:function(t){},SelectByKeyboard:function(t,e,n,i){},GetSelectionCount:function(){return 0},ExpandToNode:function(t){},_onControl_SelectionChanged:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this)},_onControlClick:function(t,e){},_findNodeToMove:function(t){},_canMove:function(t){},_findLastInnerChild:function(t){},_findNodePath:function(t,e,n,i){},statics:{}})},70946:()=>{Common.Cs.Define("Ul.MapViewerAdapter","Ul.BaseListViewerAdapter",{UlvMainCtrlr:null,Features:null,Setting:null,Control:null,_moList:null,_markers:null,FieldLat:null,FieldLng:null,LastOnContextEventLoc:null,constructor:function(t){this.callParent(arguments),this._markers=[],this.FieldLat=Common.Util.TryGetValue(this.Setting,"Extra.ExtraJsonPropReport.FieldLat"),this.FieldLng=Common.Util.TryGetValue(this.Setting,"Extra.ExtraJsonPropReport.FieldLng"),this.Polygon=Common.Util.TryGetValue(this.Setting,"Extra.ExtraJsonPropReport.Polygon"),this.CreateDataObject(),this.CreateViewerUi()},CreateViewerUi:function(){var t={Setting:this.Setting,Features:this.Features,Polygon:this.Polygon};this.Control=new Ui.Map(t),this._addListenersForControlEvents(),this.Rebind()},GetViewerUi:function(){return this.Control},CreateDataObject:function(){this.Setting.Data&&(this._moList=new Common.MetaObjectListWeb(this.Setting.Data))},GetValue:function(){return this._moList},SetValue:function(t){this._moList=t,t instanceof Common.MetaObjectListWeb==0&&Common.Util.TryGetValue(t,"Data.$Type")&&(this._moList=new Common.MetaObjectListWeb(t)),this.Rebind()},Rebind:function(t){this._moList instanceof Common.MetaObjectListWeb!=0&&(this.CreateDataObject(),Common.Debug.Assert(0==Ext.isEmpty(this.FieldLat)&&0==Ext.isEmpty(this.FieldLng)),this._moList.ForEach((function(t){var e=this.ConvertMoToRecord(t);Ext.isNotEmpty(e)&&this.Control.AddMarker(e)}),this),this.fireEvent(Ul.UlvMainCtrlr.EventEnum.BindData,this))},ConvertMoToRecord:function(t){var e=t.GetFValue(this.FieldLat),n=t.GetFValue(this.FieldLng),i=t.GetCaption(),r=t.GetIcon();if(e&&n)return this.Control.CreateMarker(t.Id,t,e,n,i,r,!1)},RefreshRowsByMos:function(t,e,n,i){var r=this.Control.getStore(),o=0,a=0;if(r){t=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(t),e=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(e),n=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(n);var s=[],l=[],u=!1;t.forEach((function(t){t=Common.MetaObjectWeb.CreateMo(t);var n;(n=r.getById(t.Id))?(this._applyMoToRecord(t,n),s.push(n)):e.push(t),u=!0}),this),e.forEach((function(t){t=Common.MetaObjectWeb.CreateMo(t);var e=this._moList.AddMo(t);if(0!=Ext.isEmpty(e)){u=!0;var n=this.ConvertMoToRecord(t);r.add(n),s.push(n),o++}else l=l.concat(e)}),this);var c=-1;if(n.forEach((function(t){var e=t;Ext.isObject(t)&&(e=t.Id),this._moList.RemoveMo(e),u=!0;var n=r.indexOfId(e);-1!=n&&(r.removeAt(n),c=n),a++}),this),c>-1){c>r.getCount()-1&&(c=r.getCount()-1);var h=r.getAt(c);h&&this.UlvMainCtrlr.SelectItem(h.id)}o-a!=0&&this.UlvMainCtrlr.UpdateTotalRowCount(o-a),1!=this.UlvMainCtrlr.IsPreviewSourceField&&0==Ext.isEmpty(s)&&this.Control.getSelectionModel().selectRecords(s),Ext.isNotEmpty(l)&&this.RefreshRowsByMos(l,null,null,!0),u&&1!=i&&this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ValueChange,this,t,e,n)}},_addListenersForControlEvents:function(){this.Control.on({scope:this,ItemDbClick:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemDblClick,this,e)},ItemClick:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemClick,this,e)},keydown:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.KeyDown,this,e)},OnContext:function(t,e){var n=t.getEl(),i=e.containerPoint.x+n.getX(),r=e.containerPoint.y+n.getY();this.UlvMainCtrlr.CommandBarCtrlr.ShowContextMenu(i,r),this.LastOnContextEventLoc=e.latlng},render:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this)}})}})},55957:()=>{Common.Cs.Define("Ui.CustomEditableGrid","Ui.CustomGridUi",{clicksToEdit:1,constructor:function(t){this.callParent(arguments),t.Setting.View.GridSetting.AutoSizeColumns=!1}})},62858:()=>{Common.Cs.Define("Ul.MatrixViewerAdapter","Ul.BaseListViewerAdapter",{constructor:function(t){this.callParent(arguments),this.CreateViewerUi()},CreateViewerUi:function(){var t=this._createControlConfig(),e=Common.Util.TryGetValue(this.Setting,"ClassNames.CustomUi.Selector",null),n=LoginFormData.CustomUiPrefix;null!=e||n?(t.originalXtype="Ui.EditableGrid",this.Control=new Ui.CustomEditableGrid(t)):this.Control=new Ui.EditableGrid(t),this.Control.on("SaveBatchClicked",(function(t){this._updateMoList(t)}),this),this.Control.on("afterrender",(function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this)}),this)},Rebind:function(t){this.CreateDataObject(),this.SetValue(this._moList),t&&t()},SetValue:function(t){if(!Ext.isEmpty(t)){this._moList=t;var e=Common.Util.TryGetValue(this._moList,"MoDataList",[]),n=this.getRawData(e);this.Control._createStore(n)}},RefreshMoIds:function(t){for(var e=0;e<t.length;e++){var n=t[e].$OldId,i=t[e].Id,r=this._moList.Filter((function(t){return t.Id==n}),this,!0);Ext.isArray(r)||(r.SetFValue("Id",i,!0),r.SetState(Common.Enums.MoState.Unchanged))}},_updateMoList:function(t){for(var e=Common.Util.TryGetValue(this.Setting.View,"ValueDbName",[]),n=Common.Util.TryGetValue(this.Setting.View,"VerticalDbName",[]),i=Common.Util.TryGetValue(this.Setting.View,"HorizontalDbName",[]),r=Common.Util.TryGetValue(this.Setting.View,"VerticalRows",[]),o=Common.Util.TryGetValue(this.Setting.View,"HorizontalColumn",[]),a=0;a<t.length;a++)for(var s=t[a],l=s.modified,u=s.data,c=0;c<o.length;c++){var h=o[c];if(l.hasOwnProperty(h.Caption)){var d=this._moList.Filter((function(t){return t.GetFCaption(n)==u.VerticalColumn&&t.GetFCaption(i)==h.Caption}),this,!0);if(Ext.isArray(d)){if(u[h.Caption]){for(var f=0,m=0;m<r.length;m++)u.VerticalColumn==r[m].Caption&&(f=r[m].Id);var p={Id:0};p.$ReportId=Common.Util.TryGetValue(this.Setting.Data,"ReportId",0),p[n]={$Caption:u.VerticalColumn,Id:f},p[i]={$Caption:h.Caption,Id:h.Id},p[e]=u[h.Caption],(p=Common.MetaObjectWeb.CreateMo(p)).SetState(Common.Enums.MoState.New),p.SetFValue("Id",this._moList.AddedList.length),this._moList.AddMo(p)}}else d.GetFValue(e)!=u[h.Caption]&&d.SetFValue(e,u[h.Caption],!1)}}this.UlvMainCtrlr.DataCtrlr.SaveMoList(this._moList)},CreateDataObject:function(){this.Setting.Data&&(this._moList=new Common.MetaObjectListWeb(this.Setting.Data))},_createControlConfig:function(){this._moList=new Common.MetaObjectListWeb(this.Setting.Data);var t=Common.Util.TryGetValue(this.Setting.Data,"MoDataList",[]),e=Common.Util.TryGetValue(this.Setting.View,"ValueFieldType","StringInfo"),n=this.getRawData(t);return this.Setting.View.Columns[1].Width=this.calculateWidthOfVerticalColumn(this.Setting.View.VerticalRows),{valueFieldType:e,_rawData:n,Setting:this.Setting,ViewSetting:this.Setting.View,Features:this.Features,enableKeyEvents:!0,_defaultRowIcon:Common.Util.TryGetValue(this._moList,"Icon")}},calculateWidthOfVerticalColumn:function(t){var e=Ext.util.TextMetrics.createInstance(document.body),n=20;return t.forEach((function(t){var i=t.Caption;n=Math.max(n,e.getWidth(i))})),12*n/11},getRawData:function(t){for(var e,n=Common.Util.TryGetValue(this.Setting.View,"VerticalRows",[]),i=Common.Util.TryGetValue(this.Setting.View,"HorizontalColumn",[]),r={},o=0;e=i[o];o++)r[e.Id]=e.Caption;var a=Common.Util.TryGetValue(this.Setting.View,"HorizontalDbName",[]),s=Common.Util.TryGetValue(this.Setting.View,"VerticalDbName",[]),l=Common.Util.TryGetValue(this.Setting.View,"ValueDbName",[]),u=[];for(o=0;o<n.length;o++){for(var c={VerticalColumn:n[o].Caption,VerticalData:n[o]},h=n[o].Id,d=0;d<t.length;d++){var f=t[d],m=f[s];if(m&&m.Id===h){var p=f[a];p&&(c[r[p.Id]]=f[l])}}u.push(c)}return u}})},51180:()=>{Common.Cs.Define("Ul.UlvDataMatrixCtrlr","Ul.UlvDataCtrlr",{rowNumber:null,cellNumber:null,constructor:function(t){this.callParent(arguments)},SaveMoList:function(t){var e=t.ConvertToArray(),n={moList:(e=e.filter((function(t){return t.GetState()&&t.GetState()!=Common.MetaObjectWeb.StateEnum.Unchanged}))).map((function(t){return t.GetChangedObject()})),ulvParams:this.ResolveUlvParams()};Common.Ajax.GetServerData_Sync("List94.SaveMoList",n,function(t){t.MoIdList&&this.UlvMainCtrlr.ViewerAdapter.RefreshMoIds(t.MoIdList)}.bind(this),null,null,this)}})},67473:()=>{Common.Cs.Define("CustomUi.Tree","Common.Observable",{showTitle:!1,useArrows:!0,autoScroll:!0,animate:!1,enableDD:!1,containerScroll:!0,rootVisible:!1,constructor:function(t){this.addEvents("rootChanged","click","selectionchange","dblclick","loadChildren"),this.callParent(arguments)},getSelectionModel:function(){return this},getRootNode:function(){return this.root},setRootNode:function(t){this.root=t,this.prepare(this.root),this.fireEvent("rootChanged",this.root)},prepare:function(t){var e=this;if(t.Data?t.attributes={Data:t.Data,key:t.Data.Id}:t.attributes={Data:null},t.expand=this.expand.bind(this),t.collapse=this.collapse.bind(this),t.hasChildNodes=this.hasChildNodes.bind(this,this.root),!t.children)return this.setFirstLastChild(t),t.previousSibling=null,void(t.nextSibling=null);t.children.forEach((function(n,i){n.attributes={Data:n.Data,key:n.Data.Id},n.expand=e.expand.bind(n),n.collapse=e.collapse.bind(n),n.hasChildNodes=e.hasChildNodes.bind(e,n),n.parentNode=null,0==i&&(t.firstChild=n),i==t.children.length-1&&(t.lastChild=n),n.nextSibling=i<t.children.length-1?t.children[i+1]:null,n.previousSibling=0==i?null:t.children[i-1],!n.leaf&&n.children&&(e.setFirstLastChild(n),e.prepare(n))}),this)},setFirstLastChild:function(t){t.firstChild=null,t.lastChild=null},hasChildNodes:function(t){var e;return(null===(e=t.children)||void 0===e?void 0:e.length)>0},expand:function(){},collapse:function(){},select:function(t){return this.selNode=t,this.fireEvent("selectionchange",this.selNode),this.selNode},getNodeById:function(t){return this.findNodeById(this.root,t)},findNodeById:function(t,e){if(t.Id==e)return t;var n=null;return t.children&&t.children.forEach((function(t){var i=this.findNodeById(t,e);i&&(n=i)}),this),n},GetByKeyAttribute:function(t){return this.searchNode(this.root,"key",t)},SetNodeText:function(t,e){t.text=e,this.fireEvent("rootChanged",this.root)},GetByAttribute:function(t,e){var n=null;return this.root?(this.root.children.forEach((function(i){i.attributes[t]==e&&(n=i)})),n):n},searchNode:function(t,e,n){if(t[e]==n)return t;if(null!=t.children){var i,r=null;for(i=0;null==r&&i<t.children.length;i++)r=this.searchTree(t.children[i],e,n);return r}return null},ExpandTo:function(t,e){this.expandTo={level:t,node:e}},GetFullSize:function(){console.error("GetFullSize not implemented!")},Mask:function(){this.mask=!0,this.fireEvent("maskChanged",this.mask)},Unmask:function(){this.mask=!1,this.fireEvent("maskChanged",this.mask)}})},5510:()=>{Common.Cs.Define("Ul.TreeSelectionAdapter","Common.Observable",{Setting:null,_moList:null,Control:null,UlvMainCtrlr:null,_selectionModel:null,_prevSelectedId:!1,_tree:null,constructor:function(t){this.callParent(arguments),Common.Merger.FastMerge(this,t),this.addEvents(Ul.UlvMainCtrlr.EventEnum.SelectionChange),this._tree=this.UlvMainCtrlr.GetViewerUi(),this._selectionModel=this._tree.getSelectionModel(),this._selectionModel.on({scope:this,selectionchange:this._onControlSm_SelectionChange,beforeselect:this._onControlSm_BeforeSelect}),this._tree.on({scope:this,click:this._onControlClick})},IsSelectable:function(){return Boolean(this._selectionModel)},CanSelectNext:function(){return this._canMove(Ul.TreeSelectionAdapter.MoveDirection.Next)},CanSelectPrev:function(){return this._canMove(Ul.TreeSelectionAdapter.MoveDirection.Prev)},SelectNext:function(){var t=!1,e=this._findNodeToMove(Ul.TreeSelectionAdapter.MoveDirection.Next);if(e){var n=this._selectionModel.select(e);e.expand(),e.parentNode&&e.parentNode.expand(),t=Ext.isNotEmpty(n)}return t},SelectPrev:function(){var t=!1,e=this._findNodeToMove(Ul.TreeSelectionAdapter.MoveDirection.Prev);if(e){var n=this._selectionModel.selNode,i=this._selectionModel.select(e);e.collapse(),n.collapse(),t=Ext.isNotEmpty(i)}return t},SelectFirst:function(){var t=this._findNodeToMove(Ul.TreeSelectionAdapter.MoveDirection.First);t&&this._selectionModel.select(t)},SelectLast:function(){var t=this._findNodeToMove(Ul.TreeSelectionAdapter.MoveDirection.Last);t&&this._selectionModel.select(t)},GetSelectedMetaObject:function(){var t=this._selectionModel.selNode;return t?this.UlvMainCtrlr.ConvertRecordToMo(t.attributes.Data):null},GetSelectedMetaObjectList:function(){var t=this.GetSelectedMetaObject();return t?[t]:[]},GetSelectedId:function(){var t=this._selectionModel.selNode;return t?t.attributes.key:null},GetPrevSelectedId:function(){return this._prevSelectedId},GetSelectedIdList:function(){var t=this.GetSelectedId();return t?[t]:[]},GetSelectionCount:function(){return this._selectionModel.selNode?1:0},SelectItem:function(t){if(t){var e=Common.MetaObjectListWeb.GetMoIdListFromArgument(t);if(0!=e.length){var n=e[0];this.ExpandToNode(n),this._tree.GetByKeyAttribute(n)&&this._selectionModel.select(this._tree.GetByKeyAttribute(n))}}},SelectByKeyboard:function(t,e,n,i){var r=!1;return t==Ext.EventObject.DOWN||t==Ext.EventObject.PAGE_DOWN?(this.SelectNext(),r=!0):t==Ext.EventObject.UP||t==Ext.EventObject.PAGE_UP?(this.SelectPrev(),r=!0):t==Ext.EventObject.HOME?(this.SelectFirst(),r=!0):t==Ext.EventObject.END&&(this.SelectLast(),r=!0),r},ExpandToNode:function(t){var e={};this._findNodePath(t,this.Setting.Data.MoDataList,[],e),e.path&&e.path.forEach((function(t){this._tree.GetByKeyAttribute(t.Id).expand()}),this)},GetNextPrevMetaObject:function(t){var e=this._selectionModel.selNode;if(!e)return null;var n=t?e.nextSibling:e.previousSibling;return n?this.UlvMainCtrlr.ConvertRecordToMo(n.attributes.Data):null},RepositionNode:function(t){var e=this._selectionModel.selNode;if(!e)return null;if(!(t?e.nextSibling:e.previousSibling))return null;var n=e.parentNode;if(n.isRoot){var i=this._tree;this.UlvMainCtrlr.DataCtrlr.Reload((function(t){i.getRootNode().childNodes[index2].select()}))}else n.reload((function(){n.childNodes[index2].select()}))},_onControlSm_SelectionChange:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this)},_onControlSm_BeforeSelect:function(t,e,n){n&&(this._prevSelectedId=n.attributes.key)},_onControlClick:function(t,e){var n=this._selectionModel.selNode;n&&t&&n.attributes.key==t.attributes.key&&this.fireEvent(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this)},_findNodeToMove:function(t){var e=this._tree.getRootNode();if(Ext.isEmpty(e))return null;if(!e.hasChildNodes())return null;var n=this._selectionModel.selNode;if(t===Ul.TreeSelectionAdapter.MoveDirection.First)return e.firstChild;if(t===Ul.TreeSelectionAdapter.MoveDirection.Last)return e.lastChild;if(t===Ul.TreeSelectionAdapter.MoveDirection.Next){if(!n)return e.firstChild;if(n.firstChild)return n.firstChild;if(n.nextSibling)return n.nextSibling;for(var i=n.parentNode,r=i;i;)r=i,i=i.nextSibling?null:i.parentNode;return r&&r.nextSibling?r.nextSibling:null}return n?n.previousSibling?n.previousSibling.hasChildNodes()&&this._findLastInnerChild(n.previousSibling)||n.previousSibling:n.parentNode&&n.parentNode!=this._tree.getRootNode()?n.parentNode:null:this._findLastInnerChild(e)},_canMove:function(t){return Boolean(this._findNodeToMove(t))},_findLastInnerChild:function(t){t.expand();for(var e=t.lastChild,n=e;e;)n=e,e=e.lastChild;return n},_findNodePath:function(t,e,n,i){for(var r=0;r<e.length;r++){var o=e[r];if(o.Id==t)i.path=n.slice();else if(!Ext.isEmpty(o.$Children)){var a=n.slice();a.push(o),this._findNodePath(t,o.$Children,a,i)}}},statics:{MoveDirection:{Next:1,Prev:2,First:3,Last:4}}})},21684:()=>{Common.Cs.Define("Ul.TreeUlvDataCtrlr","Ul.UlvDataCtrlr",{PrepateMoForNewForm:function(t){if(!t){var e=Common.Util.TryGetValue(this.Setting,"Extra.Report.TypeDefId");t=Common.MetaObjectWeb.CreateNewMo(e)}var n=this.UlvMainCtrlr.GetSelectedId();return t.SetFValue(this.Setting.View.ParentIdDbName,n),t},MoveUpDown:function(t,e,n){var i=this.UlvMainCtrlr.SelectionAdapter.GetSelectedMetaObject();if(!i)return null;var r=this.UlvMainCtrlr.SelectionAdapter.GetNextPrevMetaObject(n);if(r){var o=Common.Util.TryGetValue(this.Setting.Extra,"Report.TypeDefId"),a={mo1:i.GetChangedObject(),mo2:r.GetChangedObject(),typeDefId:o};Common.Ajax.GetServerData("List94.ChangeNodePosition",a,(function(t){t.Error?Ul.MsgBox.Error(t.Error):this.UlvMainCtrlr.SelectionAdapter.RepositionNode(n)}),null,null,this)}}})},85151:(t,e,n)=>{var i=n(98182);Common.Cs.Define("Ul.TreeViewerAdapter","Ul.BaseListViewerAdapter",{UlvMainCtrlr:null,Features:null,Setting:null,Control:null,_moList:null,isCustom:!1,constructor:function(t){this.callParent(arguments),this.CreateDataObject(),this.CreateViewerUi()},CreateViewerUi:function(){var t={Setting:this.Setting,Features:this.Features},e=Common.Util.TryGetValue(this.Setting,"ClassNames.CustomUi.Selector",null),n=LoginFormData.CustomUiPrefix;null!=e||n?(this.isCustom=!0,t.originalXtype="Ui.Tree",this.Control=new CustomUi.Tree(t)):this.Control=new Ui.Tree(t),this._createStylesForCondFormat(),this._addListenersForControlEvents(),this.Rebind()},CreateDataObject:function(){this.Setting.Data&&(this._moList=new Common.MetaObjectListWeb(this.Setting.Data))},GetValue:function(){return this._moList},SetValue:function(t){this._moList=t,Ext.isNotEmpty(this._moList)&&(t instanceof Common.MetaObjectListWeb==0&&Common.Util.TryGetValue(t,"$Type")&&(this._moList=new Common.MetaObjectListWeb(t)),this.Setting.Data=this._moList),this.Rebind()},GetParentId:function(t){var e=t[this.UlvMainCtrlr.Setting.View.ParentIdDbName];return Ext.isObject(e)&&(e=e.Id),e},findInMoListById:function(t){for(var e=Common.Util.TryGetValue(this,"_moList.MoDataList"),n=null,i=0;i<e.length;i++)if(null!=(n=this._searchInMoListById(e[i],t)))return n;return null},_searchInMoListById:function(t,e){if(t.Id==e)return t;if(null!=t.$Children){var n,i=null;for(n=0;null==i&&n<t.$Children.length;n++)i=this._searchInMoListById(t.$Children[n],e);return i}return null},RefreshRowsByMos:function(t,e,n){if(t=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(t),e=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(e),n=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(n),t){Ext.isArray(t)||(t=[t]);var i=!1;t.forEach((function(t){var n=this.GetParentId(t),r=this.findInMoListById(t.Id);if(r){var o=this.GetParentId(r);if(n!=o){var a=this.findInMoListById(o);a&&a.$Children&&(a.$Children=a.$Children.filter((function(t){return t.Id!=r.Id})),0==a.$Children.length&&(a.$HasChildren=!1));var s=this.findInMoListById(n);s&&(s.$HasChildren=!0,s.$Children&&s.$Children.push(t))}else r=t;i=!0}else e.push(t)}),this),i&&this.Rebind()}e&&(Ext.isArray(e)||(e=[e]),i=!1,e.forEach((function(t){var e=this.GetParentId(t),n=this.findInMoListById(e),r={idList:[t.Id],reportId:this.Setting.Data.ReportId,useListReport:!0},o=Common.Ajax.GetServerData_SyncReturn("MetaObject94.GetMoForReport",r);n?(n.$HasChildren=!0,n.$Children&&(n.$Children.push(t),i=!0)):(this._moList.AddMo(o.MoDataList[0]),i=!0)}),this),i&&this.Rebind()),n&&(Ext.isArray(n)||(n=[n]),i=!1,n.forEach((function(t){if(!(Ext.isObject(t)&&this instanceof Ul.HetroTreeViewerAdapter)){var e=this.findInMoListById(t);if(e){var n=this.GetParentId(e),r=this.findInMoListById(n);r&&r.$Children&&(r.$Children=r.$Children.filter((function(e){return e.Id!=t})),0==r.$Children.length&&(r.$HasChildren=!1),i=!0)}}}),this),i&&this.Rebind())},_getNodeItem:function(t){return this.UlvMainCtrlr.SelectionAdapter.ExpandToNode(t),this.Control.GetByKeyAttribute(t)},ConvertRecordToMo:function(t){var e=null;return 0==Ext.isEmpty(t)&&(e=Common.MetaObjectWeb.CreateMoByData(t,this._moList.TypeDefId,this._moList.ReportId)),e},ConvertMoToRecord:function(t){},SetUserSetting:function(t){},GetUserSetting:function(){},_onControl_loadChildren:function(t,e){this._getChildernFromServerAndLoadThem(t,e)},Rebind:function(t){this.CreateDataObject(),this.isCustom||(this.Control.loader=new Ext.tree.TreeLoader({directFn:function(t,e){var n=this.Control.getNodeById(t);this._getChildernFromServerAndLoadThem(n,e)}.bind(this)}));var e=null,n=Common.Util.TryGetValue(this,"_moList.MoDataList");if(Ext.isEmpty(n))e=this.createRoot([]);else{for(var i=[],r=0;r<n.length;r++){var o=n[r],a=this._createNode(o);a._order=r,i.push(a)}e=this.createRoot(i)}this.Control.setRootNode(e),this.fireEvent(Ul.UlvMainCtrlr.EventEnum.BindData,this),this.Control.rendered&&this.CheckAutoExpand(),t&&t()},createRoot:function(t){return this.isCustom?{id:"$Root",children:t}:new Ext.tree.AsyncTreeNode({id:"$Root",expanded:!0,draggable:!1,children:t})},CheckAutoExpand:function(){var t=Common.Util.TryGetValue(this.Setting,"View.TreeAutoOpenLevels");0==Ext.isEmpty(t)&&this.Control.ExpandTo(t-1)},GetSortSetting:function(){},GetFullSize:function(){if(this.Control)return this.Control.GetFullSize()},_getChildernFromServerAndLoadThem:function(t,e){i.waterfall([this._loadChildren.bind(this,t),function(t,n){e(t,{status:null!=t}),n()}],(function(t,e){}))},_loadChildren:function(t,e){var n=t.attributes.key,i={nodeId:n,reportId:Common.Util.TryGetValue(this.Setting,"Extra.Report.Id"),fieldDefId:Common.Util.TryGetValue(this.Setting,"Extra.Relation.ChildFdId")};Common.Ajax.GetServerData("List94.GetNodeChildren",i,(function(t){if(t){var i=this.findInMoListById(n);i&&(i.$Children=t,i.$Children&&i.$Children.length>0&&(i.$HasChildren=!0));var r=t.map((function(t,e){var n=this._createNode(t);return this.Control.prepare(n),n._order=e,n}),this);e(null,r)}}),null,e,this)},_addListenersForControlEvents:function(){this.Control.on({scope:this,dblclick:this._onControl_NodeDblClick,render:this._onControl_Render,afterrender:this._onControl_AfterRender,contextmenu:this._onCotrol_ContextMenu,loadchildren:this._onControl_loadChildren,click:function(t,e,n){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemClick,this)}}),this.Control.on("click",this._onControl_NodeClick,this,{delay:50})},_onControl_KeyDown:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.KeyDown,this,t)},_onControl_NodeDblClick:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemDblClick,this)},_onControl_NodeClick:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemClick,this)},_onControl_Render:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this),this.Control.el.on({scope:this,keydown:this._onControl_KeyDown})},_onControl_AfterRender:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this),this.CheckAutoExpand()},_onCotrol_ContextMenu:function(t,e){this.Control.getSelectionModel().select(t),this.UlvMainCtrlr.CommandBarCtrlr.ShowContextMenu(e.xy[0],e.xy[1])},_createNode:function(t){var e={key:t.Id,text:Common.Util.HtmlEscape(t.$Caption),leaf:!t.$HasChildren,icon:t.$Icon?t.$Icon:this._moList.Icon,Data:t};if(0==Ext.isEmpty(t.$StyleIndex)&&0==Ext.isEmpty(this.Setting.View.ConditionalFormats)){for(var n,i=0;i<t.$StyleIndex.length;i++)n+=" "+this.Setting.View.ConditionalFormats[t.$StyleIndex[i]].Cls;e.cls=n}if(t.$Children)for(e.children=[],i=0;i<t.$Children.length;i++){var r=this._createNode(t.$Children[i]);r._order=i,e.children.push(r)}return e},_createStylesForCondFormat:function(){if(!Ext.isEmpty(this.Setting.View.ConditionalFormats))for(var t=0;t<this.Setting.View.ConditionalFormats.length;t++){var e=this.Setting.View.ConditionalFormats[t],n=".a-UlvTree .x-tree-node ."+e.Cls+" a span";Ext.get(n)||Common.UtilUi.AddRowFormatingStyle(n,"{"+e.Style+"}")}}})},6880:()=>{Common.Cs.Define("Ul.UlvRibbonAdapter_Tree","Ul.UlvRibbonAdapter",{_createConfig_Ribbon:function(){var t,e=this.callParent(arguments),n=e.Tabs[0].Groups[0];return(t=this.GeneralCommands.MoveUp).CanCreate&&t.CanCreate()&&n.Buttons.push(this._createButton(t)),(t=this.GeneralCommands.MoveDown).CanCreate&&t.CanCreate()&&n.Buttons.push(this._createButton(t)),e}})},61837:()=>{Common.Cs.Define("Ul.UlvRibbonCtrlr_Tree","Ul.UlvRibbonCtrlr",{CreateAdapterConfig:function(){var t=this.callParent(arguments);return t.xtype="Ul.UlvRibbonAdapter_Tree",t},_createGeneralCommands:function(){this.callParent(arguments);var t=this._createCmd_MoveUP(),e=this._createCmd_MoveDown();this.GeneralCommands[t.Id]=t,this.GeneralCommands[e.Id]=e},_createCmd_MoveUP:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="MoveUp",t.Text=BBB.MoveUp,t.Order=108,t.UseForSingle=!0,t.UseForMulti=!1,t.UseAlways=!1,t.IsLarge=!0,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.MovePrev,null,32),t.Parent=this,t.Handler=this._generalClickHandler,t.CanCreate=function(){return this.Parent._defaultAccess.Edit},new Ul.Command(t)},_createCmd_MoveDown:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="MoveDown",t.Text=BBB.MoveDown,t.Order=109,t.UseForSingle=!0,t.UseForMulti=!1,t.UseAlways=!1,t.IsLarge=!0,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.MoveNext,null,32),t.Parent=this,t.Handler=this._generalClickHandler,t.CanCreate=function(){return this.Parent._defaultAccess.Edit},new Ul.Command(t)}})},53815:()=>{Common.Cs.Define("Ul.UlvCommandsBaseAdapter","Common.Observable",{constructor:function(t){this.callParent(arguments)},_createMenuItem:function(t,e,n){var i=Ext.value(t.IconUrl,"");i=i.replace("si=32","si=16");var r={itemId:t.Id,text:t.Text,icon:i,handler:t.Handler,scope:t.Parent,Data:t.Data,Command:t,tooltip:t.Tooltip};return Common.UtilUi.FixTooltip(r),t.Items&&(r.menu={items:[]},t.Items.forEach((function(t){if(t.ShowOnContext&&e||t.ShowOnToolbar&&n){var i=this._createMenuItem(t,e,n);r.menu.items.push(i)}}),this)),r},_createButton:function(t,e){var n={cls:"a-ulv-toolbar-button",itemId:t.Id,text:t.Text,icon:t.IconUrl,order:t.Order,scale:e?"large":"small",iconAlign:e?"top":BBB.MainAlignment,Data:t.Data,Command:t,menu:t.Menu,handler:t.Handler,DisableWhenReadonly:t.DisableWhenReadonly,PressDelay:500,scope:t.Parent,newIcon:t.newIcon};return n.icon&&(n.icon=e?n.icon.replace("si=16","si=32"):n.icon.replace("si=32","si=16")),t.Items&&(n.menu={items:[]},t.Items.forEach((function(t){if(t.ShowOnToolbar){var e=this._createMenuItem(t,!1,!0);n.menu.items.push(e)}}),this)),n}})},21580:()=>{Common.Cs.Define("Ul.UlvCommandsBaseCtrlr","Common.Observable",{UlvMainCtrlr:null,Setting:null,System:null,Features:null,_defaultAccess:null,_inheritanceInfo:null,ContextMenu:null,GeneralCommands:null,CustomCommands:null,AllCommandList:null,AllCommands:null,MenuAdapter:null,_defaultcommand:{Id:null,Text:null,Order:0,UseForSingle:!0,UseForMulti:!0,UseAlways:!0,DisableWhenReadonly:!0,HideDisable:!1,IconUrl:null,Parent:null,Menu:null,IsLarge:!0,IsActive:!0,ShowOnContext:!0,ShowOnToolbar:!0,Handler:null},constructor:function(t){this.callParent(arguments),this.AllCommandList=[],this.AllCommands={},Common.Merger.FastMerge(this,t),this.addEvents(Ul.UlvMainCtrlr.EventEnum.CommandClick),this._defaultAccess=Common.Util.TryGetValue(this.Setting,"Extra.DefaultCommandsAccess",{}),this._inheritanceInfo=Common.Util.TryGetValue(this.Setting,"Extra.InheritanceInfo",{})},CreateCommands:function(){var t=this;t._createGeneralCommands(),t._createCustomCommands();var e=Object.values(t.GeneralCommands),n=Object.values(t.CustomCommands),i=e.concat(n);t.AllCommandList=[],t.AllCommands={},i.forEach((function(e){t.AllCommandList.push(e),e.Items&&e.Items.forEach((function(e){t.AllCommandList.push(e)}),t)}),t),t.AllCommandList.forEach((function(e){t.AllCommands[e.Id]=e}),t),t.CreateAdapter(),this.ContextMenu=this.MenuAdapter&&this.MenuAdapter._contextMenu},CreateAdapterConfig:function(){return{GeneralCommands:this.GeneralCommands,CustomCommands:this.CustomCommands,AllCommands:this.AllCommands,Setting:this.Setting,System:this.System,UlvMainCtrlr:this.UlvMainCtrlr,xtype:"Ul.UlvRibbonAdapter"}},CreateAdapter:function(){},RefreshCommands:function(){this.Refresh(!0)},ShowContextMenu:function(t,e){this._refreshMenuCommands(),this.MenuAdapter.ShowContextMenu(t,e)},___Refresh:function(t){},Refresh:function(){this._refreshCmdListState(),this._refreshAllCmdUi()},_refreshCommandsState:function(){return this._refreshCommandsStateHelper(this.AllCommandList)},_refreshCommandsStateHelper:function(t){for(var e=!1,n=this.UlvMainCtrlr.GetSelectionCount(),i=0;i<t.length;i++){var r,o=t[i];Ext.isFunction(o.CanCreate)&&1==o.CanCreate()&&(0==n||Ext.isEmpty(n)?r=o.UseAlways:1==n?r=o.UseForSingle:n>1&&(r=o.UseForMulti),o.IsActive!=r&&(o.IsActive=r,e=!0)),o.Items&&(e|=this._refreshCommandsStateHelper(o.Items))}return e},_refreshMenuCommands:function(){this._refreshMenuCommandsHelper(this.AllCommandList)},_refreshMenuCommandsHelper:function(t){for(var e=0;e<t.length;e++){var n=t[e];n.CanCreate()&&n.ShowOnContext&&this.MenuAdapter.RefreshCmdUi(n)}},_createGeneralCommands:function(){var t=[];t.push(this._createCmd_New()),t.push(this._createCmd_Edit()),t.push(this._createCmd_Delete()),t.push(this._createCmd_AddToList()),t.push(this._createCmd_RemoveFromList()),t.push(this._createCmd_MoveUp()),t.push(this._createCmd_MoveDown()),t.push(this._createCmd_ExportToExcel()),t.push(this._createCmd_WorkflowHistory()),this.Setting.Extra.DefaultCommandsAccess,t.push(this._createCmd_RefreshReport());var e={};t.forEach((function(t){e[t.Id]=t})),this.GeneralCommands?Common.Merger.FastMerge(this.GeneralCommands,e):this.GeneralCommands=e},_createCustomCommands:function(t){var e=this;t||(t=Ext.value(this.Setting.Extra.CustomCommands,[]));var n={};for(var i in t.forEach((function(t){var i=new Ul.Command(t);if(i.Id=t.Data.FieldDef.Id,i.InheritanceChildTypeDef=t.InheritanceChildTypeDef,i.Handler=this._generalClickHandler.bind(e),i.CanCreate=function(){return!0},i.Tooltip=i.JsonExtraProp&&i.JsonExtraProp.Tooltip,t.Menu){var r=n["Menu:"+t.Menu];r||((r=Common.Merger.Merge({},this._defaultcommand)).Id="Menu:"+t.Menu,r.IsMenu=!0,r.Text=t.Menu,r.Order=101,r.Parent=this,r.IsLarge=!1,r.Items=[],r.CanCreate=function(){return!0},r=new Ul.CommandMenu(r),n[r.Id]=r),r.Items.push(i),i.Menu=r}else n[i.Id]=i}),this),n){var r=n[i];if(1==r.IsMenu){var o=r.Items.some((function(t){return 1==t.ShowOnContext}),this),a=r.Items.some((function(t){return 1==t.ShowOnToolbar}),this);r.ShowOnContext=o,r.ShowOnToolbar=a}}return this.CustomCommands=n,n},_createCmd_New:function(){var t=Common.Merger.Merge({},this._defaultcommand);t.Id="New",t.IsBuiltin=!0,t.JsonExtraProp={Icon:"add",Design:"standard"},t.Text=BBB.New,t.Order=101,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.New,null,32),t.Parent=this,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return this.Parent._defaultAccess.Add};var e=this.Setting.Extra.Report.IgnoreChildListOnNew;return this._inheritanceInfo.NewList&&this._inheritanceInfo.NewList.length>0&&!e&&(t.Items=[],this._inheritanceInfo.NewList.forEach((function(e,n){t.Items.push({Mytype:"command",Data:e.Data,Id:"NewChild"+n,Text:e.Name,ShowOnToolbar:!0,Handler:this._generalClickHandler.bind(this),Parent:this,CanCreate:function(){return this.Parent._defaultAccess.Add},UseAlways:t.UseAlways,UseForSingle:t.UseForSingle,UseForMulti:t.UseForMulti,ShowOnContext:t.ShowOnContext})}),this),t.IsMenu=!0,t.Handler=null),t.ShowOnContext=!LoginFormData.IsPortal,new Ul.Command(t)},_createCmd_Edit:function(){var t=Common.Merger.Merge({},this._defaultcommand);t.Id="Edit",t.Text=BBB.Edit,t.JsonExtraProp={Icon:"edit-outside",Design:"transparent"},t.Order=102,t.IsBuiltin=!0,t.UseForSingle=!0,t.UseForMulti=!1,t.UseAlways=!1,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Edit,null,32),t.Parent=this,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return this.Parent._defaultAccess.Edit};var e=Common.Util.TryGetValue(this.UlvMainCtrlr,"Setting.Extra.ExtraJsonPropReport.HideEdit",!1);return t.ShowOnContext=!e,t.ShowOnToolbar=!LoginFormData.IsPortal&&!e,new Ul.Command(t)},_createCmd_MoveUp:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="MoveUp",t.JsonExtraProp={Icon:"arrow-top",Design:"transparent"},t.Text=BBB.MoveUp,t.Order=108,t.UseAlways=!1,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.MovePrev,null,32),t.Parent=this,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return this.Parent._defaultAccess.MoveUp},new Ul.Command(t)},_createCmd_MoveDown:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="MoveDown",t.JsonExtraProp={Icon:"arrow-bottom",Design:"transparent"},t.Text=BBB.MoveDown,t.Order=109,t.IsBuiltin=!0,t.UseAlways=!1,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.MoveNext,null,32),t.Parent=this,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return this.Parent._defaultAccess.MoveDown},new Ul.Command(t)},_createCmd_Delete:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="Delete",t.JsonExtraProp={Icon:"delete",Design:"transparent"},t.Text=BBB.Delete,t.Order=105,t.IsActive=!LoginFormData.IsPortal,t.IsBuiltin=!0,t.UseAlways=!1,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Delete,null,32),t.Parent=this,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return this.Parent._defaultAccess.Delete},new Ul.Command(t)},_createCmd_AddToList:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="AddToList",t.JsonExtraProp={Icon:"chain-link",Design:"transparent"},t.Text=BBB.AddToList,t.IsBuiltin=!0,t.Order=106,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.AddToList,null,32),t.Parent=this,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return this.Parent._defaultAccess.AddToList},new Ul.Command(t)},_createCmd_RemoveFromList:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="RemoveFromList",t.JsonExtraProp={Icon:"broken-link",Design:"transparent"},t.Text=BBB.RemoveFromList,t.Order=107,t.IsBuiltin=!0,t.UseAlways=!1,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.RemoveFromList,null,32),t.Parent=this,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return this.Parent._defaultAccess.RemoveFromList},t.UseAlways=!1,new Ul.Command(t)},_createCmd_ExportToExcel:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="ExportToExcel",t.JsonExtraProp={Icon:"excel-attachment",Design:"transparent"},t.Text=BBB.ExportToExcel,t.IsBuiltin=!0,t.Order=120,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.ExportToExcel,null,32),t.Parent=this,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return this.Parent._defaultAccess.Export},t.DisableWhenReadonly=!1,new Ul.Command(t)},_createCmd_RefreshReport:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="RefreshReport",t.JsonExtraProp={Icon:"refresh",Design:"transparent"},t.Text=BBB.Refresh,t.IsBuiltin=!0,t.Order=120,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.Refresh,null,32),t.Parent=this,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return this.Parent._defaultAccess.Refresh},t.ShowOnContext=!LoginFormData.IsPortal,t.UseForSingle=!0,t.hide=!this.Setting.Extra.DefaultCommandsAccess.Refresh||this.Setting.Extra.Report.HideToolbar,new Ul.Command(t)},_createCmd_Setting:function(){var t=Common.Merger.Merge({},this._defaultcommand);return t.Id="Settings",t.JsonExtraProp={Icon:"action-settings",Design:"transparent"},t.Text="",t.IsBuiltin=!0,t.Order=120,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return!0},t.DisableWhenReadonly=!1,t.ShowOnContext=!1,t.UseForSingle=!1,t.hide=Common.Util.TryGetValue(this.UlvMainCtrlr,"Setting.Extra.ExtraJsonPropReport.HideSettings",!0),new Ul.Command(t)},_createCmd_WorkflowHistory:function(){var t=Common.Merger.Merge({},this._defaultcommand);t.Id="WorkflowHistory",t.JsonExtraProp={Icon:"history",Design:"transparent"},t.Text=BBB.WorkflowLog,t.IsBuiltin=!0,t.Order=120,t.IconUrl=Common.Util.GetIconUrl(null,Ui.Theme.Icons.History,null,32),t.Parent=this,t.Handler=this._generalClickHandler.bind(this),t.CanCreate=function(){return!0},t.DisableWhenReadonly=!1;var e=Common.Util.TryGetValue(this.UlvMainCtrlr,"Setting.Extra.ExtraJsonPropReport.HideWorkflowHistory",!!LoginFormData.IsPortal);return t.ShowOnContext=!e,t.ShowOnToolbar=!e,new Ul.Command(t)},ShowHideCommand:function(){var t=Common.Util.TryGetValue(this,"Setting.Extra.DefaultCommandsAccess");t&&(t.Edit=!1)},____SetReadOnly:function(t){this.UlvMainCtrlr.Adapter.ReadOnlyAllCommands(!t,["RefreshReport"])},ReadOnlyCommand:function(t,e,n){var i=this.AllCommands[t];i&&(i.IsReadOnly=1==e,this._refreshCmdState(i)&&0!=n&&this._refreshCmdUi(i))},VisibleCommand:function(t,e,n){var i=this.AllCommands[t];i&&(i.IsVisible=0!=e,this._refreshCmdState(i)&&0!=n&&this._refreshCmdUi(i))},EnableCommand:function(t,e,n){var i=this.AllCommands[t];i&&(i.IsEnable=0!=e,this._refreshCmdState(i)&&0!=n&&this._refreshCmdUi(i))},_refreshCmdState:function(t,e){var n=Ext.isObject(t)?t:this.AllCommands[t];if(n){e=1==e;var i=!1,r=this.UlvMainCtrlr.GetSelectionCount(),o=this.UlvMainCtrlr.GetReadOnly(),a=Ext.isFunction(n.CanCreate)&&1==n.CanCreate(),s=!0;0==r||Ext.isEmpty(r)?s=n.UseAlways:1==r?s=n.UseForSingle:r>1&&(s=n.UseForMulti);var l=!(o&&n.DisableWhenReadonly),u=a&&s&&l&&0!=n.IsEnable,c=!(!u&&1==n.HideDisable),h=0!=n.IsVisible&&c;return n._isEnable!=u&&(n._isEnable=u,i=!0),n._isVisible!=h&&(n._isVisible=h,i=!0),e&&Ext.isNotEmpty(n.Items)&&(i|=this._refreshCmdListState(n.Items)),i}},_refreshCmdListState:function(t){Ext.isEmpty(t)&&(t=this.AllCommandList);for(var e=!1,n=0;n<t.length;n++){var i=t[n];e|=this._refreshCmdState(i)}return e},_refreshCmdUi:function(t){},_refreshAllCmdUi:function(){},AddTestToolbarButton:function(){Ul.ApplicationCtrlr.ShowDebugToolbar&&Ui.UlvMainUi_Tester.Show(this.UlvMainCtrlr)},CreateCustomCommandConfig:function(){},_generalClickHandler:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.CommandClick,this,{Key:t.itemId,Data:t.Data,E:e})}}),Common.Cs.Define("Ul.Command","",{Instances:null,constructor:function(t){this.callParent(arguments),this.Instances=[],Common.Merger.FastMerge(this,t,{excludeFunctions:!1})}}),Common.Cs.Define("Ul.CommandMenu","Ul.Command",{Instances:null,constructor:function(t){this.callParent(arguments),this.Instances=[],Common.Merger.FastMerge(this,t,{excludeFunctions:!1})}})},98847:()=>{Common.Cs.Define("Ul.UlvCommandsEmptyCtrlr","Ul.UlvCommandsBaseCtrlr",{CreateCommands:function(){},RefreshCommands:function(){},AddTestToolbarButton:function(){},ShowContextMenu:function(){}})},38134:()=>{Common.Cs.Define("Ul.UlvMenuAdapter","Ul.UlvCommandsBaseAdapter",{UlvMainCtrlr:null,Setting:null,System:null,GeneralCommands:null,CustomCommands:null,_contextMenu:null,_buttonList:null,constructor:function(t){this.callParent(arguments),this.CreateControl()},CreateControl:function(){this._createContextMenu(),this._buttonList={},this._contextMenu&&this._contextMenu.items.each((function(t){this._buttonList[t.itemId]=t,t.menu&&t.menu.items&&t.menu.items.each((function(t){this._buttonList[t.itemId]=t}),this)}),this)},ShowContextMenu:function(t,e){this._contextMenu.showAt_Rtl([t,e])},_createContextMenu:function(){var t=[];Object.values(this.GeneralCommands).forEach((function(e){if(e.CanCreate&&e.CanCreate()&&e.ShowOnContext){var n=this._createMenuItem(e,!0);t.push(n)}}),this);var e=Object.values(this.CustomCommands);e.length>0&&(t.length>0&&t.push("-"),e.forEach((function(e){if(e.ShowOnContext){var n=this._createMenuItem(e,!0);t.push(n)}}),this)),this.UlvMainCtrlr.Adapter.Control instanceof Ui.CustomUlvMainUi?this.UlvMainCtrlr.Adapter.SetMenuItems(t):this._contextMenu=new Ext.menu.Menu({defaultAlign:BBB.MenuBottomAlign,width:120,items:t})},VisibleCommand:function(t,e){var n=this._buttonList[t];n&&n.setVisible(e)},EnableCommand:function(t,e){var n=this._buttonList[t];n&&n.setDisabled(!e)},RefreshCmdUi:function(t){var e=Ext.isObject(t)?t.Id:t,n=this._buttonList[e];n.setDisabled(!n.Command._isEnable),n.setVisible(n.Command._isVisible)}})},17098:()=>{Common.Cs.Define("Ul.UlvRibbonAdapter","Ul.UlvCommandsBaseAdapter",{UlvMainCtrlr:null,Setting:null,System:null,GeneralCommands:null,CustomCommands:null,constructor:function(t){this.callParent(arguments),this.CreateControl()},CreateControl:function(){var t=this._createConfig_Ribbon();this.System&&this.System.RefreshRibbon(t)},Refresh:function(){var t=this._createConfig_Ribbon();this.System.RefreshRibbon(t);var e=this.UlvMainCtrlr.GetSelectedMetaObjectList(),n=e&&e.length;if(n){var i=this._createCustomCommandsConfig(1==n);this.System&&this.System.RefreshRibbon(i)}},_createConfig_Ribbon:function(){var t={ConfigLevel:Ui.Ribbon.ConfigLevels.Ulv,Tabs:[{Id:BBB.Main,Groups:[{Id:BBB.Edit,Text:BBB.Edit,Order:10,Buttons:[]},{Id:BBB.View,Text:BBB.View,Order:20,Buttons:[]},{Id:BBB.FlowHiostory,Text:BBB.FlowHiostory,Order:20,Buttons:[]}]}]},e=t.Tabs[0].Groups[0],n=this.GeneralCommands.New;n.CanCreate&&n.CanCreate()&&e.Buttons.push(this._createButton(n)),(n=this.GeneralCommands.Edit).CanCreate&&n.CanCreate()&&e.Buttons.push(this._createButton(n)),(n=this.GeneralCommands.MoveUp).CanCreate&&n.CanCreate()&&e.Buttons.push(this._createButton(n)),(n=this.GeneralCommands.MoveDown).CanCreate&&n.CanCreate()&&e.Buttons.push(this._createButton(n)),(n=this.GeneralCommands.Delete).CanCreate&&n.CanCreate()&&e.Buttons.push(this._createButton(n));var i=t.Tabs[0].Groups[1];(n=this.GeneralCommands.ExportToExcel).CanCreate&&n.CanCreate()&&i.Buttons.push(this._createButton(n));var r=this.GetCommands2(!0,!1,!1);if(0!=r.length){var o={Id:BBB.ListCommands,Text:BBB.ListCommands,Order:11,Buttons:r};t.Tabs[0].Groups.push(o)}var a=t.Tabs[0].Groups[2];return(n=this.GeneralCommands.WorkflowHistory).CanCreate&&n.CanCreate()&&a.Buttons.push(this._createButton(n)),t},GetCommands2:function(t,e,n){var i=Object.values(this.CustomCommands),r=this.UlvMainCtrlr.GetSelectedMetaObjectList();if(this._getShowChildCommands(r)){var o=i.length,a=r[0].Commands;if(a&&a.length>0){var s=this.UlvMainCtrlr.CommandBarCtrlr._createCustomCommands(a);Object.values(s).forEach((function(t){t.Order+=o,t.InheritanceChildTypeDef=r[0].InheritanceChildTypeDef,i.push(t)}))}}var l=[];return 0==i.length||i.forEach((function(i){i.ShowOnToolbar&&(i.UseAlways&&i.InheritanceChildTypeDef||(t&&i.UseAlways||e&&i.UseForSingle||n&&i.UseForMulti)&&l.push(this._createButton(i)))}),this),l},_createCustomCommandsConfig:function(t){var e={ConfigLevel:Ui.Ribbon.ConfigLevels.Mo,Tabs:[{Id:BBB.Main,Groups:[{Id:BBB.Edit,Text:BBB.Edit,Order:10,Buttons:[]},{Id:BBB.View,Text:BBB.View,Order:20,Buttons:[]},{Id:BBB.FlowHiostory,Text:BBB.FlowHiostory,Order:20,Buttons:[]}]}]},n=this.GetCommands2(!1,t,!t);if(0!=n.length){var i={Id:BBB.ListCommands,Text:BBB.ListCommands,Order:11,Buttons:n};e.Tabs[0].Groups.push(i)}return e},_getShowChildCommands:function(t){if(!t||0===t.length)return!1;if(1===t.length)return!0;var e=[];for(i=0;i<t.length;i++)if(e.includes(t[i].InheritanceChildTypeDef)||e.push(t[i].InheritanceChildTypeDef),e.length>1)return!1;return!0},_createButton:function(t){var e={Id:t.Id,Text:t.Text,Icon:t.IconUrl,Order:t.Order,Menu:t.Menu,UiConfig:{scale:t.IsLarge?"large":"small",iconAlign:t.IsLarge?"top":BBB.MainAlignment,Data:t.Data,handler:t.Handler,scope:t.Parent,tooltip:t.Tooltip}};return t.IconUrl&&(e.UiConfig.icon=t.IsLarge?t.IconUrl.replaceAll("si=16","si=32"):t.IconUrl.replace("si=32","si=16")),t.Items&&(e.UiConfig.menu={items:[]},t.Items.forEach((function(t){if(t.ShowOnToolbar){var n=this._createMenuItem(t,!1,!0);Common.UtilUi.FixTooltip(n),e.UiConfig.menu.items.push(n)}}),this)),e},____VisibleCommand:function(t,e){this.System.VisibleCommand(t,e)},____EnableCommand:function(t,e){this.System.EnableCommand(t,e)},RefreshCmdUi:function(t){var e=Ext.isObject(t)?t.Id:t,n=this.AllCommands[e];this.System&&(this.System.VisibleCommand(e,n._isVisible),this.System.EnableCommand(e,n._isEnable))},RefreshAllCmdUi:function(){var t=this.AllCommands;for(var e in t)this.RefreshCmdUi(e)}})},75032:()=>{Common.Cs.Define("Ul.UlvRibbonCtrlr","Ul.UlvCommandsBaseCtrlr",{RibbonAdapter:null,CreateAdapter:function(){var t=this.CreateAdapterConfig();this.RibbonAdapter=Ext.create(t),this.MenuAdapter=new Ul.UlvMenuAdapter(t)},_refreshCmdUi:function(t){this.RibbonAdapter.RefreshCmdUi(t)},_refreshAllCmdUi:function(){this.RibbonAdapter.RefreshAllCmdUi()},Refresh:function(t){this._refreshCmdListState(),this._refreshAllCmdUi(),this.RibbonAdapter.Refresh()},_____Refresh:function(t){t&&this.RibbonAdapter.Refresh(),(this._refreshCommandsState()||t)&&this._refreshRibbonCommands()},______refreshRibbonCommands:function(){for(var t=0;t<this.AllCommandList.length;t++){var e=this.AllCommandList[t];e.HideDisable?this.RibbonAdapter.VisibleCommand(e.Id,e.IsActive):this.RibbonAdapter.EnableCommand(e.Id,e.IsActive)}},AddTestToolbarButton:function(){Ul.ApplicationCtrlr.ShowDebugToolbar&&Ui.UlvMainUi_Tester.Show(this.UlvMainCtrlr)}})},10799:()=>{Common.Cs.Define("Ul.UlvToolbarAdapter","Ul.UlvCommandsBaseAdapter",{UlvMainCtrlr:null,Setting:null,System:null,GeneralCommands:null,CustomCommands:null,constructor:function(t){this.callParent(arguments),this.CreateControl()},CreateControl:function(){var t=this._createConfig_Toolbar();this.UlvMainCtrlr.Adapter.SetToolbarButtons(t)},_createConfig_Toolbar:function(){var t=[];for(var e in["New","Edit","Delete","-","AddToList","RemoveFromList","","RefreshReport","ExportToExcel"].forEach((function(e){if("-"==e)t.push(e);else{var n=this.GeneralCommands[e];n&&n.CanCreate&&n.CanCreate()&&t.push(this._createButton(n,!1))}}),this),this.CustomCommands){var n=this.CustomCommands[e];if(n.ShowOnToolbar){var i=this._createButton(n,!1);t.push(i)}}for(var r=t.length-1;r>=0;r--)"-"==t[r]&&(r!=t.length-1&&0!=r&&"-"!=t[r+1]||(t.splice(r,1),0==r&&(r=1)));return t},VisibleCommand:function(t,e){this.UlvMainCtrlr.Adapter.VisibleToolbarBtn(t,e)},EnableCommand:function(t,e){this.UlvMainCtrlr.Adapter.EnableToolbarBtn(t,e)},ReadOnlyCommand:function(t,e){this.UlvMainCtrlr.Adapter.ReadOnlyToolbarBtn(t,e)}})},1210:()=>{Common.Cs.Define("Ul.UlvToolbarCtrlr","Ul.UlvCommandsBaseCtrlr",{ToolbarAdapter:null,constructor:function(t){this.callParent(arguments)},CreateAdapter:function(){var t=this.CreateAdapterConfig();this.ToolbarAdapter=new Ul.UlvToolbarAdapter(t),this.MenuAdapter=new Ul.UlvMenuAdapter(t)},___Refresh:function(t){t&&this.ToolbarAdapter.Refresh(),(this._refreshCommandsState()||t)&&this._refreshToolbarCommands()},_refreshCmdUi:function(t){this.UlvMainCtrlr.Adapter.RefreshCmdUi(t)},_refreshAllCmdUi:function(){this.UlvMainCtrlr.Adapter.RefreshAllCmdUi()},_refreshToolbarCommands:function(){for(var t=0;t<this.AllCommandList.length;t++){var e=this.AllCommandList[t];e.HideDisable?this.ToolbarAdapter.VisibleCommand(e.Id,!this.UlvMainCtrlr.GetReadOnly()&&e.IsActive):this.ToolbarAdapter.EnableCommand(e.Id,!this.UlvMainCtrlr.GetReadOnly()&&e.IsActive)}}})},7785:()=>{Common.Cs.Define("Ul.UlvDataCtrlr","Common.Observable",{Setting:null,UlvMainCtrlr:null,MoList:null,FormPanelCtrlr:null,constructor:function(t){this.callParent(arguments),Common.Merger.FastMerge(this,t),this.addEvents()},MoveUpDown:function(t,e){var n=Common.Util.TryGetValue(this.Setting.Extra,"Report.TypeDefId"),i=e,r={mo1:t.GetChangedObject(),mo2:i.GetChangedObject(),typeDefId:n,isComposite:this.UlvMainCtrlr.IsComposite()};Common.Ajax.GetServerData_Sync("List94.ChangeOrder",r,function(n){n.Error?Ul.MsgBox.Error(n.Error):(t[n.DbName]=n.Mo1,e[n.DbName]=n.Mo2,this.UlvMainCtrlr.ViewerAdapter.Replace(t,e))}.bind(this),null,null,this)},Delete:function(t,e,n){e=Ext.value(e,!0);var i;if(i=Ext.isEmpty(t)?this.UlvMainCtrlr.GetSelectedIdList():Common.MetaObjectListWeb.GetMoIdListFromArgument(t),Ext.isEmpty(i))n&&n();else{var r=this._getDeleteMessage(i.length>1),o=this.UlvMainCtrlr.IsComposite();Common.Async.Waterfall("UlvDataCtrlr.Delete",[Ul.MsgBox.ConfirmYesNo.bind(null,e,r,BBB.QuestionDeleteConfirmTitle),this.UlvMainCtrlr.FireEventSynch.bind(this.UlvMainCtrlr,Ul.UlvMainCtrlr.EventEnum.BeforeDeleteItem,{UlvMainCtrlr:this.UlvMainCtrlr,MoIdList:i}),Common.Async.ExecuteIfCondition.bind(null,!o,Common.Data.DeleteObject.bind(null,i)),this.UlvMainCtrlr.RefreshRowsByMos.bind(this.UlvMainCtrlr,null,null,i)],(function(t,e){Common.Async.Finalize(t,e,n)}))}},___ProccessEnterViewMode:function(t,e,n,i){if(this.UlvMainCtrlr.IsAutoInlineEdit())if(this._checkForCompositeAutoSave()){var r=this.UlvMainCtrlr.FieldCtrlr.ParentFormPanel,o="برای درج ردیفهای جدید لازم است ابتدا فرم اصلی یک بار ذخیره شود.";o=o.concat("</br>").concat("آیا فرم اصلی ذخیره شود؟"),Ul.MsgBox.YesNo(o,"ذخیره فرم اصلی",function(t){"yes"==t&&r.Save(!0)}.bind(this))}else{var a=this.UlvMainCtrlr.GetSelectedMetaObject(),s=this.GetEditFormParams(a,e,n);if(s)if(e=Ext.value(e,!1)||this.UlvMainCtrlr.GetReadOnly(),this.FormPanelCtrlr)this.FormPanelCtrlr.SetSelectedItemLocation(t),this.FormPanelCtrlr.MoveToUlvSelection(this.UlvMainCtrlr,s,!0,!1);else{var l=Ext.create({xtype:"Ul.FormPanelCtrlr",UlvMainCtrlr:this.UlvMainCtrlr,FormRequestParams:s,_isReadOnly:e,ParentMoProvider:this.UlvMainCtrlr,IsAutoInlineEdit:!0,SelectedItemLocation:t});l.ShowFormWindow(i),this.FormPanelCtrlr=l,this._subscribeToFormPanelCtrlEvents()}}i&&i()},ShowEditForm:function(t,e,n){if(Ext.isEmpty(t)&&(t=this.UlvMainCtrlr.GetSelectedMetaObject()),Ext.isEmpty(t))return Ul.MsgBox.Warning(BBB.AlertRowShouldBeSelected),void(n&&n());var i=Common.Util.TryGetValue(this,"Setting.Extra.DefaultCommandsAccess.Edit",!1),r=Common.Util.TryGetValue(this,"Setting.Extra.DefaultCommandsAccess.View",!1);if(i||r){1!=e&&0==i&&(e=!0);var o={Ulv:this,Report:this,Mo:t,IsReadOnly:e};Common.Async.Waterfall("UlvDataCtrlr.ShowEditForm",[this.UlvMainCtrlr.FireEventSynch.bind(this.UlvMainCtrlr,Ul.UlvMainCtrlr.EventEnum.BeforeOpenForm,o),this._showEditFormHelper.bind(this,o.Mo,o.IsReadOnly,!1,null)],(function(t,e){Common.Async.Finalize(t,e,n)}))}else n&&n()},_checkForCompositeAutoSave:function(t){if("True"==Common.Util.TryGetValue(this.UlvMainCtrlr,"FieldCtrlr.Setting.JsonExtraProp.IsAutoSave")&&this.UlvMainCtrlr.IsComposition()){var e=Common.Util.TryGetValue(this.UlvMainCtrlr,"FieldCtrlr.ParentFormPanel.Mo");if(e&&e.GetState()==Common.MetaObjectWeb.StateEnum.New)return!0}},ShowNewForm:function(t,e,n){if(this._checkForCompositeAutoSave()){var i=this.UlvMainCtrlr.FieldCtrlr.ParentFormPanel;return Ul.MsgBox.YesNo_ShowHtml("برای درج ردیفهای جدید لازم است ابتدا فرم اصلی یک بار ذخیره شود.".concat("</br>").concat("آیا فرم اصلی ذخیره شود؟"),"ذخیره فرم اصلی",function(t){"yes"==t&&i.Save(!0)}.bind(this)),void(n&&n())}var r={Ulv:this,Report:this,Mo:t=this.PrepateMoForNewForm(t),IsReadOnly:!1,IsNew:!1};this.UlvMainCtrlr.Mask(),Common.Async.Waterfall("UlvDataCtrlr.ShowNewForm",[this.UlvMainCtrlr.FireEventSynch.bind(this.UlvMainCtrlr,Ul.UlvMainCtrlr.EventEnum.BeforeOpenForm,r),this._showEditFormHelper.bind(this,r.Mo,!1,!0,e)],function(t,e){this.UlvMainCtrlr.Unmask(),Common.Async.Finalize(t,e,n)}.bind(this))},PrepateMoForNewForm:function(t){if(t&&this.UlvMainCtrlr.IsComposite()){var e=Common.Util.TryGetValue(this.Setting,"Extra.Relation");t.SetFValue(e.ParentFdName,e.ParentMoId)}return t},ChangeFormPanelSizeAndPosition:function(){},ShowAddToListForm:function(){var t=this.UlvMainCtrlr.ParentMo;t&&(t=t.GetChangedObject()),Common.Util.TryGetValue(this.Setting,"Extra.Relation.ChildFdId",null);var e=new Ul.UlvFormMultiSelectCtrlr;e.ShowOkCancelButtons=!0,e.ShowSecondPanel=!0,e._ulvParams1=new Ul.UlvParams({ReportId:this.Setting.Extra.Report.Id,TypeDefId:this.Setting.Extra.Report.TypeDefId,ParentMo:t,UsageEnum:Ul.UlvMainCtrlr.UlvUsageEnum.SelectionForm,SelectionEnum:Ul.UlvMainCtrlr.UlvSelectionEnum.CheckList}),e.ShowForm((function(t){if(!Ext.isEmpty(t)){var e=[];t.ForEach((function(t,n){e.push(t)})),this.UlvMainCtrlr.RefreshRowsByMos(null,e,null)}}),this)},RemoveFromList:function(t){var e;e=Ext.isEmpty(t)?this.UlvMainCtrlr.GetSelectedIdList():Common.MetaObjectListWeb.GetMoIdListFromArgument(t),Ext.isEmpty(e)||this.UlvMainCtrlr.RefreshRowsByMos(null,null,e)},GetEditFormParams:function(t,e,n,i,r){if(n=Ext.value(n,!1),e=Ext.value(e,!1),n&&0==this.HasAccessAdd(t)){var o="اجازه ایجاد موجودیت جدید ندارید";r?r(o):Ul.MsgBox.Warning(o)}else{if(n||0!=this.HasAccessEdit(t)||(e=!0),n||0!=this.HasAccessView(t)){if(Ext.isEmpty(t)){if(!n)return void(r?r(BBB.AlertRowShouldBeSelected):Ul.MsgBox.Warning(BBB.AlertRowShouldBeSelected));t=Common.MetaObjectWeb.CreateNewMo(this.Setting.Extra.Report.TypeDefId)}var a;n&&this.PrepateMoForNewForm(t);var s=Common.Util.TryGetValue(this.Setting,"Extra.Relation.PassParentMoField");s&&t.SetFValue(s,this.UlvMainCtrlr.ParentMo),Common.Util.TryGetValue(this.Setting,"Extra.Relation.AutoSetInNew")&&(a=this.UlvMainCtrlr.ParentMo),t=t.GetChangedObject();var l=this.Setting.Extra.Report.TypeDefId,u=new Ul.FormRequestParams({Mo:t,ParentMo:a,TypeDefId:l,MoContext:{ReportId:this.Setting.Extra.Report.Id},Relation:Common.Util.TryGetValue(this.Setting.Extra,"Relation",null),IsReadOnly:e,IsNew:n});return u.IsGridEditor=Common.Util.TryGetValue(this.Setting,"View.AutoInlineEdit"),u}o="اجازه نمایش این موجودیت را ندارید ",r?r(o):Ul.MsgBox.Warning(o)}},Reload:function(t){var e=this.ResolveUlvParams(!0);if(0==(Ext.isNotEmpty(this.Setting.SearchPanel)&&Ext.isEmpty(this.Setting.View))&&e.SetPartsToOnlyData(),this.UlvMainCtrlr.ParentMo){var n=this.UlvMainCtrlr.ParentMo;e.ParentMo=n.GetChangedObject?n.GetChangedObject():n}else e.ParentMo=null;this.ReloadHelper(e,t)},ReloadHelper:function(t,e){var n=Common.Util.TryGetValue(t,"Flags.View"),i=Ext.isEmpty(this.UlvMainCtrlr.ViewerAdapter)||n==Common.Enums.DefaultableBoolean.True;Common.Async.Waterfall("UlvDataCtrlr.ReloadHelper",{MaskView:this.UlvMainCtrlr.MaskView.bind(this.UlvMainCtrlr,1e3),Event_BeforeReportExecute:this.UlvMainCtrlr.FireEventSynch.bind(this.UlvMainCtrlr,Ul.UlvMainCtrlr.EventEnum.BeforeReportExecute,{Ulv:this.UlvMainCtrlr,Report:this.UlvMainCtrlr,UlvParams:t}),LoadFromServer:this.UlvMainCtrlr.LoadFromServer.bind(this.UlvMainCtrlr,t),Event_AfterReportExecute:this.UlvMainCtrlr.FireEventSynch.bind(this.UlvMainCtrlr,Ul.UlvMainCtrlr.EventEnum.AfterReportExecute,{Ulv:this.UlvMainCtrlr,Report:this.UlvMainCtrlr,UlvParams:t}),ExecuteIfCondition_CreateViewer:Common.Async.ExecuteIfCondition.bind(null,i,this.UlvMainCtrlr.CreateViewer.bind(this.UlvMainCtrlr)),Rebind:this.UlvMainCtrlr.Rebind.bind(this.UlvMainCtrlr),RefershPagingToolbar:function(t){this.UlvMainCtrlr.RefershPagingToolbar(),t()}.bind(this),RefreshRibbon:function(t){this.UlvMainCtrlr.CommandBarCtrlr.Refresh(),t()}.bind(this),RefreshItemsCount:function(e){t.FolderId&&Ul.ApplicationCtrlr.FireEvent("GlobalAfterReportCountChanged",Ul.ApplicationCtrlr,t.ReportId),e()}.bind(this)},function(t,n){this.UlvMainCtrlr.UnmaskView(),Common.Async.Finalize(t,n,e)}.bind(this))},MoveToPage:function(t,e){if(!this.UlvMainCtrlr.IsComposite()||!this.aNotFirstTime){var n=this.ResolveUlvParams();n.SetPartsToOnlyData(),n.PageIndex=t,this.ReloadHelper(n,e)}},Search:function(t){Common.Debug.Assert(0==Ext.isEmpty(this.UlvMainCtrlr.SearchPanelCtrlr),"UlvDataCtrlr.Search: Ulv has no SearchPanel");var e=this.ResolveUlvParams();e.PageIndex=0,this.ReloadHelper(e,t)},GetTotalRowCount:function(){var t=Common.Util.TryGetValue(this,"Setting.Data");if(t){if(t.Paging&&t.Paging.HasPaging)return t.Paging.TotalRows;if(t&&t.MoDataList)return t.MoDataList.length}},UpdateTotalRowCount:function(t){var e=Common.Util.TryGetValue(this.Setting,"Data.Paging");if(e&&e.HasPaging){var n=Number(e.TotalRows)+t;e.TotalRows=n}},HasAccessAdd:function(t){return this.Setting.Extra.DefaultCommandsAccess.Add},HasAccessView:function(t){return this.Setting.Extra.DefaultCommandsAccess&&this.Setting.Extra.DefaultCommandsAccess.View},HasAccessEdit:function(t){return this.Setting.Extra.DefaultCommandsAccess&&this.Setting.Extra.DefaultCommandsAccess.Edit},HasAccessDelete:function(t){return this.Setting.Extra.DefaultCommandsAccess&&this.Setting.Extra.DefaultCommandsAccess.Delete},SaveUserSetting:function(t){if(!this.Setting.Extra.ExtraJsonPropReport||!this.Setting.Extra.ExtraJsonPropReport.IgnoreUserSettings){var e=this.UlvMainCtrlr.GetUserSetting();this.Setting.View.GridSetting=e;var n=this.Setting.Extra.Report.Id,i={parentObjectId:Common.Util.TryGetValue(this.UlvMainCtrlr,"NavItem.OtherData.Mo.Id"),reportId:n,typeDefId:this.Setting.Extra.Report.TypeDefId,gridSetting:e},r=this._resolveHasPaging();Common.Async.Waterfall("UlvDataCtrlr.SaveUserSetting",[function(t){Common.Ajax.GetServerData("List94.SaveGridUserSetting",i,(function(){t()}),null,t,this,!0)}.bind(this),Common.Async.ExecuteIfCondition.bind(null,r&&t&&"SortChange"==t.Event,this.UlvMainCtrlr.MoveToPage.bind(this.UlvMainCtrlr,0))],(function(t,e){Common.Async.Finalize(t,e)}))}},LoadUserSetting:function(t){if(!this.Setting.Extra.ExtraJsonPropReport||!this.Setting.Extra.ExtraJsonPropReport.IgnoreUserSettings){var e=this.Setting.Extra.Report.TypeDefId,n=this.Setting.Extra.Report.Id,i=Common.Util.TryGetValue(this.UlvMainCtrlr,"NavItem.OtherData.Mo.Id");i&&(n=Common.Util.TryGetValue(this.UlvMainCtrlr,"NavItem.OtherData.ReportId"));var r={parentObjectId:i,typeDefId:e,reportId:n};Common.Ajax.GetServerData("List94.LoadDefaultGridSetting",r,(function(t){Ul.MsgBox.Info("برای اعمال تغییرات باید گزارش را بسته و دوباره باز کنید")}),null,null,this,!0)}},_getDeleteMessage:function(t){var e=BBB.QuestionDeleteConfirmMessage;return Ext.isArray(t)&&t.length>1&&(e=BBB.QuestionDeleteConfirmMessageMulti),e},____showEditFormHelper_old:function(t,e,n,i){if(n=Ext.value(n,!1),e=Ext.value(e,!1),n&&0==this.HasAccessAdd(t)){var r="اجازه ایجاد موجودیت جدید ندارید";i?i(r):Ul.MsgBox.Warning(r)}else if(n||0!=this.HasAccessEdit(t)||(e=!1),n||0!=this.HasAccessView(t)){if(Ext.isEmpty(t)){if(!n)return void(i?i(BBB.AlertRowShouldBeSelected):Ul.MsgBox.Warning(BBB.AlertRowShouldBeSelected));t=Common.MetaObjectWeb.CreateNewMo(this.Setting.Extra.Report.TypeDefId)}var o=Common.Util.TryGetValue(this.Setting,"Extra.Relation");n&&this.UlvMainCtrlr.IsComposite()&&t.SetFValue(o.ParentFdName,o.ParentMoId),t=t.GetState()==Common.Enums.MoState.New||t.GetState()==Common.Enums.MoState.Modified?t.GetChangedObject():t.GetMinimalMo();var a=this.Setting.Extra.Report.TypeDefId,s=new Ul.FormRequestParams({Mo:t,TypeDefId:a,MoContext:{ReportId:this.Setting.Extra.Report.Id},Relation:Common.Util.TryGetValue(this.Setting.Extra,"Relation",null),IsReadOnly:e,IsNew:n});new Ul.FormPanelCtrlr({UlvMainCtrlr:this.UlvMainCtrlr,FormRequestParams:s}).ShowFormWindow(i)}else r="اجازه نمایش این موجودیت را ندارید ",i?i(r):Ul.MsgBox.Warning(r)},_showEditFormHelper:function(t,e,n,i,r){e=Ext.value(e,!1)||this.UlvMainCtrlr.GetReadOnly();var o=this.GetEditFormParams(t,e,n,i);if(o){o.InheritanceChildTypeDefId=i&&i.Id;var a={xtype:"Ul.FormPanelCtrlr",UlvMainCtrlr:this.UlvMainCtrlr,FormRequestParams:o,_isReadOnly:e,ParentMoProvider:this.UlvMainCtrlr,IsAutoInlineEdit:!1,IsModeless:Common.Util.TryGetValue(this,"UlvMainCtrlr.Setting.Extra.ExtraJsonPropReport.IsModeless")},s=Ext.create(a);this.FormPanelCtrlr=s,this.FormPanelCtrlr.on({ShowWindow:this._FormPanel_ShowWindow}),this.FormPanelCtrlr.ShowFormWindow(r),this._subscribeToFormPanelCtrlEvents()}else r&&r()},_FormPanel_ShowWindow:function(t){this.UlvMainCtrlr.FormPanelControlShowWindow(t)},ResolveUlvParams:function(t){var e=this.UlvMainCtrlr.UlvParams,n=Common.Util.TryGetValue(this,"Setting.Extra.DefaultCommandsAccess.Edit");if(Ext.isEmpty(e)&&(e=new Ul.UlvParams({ReportId:this.Setting.Extra.Report.Id,FieldDefId:Common.Util.TryGetValue(this.Setting,"Extra.Relation.ChildFdId"),IsReadOnly:!n})),0==(Ext.isNotEmpty(this.Setting.SearchPanel)&&Ext.isEmpty(this.Setting.View))||1!=t){var i=Common.Util.TryGetValue(this.UlvMainCtrlr,"SearchPanelCtrlr.Mo"),r=this.UlvMainCtrlr.ParentMo;if(e.ParentMo=r?r.GetChangedObject?r.GetChangedObject():r:null,e.SearchMo=i?i.GetChangedObject?i.GetChangedObject():i:null,e.SortSettingList=this.UlvMainCtrlr.GetSortSetting(),this._resolveHasPaging()){var o=this.UlvMainCtrlr.GetValue();Common.Util.TryGetValue(o,"Data.Paging"),e.PageIndex=this.UlvMainCtrlr.GetCurrentPage()}}var a=new Ul.UlvParams;return Common.Merger.Clone(a,e)},_resolveHasPaging:function(){var t=this.UlvMainCtrlr.GetValue();return Common.Util.TryGetValue(t,"Paging.HasPaging")},_disposeFormPanel:function(){this.FormPanelCtrlr&&(this.UlvMainCtrlr&&this.UlvMainCtrlr.ViewerAdapter&&this.UlvMainCtrlr.ViewerAdapter.ResetVariable(),this.FormPanelCtrlr.Destroy(),this.FormPanelCtrlr=null)},_subscribeToFormPanelCtrlEvents:function(){this.FormPanelCtrlr&&(this.FormPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.MovePrevClick,this._onFormPanelCtrlr_MovePrev,this),this.FormPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.MoveNextClick,this._onFormPanelCtrlr_MoveNext,this),this.FormPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.AfterClose,this._onFormPanelCtrlr_AfterClose,this),this.FormPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.AfterDelete,this._onFormPanelCtrlr_AfterDelete,this))},_unSubscribeFromFormPanelCtrlEvents:function(){this.FormPanelCtrlr&&(this.FormPanelCtrlr.un(Ul.FormPanelCtrlr.EventEnum.MovePrevClick,this._onFormPanelCtrlr_MovePrev,this),this.FormPanelCtrlr.un(Ul.FormPanelCtrlr.EventEnum.MoveNextClick,this._onFormPanelCtrlr_MoveNext,this),this.FormPanelCtrlr.un(Ul.FormPanelCtrlr.EventEnum.AfterClose,this._onFormPanelCtrlr_AfterClose,this),this.FormPanelCtrlr.un(Ul.FormPanelCtrlr.EventEnum.AfterDelete,this._onFormPanelCtrlr_AfterDelete,this))},_onFormPanelCtrlr_MovePrev:function(t,e,n){this._takeStep(!1,n)||n&&n()},_onFormPanelCtrlr_MoveNext:function(t,e,n){this._takeStep(!0,n)||n&&n()},_takeStep:function(t,e){if(!(Ext.isEmpty(this.FormPanelCtrlr)||Ext.isEmpty(this.UlvMainCtrlr)||Ext.isEmpty(this.UlvMainCtrlr.GetViewerUi())||1!=this.UlvMainCtrlr.IsSelectable())&&(1==t?this.UlvMainCtrlr.CanSelectNext():this.UlvMainCtrlr.CanSelectPrev())){var n=1==t?this.UlvMainCtrlr.SelectNext():this.UlvMainCtrlr.SelectPrev(),i=this.UlvMainCtrlr.GetSelectedMetaObject();if(1==n&&!Ext.isEmpty(i)){var r=Common.Merger.FastMerge(null,this.FormPanelCtrlr.FormRequestParams);return r.Mo=i.GetMinimalMo(),this.FormPanelCtrlr.LoadAndCreate(r,!1,!0,e),!0}}},_onFormPanelCtrlr_CreationFormPanelFailed:function(t,e){this._disposeFormPanel()},_onFormPanelCtrlr_AfterClose:function(t,e){this._unSubscribeFromFormPanelCtrlEvents(),this._disposeFormPanel(),this.FormPanelCtrlr=null},_onFormPanelCtrlr_AfterDelete:function(t,e,n){var i;0==Ext.isEmpty(this.UlvMainCtrlr)?(this.UlvMainCtrlr.CanSelectNext()?(this.UlvMainCtrlr.SelectNext(),i=this.UlvMainCtrlr.GetSelectedMetaObject()):this.UlvMainCtrlr.CanSelectPrev()&&(this.UlvMainCtrlr.SelectPrev(),i=this.UlvMainCtrlr.GetSelectedMetaObject()),i?(this.FormPanelCtrlr.FormRequestParams.Mo=i.GetChangedObject(),this.FormPanelCtrlr.Reload(n)):this.FormPanelCtrlr.Close(n),this.UlvMainCtrlr.RefreshRowsByMos(null,null,[this.FormPanelCtrlr.Mo.Id])):this.FormPanelCtrlr.Close(n)}})},81037:()=>{Common.Cs.Define("Ul.CustomUlvDropDownExCtrlr","Ul.UlvDropDownExCtrlr",{getAdapter:function(){var t=this.HostCtrlr.Adapter.Control.controlUi;return t.UlvMainCtrlr||(t.DropDownSettig=this.DropDownSettig,t.UlvMainCtrlr=this.UlvMainCtrlr,t.HostAdapter=this.HostCtrlr.Adapter,t.on({scope:this,RequestParentFormPanelUi:function(t,e){var n=Common.Util.TryGetValue(this,"HostCtrlr.ParentFormPanel.Adapter.Control");e.FormPanelUi=n},AfterCollapse:function(t,e){this.fireEvent("AfterCollapse",this)},AfterExpand:function(t,e){this.fireEvent("AfterExpand",this)}})),t},_createAdapter:function(){this.getAdapter()},Focus:function(){this.getAdapter.Focus()},Collapse:function(t){Common.Debug.Assert("Ac"==t||"Dd"==t,"Dropdown type is incorrect!"),this.getAdapter().Collapse(t)},IsExpanded:function(t){return this.getAdapter().IsExpanded(t)},_showMask:function(t){this._isMasked=!0,this.getAdapter().Mask(t)},_hideMask:function(t){this._isMasked=!1,this.getAdapter().Unmask(t)},_createUlvUi:function(t,e,n){Common.Async.Waterfall("Ul.UlvDropDownExCtrlr._createUlvUi",[this.UlvMainCtrlr[t].Load.bind(this.UlvMainCtrlr[t],e),function(e){this.getAdapter().SetUlvAdapter(t,this.UlvMainCtrlr[t].Adapter),e()}.bind(this),this._showUlvUi.bind(this,t)],(function(t,e){Common.Async.Finalize(t,e,n)}))},_showUlvUi:function(t,e){this.HostCtrlr.GetSize(),this.fireEvent("BeforeExpand",this,{}),this.getAdapter().Expand(t),"Ac"==t&&Ext.isEmpty(this.UlvMainCtrlr.Ac.GetSelectedId())&&Ext.defer((function(){this.UlvMainCtrlr.Ac.SelectFirst()}),10,this),e&&e()},_onUlvMainCtrlr_BindData:function(t,e){var n=this._getTypeByUlv(t);this.getAdapter().IsUiCreated(n)&&(this.getAdapter().Expand(n),Ext.isEmpty(this.UlvMainCtrlr[n].GetSelectedId())&&this.UlvMainCtrlr[n].SelectFirst())}})},29355:()=>{Common.Cs.Define("Ul.UlvDropDownExAdapter","Common.Observable",{DropDownSettig:null,UlvAdapter:null,UlvAdapterAc:null,UlvAdapterDd:null,HostAdapter:null,_dropDownMenuAc:null,_dropDownMenuDd:null,_waitControl:null,_ulvUi:null,_ulvUiAc:null,_ulvUiDd:null,_hostUi:null,constructor:function(t){this.addEvents("RequestParentFormPanelUi","RequestUlvParams","BeforeLoadUlv","AfterExpand","AfterCollapse"),this.UlvAdapter={},this._ulvUi={},this._dropDownMenu={},this.callParent(arguments),this._hostUi=this.HostAdapter.Control},_createDropDownMenu:function(t){var e={_ulvUi:this._ulvUi[t],_parentTrigger:this,_hideOnClick:!1};LoginFormData.CustomUiPrefix?this._dropDownMenu[t]=new Ui.CustomUlvDropDownUi(e):this._dropDownMenu[t]=new Ui.UlvDropDownUi(e),this._dropDownMenu[t].on("hide",(function(){this.fireEvent("AfterCollapse",this,t)}),this),this._dropDownMenu[t].on("show",(function(){this.fireEvent("AfterExpand",this,t)}),this),this._dropDownMenu[t].el||(this._dropDownMenu[t].render(),this._dropDownMenu[t].doLayout(!1,!0)),"Ac"==t&&(this._hostUi.UlvDropDownMenuUi=this._dropDownMenu[t])},_createWaitControl:function(){var t={};this.fireEvent("RequestParentFormPanelUi",this,t);var e=t.FormPanelUi;this._waitControl=new Ext.Panel({width:this._hostUi.getSize().width-20,renderTo:e.getEl(),floating:!0,hidden:!0,baseCls:"a-Waitbox-panel",height:20})},_showWaitControl:function(t){t&&t()},_hideWaitControl:function(){},SetUlvAdapter:function(t,e){this.UlvAdapter[t]=e,this._ulvUi[t]=e.Control},Expand:function(t){t=Ext.value(t,"Ac"),Ext.isEmpty(this._dropDownMenu[t])&&this._createDropDownMenu(t),this._showDropDownMenu(t)},Collapse:function(t){t=Ext.value(t,"Ac"),0==Ext.isEmpty(this._dropDownMenu[t])&&this._dropDownMenu[t].hide(),this._hideWaitControl()},Mask:function(t){this.IsExpanded(t)?Ul.LoadingMask.Mask(this._ulvUi[t],{delay:500}):(this._showWaitControl.defer(1,this),this._ulvUi[t]&&Ul.LoadingMask.Unmask(this._ulvUi[t]))},Unmask:function(t){this.IsExpanded(t)&&this._ulvUi[t]&&Ul.LoadingMask.Unmask(this._ulvUi[t]),this._hideWaitControl()},Focus:function(t){this._ulvUi[t]._ulvViewer.focus()},IsUiCreated:function(t){return this._dropDownMenu[t]},IsExpanded:function(t){return this._ulvUi[t]&&this._dropDownMenu[t]&&0==this._dropDownMenu[t].hidden},_showDropDownMenu:function(t){var e=this.UlvAdapter[t].GetFullSize(),n=this._hostUi.getSize(),i=n.width,r=50,o=Common.UtilUi.GetBodySize();i=Math.max(i,e.width),i=Math.min(i,o.width);var a=this._hostUi.getPosition(!1)[1],s=o.height-this._hostUi.getPosition(!1)[1]-n.height,l=Math.max(a,s);0!=e.height&&(r=Math.min(l,e.height)),this.UlvAdapter[t].Control.setSize(i,r-0),r<=s?this._dropDownMenu[t].show(this._hostUi.getResizeEl(),"tr-br"):this._dropDownMenu[t].show(this._hostUi.getResizeEl(),"br-tr")}})},28725:()=>{Common.Cs.Define("Ul.UlvDropDownExCtrlr","Common.Observable",{UlvMainCtrlr:null,HostCtrlr:null,Adapter:null,DropDownSettig:null,FnRequestUlvParams:null,FnRequestFilterText:null,ParentMo:null,_refreshAlways:!0,_showOkCancel:!1,_showToolbar:!1,_closeOnRowClick:!0,constructor:function(t){this.addEvents("BeforeLoadUlv","BeforeExpand","AfterExpand","AfterCollapse","ItemSelect"),t=Common.Merger.Clone(t,Ul.UlvDropDownExCtrlr._internalDefaults,{onlyNewProperties:!0}),this.UlvMainCtrlr={},this.FnRequestUlvParams={},this.callParent(arguments),this._createAdapter()},Filter:function(t,e){Common.Debug.Log(t),this._createLoadShowUlv("Ac",t,e)},Collapse:function(t){Common.Debug.Assert("Ac"==t||"Dd"==t,"Dropdown type is incorrect!"),this.Adapter.Collapse(t)},Expand:function(t,e){Common.Debug.Assert("Ac"==t||"Dd"==t,"Dropdown type is incorrect!"),this._createLoadShowUlv(t,null,e)},IsExpanded:function(t){return Common.Debug.Assert("Ac"==t||"Dd"==t,"Dropdown type is incorrect!"),this.Adapter.IsExpanded(t)},ExpandCollapse:function(t){t=Ext.value(t,"Dd"),this.IsExpanded(t)?this.Collapse(t):this.Expand(t)},HandleKeyDown:function(t){var e,n=t.getKey();if(this.IsExpanded("Dd"));else if(this.IsExpanded("Ac")){if(Ul.UlvDropDownExCtrlr.NavigationKeys.indexOf(n)>=0)this.UlvMainCtrlr.Ac.SelectByKeyboard(n,t.shiftKey,t.ctrlKey,t.altKey),e=!0;else if(n==Ext.EventObject.ESC)this.Collapse("Ac"),t.stopEvent(),e=!0;else if(t.keyCode==t.ENTER||n==Ext.EventObject.TAB){this._selectCurrentRowAndCollapse("Ac"),e=!0,console.error("HandleKeyDown");var i=this._getHostControlElement();i&&(i._bypassEnterOnce=!0)}n==t.UP&&t.altKey&&this.Collapse("Ac")}else n==t.DOWN&&t.altKey&&this.Expand("Ac");return e},Focus:function(){this.Adapter.Focus()},____HandleKeyDown:function(t){var e=t.getKey();e==t.DOWN&&t.altKey?this.Expand():this.IsExpanded()&&(Ul.UlvDropDownExCtrlr.NavigationKeys.indexOf(e)>=0?this.UlvMainCtrlr.SelectByKeyboard(e,t.shiftKey,t.ctrlKey,t.altKey)&&t.stopEvent():e==Ext.EventObject.ESC?(this.Collapse(),t.stopEvent()):t.keyCode==t.ENTER&&!1===this._selectCurrentRowAndCollapse()&&t.stopEvent())},SetParentMo:function(t){this.ParentMo=t,Ext.isNotEmpty(this.UlvMainCtrlr.Ac)&&(this.UlvMainCtrlr.Ac.ParentMo=t),Ext.isNotEmpty(this.UlvMainCtrlr.Dd)&&(this.UlvMainCtrlr.Dd.ParentMo=t)},_createAdapter:function(){this.Adapter=new Ul.UlvDropDownExAdapter({DropDownSettig:this.DropDownSettig,HostAdapter:this.HostCtrlr.Adapter}),this.Adapter.on({scope:this,RequestParentFormPanelUi:function(t,e){var n=Common.Util.TryGetValue(this,"HostCtrlr.ParentFormPanel.Adapter.Control");e.FormPanelUi=n},AfterCollapse:function(t,e){this.fireEvent("AfterCollapse",this)},AfterExpand:function(t,e){this.fireEvent("AfterExpand",this)}})},_createLoadShowUlv:function(t,e,n){Ext.isEmpty(this.UlvMainCtrlr[t])&&(this.UlvMainCtrlr[t]=this._createUlvMainCtrlr(t));var i=!Ext.isEmpty(this.UlvMainCtrlr[t].Adapter);if(i&&Ext.isEmpty(e)&&0==this.DropDownSettig.RefreshBeforeExpand)return this._showUlvUi(t),void(n&&n());if(!i&&this._isMasked)return n?n():void(this._isFilteredButNotCreated=e);Common.Debug.Assert(Ext.isFunction(this.FnRequestUlvParams[t]),"FnRequestUlvParams is not a function");var r=this.FnRequestUlvParams[t].call();r?(r.FilterText=e,this.fireEvent("BeforeLoadUlv",this,r),this._showMask(t),Common.Async.Waterfall("Ul.UlvDropDownExCtrlr._createLoadShowUlv",[Common.Async.ExecuteIfElseCondition.bind(null,i,this._refreshUlvUi.bind(this,t,r),this._createUlvUi.bind(this,t,r))],function(i,r){if(this._hideMask(t),Common.Async.Finalize(i,r,n),this._isFilteredButNotCreated){delete this._isFilteredButNotCreated;var o=this.FnRequestFilterText.call();this.FnRequestFilterText&&o!=e&&this.Filter(o)}}.bind(this))):n&&n()},_createUlvMainCtrlr:function(t){Common.Debug.Assert("Ac"==t||"Dd"==t,"Incorrect type in _createUlvMainCtrlr");var e="Ac"==t,n=new Ul.UlvMainCtrlr,i=this.DropDownSettig;Common.Util.TryGetValue(this,"HostCtrlr.Setting.IsLtr")&&(n.ForceLtr=!0);var r={};e?(r.Toolbar=!1,r.HandleItemClick=!1,r.HandleItemDblClick=!1,r.HandleKeyDown=!1):(r.Toolbar=i.ShowToolbar,r.HandleItemClick=!i.CollapseOnRowClick,r.HandleItemDblClick=!i.CollapseOnRowClick,r.HandleKeyDown=!1),n.Features=r,n.ShowOkCancelButtons=!e&&Ext.value(i.ShowOkCancel,!1);var o={scope:this};return o[Ul.UlvMainCtrlr.EventEnum.ItemClick]=this._onUlvMainCtrlr_ItemClicked,o[Ul.UlvMainCtrlr.EventEnum.KeyDown]=this._onUlvMainCtrlr_KeyDown,o[Ul.UlvMainCtrlr.EventEnum.FooterButtonClick]=this._onUlvMainCtrlr_FooterButtonClick,o[Ul.UlvMainCtrlr.EventEnum.AfterReportExecute]=this._onUlvMainCtrlr_AfterReportExecute,o[Ul.UlvMainCtrlr.EventEnum.BindData]=this._onUlvMainCtrlr_BindData,o[Ul.UlvMainCtrlr.EventEnum.RenderViewer]=this._onUlvMainCtrlr_RenderViewer,n.on(o),n},_createUlvUi:function(t,e,n){Common.Async.Waterfall("Ul.UlvDropDownExCtrlr._createUlvUi",[this.UlvMainCtrlr[t].Load.bind(this.UlvMainCtrlr[t],e),function(e){this.Adapter.SetUlvAdapter(t,this.UlvMainCtrlr[t].Adapter),e()}.bind(this),this._showUlvUi.bind(this,t)],(function(t,e){Common.Async.Finalize(t,e,n)}))},_refreshUlvUi:function(t,e,n){Common.Async.Waterfall("Ul.UlvDropDownExCtrlr._refreshUlvUi",{UlvMainCtrlr_ReloadHelper:this.UlvMainCtrlr[t].ReloadHelper.bind(this.UlvMainCtrlr[t],e),_showUlvUi:this._showUlvUi.bind(this,t)},(function(t,e){this._forceRefreshLoadedList=!1,Common.Async.Finalize(t,e,n)}))},_showUlvUi:function(t,e){this.HostCtrlr.GetSize(),this.fireEvent("BeforeExpand",this,{}),this.Adapter.Expand(t),"Ac"==t&&Ext.isEmpty(this.UlvMainCtrlr.Ac.GetSelectedId())&&Ext.defer((function(){this.UlvMainCtrlr.Ac.SelectFirst()}),10,this),e&&e()},_isUlvUiCreated:function(t){return!Ext.isEmpty(this.UlvMainCtrlr[t].ViewerAdapter)},_selectCurrentRowAndCollapse:function(t){if(!Ext.isEmpty(this.UlvMainCtrlr[t])){var e,n=this.UlvMainCtrlr[t].GetSelectedMetaObject();return n&&(e=this.fireEvent("ItemSelect",this,n)),this.Collapse(t),e}},____refineUlvSize:function(){this.Adapter.RefineUlvSize(this.UlvMainCtrlr.GetSize(),this.UlvMainCtrlr.GetFullSize())},_getTypeByUlv:function(t){var e;return t==this.UlvMainCtrlr.Ac?e="Ac":t==this.UlvMainCtrlr.Dd&&(e="Dd"),Common.Debug.Assert(Ext.isNotEmpty(e),"Dropdown type is incorrect!"),e},_onUlvMainCtrlr_ItemClicked:function(t,e){var n=this._getTypeByUlv(t);this._selectCurrentRowAndCollapse(n),this.HostCtrlr.SetFocus()},_onUlvMainCtrlr_BindData:function(t,e){var n=this._getTypeByUlv(t);this.Adapter.IsUiCreated(n)&&(this.Adapter.Expand(n),Ext.isEmpty(this.UlvMainCtrlr[n].GetSelectedId())&&this.UlvMainCtrlr[n].SelectFirst())},_onUlvMainCtrlr_RenderViewer:function(t,e){},_onUlvMainCtrlr_AfterReportExecute:function(t,e){Common.Merger.Merge(t,this.DropDownSettig.UlvOverride)},_onUlvMainCtrlr_KeyDown:function(t,e){var n=this._getTypeByUlv(t);"Ac"==n&&(e.keyCode==e.ENTER||e.keyCode==e.TAB?(this._selectCurrentRowAndCollapse(n),(Ul.ApplicationCtrlr.EnterKeyForNavigation&&e.keyCode==e.ENTER||!Ul.ApplicationCtrlr.EnterKeyForNavigation&&e.keyCode==e.TAB)&&this.HostCtrlr.FocusNextPrev(!0)):e.keyCode==Ext.EventObject.ESC&&(this.Collapse(n),this.HostCtrlr.SetFocus()))},_onUlvMainCtrlr_FooterButtonClick:function(t,e){var n=this._getTypeByUlv(t);"Ok"==e?this._selectCurrentRowAndCollapse(n):"Cancel"==e&&this.Collapse(n)},_isMasked:!1,_showMask:function(t){this._isMasked=!0,this.Adapter.Mask(t)},_hideMask:function(t){this._isMasked=!1,this.Adapter.Unmask(t)},_getHostControlElement:function(){var t=Common.Util.TryGetValue(this.HostCtrlr.Adapter.Control);if(t&&t.getEl)return t.getEl()},statics:{_internalDefaults:{DropDownSettig:{ShowOkCancel:!1,ShowToolbar:!1,CollapseOnRowClick:!0,RefreshBeforeExpand:!0,UlvOverride:null}},NavigationKeys:[Ext.EventObject.RIGHT,Ext.EventObject.LEFT,Ext.EventObject.UP,Ext.EventObject.DOWN,Ext.EventObject.PAGE_UP,Ext.EventObject.PAGE_DOWN,Ext.EventObject.HOME,Ext.EventObject.END]}})},62551:()=>{Common.Cs.Define("Ul.CustomUlvDropDownAdapter","Common.Observable",{DropDownSettig:null,UlvAdapter:null,HostAdapter:null,_dropDownMenu:null,_waitControl:null,_ulvUi:null,_hostUi:null,constructor:function(t){this.addEvents("RequestParentFormPanelUi","RequestUlvParams","BeforeLoadUlv","AfterExpand","AfterCollapse"),this.callParent(arguments),this._hostUi=this.HostAdapter.Control,this.Control=this.HostAdapter.Control.controlUi},_createDropDownMenu:function(){this.Control.UlvUi=this._ulvUi,this.Control.HideOnClick=!1,this._hostUi.UlvDropDownMenuUi=this.Control},_createWaitControl:function(){this.fireEvent("RequestParentFormPanelUi",this,{})},_showWaitControl:function(t){t&&t()},_hideWaitControl:function(){},SetUlvAdapter:function(t){this.UlvAdapter=t,this._ulvUi=this.UlvAdapter.Control,this.Control&&(this.Control.UlvUi=this._ulvUi)},Expand:function(){this.Control.UlvUi||this._createDropDownMenu(),this._showDropDownMenu()},Collapse:function(){0==Ext.isEmpty(this.Control)&&this.Control.hide(),this._hideWaitControl()},Mask:function(){this.IsExpanded()?Ul.LoadingMask.Mask(this._ulvUi,{delay:200}):(this._showWaitControl.defer(1,this),this._ulvUi&&Ul.LoadingMask.Unmask(this._ulvUi))},Unmask:function(){this.IsExpanded()&&this._ulvUi&&Ul.LoadingMask.Unmask(this._ulvUi),this._hideWaitControl()},Focus:function(){this._ulvUi._ulvViewer.focus()},IsUiCreated:function(){return this.Control},IsExpanded:function(){return this._ulvUi&&this.Control&&0==this.Control.hidden},SuspendHide:function(t){},_showDropDownMenu:function(){this.Control.show()}})},14095:()=>{Common.Cs.Define("Ui.CustomUlvDropDownUi","Common.Observable",{UlvUi:null,hideBorders:!0,cls:"a-Ulv-DropDown",shadow:!1,_suspandHide:!1,constructor:function(t){var e=LoginFormData.CustomUiPrefix;component=e+"-ui-ulv-drop-down-ui",this.controlUI=document.createElement(component),this.controlUI.context=this,this.callParent(arguments)},render:function(){document.body.appendChild(this.controlUI)},doLayout:function(){},Focus:function(){this.UlvUi._ulvViewer.focus()},showAt:function(t,e,n){this.controlUI.show(size,anchor,n)},show:function(t,e,n){this.controlUI.show(t,e,n)},hide:function(){this.controlUI.hide()}})},41893:()=>{Common.Cs.Define("Ul.UlvDropDownAdapter","Common.Observable",{DropDownSettig:null,UlvAdapter:null,HostAdapter:null,_dropDownMenu:null,_waitControl:null,_ulvUi:null,_hostUi:null,constructor:function(t){this.addEvents("RequestParentFormPanelUi","RequestUlvParams","BeforeLoadUlv","AfterExpand","AfterCollapse"),this.callParent(arguments),this._hostUi=this.HostAdapter.Control,this._minimumHeight=150},_createDropDownMenu:function(){this._dropDownMenu=new Ui.UlvDropDownUi({_ulvUi:this._ulvUi,_parentTrigger:this,_hideOnClick:!1}),this._dropDownMenu.on("hide",(function(){this.fireEvent("AfterCollapse",this)}),this),this._dropDownMenu.on("show",(function(){this.fireEvent("AfterExpand",this)}),this),this._dropDownMenu.el||(this._dropDownMenu.render(),this._dropDownMenu.doLayout(!1,!0)),this._hostUi.UlvDropDownMenuUi=this._dropDownMenu},_createWaitControl:function(){var t={};this.fireEvent("RequestParentFormPanelUi",this,t);var e=t.FormPanelUi;this._waitControl=new Ext.Panel({width:this._hostUi.getSize().width-20,renderTo:e.getEl(),floating:!0,hidden:!0,baseCls:"a-Waitbox-panel",height:20})},_showWaitControl:function(t){t&&t()},_hideWaitControl:function(){},SetUlvAdapter:function(t){this.UlvAdapter=t,this._ulvUi=this.UlvAdapter.Control},Expand:function(){null==this._dropDownMenu&&this._createDropDownMenu(),this._showDropDownMenu()},Collapse:function(){0==Ext.isEmpty(this._dropDownMenu)&&this._dropDownMenu.hide(),this._hideWaitControl()},Mask:function(){this.IsExpanded()?Ul.LoadingMask.Mask(this._ulvUi,{delay:200}):(this._showWaitControl.defer(1,this),this._ulvUi&&Ul.LoadingMask.Unmask(this._ulvUi))},Unmask:function(){this.IsExpanded()&&this._ulvUi&&Ul.LoadingMask.Unmask(this._ulvUi),this._hideWaitControl()},Focus:function(){this._ulvUi._ulvViewer.focus()},IsUiCreated:function(){return this._dropDownMenu},IsExpanded:function(){return this._ulvUi&&this._dropDownMenu&&0==this._dropDownMenu.hidden},_showDropDownMenu:function(){var t=this.UlvAdapter.GetFullSize(),e=this._hostUi.getSize(),n=e.width,i=50,r=Common.UtilUi.GetBodySize();n=Math.max(n,t.width),n=Math.min(n,r.width);var o=this._hostUi.getPosition(!1)[1],a=r.height-this._hostUi.getPosition(!1)[1]-e.height,s=Math.max(o,a);0!=t.height&&(i=Math.min(s,t.height)),i<this._minimumHeight&&(i=this._minimumHeight),this.UlvAdapter.Control.setSize(n,i-0),i<=a?this._dropDownMenu.show(this._hostUi.getResizeEl(),"tr-br"):this._dropDownMenu.show(this._hostUi.getResizeEl(),"br-tr")}})},32026:()=>{Common.Cs.Define("Ul.UlvDropDownCtrlr","Common.Observable",{UlvMainCtrlr:null,HostCtrlr:null,Adapter:null,DropDownSettig:null,FnRequestUlvParams:null,FnRequestFilterText:null,_refreshAlways:!0,_showOkCancel:!1,_showToolbar:!1,_closeOnRowClick:!0,constructor:function(t){this.addEvents("BeforeLoadUlv","BeforeExpand","AfterExpand","AfterCollapse","ItemSelect"),t=Common.Merger.Clone(t,Ul.UlvDropDownCtrlr._internalDefaults,{onlyNewProperties:!0}),this.callParent(arguments),this._createAdapter()},Filter:function(t,e){Common.Debug.Log(t),this._createLoadShowUlv(t,e)},Collapse:function(){this.Adapter.Collapse()},Expand:function(t){this._createLoadShowUlv(null,t)},IsExpanded:function(){return this.Adapter.IsExpanded()},ExpandCollapse:function(){this.IsExpanded()?this.Collapse():this.Expand()},HandleKeyDown:function(t){var e=t.getKey();if(e==t.DOWN&&t.altKey)return this.Expand(),!0;if(this.IsExpanded()){if(Ul.UlvDropDownCtrlr.NavigationKeys.indexOf(e)>=0)return this.UlvMainCtrlr.SelectByKeyboard(e,t.shiftKey,t.ctrlKey,t.altKey),!0;if(e==Ext.EventObject.ESC)return this.Collapse(),!0;if(e==Ext.EventObject.TAB)this.Collapse(),t.stopPropagation();else if(t.keyCode==t.ENTER)return this._selectCurrentRowAndCollapse(),!0}},Focus:function(){this.Adapter.Focus()},____HandleKeyDown:function(t){var e=t.getKey();e==t.DOWN&&t.altKey?this.Expand():this.IsExpanded()&&(Ul.UlvDropDownCtrlr.NavigationKeys.indexOf(e)>=0?this.UlvMainCtrlr.SelectByKeyboard(e,t.shiftKey,t.ctrlKey,t.altKey)&&t.stopEvent():e==Ext.EventObject.ESC?(this.Collapse(),t.stopEvent()):t.keyCode==t.ENTER&&!1===this._selectCurrentRowAndCollapse()&&t.stopEvent())},_createAdapter:function(){var t=LoginFormData.CustomUiPrefix;this.Adapter=t?new Ul.CustomUlvDropDownAdapter({DropDownSettig:this.DropDownSettig,HostAdapter:this.HostCtrlr.Adapter}):new Ul.UlvDropDownAdapter({DropDownSettig:this.DropDownSettig,HostAdapter:this.HostCtrlr.Adapter}),this.Adapter.on({scope:this,RequestParentFormPanelUi:function(t,e){var n=Common.Util.TryGetValue(this,"HostCtrlr.ParentFormPanel.Adapter.Control");e.FormPanelUi=n},AfterCollapse:function(t,e){this.fireEvent("AfterCollapse",this)},AfterExpand:function(t,e){this.fireEvent("AfterExpand",this)}})},_createLoadShowUlv:function(t,e){Ext.isEmpty(this.UlvMainCtrlr)&&(this.UlvMainCtrlr=this._createUlvMainCtrlr());var n=!Ext.isEmpty(this.UlvMainCtrlr.Adapter);if(n&&Ext.isEmpty(t)&&0==this.DropDownSettig.RefreshBeforeExpand)return this._showUlvUi(),void(e&&e());if(!n&&this._isMasked)return e?e():void(this._isFilteredButNotCreated=t);Common.Debug.Assert(Ext.isFunction(this.FnRequestUlvParams),"FnRequestUlvParams is not a function");var i=this.FnRequestUlvParams.call();i?(i.FilterText=t,this.fireEvent("BeforeLoadUlv",this,i),this._showMask(),Common.Async.Waterfall("Ul.UlvDropDownCtrlr._createLoadShowUlv",[Common.Async.ExecuteIfElseCondition.bind(null,n,this._refreshUlvUi.bind(this,i),this._createUlvUi.bind(this,i))],function(n,i){if(this._hideMask(),Common.Async.Finalize(n,i,e),this._isFilteredButNotCreated){delete this._isFilteredButNotCreated;var r=this.FnRequestFilterText.call();this.FnRequestFilterText&&r!=t&&this.Filter(r)}}.bind(this))):e&&e()},_createUlvMainCtrlr:function(){var t=this.DropDownSettig,e=new Ul.UlvMainCtrlr;e.ShowOkCancelButtons=Ext.value(t.ShowOkCancel,!1),e.Features.Toolbar=t.ShowToolbar,e.Features.HandleItemClick=!t.CollapseOnRowClick,e.Features.HandleItemDblClick=!t.CollapseOnRowClick,e.Features.HandleKeyDown=!1,Common.Util.TryGetValue(this,"HostCtrlr.Setting.IsLtr")&&(e.ForceLtr=!0);var n={scope:this};return n[Ul.UlvMainCtrlr.EventEnum.ItemClick]=this._onUlvMainCtrlr_ItemClicked,n[Ul.UlvMainCtrlr.EventEnum.KeyDown]=this._onUlvMainCtrlr_KeyDown,n[Ul.UlvMainCtrlr.EventEnum.FooterButtonClick]=this._onUlvMainCtrlr_FooterButtonClick,n[Ul.UlvMainCtrlr.EventEnum.AfterReportExecute]=this._onUlvMainCtrlr_AfterReportExecute,n[Ul.UlvMainCtrlr.EventEnum.BindData]=this._onUlvMainCtrlr_BindData,n[Ul.UlvMainCtrlr.EventEnum.RenderViewer]=this._onUlvMainCtrlr_RenderViewer,e.on(n),e},_createUlvUi:function(t,e){Common.Async.Waterfall("Ul.UlvDropDownCtrlr._createUlvUi",[this.UlvMainCtrlr.Load.bind(this.UlvMainCtrlr,t),function(t){this.Adapter.SetUlvAdapter(this.UlvMainCtrlr.Adapter),t()}.bind(this),this._showUlvUi.bind(this)],(function(t,n){Common.Async.Finalize(t,n,e)}))},_refreshUlvUi:function(t,e){Common.Async.Waterfall("Ul.UlvDropDownCtrlr._refreshUlvUi",{UlvMainCtrlr_ReloadHelper:this.UlvMainCtrlr.ReloadHelper.bind(this.UlvMainCtrlr,t),_showUlvUi:this._showUlvUi.bind(this)},(function(t,n){this._forceRefreshLoadedList=!1,Common.Async.Finalize(t,n,e)}))},_showUlvUi:function(t){this.HostCtrlr.GetSize(),this.fireEvent("BeforeExpand",this,{}),this.Adapter.Expand(),t&&t()},_isUlvUiCreated:function(){return!Ext.isEmpty(this.UlvMainCtrlr.ViewerAdapter)},_selectCurrentRowAndCollapse:function(){if(!Ext.isEmpty(this.UlvMainCtrlr)){var t,e=this.UlvMainCtrlr.GetSelectedMetaObject();return e&&(t=this.fireEvent("ItemSelect",this,e)),this.Collapse(),t}},____refineUlvSize:function(){this.Adapter.RefineUlvSize(this.UlvMainCtrlr.GetSize(),this.UlvMainCtrlr.GetFullSize())},_onUlvMainCtrlr_ItemClicked:function(t,e){1!=this.DropDownSettig.ShowOkCancel&&this._selectCurrentRowAndCollapse()},_onUlvMainCtrlr_BindData:function(t,e){this.Adapter.IsUiCreated()&&(this.Adapter.Expand(),Ext.isEmpty(this.UlvMainCtrlr.GetSelectedId())&&this.UlvMainCtrlr.SelectFirst())},_onUlvMainCtrlr_RenderViewer:function(t,e){Ext.isEmpty(this.UlvMainCtrlr.GetSelectedId())&&this.UlvMainCtrlr.SelectFirst()},_onUlvMainCtrlr_AfterReportExecute:function(t,e){Common.Merger.Merge(this.UlvMainCtrlr,this.DropDownSettig.UlvOverride)},_onUlvMainCtrlr_KeyDown:function(t,e){e.keyCode==e.ENTER?this._selectCurrentRowAndCollapse():e.keyCode==Ext.EventObject.ESC&&this.Collapse()},_onUlvMainCtrlr_FooterButtonClick:function(t,e){"Ok"==e?this._selectCurrentRowAndCollapse():"Cancel"==e&&this.Collapse()},_isMasked:!1,_showMask:function(){this._isMasked=!0,this.Adapter.Mask()},_hideMask:function(){this._isMasked=!1,this.Adapter.Unmask()},statics:{_internalDefaults:{DropDownSettig:{ShowOkCancel:!1,ShowToolbar:!1,CollapseOnRowClick:!0,RefreshBeforeExpand:!0,UlvOverride:null}},NavigationKeys:[Ext.EventObject.RIGHT,Ext.EventObject.LEFT,Ext.EventObject.UP,Ext.EventObject.DOWN,Ext.EventObject.PAGE_UP,Ext.EventObject.PAGE_DOWN,Ext.EventObject.HOME,Ext.EventObject.END]}})},78203:()=>{Common.Cs.Define("CustomUl.UlvFormMultiSelectAdapter","Common.Observable",{_window:null,ShowSecondPanel:!0,ShowOkCancelButtons:!0,constructor:function(t){this.callParent(arguments),this.addEvents("BeforeClose"),this.addEvents("AddRemoveButtonClick")},CreateAndShowEmptyWindow:function(){var t={_icon:null,ShowSecondPanel:this.ShowSecondPanel,FormTitle:this.FormTitle,context:this};this._window=Bw.UlvFormMultiSelect.Show(this,t)},Mask:function(){this._window.mask(!0)},Unmask:function(){this._window.mask(!1)},Close:function(){this.purgeListeners(),this._window.close()},AddUlvToWindow:function(t,e,n){this._window.AddUlvToWindow(t.Control,e?e.Control:null),n&&n()}})},85294:()=>{Common.Cs.Define("Ul.UlvFormAdapter","Common.Observable",{_ulvParams:null,_window:null,constructor:function(t){this.callParent(arguments),Common.Merger.FastMerge(this,t),this.addEvents("BeforeClose")},CreateAndShowEmptyWindow:function(){this._window=new Ui.BaseWindow({shadow:!1,modal:!0,maximizable:!0,minimizable:!1,layout:"fit",resizeEvent:"resize",plain:!0,iconCls:"haveIcon",_icon:null,hieght:400,width:700}),this._window.on("beforeclose",(function(){return this.fireEvent("BeforeClose",this),!1}),this),this._window.show()},Mask:function(){Ul.LoadingMask.Mask(this._window.body)},Unmask:function(){Ul.LoadingMask.Unmask(this._window.body)},Close:function(){this.purgeListeners(),this._window.suspendEvents(),this._window.close(),this._window.resumeEvents()},AddUlvToWindow:function(t,e){this._window.rendered?(this._window.add(t.Control),this._window.doLayout()):this._window.items[t.Control],e&&e()}})},361:()=>{Common.Cs.Define("Ul.UlvFormCtrlr","Common.Observable",{Adapter:null,_givenMoList:null,_showOkCancelButton:!0,_ulvParams:null,_ulvMainCtrlr:null,constructor:function(t){this.callParent(arguments),Common.Merger.FastMerge(this,t),this.Adapter=new Ul.UlvFormAdapter,this.Adapter.on("BeforeClose",this._onAdapter_BeforeClose,this)},ShowForm:function(t){if(this._ulvMainCtrlr=new Ul.UlvMainCtrlr,this._ulvMainCtrlr.ShowOkCancelButtons=this._showOkCancelButton,this._showOkCancelButton);else{this._ulvMainCtrlr.Features.HandleItemClick=!1,this._ulvMainCtrlr.Features.HandleItemDblClick=!1,this._ulvMainCtrlr.Features.HandleKeyDown=!1,this._ulvMainCtrlr.Features.Toolbar=!1;var e={scope:this};e[Ul.UlvMainCtrlr.EventEnum.ItemClick]=this._onUlvMainCtrlr_ItemClicked,e[Ul.UlvMainCtrlr.EventEnum.KeyDown]=this._onUlvMainCtrlr_KeyDown,this._ulvMainCtrlr.on(e)}this.Adapter.CreateAndShowEmptyWindow(),Common.Async.Waterfall("Ul.UlvFormCtrlr.ShowForm",[this._ulvMainCtrlr.Load.bind(this._ulvMainCtrlr,this._ulvParams),function(t){this.Adapter.AddUlvToWindow(this._ulvMainCtrlr.Adapter),t()}.bind(this),function(t){this._ulvMainCtrlr.on(Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,(function(e,n){if("Ok"==n){var i=this._ulvMainCtrlr.GetSelectedMetaObject();t(null,i),this.Close()}else"Cancel"==n&&this.Close()}),this)}.bind(this)],(function(e,n){Common.Async.Finalize(e,n,t)}))},GetSelectedMoList:function(){},Close:function(){this.purgeListeners(),this.Adapter.Close(),this.Adapter=null},_onAdapter_BeforeClose:function(t){this._ulvMainCtrlr.fireEvent(Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,this._ulvMainCtrlr,"Cancel")},_onUlvMainCtrlr_ItemClicked:function(t,e){this._ulvMainCtrlr.fireEvent(Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,this._ulvMainCtrlr,"Ok")},_onUlvMainCtrlr_KeyDown:function(t,e){e.keyCode==e.ENTER?this._ulvMainCtrlr.fireEvent(Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,this._ulvMainCtrlr,"Ok"):e.keyCode==e.ESC&&this._ulvMainCtrlr.fireEvent(Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,this._ulvMainCtrlr,"Cancel")},statics:{}})},41270:()=>{Common.Cs.Define("Ul.UlvFormMultiSelectAdapter","Common.Observable",{_window:null,ShowSecondPanel:!0,ShowOkCancelButtons:!0,constructor:function(t){this.callParent(arguments),this.addEvents("BeforeClose"),this.addEvents("AddRemoveButtonClick")},CreateAndShowEmptyWindow:function(){var t={_icon:null,ShowSecondPanel:this.ShowSecondPanel,FormTitle:this.FormTitle};this._window=new Ui.UlvFormMultiSelectUi(t),this._window.on({scope:this,beforeclose:function(){return this.fireEvent("BeforeClose",this),!1},AddRemoveButtonClick:function(t,e){this.fireEvent("AddRemoveButtonClick",this,e)}}),this._window.show()},Mask:function(){Ul.LoadingMask.Mask(this._window.body)},Unmask:function(){Ul.LoadingMask.Unmask(this._window.body)},Close:function(){this.purgeListeners(),this._window.suspendEvents(),this._window.close(),this._window.resumeEvents()},AddUlvToWindow:function(t,e,n){this._window.AddUlvToWindow(t.Control,e?e.Control:null),n&&n()}})},82192:()=>{Common.Cs.Define("Ul.UlvFormMultiSelectCtrlr","Common.Observable",{Adapter:null,_showOkCancelButton:!0,ShowSecondPanel:!0,ShowOkCancelButtons:!0,HideToolbar:!1,FormTitle:null,NoSelect:!1,_givenMoList:null,_ulvParams1:null,_ulvParams2:null,_ulvMainCtrlr1:null,_ulvMainCtrlr2:null,_callBack:null,constructor:function(t){this.callParent(arguments)},ShowForm:function(t,e,n){this._givenMoList=this._prepareGivenMoList(this._givenMoList),this.ShowSecondPanel&&(this.ShowOkCancelButtons=!0),this._ulvParams1.SelectionEnum!=Ul.UlvMainCtrlr.UlvSelectionEnum.Multi&&this._ulvParams1.SelectionEnum!=Ul.UlvMainCtrlr.UlvSelectionEnum.CheckList||(this.ShowOkCancelButtons=!0),this._ulvParams1.NoSelect&&(this.NoSelect=!0,this.ShowOkCancelButtons=!1);var i=LoginFormData.CustomUiPrefix;this.Adapter=i?new CustomUl.UlvFormMultiSelectAdapter({ShowSecondPanel:this.ShowSecondPanel,ShowOkCancelButtons:this.ShowOkCancelButtons,FormTitle:this.FormTitle,ParentContainer:e}):new Ul.UlvFormMultiSelectAdapter({ShowSecondPanel:this.ShowSecondPanel,ShowOkCancelButtons:this.ShowOkCancelButtons,FormTitle:this.FormTitle,ParentContainer:e}),this.Adapter.on({scope:this,BeforeClose:this._onAdapter_BeforeClose,AddRemoveButtonClick:this._onAdapter_AddRemoveButtonClick}),t&&(this._callBack=t.bind(e)),this.Adapter.CreateAndShowEmptyWindow(),this.Adapter.Mask(),Common.Async.Waterfall("Ul.UlvFormMultiSelectCtrlr.ShowForm",[this._createFirstUlv.bind(this),Common.Async.ExecuteIfCondition.bind(null,this.ShowSecondPanel,this._createSecondUlv.bind(this)),function(t){var e=this._ulvMainCtrlr1.Adapter,n=Common.Util.TryGetValue(this,"_ulvMainCtrlr2.Adapter");this.Adapter.AddUlvToWindow(e,n),this.Adapter.Unmask()}.bind(this)],(function(t,e){Common.Async.Finalize(t,e,n)}))},_close:function(t){this.purgeListeners(),this.Adapter.Close(),this.Adapter=null,this._callBack&&Ext.defer((function(){this._callBack.call(null,t)}),1,this)},_createFirstUlv:function(t){this._ulvMainCtrlr1=new Ul.UlvMainCtrlr,this._ulvMainCtrlr1.ShowOkCancelButtons=this.ShowOkCancelButtons&&!this.ShowSecondPanel,this._ulvMainCtrlr1.ParentMo=this._ulvParams1.ParentMo,this._ulvMainCtrlr1.on(Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,this._onUlvMainCtrlr1_FooterButtonClick,this),this.NoSelect?(this._ulvMainCtrlr1.Features.Toolbar=!0,this._ulvMainCtrlr1.on(Ul.UlvMainCtrlr.EventEnum.KeyDown,this._onUlvMainCtrlr1_KeyDown,this)):0==this.ShowOkCancelButtons?(this._ulvMainCtrlr1.Features.HandleItemClick=!1,this._ulvMainCtrlr1.Features.HandleItemDblClick=!1,this._ulvMainCtrlr1.Features.HandleKeyDown=!1,this._ulvMainCtrlr1.Features.Toolbar=!1,this._ulvMainCtrlr1.on(Ul.UlvMainCtrlr.EventEnum.ItemClick,this._onUlvMainCtrlr1_ItemClicked,this),this._ulvMainCtrlr1.on(Ul.UlvMainCtrlr.EventEnum.KeyDown,this._onUlvMainCtrlr1_KeyDown,this)):1==this.HideToolbar&&(this._ulvMainCtrlr1.Features.HandleItemClick=this.ShowOkCancelButtons,this._ulvMainCtrlr1.Features.HandleItemDblClick=!1,this._ulvMainCtrlr1.Features.HandleKeyDown=!1,this._ulvMainCtrlr1.Features.Toolbar=!1,this._ulvMainCtrlr1.on(Ul.UlvMainCtrlr.EventEnum.ItemClick,this._onUlvMainCtrlr1_ItemClicked,this),this._ulvMainCtrlr1.on(Ul.UlvMainCtrlr.EventEnum.ItemDblClick,this._onUlvMainCtrlr1_ItemDblClick,this),this._ulvMainCtrlr1.on(Ul.UlvMainCtrlr.EventEnum.KeyDown,this._onUlvMainCtrlr1_KeyDown,this)),Ext.isNotEmpty(this._givenMoList)&&(this._ulvParams1.Flags=Ext.value(this._ulvParams1.Flags,{}),this._ulvParams1.Flags.DataRows=Common.Enums.DefaultableBoolean.False,this._ulvParams1.Flags.Data=Common.Enums.DefaultableBoolean.False,this._ulvMainCtrlr1.on(Ul.UlvMainCtrlr.EventEnum.BindData,(function(){this._ulvMainCtrlr1.SetValue(this._givenMoList)}),this,{single:!0})),Common.Async.Waterfall("Ul.UlvFormMultiSelectCtrlr._createFirstUlv",[this._ulvMainCtrlr1.Load.bind(this._ulvMainCtrlr1,this._ulvParams1)],(function(e,n){Common.Async.Finalize(e,n,t)}))},_createSecondUlv:function(t){this._ulvParams2=Common.Merger.Clone(this._ulvParams2,this._ulvParams1),this._ulvParams2.SelectionEnum=Ul.UlvMainCtrlr.UlvSelectionEnum.Multi,this._ulvParams2.UsageEnum=Ul.UlvMainCtrlr.UlvUsageEnum.SelectionForm,this._ulvParams2.Flags={DataRows:Common.Enums.DefaultableBoolean.False,SearchPanel:Common.Enums.DefaultableBoolean.False},this._ulvMainCtrlr2=new Ul.UlvMainCtrlr,this._ulvMainCtrlr2.UlvParams=this._ulvParams2,this._ulvMainCtrlr2.Features.Toolbar=!1,this._ulvMainCtrlr2.ShowOkCancelButtons=this.ShowSecondPanel,this._ulvMainCtrlr2.on(Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,this._onUlvMainCtrlr2_FooterButtonClick,this),Common.Async.Waterfall("Ul.UlvFormMultiSelectCtrlr.ShowForm",[this._ulvMainCtrlr2.Load.bind(this._ulvMainCtrlr2,this._ulvParams2)],(function(e,n){Common.Async.Finalize(e,n,t)}))},_onAdapter_BeforeClose:function(t,e){e?this._close(e):this._close()},_onAdapter_AddRemoveButtonClick:function(t,e){switch(e){case"Add":var n=this._ulvMainCtrlr1.GetSelectedMetaObjectList();this._ulvMainCtrlr2.GetValue(),this._ulvMainCtrlr2.RefreshRowsByMos(null,n,null);break;case"Remove":n=this._ulvMainCtrlr2.GetSelectedMetaObjectList(),this._ulvMainCtrlr2.RefreshRowsByMos(null,null,n);break;default:Common.Debug.Assert(!1)}},_onUlvMainCtrlr2_FooterButtonClick:function(t,e){var n=null;"Ok"==e&&(n=this._ulvMainCtrlr2.GetValue()),this._close(n)},_onUlvMainCtrlr1_FooterButtonClick:function(t,e){var n=null;"Ok"==e&&(n=this._ulvMainCtrlr1.GetSelectedMetaObjectList()),this._close(n)},_onUlvMainCtrlr1_ItemClicked:function(t,e){var n=this._ulvMainCtrlr1.GetSelectedMetaObjectList();this._close(n)},_onUlvMainCtrlr1_ItemDblClick:function(t,e){if(this.ShowOkCancelButtons&&this.HideToolbar){var n=this._ulvMainCtrlr1.GetSelectedMetaObjectList();this._close(n)}},_onUlvMainCtrlr1_KeyDown:function(t,e){if(e.keyCode!=e.ENTER||this.NoSelect)e.keyCode==e.ESC&&this._close();else{var n=this._ulvMainCtrlr1.GetSelectedMetaObjectList();this._close(n)}},_prepareGivenMoList:function(t){return t?Ext.isArray(t)?Common.MetaObjectListWeb.CreateFromMoArray(t):t._MoList instanceof Common.MetaObjectListWeb?t._MoList:t instanceof Common.MetaObjectListWeb?t:null:null},statics:{Show:function(t,e){var n=new Ul.UlvFormCtrlr;Common.Async.Waterfall("Ul.UlvFormCtrlr.Show",[n.ShowForm.bind(n,t)],(function(t,n){Common.Async.Finalize(t,n,e)}))}}})},4039:()=>{var t;function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Common.Cs.Define("Ul.UlvMainAdapter","Common.Observable",(e(t={Features:null,Control:null,Setting:null,UiOverride:null,ShowOkCancelButtons:!1,SearchPanelAdapter:null,ViewerAdapter:null,NavGroupUlvAdapter:null,constructor:function(t){Common.Merger.FastMerge(this,t),this.callParent(arguments),this.addEvents(Ul.UlvMainCtrlr.EventEnum.PageChange,Ul.UlvMainCtrlr.EventEnum.FooterButtonClick),this._createControl()},_createControl:function(){var t;this.ShowOkCancelButtons&&(t=[{text:BBB.OK,Key:"Ok",handler:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,this,t.Key)},scope:this},{text:BBB.Cancel,Key:"Cancel",handler:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,this,t.Key)},scope:this},{text:BBB.Close,Key:"Close",handler:function(t){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,this,t.Key)},scope:this,hidden:!0}]);var e={Setting:this.Setting,Features:this.Features,buttons:t};Common.Merger.Merge(e,this.UiOverride);var n=Common.Util.TryGetValue(this.Setting,"ClassNames.CustomUi.Selector"),i=LoginFormData.CustomUiPrefix;n||i?(e.originalXtype="Ui.UlvMainUi",this.Control=new Ui.CustomUlvMainUi(e)):this.Control=new Ui.UlvMainUi(e),this.Control.on({scope:this,PageChange:this._onControl_PageChange})},SetMenuItems:function(t){this.Control.SetMenuItems(t)},Mask:function(){this.Control.Mask()},Unmask:function(){this.Control.Unmask()},AddViewerToUlv:function(t){if(t.Control&&this.Control.AddViewerToUlv(t.Control),this.ShowOkCancelButtons&&0==t.UlvMainCtrlr.SelectionAdapter.IsSelectable()){if(LoginFormData.IsPortal)return void(this.Control.HideOkCancelButtons=!0);this.Control.buttons.forEach((function(t){"Close"==t.Key?t.show():t.hide()}),this)}},FormPanelControlShowWindow:function(t,e){this.Control.FormPanelControlShowWindow(t,e)},AddSearchPanelToUlv:function(t){this.Control.AddSearchPanelToUlv(t.Control)},GetCurrentPage:function(){return this.Control.GetCurrentPage()},RefershPagingToolbar:function(){var t=Common.Util.TryGetValue(this.Setting,"Data.Paging");return this.Control.RefershPagingToolbar(t)},SetToolbarButtons:function(t){this.Control.SetToolbarButtons(t)},VisibleToolbarBtn:function(t,e){this.Control.VisibleToolbarBtn(t,e)},EnableToolbarBtn:function(t,e){this.Control.EnableToolbarBtn(t,e)},ReadOnlyToolbarBtn:function(t,e){this.Control.ReadOnlyToolbarBtn(t,e)},_onControl_PageChange:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.PageChange,this,e)},____GetEnable:function(){return!Ext.isDefined(this.Control.disabled)||!this.Control.disabled},____GetReadOnly:function(){},____GetVisible:function(){return this.Control.getVisible()},SetEnable:function(t){this.Control.SetEnable(t)},SetVisible:function(t,e){t=Ext.value(t,!0),this.Control.LayoutControl?this.Control.LayoutControl.SetVisible(t,e):this.Control.setVisible(t)},SetReadOnly:function(t){this.Control.SetReadOnly(t)},EnableCommands:function(t,e){this.Control.EnableCommands(t,e)},ReadOnlyAllCommands:function(t,e){this.Control.ReadOnlyAllCommands(t,e)},RefreshCommands:function(t){},RefreshCmdUi:function(t){this.Control.RefreshCmdUi(t)},RefreshAllCmdUi:function(){this.Control.RefreshAllCmdUi()},Destroy:function(){this.purgeListeners(),this.Control.Destroy(),this.Control=null},GetSize:function(){if(this.Control)return this.Control.getSize()},GetFullSize:function(){var t={width:0,height:0};if(this.ViewerAdapter){var e=this.ViewerAdapter.GetFullSize();e&&(t.width+=e.width,t.height+=e.height)}var n=Common.Util.TryGetValue(this,"SearchPanelAdapter.Control._controlPanel");n?(t.width+=n.width,t.height+=n.height):t.height+=Common.Util.TryGetValue(this,"Setting.SearchPanel.ParameterPanelHeight");var i=this.Control.GetPagingToolbarSize();return i&&(t.height+=i.height),t},ShowSettings:function(){this.Control.ShowSettings&&this.Control.ShowSettings()}},"Mask",(function(t){this.Control.Mask(t)})),e(t,"Unmask",(function(){this.Control.Unmask()})),e(t,"MaskView",(function(t){this.Control.MaskView(t)})),e(t,"UnmaskView",(function(){this.Control.UnmaskView()})),t))},92989:(t,e,n)=>{var i=n(98182);Common.Cs.Define("Ul.UlvMainCtrlr","Common.Observable",{Adapter:null,Setting:null,System:null,UlvParams:null,Features:null,UiOverride:null,SearchPanelCtrlr:null,SelectionAdapter:null,DataCtrlr:null,CommandBarCtrlr:null,ViewerAdapter:null,ParentMo:null,FieldCtrlr:null,IsPreviewSourceField:!1,ShowOkCancelButtons:!1,_isEnable:!0,_isReadOnly:!1,_isVisible:!0,FootterButtons:null,constructor:function(t){t=Common.Merger.Clone(t,Ul.UlvMainCtrlr._internalDefaults,{onlyNewProperties:!0}),Common.Merger.FastMerge(this,t),this.callParent(arguments),this.addEvents(Ul.UlvMainCtrlr.EventEnum.BeforeReportExecute,Ul.UlvMainCtrlr.EventEnum.AfterReportExecute,Ul.UlvMainCtrlr.EventEnum.BindData,Ul.UlvMainCtrlr.EventEnum.Form_GetEditForm,Ul.UlvMainCtrlr.EventEnum.BeforeDeleteItem,Ul.UlvMainCtrlr.EventEnum.AfterDeleteItem,Ul.UlvMainCtrlr.EventEnum.BeforeCreateViewer,Ul.UlvMainCtrlr.EventEnum.AfterCreateViewer,Ul.UlvMainCtrlr.EventEnum.BeforeCreateToolbar,Ul.UlvMainCtrlr.EventEnum.AfterCreateToolbar,Ul.UlvMainCtrlr.EventEnum.SelectionChange,Ul.UlvMainCtrlr.EventEnum.BeforeOpenForm,Ul.UlvMainCtrlr.EventEnum.RequestOpen,Ul.UlvMainCtrlr.EventEnum.RequestDelete,Ul.UlvMainCtrlr.EventEnum.Render,Ul.UlvMainCtrlr.EventEnum.RenderViewer,Ul.UlvMainCtrlr.EventEnum.DestroyViewer,Ul.UlvMainCtrlr.EventEnum.BeforeDestroy,Ul.UlvMainCtrlr.EventEnum.AfterCreateStore,Ul.UlvMainCtrlr.EventEnum.ItemClick,Ul.UlvMainCtrlr.EventEnum.ItemDblClick,Ul.UlvMainCtrlr.EventEnum.FooterButtonClick,Ul.UlvMainCtrlr.EventEnum.KeyDown,Ul.UlvMainCtrlr.EventEnum.BeforeSelectionChange,Ul.UlvMainCtrlr.EventEnum.BeforeRefreshRowByMo,Ul.UlvMainCtrlr.EventEnum.EnterEditMode,Ul.UlvMainCtrlr.EventEnum.ExitEditMode,Ul.UlvMainCtrlr.EventEnum.AfterCreateInnerParts);var e=Common.Util.TryGetValue(this,"Setting.Extra.Report.Name");e&&this._registerCustomEvents(e,null),this._registerGlobalEvents()},FormPanelControlShowWindow:function(t){this.Adapter.FormPanelControlShowWindow(t,!!this.ParentMo)},IsSelectable:function(){return!!this.SelectionAdapter&&this.SelectionAdapter.IsSelectable()},ClearAllSelected:function(){return!(!this.SelectionAdapter||!this.SelectionAdapter.ClearAllSelected)&&this.SelectionAdapter.ClearAllSelected()},CanSelectNext:function(){return!!this.SelectionAdapter&&this.SelectionAdapter.CanSelectNext()},CanSelectPrev:function(){return!!this.SelectionAdapter&&this.SelectionAdapter.CanSelectPrev()},SelectNext:function(){return!!this.SelectionAdapter&&this.SelectionAdapter.SelectNext()},SelectPrev:function(){return!!this.SelectionAdapter&&this.SelectionAdapter.SelectPrev()},GetSelectedRecord:function(){return!!this.SelectionAdapter&&this.SelectionAdapter.GetSelectedRecord()},SelectFirst:function(){return!!this.SelectionAdapter&&this.SelectionAdapter.SelectFirst()},SelectLast:function(){return!!this.SelectionAdapter&&this.SelectionAdapter.SelectLast()},GetSelectedMetaObject:function(){return this.SelectionAdapter?this.SelectionAdapter.GetSelectedMetaObject():null},GetSelectedMetaObjectList:function(){return this.SelectionAdapter?this.SelectionAdapter.GetSelectedMetaObjectList():null},GetSelectedId:function(){return this.SelectionAdapter?this.SelectionAdapter.GetSelectedId():null},GetSelectedItemLocation:function(){return this.SelectionAdapter&&this.SelectionAdapter.GetSelectedItemLocation?this.SelectionAdapter.GetSelectedItemLocation():null},GetPrevSelectedId:function(){return this.SelectionAdapter?this.SelectionAdapter.GetPrevSelectedId():null},GetSelectedIdList:function(){return this.SelectionAdapter?this.SelectionAdapter.GetSelectedIdList():null},SelectItem:function(t){return this.SelectionAdapter?this.SelectionAdapter.SelectItem(t):null},SelectByKeyboard:function(t,e,n,i){return this.SelectionAdapter?this.SelectionAdapter.SelectByKeyboard(t,e,n,i):null},GetSelectionCount:function(){return this.SelectionAdapter?this.SelectionAdapter.GetSelectionCount():null},IsAutoInlineEdit:function(){return this.Setting.View&&1==this.Setting.View.AutoInlineEdit},Delete:function(t,e,n){this.DataCtrlr.Delete(t,e,n)},ShowEditForm:function(t,e,n){this.DataCtrlr.ShowEditForm(t,e,n)},CloseForm:function(){this.DataCtrlr.CloseForm()},ShowNewForm:function(t,e,n){this.DataCtrlr.ShowNewForm(t,e,n)},ShowAddToListForm:function(){this.DataCtrlr.ShowAddToListForm()},RemoveFromList:function(t){this.DataCtrlr.RemoveFromList(t)},SetSelectedHetroRelation:function(t){return this.DataCtrlr.SetSelectedRelation(t)},HasAccessAdd:function(t){return this.DataCtrlr.HasAccessAdd(t)},HasAccessView:function(t){return this.DataCtrlr.HasAccessView(t)},HasAccessEdit:function(t){return this.DataCtrlr.HasAccessEdit(t)},HasAccessDelete:function(t){return this.DataCtrlr.HasAccessDelete(t)},SaveUserSetting:function(t){this.DataCtrlr.SaveUserSetting(t)},LoadUserSetting:function(t){return this.DataCtrlr.LoadUserSetting(t)},ResolveUlvParams:function(){return this.DataCtrlr.ResolveUlvParams()},Reload:function(t){this.DataCtrlr.Reload(t)},Search:function(t){this.DataCtrlr.Search(t)},ReloadHelper:function(t,e){this.DataCtrlr.ReloadHelper(t,e)},MoveToPage:function(t,e){this.DataCtrlr.MoveToPage(t,e)},GetEditFormParams:function(t,e,n,i){return this.DataCtrlr.GetEditFormParams(t,e,n,i)},GetTotalRowCount:function(){if(this.DataCtrlr.GetTotalRowCount)return this.DataCtrlr.GetTotalRowCount()},UpdateTotalRowCount:function(t){if(this.DataCtrlr.UpdateTotalRowCount)return this.DataCtrlr.UpdateTotalRowCount(t)},CreateCommands:function(){this.CommandBarCtrlr.CreateCommands()},AddTestToolbarButton:function(){return this.CommandBarCtrlr.AddTestToolbarButton()},CreateViewerUi:function(t){this.ViewerAdapter.CreateViewerUi(t)},GetViewerUi:function(){return Common.Util.TryGetValue(this,"ViewerAdapter.Control",null)},CreateDataObject:function(){this.ViewerAdapter&&this.ViewerAdapter.CreateMoList&&this.ViewerAdapter.CreateMoList()},GetValue:function(){if(this.ViewerAdapter&&this.ViewerAdapter.GetValue)return this.ViewerAdapter.GetValue()},SetValue:function(t){this.ViewerAdapter&&this.ViewerAdapter.SetValue&&this.ViewerAdapter.SetValue(t)},RefreshRowsByMosNoSelectionChange:function(t,e,n){this.ViewerAdapter&&this.ViewerAdapter.RefreshRowsByMosNoSelectionChange&&this.ViewerAdapter.RefreshRowsByMosNoSelectionChange(t,e,n)},RefreshRowsByMos:function(t,e,n){this.ViewerAdapter&&this.ViewerAdapter.RefreshRowsByMos&&(this.ViewerAdapter.RefreshRowsByMos(t,e,n),this.UpdateNavItemCaption(),this.Adapter.NavGroupUlvAdapter&&Ul.ApplicationCtrlr.GetSelectedSystem().UpdateSystemContainerTabCaption(t))},RollbackRecord:function(t){this.ViewerAdapter&&this.ViewerAdapter.RollbackRecord&&this.ViewerAdapter.RollbackRecord(t)},RefreshRowByMoTemporarily:function(t){this.ViewerAdapter&&this.ViewerAdapter.RefreshRowByMoTemporarily&&this.ViewerAdapter.RefreshRowByMoTemporarily(t)},___RemoveRows:function(t,e){this.ViewerAdapter&&this.ViewerAdapter.RemoveRows(t,e)},___AddRows:function(t){this.ViewerAdapter.AddRows(t)},ConvertRecordToMo:function(t){if(this.ViewerAdapter&&this.ViewerAdapter.ConvertRecordToMo)return this.ViewerAdapter.ConvertRecordToMo(t)},ConvertMoToRecord:function(t){if(this.ViewerAdapter&&this.ViewerAdapter.ConvertMoToRecord)return this.ViewerAdapter.ConvertMoToRecord(t)},SetUserSetting:function(t){this.ViewerAdapter&&this.ViewerAdapter.SetUserSetting&&this.ViewerAdapter.SetUserSetting(t)},GetMoByRowIndex:function(t){if(this.ViewerAdapter&&this.ViewerAdapter.GetMoByRowIndex)return this.ViewerAdapter.GetMoByRowIndex(t)},GetMoById:function(t){if(this.ViewerAdapter&&this.ViewerAdapter.GetMoById)return this.ViewerAdapter.GetMoById(t)},GetUserSetting:function(){if(this.ViewerAdapter&&this.ViewerAdapter.GetUserSetting)return this.ViewerAdapter.GetUserSetting();doReturn&&doReturn()},Rebind:function(t){this.UpdateNavItemCaption(),this.ViewerAdapter?this.ViewerAdapter.Rebind(t):t&&t()},GetSortSetting:function(){if(this.ViewerAdapter&&this.ViewerAdapter.GetSortSetting)return this.ViewerAdapter.GetSortSetting()},ExportToExcel:function(){if(this.ViewerAdapter&&this.ViewerAdapter.ExportToExcel)return this.ViewerAdapter.ExportToExcel()},GetFullSize:function(){if(this.Adapter)return this.Adapter.GetFullSize()},GetSize:function(){if(this.Adapter)return this.Adapter.GetSize()},Load:function(t,e){t.ReportNameForCustomEvent&&this._registerCustomEvents(t.ReportNameForCustomEvent,t),Common.Async.Waterfall("UlvMainCtrlr.Load",{Event_BeforeReportExecute:this.FireEventSynch.bind(this,Ul.UlvMainCtrlr.EventEnum.BeforeReportExecute,{Ulv:this,Report:this,UlvParams:t}),LoadFromServer:this.LoadFromServer.bind(this,t),Event_AfterReportExecute:this.FireEventSynch.bind(this,Ul.UlvMainCtrlr.EventEnum.AfterReportExecute,{Ulv:this,Report:this,UlvParams:t}),LoadRequiredFiles:this._loadRequiredFiles.bind(this),CreateAdapter:this.CreateAdapter.bind(this)},(function(t,n){Ul.LoadingMask.UnmaskBody(),Common.Async.Finalize(t,n,e)}))},LoadFromServer:function(t,e){var n={ulvParams:t};Common.Ajax.GetServerData("List94.GetUnifiedList",n,(function(n){var i=Common.Util.TryGetValue(n,"Extra.Report.Id");i&&(Ul.UlvMainCtrlr.UlvReportsDictionary[i.toString()]=this),this.Setting=Ext.value(this.Setting,{}),Common.Merger.FastMerge(this.Setting,n),Common.Merger.Merge(this,n.UlvConfig),this.UlvParams=t,t.Size&&(n.Extra.Size=t.Size);var r=Common.Util.TryGetValue(n,"Extra.Report.Name");r&&r!=t.ReportNameForCustomEvent&&this._registerCustomEvents(r,this.UlvParams),e()}),null,e,this)},SetTitle:function(t){},GetCurrentPage:function(){return this.Adapter.GetCurrentPage()},RefershPagingToolbar:function(){if(this.Adapter)return this.Adapter.RefershPagingToolbar()},CreateAdapter:function(t){this.FireEventSynch(Ul.UlvMainCtrlr.EventEnum.BeforeCreateViewer,{Ulv:this,Report:this}),this._createDataCtrlr(),this._createCommandBarAdapter(),this._createAdapter(null),this._createSearchPanelCtrlr(),this.CreateViewer(),this.FireEventSynch(Ul.UlvMainCtrlr.EventEnum.AfterCreateInnerParts,{Ulv:this,Report:this}),this.FireEventSynch(Ul.UlvMainCtrlr.EventEnum.BindData,{Ulv:this,Report:this}),t&&t()},Destroy:function(){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.BeforeDestroy,this),this._unregisterGlobalEvents(),this.purgeListeners(),this.SelectionAdapter&&this.SelectionAdapter.purgeListeners(),this.DataCtrlr&&this.DataCtrlr.purgeListeners(),this.CommandBarCtrlr&&this.CommandBarCtrlr.purgeListeners(),this.ViewerAdapter&&this.ViewerAdapter.Destroy(),this.Adapter.Destroy(),this.Adapter=null,this.SelectionAdapter=null,this.DataCtrlr=null,this.CommandBarCtrlr=null,this.ViewerAdapter=null,this.NavItem&&(this.NavItem.SystemContainerItemCtrlr=null,this.NavItem=null)},CreateViewer:function(t){0==Ext.isEmpty(this.ViewerAdapter)&&(this.ViewerAdapter.Destroy(),this.SelectionAdapter.purgeListeners()),this._createViewerAdapter(),this._createSelectionAdapter(),this._addViewerToUlv(),t&&t()},IsComposite:function(){return Common.Util.TryGetValue(this.Setting,"Extra.Relation.RelationType")==Common.Enums.RelationType.Composition},DisableEditCommand:function(){var t=Common.Util.TryGetValue(this,"Setting.Extra.DefaultCommandsAccess");t&&(t.Edit=!1),this.CommandBarCtrlr.RefreshCommands()},GetEnable:function(){return this._isEnable},SetEnable:function(t){this._isEnable=t,this.Adapter.SetEnable(t),this.CommandBarCtrlr.Refresh()},GetVisible:function(){return this._isVisible},SetVisible:function(t,e){this._isVisible=t,this.Adapter.SetVisible(t,e)},GetReadOnly:function(){return this._isReadOnly},SetReadOnly:function(t){this._isReadOnly=t,this.Adapter.SetReadOnly(t),this.CommandBarCtrlr.Refresh(),this.ViewerAdapter.SetReadOnly&&this.ViewerAdapter.SetReadOnly(t)},RefreshViewer:function(t){var e=this.ResolveUlvParams();e.SetPartsToNoData(),this.ReloadHelper(e,t)},EnableCommands:function(t,e){this.Adapter.EnableCommands(t,e)},RefreshCommands:function(t){this.Adapter.RefreshCommands(t)},EnableCommand:function(t,e){this.CommandBarCtrlr.EnableCommand(t,e)},Mask:function(t,e){this.Adapter.Mask(t),e&&e()},Unmask:function(){this.Adapter&&this.Adapter.Unmask()},MaskView:function(t,e){this.Adapter&&(this.Adapter.MaskView(t),e&&e())},UnmaskView:function(){this.Adapter&&this.Adapter.UnmaskView()},GetPassedParentMo:function(){return this.ParentMo},UpdateNavItemCaption:function(){if(this.NavItem){var t=this.GetTotalRowCount();Ext.isNotEmpty(t)&&(this.NavItem.ExtraCaption="("+t+")",this.System&&this.System.UpdateNavItem&&this.System.UpdateNavItem(this.NavItem))}},ShowColumns:function(t){this.ViewerAdapter&&this.ViewerAdapter.ShowColumns&&this.ViewerAdapter.ShowColumns(t)},HideColumns:function(t){this.ViewerAdapter&&this.ViewerAdapter.HideColumns&&this.ViewerAdapter.HideColumns(t)},SetColumnVisible:function(t,e){this.ViewerAdapter&&this.ViewerAdapter.SetColumnVisible&&this.ViewerAdapter.SetColumnVisible(t,e)},IsComposition:function(){return Common.Util.TryGetValue(this.Setting,"Extra.Relation.RelationType")==Common.Enums.RelationType.Composition},_loadRequiredFiles:function(t){var e=Common.Util.TryGetValue(this.Setting,"Extra.ExtraJsonPropReport.Files");Ext.isEmpty(e)?t():(Common.Util.AddTimeToUrl(e),head.load(e,(function(){t()})))},_createDataCtrlr:function(t){var e=Common.Util.TryGetValue(this.Setting,"Extra.ExtraJsonPropReport.DataClass",this.Setting.ClassNames.DataClass),n=Ext.create({xtype:e,UlvMainCtrlr:this,Setting:this.Setting,System:this.System,Features:this.Features});this.DataCtrlr=n,t&&t()},_createSearchPanelCtrlr:function(t){if(this.Setting.SearchPanel){var e={Setting:this.Setting.SearchPanel,Features:{Workflow:!1,Toolbar:!1,InfoBar:!1}};this.SearchPanelCtrlr=new Ul.SearchPanelCtrlr(e);var n=function(){var t={ReportId:this.UlvParams&&this.UlvParams.ReportId};Common.LogManager.StartLog2("List.Search",t),this.Search(),Common.LogManager.EndLog()};this.SearchPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.SearchClick,n,this),this.SearchPanelCtrlr.on(Ul.FormPanelCtrlr.EventEnum.EnterPress,n,this),this.Adapter.SearchPanelAdapter=this.SearchPanelCtrlr.Adapter,Common.Async.Waterfall("UlvMainCtrlr._createSearchPanelCtrlr",[this.SearchPanelCtrlr.LoadAndCreate.bind(this.SearchPanelCtrlr,null,!1,!1),this._addSearchPanelToUlv.bind(this)],(function(e,n){Common.Async.Finalize(e,n,t)}))}else t&&t()},_createAdapter:function(t,e){this.ForceLtr&&(this.Setting.IsLtr=!0);var n={Setting:this.Setting,Features:this.Features,UiOverride:this.UiOverride,ShowOkCancelButtons:this.ShowOkCancelButtons};Common.Merger.Merge(n,t),this.Adapter=new Ul.UlvMainAdapter(n);var i={scope:this};i[Ul.UlvMainCtrlr.EventEnum.PageChange]=this._onAdapter_PageChange,i[Ul.UlvMainCtrlr.EventEnum.FooterButtonClick]=this._onAdapter_FooterButtonClick,this.Adapter.on(i);var r=!1;this.NavItem&&this.NavItem.OtherData&&(r=!0),(0!=this.Features.Toolbar||r)&&(this.CommandBarCtrlr.CreateCommands(),this.CommandBarCtrlr.AddTestToolbarButton()),e&&e()},_createViewerAdapter:function(t){if(this.Setting.View){var e=Common.Util.TryGetValue(this.Setting,"Extra.ExtraJsonPropReport.ViewerClass",this.Setting.ClassNames.ViewerClass);this.ViewerAdapter=Ext.create({xtype:e,UlvMainCtrlr:this,UlvParams:this.UlvParams,Setting:this.Setting,System:this.System,Features:this.Features}),this.Adapter.ViewerAdapter=this.ViewerAdapter;var n={scope:this};n[Ul.UlvMainCtrlr.EventEnum.CommandClick]=this._onCommandBarAdapter_CommandClick,n[Ul.UlvMainCtrlr.EventEnum.ValueChange]=this._onViewerAdapter_ValueChange,n[Ul.UlvMainCtrlr.EventEnum.KeyDown]=this._onViewerAdapter_KeyDown,n[Ul.UlvMainCtrlr.EventEnum.RenderViewer]=this._onViewerAdapter_RenderViewer,n[Ul.UlvMainCtrlr.EventEnum.DestroyViewer]=this._onViewerAdapter_DestroyViewer,n[Ul.UlvMainCtrlr.EventEnum.ItemDblClick]=this._onViewerAdapter_ItemDblClick,n[Ul.UlvMainCtrlr.EventEnum.ItemClick]=this._onViewerAdapter_ItemClick,n[Ul.UlvMainCtrlr.EventEnum.EnterEditMode]=this._onViewerAdapter_EnterEditMode,n[Ul.UlvMainCtrlr.EventEnum.BindData]=this._onViewerAdapter_BindData,n[Ul.UlvMainCtrlr.EventEnum.UserSettingChange]=this._onViewerAdapter_UserSettingChange,n[Ul.UlvMainCtrlr.EventEnum.LoadUserSettingRequest]=this._onViewerAdapter_LoadUserSettingRequest,this.ViewerAdapter.on(n),t&&t()}else t&&t()},_createCommandBarAdapter:function(t){this.CommandBarCtrlr=Ext.create({xtype:this.Setting.ClassNames.CommandBarClass,UlvMainCtrlr:this,Setting:this.Setting,System:this.System,Features:this.Features});var e={scope:this};e[Ul.UlvMainCtrlr.EventEnum.CommandClick]=this._onCommandBarAdapter_CommandClick,this.CommandBarCtrlr.on(e),t&&t()},_createSelectionAdapter:function(t){if(this.Setting.View){var e=Common.Util.TryGetValue(this.Setting,"Extra.ExtraJsonPropReport.SelectionClass",this.Setting.ClassNames.SelectionClass);this.SelectionAdapter=Ext.create({xtype:e,UlvMainCtrlr:this,Setting:this.Setting,System:this.System,Features:this.Features});var n={scope:this};n[Ul.UlvMainCtrlr.EventEnum.SelectionChange]=this._onSelectionAdapter_SelectionChange,this.SelectionAdapter.on(n),this.fireEvent(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this),t&&t()}else t&&t()},_addViewerToUlv:function(t){this.ViewerAdapter&&this.Adapter.AddViewerToUlv(this.ViewerAdapter),t&&t()},_addSearchPanelToUlv:function(t){this.SearchPanelCtrlr&&this.Adapter.AddSearchPanelToUlv(this.SearchPanelCtrlr.Adapter),t&&t()},_registerCustomEvents:function(t,e){t&&Common.CustomCodeManager.RegisterHandlerWithArgumentProvider(this,t,function(){return{Ulv:this,Report:this,Mo:this.GetSelectedMetaObject(),RequestParams:e}}.bind(this))},_registerGlobalEvents:function(){Ul.ApplicationCtrlr.on(Ul.ApplicationCtrlr.EventEnum.GlobalReportMoUpdate,this._onApplication_GlobalMoUpdate,this),Ul.ApplicationCtrlr.on(Ul.ApplicationCtrlr.EventEnum.GlobalReportMoDelete,this._onApplication_GlobalMoDelete,this),Ul.ApplicationCtrlr.on(Ul.ApplicationCtrlr.EventEnum.GlobalReportMoAdd,this._onApplication_GlobalMoAdd,this)},_unregisterGlobalEvents:function(){this.UlvParams&&this.UlvParams.ReportId&&delete Ul.UlvMainCtrlr.UlvReportsDictionary[this.UlvParams.ReportId.toString()],Ul.ApplicationCtrlr.un(Ul.ApplicationCtrlr.EventEnum.GlobalReportMoUpdate,this._onApplication_GlobalMoUpdate,this),Ul.ApplicationCtrlr.un(Ul.ApplicationCtrlr.EventEnum.GlobalReportMoDelete,this._onApplication_GlobalMoDelete,this),Ul.ApplicationCtrlr.un(Ul.ApplicationCtrlr.EventEnum.GlobalReportMoAdd,this._onApplication_GlobalMoAdd,this)},_____addViewerToUlv:function(t){this.Adapter.AddViewerToUlv(this.ViewerAdapter),t()},_onAdapter_PageChange:function(t,e){this.MoveToPage(e)},_onAdapter_FooterButtonClick:function(t,e){var n=this.GetSelectedMetaObject(),i={ReportId:this.Setting.Data&&this.Setting.Data.ReportId,MoId:n&&n.Id};Common.LogManager.StartLog2("List.FooterButtonClick",i),this.fireEvent("FooterButtonClick",this,e),Common.LogManager.EndLog()},_onViewerAdapter_KeyDown:function(t,e){this.Features.HandleKeyDown?e.keyCode==e.DELETE?1==Common.Util.TryGetValue(this.Setting,"Extra.DefaultCommandsAccess.Delete",!1)&&this.Delete():e.keyCode==e.ENTER?1==Common.Util.TryGetValue(this.Setting,"Extra.DefaultCommandsAccess.View",!1)&&this.ShowEditForm():e.keyCode==e.ESC&&e.stopEvent():this.fireEvent(Ul.UlvMainCtrlr.EventEnum.KeyDown,this,e)},_onViewerAdapter_EnterEditMode:function(t,e){},_onViewerAdapter_ItemClick:function(t,e){this.Features.HandleItemClick?this.IsAutoInlineEdit()&&this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemClick,this):this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemClick,this)},_onViewerAdapter_ItemDblClick:function(t,e,n){var i=this.GetMoByRowIndex(e),r={ReportId:this.Setting.Data&&this.Setting.Data.ReportId,MoId:i&&i.Id};if(Common.LogManager.StartLog2("List.ItemDblClick",r),this.ShowOkCancelButtons)return this.fireEvent("FooterButtonClick",this,"Ok"),void Common.LogManager.EndLog();if(this.Setting.Extra&&this.Setting.Extra.ExtraJsonPropReport&&this.Setting.Extra.ExtraJsonPropReport.CustomDoubleClick||!this.Features.HandleItemDblClick||0!=this.IsAutoInlineEdit())this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ItemDblClick,this);else{var o=Common.Util.TryGetValue(this,"Setting.Extra.DefaultCommandsAccess.Edit"),a=Common.Util.TryGetValue(this,"Setting.Extra.DefaultCommandsAccess.View");1==o?this.ShowEditForm(i,null):1==a&&this.ShowEditForm(i,!0)}Common.LogManager.EndLog()},_onViewerAdapter_RenderViewer:function(t,e){this.CommandBarCtrlr.Refresh();var n={ReportId:this.Setting.Extra.Report&&this.Setting.Extra.Report.Id},i=Common.LogManager.StartLog("List.Render",n,!0);this.FireEventSynch(Ul.UlvMainCtrlr.EventEnum.RenderViewer,this,i),Common.LogManager.EndLog(i)},_onViewerAdapter_DestroyViewer:function(t,e){this.ViewerAdapter.Destroy(),this.fireEvent(Ul.UlvMainCtrlr.EventEnum.DestroyViewer,this)},_onViewerAdapter_BindData:function(t,e){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.BindData,this)},_onViewerAdapter_LoadUserSettingRequest:function(t,e){this.LoadUserSetting()},_onViewerAdapter_UserSettingChange:function(t,e){this.SaveUserSetting(e)},_onViewerAdapter_ValueChange:function(t,e,n,i){this.fireEvent(Ul.UlvMainCtrlr.EventEnum.ValueChange,this,e,n,i)},_onCommandBarAdapter_CommandClick:function(t,e){var n=this.Setting.Extra,i={ReportId:n.Report.Id,ParentMoId:n.Relation&&n.Relation.ParentMoId,FieldDefId:n.Relation&&n.Relation.ChildFdId};switch(e.Key){case"New":var r=Common.LogManager.StartLog("List.New",i);this.ShowNewForm(null,null,r),Common.LogManager.EndLog(r);break;case"Edit":r=Common.LogManager.StartLog("List.Edit",i),this.ShowEditForm(null,null,r),Common.LogManager.EndLog(r);break;case"Delete":r=Common.LogManager.StartLog("List.Delete",i),this.Delete(null,null,r),Common.LogManager.EndLog(r);break;case"Settings":this.Adapter.ShowSettings();break;case"RemoveFromList":this.RemoveFromList();break;case"AddToList":this.ShowAddToListForm();break;case"ExportToExcel":this.ExportToExcel();break;case"RefreshReport":r=Common.LogManager.StartLog("List.Reload",i),this.Reload(r),Common.LogManager.EndLog(r);break;case"MoveDown":case"MoveUp":var o=!1;"MoveDown"==e.Key&&(o=!0);var a=this.SelectionAdapter.CanSelectPrev(),s=this.SelectionAdapter.CanSelectNext();if(o&&!s||!o&&!a)return;var l=this.SelectionAdapter.GetSelectedMetaObject();if(!l)return;var u=null;if(this.ViewerAdapter.GetNext&&!(u=o?this.ViewerAdapter.GetNext(l):this.ViewerAdapter.GetPrev(l)))return;this.DataCtrlr.MoveUpDown&&this.DataCtrlr.MoveUpDown(l,u,o);break;case"WorkflowHistory":(C=this.GetSelectedId())&&(r=Common.LogManager.StartLog("List.WorkflowHistory",i),Ul.WorkflowPanelCtrlr.ShowHistory(C,r),Common.LogManager.EndLog(r));break;default:if(0===e.Key.indexOf("NewChild"))return r=Common.LogManager.StartLog("List.New",i),this.ShowNewForm(null,e.Data.TypeDef,r),void Common.LogManager.EndLog(r);var c=Common.Util.TryGetValue(e,"Data.FieldDef.Id"),h=this.GetSelectedMetaObject(),d={objectId:h&&h.Id,fieldDefId:c,isList:!0};Common.Ajax.GetServerData("Form94.LogCommand",d,null,null,null,this,!0);var f=Common.Util.TryGetValue(e,"Data.DynamicCommand");if(f)r=Common.LogManager.StartLog("List.Command",i),e={Command:e.Data,DynamicSetting:f,Report:this,Mo:h},Common.CustomCodeManager.RunDynamicCommand(c,e,r),Common.LogManager.EndLog(r);else if(c){var m=this.GetSelectedMetaObjectList(),p=Common.MetaObjectListWeb.CreateFromMoArray(m);if(e.E&&e.E.Command&&"WordReportCommand"===e.E.Command.Type){var C=h.Id;Bw.Report.ShowForm({ReportId:e.E.Command.ReportId,HideToolbar:!1,RequestedMoIds:[C]})}r=Common.LogManager.StartLog("List.Command",i);var v=[e.Data,{Mo:Bw._wrap(h),MoList:Bw._wrap(p),Report:Bw._wrap(this),E:e.E}];Common.CustomCodeManager.ExecFunctions(c,"ToolClick",v,r),Common.LogManager.EndLog(r)}}},_onSelectionAdapter_SelectionChange:function(t){this.CommandBarCtrlr.Refresh(),this.fireEvent(Ul.UlvMainCtrlr.EventEnum.SelectionChange,this)},_onApplication_GlobalMoUpdate:function(t,e){var n=Common.Util.TryGetValue(this,"Setting.Extra.Report.ReportId"),i=Ext.isArray(e)&&e.length>0,r=i?Common.Util.TryGetValue(e[0],"$ReportId"):Common.Util.TryGetValue(e,"ReportId");if(r&&r==n){var o=i?e:Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(e);0!=this.FireEventSynch(Ul.UlvMainCtrlr.EventEnum.BeforeRefreshRowByMo,{Ulv:this,Report:this,UpdatedList:o})&&this.RefreshRowsByMos(o,null,null)}},_onApplication_GlobalMoAdd:function(t,e){var n=Common.Util.TryGetValue(this,"Setting.Extra.Report.ReportId"),i=Common.Util.TryGetValue(e,"ReportId");if(i&&i==n){var r=Common.MetaObjectWeb.ConvertMoOrMoListToMoArray(e);0!=this.FireEventSynch(Ul.UlvMainCtrlr.EventEnum.BeforeRefreshRowByMo,{Ulv:this,Report:this,AddedList:r})&&this.RefreshRowsByMos(null,r,null)}},_onApplication_GlobalMoDelete:function(t,e){var n=Common.Util.TryGetValue(this,"Setting.Extra.Report.ReportId"),i=Common.Util.TryGetValue(e,"ReportId");i&&i==n&&0!=this.FireEventSynch(Ul.UlvMainCtrlr.EventEnum.BeforeRefreshRowByMo,{Ulv:this,Report:this,DeletedList:e.IdList})&&this.RefreshRowsByMos(null,null,e.IdList)},__ExecUserCommandHandler:function(t,e,n,i){CodeEventManager.IterateEvents((function(r){r.EventType==eventType.FormControl&&r.TypeDefName==t&&r.FieldDefName==e&&r.Handler(n,i)}),this)},__ShowEditForm:function(t,e){SearchPanelCtrlr},__ShowNewForm:function(t){var e={Ulv:this,Mo:t,IsReadOnly:!1};Common.Async.Waterfall("UlvMainCtrlr._onViewerCtrlr_ItemOpenRequest",[this.FireEventSynch.bind(this,Ul.UlvMainCtrlr.EventEnum.RequestOpen,e),this.ViewerCtrlr.ShowEditForm.bind(this.ViewerCtrlr,e.Mo,!1,!0)],(function(t,e){Ul.LoadingMask.UnmaskBody(),Common.Async.Finalize(t,e)}))},__Reload:function(){if(!this.Setting.Relation||"Composition"!=this.Setting.Relation.RelationType||!this.aNotFirstTime){this._refreshUlvParams();var t=Common.Merger.Clone({},this.UlvParams);t.OnlyData=!0,Common.Async.Waterfall("UlvMainCtrlr.Reload",[this.FireEventSynch.bind(this,Ul.UlvMainCtrlr.EventEnum.BeforeReportExecute,{Ulv:this,Report:this}),this._loadFromServer.bind(this,t),this.RefreshData.bind(this)],(function(t,e){Ul.LoadingMask.UnmaskBody(),Common.Async.Finalize(t,e,doReturn)}))}},__RefreshData:function(){this.ViewerCtrlr.RefreshData()},__RefreshAll:function(){this.VeiwerCtrlr.Refresh(),this.Adapter.Refresh(),this.SearchPanelCtrlr&&this.SearchPanelCtrlr.Refresh()},statics:{EventEnum:{BeforeReportExecute:"BeforeReportExecute",AfterReportExecute:"AfterReportExecute",BindData:"BindData",SelectionChange:"SelectionChange",ItemDblClick:"ItemDblClick",Form_GetEditForm:"Form_GetEditForm",ItemClick:"ItemClick",BeforeDeleteItem:"BeforeDeleteItem",AfterDeleteItem:"AfterDeleteItem",BeforeCreateViewer:"BeforeCreateViewer",AfterCreateViewer:"AfterCreateViewer",BeforeCreateToolbar:"BeforeCreateToolbar",AfterCreateToolbar:"AfterCreateToolbar",AfterCreateStore:"AfterCreateStore",BeforeOpenForm:"BeforeOpenForm",RequestOpen:"RequestOpen",RequestDelete:"RequestDelete",Render:"Render",RenderViewer:"RenderViewer",DestroyViewer:"DestroyViewer",BeforeDestroy:"BeforeDestroy",LoadUserSettingRequest:"LoadUserSettingRequest",UserSettingChange:"UserSettingChange",FooterButtonClick:"FooterButtonClick",PageChange:"PageChange",KeyDown:"KeyDown",ValueChange:"ValueChange",CommandClick:"CommandClick",BeforeSelectionChange:"BeforeSelectionChange",BeforeRefreshRowByMo:"BeforeRefreshRowByMo",MoveNextClick:"MoveNextClick",MovePrevClick:"MovePrevClick",AfterCreateInnerParts:"AfterCreateInnerParts",EnterEditMode:"EnterEditMode",ExitEditMode:"ExitEditMode"},UlvUsageEnum:{SystemContainer:"SystemContainer",Combo:"Combo",ListField:"ListField",SelectionForm:"SelectionForm"},UlvSelectionEnum:{Default:"Default",NoSelect:"NoSelect",Single:"Single",Multi:"Multi",CheckList:"CheckList"},GridLinesEnum:{Both:"Both",Vertical:"Vertical",Horizontal:"Horizontal",None:"None"},_internalDefaults:{Features:{Toolbar:!0,ContextMenu:!0,Paging:!0,HandleItemClick:!0,HandleItemDblClick:!0,HandleKeyDown:!0}},CreateForReport:function(t,e,n){var i,r=new Ul.UlvParams({FolderId:e.Id,ReportId:e.ReportId,SystemId:t.Id,UsageEnum:Ul.UlvMainCtrlr.UlvUsageEnum.SystemContainer,ReportNameForCustomEvent:e.Name});e.UlvParams&&(Ext.apply(r,e.UlvParams),i=e.UlvParams.ParentMo),e.OtherData&&e.OtherData.FieldId&&(i=e.OtherData.Mo,r.FieldDefId=e.OtherData.FieldId,r.ParentMo=i?i.GetChangedObject?i.GetChangedObject():i:null,r.FolderId=null,r.ReportId=null,r.LevelReportId=Common.Util.TryGetValue(e,"OtherData.Mo.$LevelReportId"),r.ReportNameForCustomEvent=e.OtherData.ReportName,r.IsInsideViewResult=Ext.isDefined(e.OtherData));var o=null;t&&t.SystemContainerCtrlr&&(o=t.SystemContainerCtrlr.GetSize()),o&&(r.Width=o.Width,r.Height=o.Height);var a={UlvParams:r,System:t,NavItem:e,ParentMo:i},s=new Ul.UlvMainCtrlr(a);Common.Async.Waterfall("UlvMainCtrlr.CreateForReport",[s.Load.bind(s,r)],(function(t,e){e=s,Common.Async.Finalize(t,e,n)}))},CreateForNavGroup:function(t,e,n){},GetSelectedMetaObjectList:function(){return this.GetSelectedMetaObjectList()},CreateByConfig:function(t,e,n){i.waterfall([UnifiedListViewer.LoadByConfig.bind(null,t,e,null),function(t,e,n){n(null,new UnifiedListViewer(t))}],(function(t,e){n(t,e)}))},UlvReportsDictionary:{}}}),Common.Cs.Define("Ul.UlvParams","",{FolderId:null,ReportId:null,ComboFieldId:null,Width:null,Height:null,ReportName:null,TypeDefId:null,PageIndex:null,FilterText:null,IsReadOnly:null,SortSettingList:null,ParentMo:null,SearchMo:null,ParameterValues:null,SelectionEnum:null,UsageEnum:null,ColumnRequestEnum:null,Flags:null,FieldDefId:null,ExtraParams:null,RequestedMoIds:null,ReportIdForSetting:null,ReportNameForCustomEvent:void 0,StartIndex:null,EndIndex:null,constructor:function(t){this.callParent(arguments),Common.Merger.FastMerge(this,t)},SetPartsToOnlyData:function(){this.Flags={Data:Common.Enums.DefaultableBoolean.True,View:Common.Enums.DefaultableBoolean.False,SearchPanel:Common.Enums.DefaultableBoolean.False,Extra:Common.Enums.DefaultableBoolean.False}},SetPartsToNoData:function(){this.Flags={Data:Common.Enums.DefaultableBoolean.False,View:Common.Enums.DefaultableBoolean.True,SearchPanel:Common.Enums.DefaultableBoolean.True,Extra:Common.Enums.DefaultableBoolean.True}},SetPartsToAll:function(){this.Flags={Data:Common.Enums.DefaultableBoolean.True,View:Common.Enums.DefaultableBoolean.True,SearchPanel:Common.Enums.DefaultableBoolean.True,Extra:Common.Enums.DefaultableBoolean.True}}})},60010:(t,e,n)=>{var i=n(20134).XXTEA;Common.Cs.Define("Common.JsonEncryptor","",{singleton:!0,Encrypt:function(t,e){return t=Common.Util.ReplaceFaToArCharchter(t),LoginFormData.Encryption?(e=Ext.value(e,"1234567890"),i.encryptToBase64(t,e)):t},Decrypt:function(t,e){if(LoginFormData.Encryption){if(Ext.isObject(t)&&0==Ext.isDefined(t.rr))return Common.Util.ReplaceArabicCharchter(t);e=Ext.value(e,"1234567890"),Ext.isObject(t)&&(t=t.rr);var n=i.decryptFromBase64(t,e);return n=Common.Util.ReplaceArabicCharchter(n),Ext.decode(n)}return Common.Util.ReplaceArabicCharchter(t)},DeserializeAndDecrypt:function(t,e){if(LoginFormData.Encryption){var n=Ext.decode(t);return this.Decrypt(n,e)}var i=this.Decrypt(t,e);return Ext.decode(i)}})},76450:()=>{var t,e,n;Common.Cs.Define("CustomUi.RadioGroup","Ui.CustomField",(n={items:[]},(e="items")in(t={items:[],getStore:function(){},store:{loadData:function(t){}}})?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t))},95316:()=>{Common.Cs.Define("CustomUi.MultiSelectCombo","Ui.CustomField",{getRawValue:function(){},getStore:function(){return this},getById:function(t){var e=this.store.data[this.store.root],n=null;return e.forEach((function(e){e.id==t&&(n=e)})),n}})},54098:()=>{Common.Cs.Define("CustomUi.SimpleCombo","Ui.CustomField",{RefreshRow:function(t,e){},store:{getById:function(t){},data:[]}})},8920:()=>{Common.Cs.Define("Common.DateRangeData","Common.MetaBase",{FirstDate:null,SecondDate:null,DateRangeType:null,_isJalali:!1,constructor:function(t){this._isJalali=!Common.Util.IsLtr(),Ext.apply(this,t)},GetText:function(){var t=Common.DateRangeData.DateRangeEnum,e=Ext.value(this.DateRangeType,t.None),n=this.CalcRange(),i=n[0],r=n[1],o="";switch(e){case t.None:o=BBB.Empty_Bracket;break;case t.SpecificRange:break;case t.Today:case t.Tommorrow:case t.Yesterday:o=BBB["DateR_"+e]+": ",o+=i.format(BBB.Date_LongDate);break;case t.ThisWeek:case t.PrevWeek:case t.NextWeek:o=BBB["DateR_"+e]+": ",o+=i.format(BBB.Date_WeekName+" "+BBB.Date_DayOfMonth+" "+BBB.Date_MonthName),o+=BBB.To_SpaceBothSides,o+=r.format(BBB.Date_WeekName+" "+BBB.Date_DayOfMonth+" "+BBB.Date_MonthName);break;case t.ThisMonth:case t.PrevMonth:case t.NextMonth:o=BBB["DateR_"+e]+": ",o+=i.format(BBB.Date_MonthName+" "+BBB.Date_Year);break;case t.ThisYear:case t.PrevYear:case t.NextYear:o=BBB["DateR_"+e]+": ",o+=i.format(BBB.Date_Year)}return o},CalcRange:function(){var t=Ext.value(this.DateRangeType,Common.DateRangeData.DateRangeEnum.None),e=new Date;e.clearTime();var n,i,r=Common.DateRangeData.DateRangeEnum,o=[];switch(t){case r.None:break;case r.SpecificRange:o.push(this.FirstDate,this.SecondDate);break;case r.Today:o.push(e,e);break;case r.Tommorrow:e=e.add(Date.DAY,1),o.push(e,e);break;case r.Yesterday:e=e.add(Date.DAY,-1),o.push(e,e);break;case r.ThisWeek:e=this._getStartOfWeek(e),o.push(e,e.add(Date.DAY,6));break;case r.PrevWeek:e=this._getStartOfWeek(e),o.push(e.add(Date.DAY,-7),e.add(Date.DAY,-1));break;case r.NextWeek:e=this._getStartOfWeek(e),o.push(e.add(Date.DAY,7),e.add(Date.DAY,13));break;case r.ThisMonth:n=this._getStartOfMonth(e),i=this._getEndOfMonth(e),o.push(n,i);break;case r.PrevMonth:i=(n=this._getStartOfMonth(e)).add(Date.DAY,-1),n=this._getStartOfMonth(i),o.push(n,i);break;case r.NextMonth:n=(n=this._getEndOfMonth(e)).add(Date.DAY,1),i=this._getEndOfMonth(n),o.push(n,i);break;case r.ThisYear:n=this._getStartOfYear(e),i=this._getEndOfYear(e),o.push(n,i);break;case r.PrevYear:i=(n=this._getStartOfYear(e)).add(Date.DAY,-1),n=this._getStartOfYear(i),o.push(n,i);break;case r.NextYear:n=(n=this._getEndOfYear(e)).add(Date.DAY,1),i=this._getEndOfYear(n),o.push(n,i);break;default:throw new Error}return n&&n.jalaliConverted&&(n.jalaliConverted=!1),i&&i.jalaliConverted&&(i.jalaliConverted=!1),o},GetChangedObject:function(){var t={DateRangeType:this.DateRangeType};return this.DateRangeType==Common.DateRangeData.DateRangeEnum.SpecificRange&&(t.FirstDate=this.FirstDate,t.SecondDate=this.SecondDate),t},_getWeekNumber:function(t){var e=t.format("N");return this._isJalali&&(e+=2)>7&&(e-=7),e},_getStartOfWeek:function(t){var e=this._getWeekNumber(t);return e-=1,t.add(Date.DAY,-e)},_getStartOfMonth:function(t){return this._isJalali?t.getJalaliFirstDateOfMonth():t.getFirstDateOfMonth()},_getEndOfMonth:function(t){var e=(t=this._getStartOfMonth(t)).getDaysInMonth();return this._isJalali&&(e=t.getJalaliDaysInMonth()),t.add(Date.DAY,e-1)},_getStartOfYear:function(t){var e;return this._isJalali?(e=t.getJalaliFullYear(),t=Date.createJalali(e,0,1)):(e=t.getFullYear(),t=new Date(e,0,1)),t},_getEndOfYear:function(t){var e=364;return t=this._getStartOfYear(t),this._isJalali?t.isJalaliLeapYear()&&(e+=1):t.isLeapYear()&&(e+=1),t.add(Date.DAY,e)},statics:{DateRangeEnum:{None:"None",SpecificRange:"SpecificRange",DaysBefore:"DaysBefore",DaysAfter:"DaysAfter",Today:"Today",ThisWeek:"ThisWeek",ThisMonth:"ThisMonth",ThisYear:"ThisYear",Yesterday:"Yesterday",PrevWeek:"PrevWeek",PrevMonth:"PrevMonth",PrevYear:"PrevYear",Tommorrow:"Tommorrow",NextWeek:"NextWeek",NextMonth:"NextMonth",NextYear:"NextYear",Custom:"Custom"}}}),Common.Cs.Define("Common.Date","Common.MetaBase",{singleton:!0,Format:function(t,e){return(t=new Date(t)).format(e)},GetDayRelativeName:function(t){t=new Date(t);var e=new Date;return e=e.clearTime(!0),t=t.clearTime(!0),e.getTime()==t.getTime()?BBB.DateR_Today:e.add(Date.DAY,1).getTime()==t.getTime()?BBB.DateR_Tommorrow:e.add(Date.DAY,-1).getTime()==t.getTime()?BBB.DateR_Yesterday:""},FormatDateRelative:function FormatDateRelative(d){if(Ext.isEmpty(d))return"";Ext.isString(d)&&(d=eval(d));var result="",dateName=Common.Date.GetDayRelativeName(d);if(dateName)result=dateName+" "+d.format(BBB.Date_ShortTime2);else{var format=d.clearTime(!0).getTime()==d.getTime()?BBB.Date_ShortDate2:BBB.Date_ShortDateTime2;result=d.format(format)}return result}})},37741:()=>{Common.Cs.Define("CustomUi.DateTime","Ui.CustomField",{Format:"",CalendarType:"",GetCaption:function(t){return this.controlUi.GetCaption(t)}})},88634:()=>{Common.Cs.Define("CustomUi.TimeSpan","CustomUi.NumDecimal_Ui",{})},93592:()=>{Common.Cs.Define("CustomUi.FileLinearListBox","Ui.CustomField",{constructor:function(t){this.callParent(arguments),this.addEvents("ShowUploadWindow")},DisplayFiles:function(t){},ShowUploadWindow:function(){this.fireEvent("ShowUploadWindow")},Refresh:function(){}})},74201:()=>{Common.Cs.Define("CustomUi.PictureFile","Ui.CustomField",{_value:null,constructor:function(t){this.callParent(arguments),this.addEvents("DispalyImage")},createControlUi:function(){this.callParent(arguments),this.controlUi.imageUrl=this.imageUrl,this.controlUi.value=this._value},DisplayImage:function(t,e,n){this.imageUrl=t,this.sizeMode=e,this._value=n,this.fireEvent("DispalyImage",t,e,n)},IsReadOnly:!1})},91614:()=>{Common.Cs.Define("CustomUi.PicturesInfo","Ui.CustomField",{constructor:function(t){this.callParent(arguments),this.addEvents("DispalyImages")},DisplayImages:function(t){this.value=t,this.fireEvent("DisplayImages",t)},IsReadOnly:!1})},55723:()=>{Common.Cs.Define("CustomUi.SinglePicture","Ui.CustomField",{constructor:function(t){this.callParent(arguments),this.addEvents("DispalyImage")},DisplayImage:function(t,e){this.imageUrl=t,this.pos=e,this.fireEvent("DisplayImage",t,e)}})},5918:()=>{Common.Cs.Define("CustomUi.NumDecimal_Ui","Ui.CustomField",{getFormattedValue:function(t){},getRawValue:function(){}})},4394:()=>{Common.Cs.Define("CustomUi.NumInt","CustomUi.NumDecimal_Ui",{})},59462:()=>{Common.Cs.Define("Ui.CustomField","Common.Observable",{xtype:"Ui.CustomField",constructor:function(t){if(this.config=t,this.addEvents("ValueChanged","Render","KeyPress","KeyDown","RequestParentFormPanelUi","ControlValueChanged","ControlDisableChanged","ControlReadonlyChanged","ControlVisibleChanged","ControlRefresh"),this.callParent(arguments),this.component=component=Common.Util.TryGetValue(this.Setting,"CustomUi.Selector",null),null==this.component){var e=LoginFormData.CustomUiPrefix;e&&(this.component=e+Common.Util.GetKebabCase(this.config.originalXtype))}this.readOnly=Common.Util.TryGetValue(this.Setting,"IsReadOnly",this.readOnly)},SetValue:function(t){this.setValue(t)},GetValue:function(){return this.getValue()},SetEnable:function(t){this.setDisabled(!t)},SetVisible:function(t,e){this.setVisible(t,e)},SetDisabled:function(t){this.setDisabled(t)},SetReadOnly:function(t){this.setReadOnly(t)},Refresh:function(t){this.fireEvent("ControlRefresh",t)},getValue:function(){return this.value},setValue:function(t){this.value=t,this.fireEvent("ControlValueChanged",this.value)},setVisible:function(t,e){this.visible=t,this.fireEvent("ControlVisibleChanged",this.visible,e)},setDisabled:function(t){this.disable=t,this.fireEvent("ControlDisableChanged",this.disable)},setReadOnly:function(t){this.readOnly=t,this.fireEvent("ControlReadonlyChanged",this.readOnly)},setWidth:function(t){return t},setHeight:function(t){return t},getResizeEl:function(){},getPosition:function(t){return[0,0]},getSize:function(){return{width:0,height:0}}})},54538:()=>{Common.Cs.Define("CustomUi.ContainerWithButton","Ui.CustomField",{constructor:function(t){this.callParent(arguments),this.addEvents("EnableButtons","VisibleButtons")},EnableButtons:function(t,e){this.fireEvent("EnableButtons",t,e)},VisibleButtons:function(t,e){this.fireEvent("VisibleButtons",t,e)}})},1089:()=>{Common.Cs.Define("Ui.ExceptionForm","Common.Observable",{statics:{IsHandled:!1,Show:function(t,e,n){Ui.ExceptionForm.isHandled||(t=t+":\n"+e,alert(t),n&&n())}}})},20116:()=>{Ext.applyIf(Array.prototype,{insert:function(t,e){this.splice(t,0,e)},insertAt:function(t,e){this.splice(t,0,e)},insertList:function(t,e){this.splice.apply(this,[t,0].concat(e))},removeAt:function(t){return this.splice(t,1)[0]},remove:function(t){var e=this.indexOf(t);return-1!=e&&this.splice(e,1),this},find:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),i=n.length>>>0,r=arguments[1],o=0;o<i;o++)if(e=n[o],t.call(r,e,o,n))return e},indexOf:function(t,e){var n=this.length;for(e=e||0,e+=e<0?n:0;e<n;++e)if(this[e]===t)return e;return-1},filter:function(t){"use strict";if(null==this)throw new TypeError;var e=Object(this),n=e.length>>>0;if("function"!=typeof t)throw new TypeError;for(var i=[],r=arguments[1],o=0;o<n;o++)if(o in e){var a=e[o];t.call(r,a,o,e)&&i.push(a)}return i},indexOfByProperty:function(t,e){for(var n=-1,i=0;i<this.length;i++){var r=this[i];if(t in r&&r[t]===e){n=i;break}}return n},findByProperty:function(t,e){var n=this.indexOfByProperty(t,e);if(n>-1)return this[n]},forEach:function(t,e){var n,i;if(null==this)throw new TypeError(" this is null or not defined");var r=Object(this),o=r.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(arguments.length>1&&(n=e),i=0;i<o;){var a;i in r&&(a=r[i],t.call(n,a,i,r)),i++}},some:function(t){"use strict";if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof t)throw new TypeError;for(var e=Object(this),n=e.length>>>0,i=arguments.length>=2?arguments[1]:void 0,r=0;r<n;r++)if(r in e&&t.call(i,e[r],r,e))return!0;return!1},every:function(t,e){"use strict";var n,i;if(null==this)throw new TypeError("this is null or not defined");var r=Object(this),o=r.length>>>0;if("function"!=typeof t)throw new TypeError;for(arguments.length>1&&(n=e),i=0;i<o;){var a;if(i in r){a=r[i];var s=t.call(n,a,i,r);if(!s)return!1}i++}return!0},map:function(t,e){var n,i,r;if(null==this)throw new TypeError(" this is null or not defined");var o=Object(this),a=o.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(arguments.length>1&&(n=e),i=new Array(a),r=0;r<a;){var s,l;r in o&&(s=o[r],l=t.call(n,s,r,o),i[r]=l),r++}return i}}),Ext.applyIf(Array,{IndexOfByProperty:function(t,e,n){if("[object Array]"===toString.apply(t))return t.indexOfByProperty(e,n)},FindByProperty:function(t,e,n){if("[object Array]"===toString.apply(t))return t.findByProperty(e,n)}})},92924:()=>{Ext.applyIf(Function,{bind:function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),n=this,i=function(){},r=function(){return n.apply(this instanceof i&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return i.prototype=this.prototype,r.prototype=new i,r},debounce:function(t,e,n){var i,r=0;return function(){var o=this,a=arguments,s=function(){i=null,n||t.apply(o,a)},l=n&&!i;clearTimeout(i),l&&t.apply(o,a),Date.now()-r>e?t.apply(o,a):i=setTimeout(s,e),r=Date.now()}}}),Ext.applyIf(Function.prototype,{getParamNames:function(){var t=this.toString().replace(/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,""),e=t.slice(t.indexOf("(")+1,t.indexOf(")")).match(/([^\s,]+)/g);return null===e&&(e=[]),e}})},54015:()=>{function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}Ext.applyIf(Object,{keys:function(){"use strict";var e=Object.prototype.hasOwnProperty,n=!{toString:null}.propertyIsEnumerable("toString"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=i.length;return function(o){if("object"!==t(o)&&("function"!=typeof o||null===o))throw new TypeError("Object.keys called on non-object");var a,s,l=[];for(a in o)e.call(o,a)&&l.push(a);if(n)for(s=0;s<r;s++)e.call(o,i[s])&&l.push(i[s]);return l}},values:function(t){for(var e=Object.keys(t),n=[],i=0;i<e.length;i++)n.push(t[e[i]]);return n}})},95871:()=>{Ext.applyIf(String.prototype,{format:function(){var t=Ext.toArray(arguments,0);return this.replace(/\{(\d+)\}/g,(function(e,n){return t[n]}))},ellipse:function(t){return this.length>t?this.substr(0,t-3)+"...":this},contains:function(t){return this.indexOf(t)>=0},endsWith:function(t,e){var n=this.toString();("number"!=typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var i=n.lastIndexOf(t,e);return-1!==i&&i===e},startsWith:function(t,e){return e=e||0,this.substr(e,t.length)===t},replaceAll:function(t,e){return this.split(t).join(e)},padRight:function(t,e){return e=e||" ",this.length>=t?this:this+new Array(Math.ceil((t-this.length)/e.length)+1).join(e).substr(0,t-this.length)},padLeft:function(t,e){return e=e||" ",this.length>=t?this:new Array(Math.ceil((t-this.length)/e.length)+1).join(e).substr(0,t-this.length)+this},repeat:function(t){if(null==this)throw new TypeError("can't convert "+this+" to object");var e=""+this;if((t=+t)!=t&&(t=0),t<0||t==1/0)return null;if(t=Math.floor(t),0==e.length||0==t)return"";for(var n="";1==(1&t)&&(n+=e),0!=(t>>>=1);)e+=e;return n},insertAt:function(t,e){return this.substr(0,t)+e+this.substr(t)},trim:function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},toCamelCase:function(){return this.replace(/^([A-Z])|\s(\w)/g,(function(t,e,n,i){return n?n.toUpperCase():e.toLowerCase()}))}}),Ext.applyIf(String,{format:function(t){var e=Ext.toArray(arguments,1);return t.replace(/\{(\d+)\}/g,(function(t,n){return e[n]}))},replaceAll:function(t,e,n){return t.split(e).join(n)},addThousandSeparator:function(t){var e=t.toString().split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}})},34796:()=>{var t=function(t,e){this.EditPanel=null,this.FieldName=null,this.FieldName=t,this.EditPanel=e};t.Create=function(t,e){return null},t.prototype.get_ReadOnly=function(){return FormHelper.ControlGetEnable(this.EditPanel,this.FieldName)},t.prototype.set_ReadOnly=function(t){FormHelper.ControlSetEnable(this.EditPanel,this.FieldName,t)},t.prototype.get_Value=function(){return FormHelper.ControlGetValue(this.EditPanel,this.FieldName)},t.prototype.set_Value=function(t){FormHelper.ControlSetValue(this.EditPanel,this.FieldName,t)},t.prototype.get_Enable=function(){return FormHelper.ControlGetEnable(this.EditPanel,this.FieldName)},t.prototype.set_Enable=function(t){FormHelper.ControlSetEnable(this.EditPanel,this.FieldName,t)},t.prototype.get_Mandatory=function(){return FormHelper.ControlGetMandatory(this.EditPanel,this.FieldName)},t.prototype.set_Mandatory=function(t){FormHelper.ControlSetMandatory(this.EditPanel,this.FieldName,t)},t.prototype.get_Visible=function(){return FormHelper.ControlGetVisiblity(this.EditPanel,this.FieldName)},t.prototype.set_Visible=function(t){FormHelper.ControlSetVisiblity(this.EditPanel,this.FieldName,t)},t.prototype.Refresh=function(){this.EditPanel.RefreshControl(this.FieldName)};var e=function(t){this.EditPanel=t,this.MetaObjectProxy=null};e.prototype.GetMetaObject=function(){if(null==this.MetaObjectProxy){var t=FormHelper.FormGetMo(this.EditPanel);this.MetaObjectProxy=t}return this.MetaObjectProxy},e.prototype.IsNew=function(){FormHelper.FormIsNew(this.EditPanel)},e.prototype.Save=function(){FormHelper.Save(this.EditPanel)},e.prototype.GetControl=function(t){return FormHelper.ControlGetByCaption(this.EditPanel,t)};var n=function(t,e){this.PMetaObject=null,this.FieldName=null,this.PMetaObject=t,this.FieldName=e};n.prototype.get_Value=function(){return this.PMetaObject.MetaObject[this.FieldName]},n.prototype.set_Value=function(t){this.PMetaObject.MetaObject[FieldName]=t}},88398:()=>{CompactArrayHelper={IsEnabled:function(t){return Is94?Ul.ApplicationCtrlr?Ul.ApplicationCtrlr.EnableCompactArray:!!t.FirstTime&&t.FirstTime.EnableCompactArray:System.firstTimeData?System.firstTimeData.EnableCompactArray:!!t.FirstTime&&t.FirstTime.EnableCompactArray},FixDataForCompactArray:function(t){if(!t)return t;var e=Ext.isArray(t);if(e&&this.IsCompactArray(t))return this.FixCompactArray(t);var n,i=Ext.isObject(t);if(!e&&!i)return t;for(n in t)t.hasOwnProperty(n)&&(t[n]=this.FixDataForCompactArray(t[n]));return t},CompactArraySign:"$CA$",IsCompactArray:function(t){return t.length>0&&t[t.length-1]==this.CompactArraySign},FixCompactArray:function(t){for(var e=t.length-2,n=t[t.length-2],i=new Array(e),r=0;r<e;r++){for(var o=t[r],a=o.length,s=new Object,l=0;l<a;l++){var u=o[l];void 0!==u&&(s[n[l]]=this.FixDataForCompactArray(u))}i[r]=s}return i}}},42274:()=>{Common.Cs.Define("Common.Debug",null,{singleton:!0,controllerList:[],adapterList:[],uiList:[],InitUi:function(t,e){Common.DebugSettings.GetKey("SetLayerReferences")&&(t.__adapter=e,this.adapterList.push(e),this.uiList.push(t))},InitAdapter:function(t,e){Common.DebugSettings.GetKey("SetLayerReferences")&&(t.__controller=e,this.controllerList.push(e))},Time:function(t){window.console&&window.console.time&&window.console.time(t)},TimeEnd:function(t){window.console&&window.console.timeEnd&&window.console.timeEnd(t)},Assert:function(t,e){!0!==t&&(this.IsShowAssertPopup?prompt("",e):this.Error(e))},Log:function(t){window.console&&this.IsLogActive&&window.console.log&&window.console.log(t)},Info:function(t){window.console&&this.IsLogActive&&window.console.info&&window.console.info(t)},Warn:function(t){window.console&&this.IsLogActive&&window.console.warn&&window.console.warn(t)},Error:function(t){window.console&&this.IsLogActive&&window.console.error&&window.console.error(t)},Count:function(t){this._canLog()&&console.count&&window.console.count(t)},_canLog:function(){return window.console&&this.IsLogActive},ShowPropertyGrid:function(t,e){var n=new Ui.PropertyTreeGrid({bodyStyel:{"background-color":"red"},_source:t,_sourceName:e});new Ext.Window({bodyStyel:{"background-color":"red"},autoScroll:!0,items:[n],width:600,height:600}).show()},ShowExecptionForm:function(t){Ul.LoadingMask.MaskBody();var e=t.UserMessage,n=t.DetailMessage;if(n&&(n=t.DetailMessage.replaceAll("\n","<br>")),n&&0==n.indexOf("$"))Ul.MsgBox.Error(e);else{var i=[];i.push({text:"کپی در حافظه",icon:"/assets/Images/Save_16.png",handler:function(){var t=$("#detailContainer").text(),e=$('<textarea style="width:1px;height:1px;" />');e.text(t),$("body").append(e),e.select(),document.execCommand("copy",!0),e.remove()}}),i.push({text:BBB.Continue,icon:"/Lib/ext-3.4.1/resources/images/default/tree/drop-yes.gif",handler:function(){r.close()}}),t.retryFunction&&i.push({text:"Retry",handler:function(){t.retryFunction.call(),r.close()}}),i.push({text:BBB.ExitSystem,icon:"/assets/Images/logout.png",handler:function(){location.href="MainPageNew.aspx"}});var r=new Ext.Window({title:BBB.Error,id:"ExceptionPopupWindow",width:600,layout:"fit",closable:!0,resizable:!1,modal:!0,floating:!0,shadow:!1,items:[{xtype:"container",autoHeight:!0,width:600,items:[{xtype:"container",layout:"hbox",height:50,width:600,style:"padding-top : 8px;",items:[{xtype:"container",html:'<img src="/assets/Images/warning14.png" style="padding-top : 3px;padding-right:15px" />'},{xtype:"label",text:e,style:"padding-right : 8px;padding-top : 12px",width:600}]},{xtype:"panel",collapsed:!0,collapsible:!0,width:586,height:300,bodyStyle:"overflow-Y: auto;overflow-x: hidden;direction:ltr",style:"padding-top : 8px;",id:"detailContainer",items:[{xtype:"container",style:"direction:ltr",html:n}]}]}],buttons:i});Ext.getCmp("detailContainer").on("expand",(function(){r.doLayout()})),null==Ext.get("ExceptionPopupWindow")&&r.show()}}})},65737:()=>{Common.Cs.Define("Common.DebugSettings",null,{singleton:!0,StrictMode:!0,IsLogActive:!0,Data:null,Init:function(){Ul.ApplicationCtrlr.IsUser||this.Load()},IsActive:function(){return!!this.Data},FlipIsActive:function(){this.Data?this.Data=null:this.Data={LogWaterfall:!1,LogAjaxCall:!1,IsShowAssertPopup:!1,IsShowTestToolbar:!1,SetLayerReferences:!1},this.Save()},Save:function(){var t,e="Debug_"+LoginFormData.Suffix;Ul.ApplicationCtrlr.IsUser?t=null:this.Data&&(t=JSON.stringify(this.Data)),t?Util.Cookie.SetValue(e,t):Util.Cookie.Clear(e)},Load:function(){if(!Ul.ApplicationCtrlr.IsUser){var t="Debug_"+LoginFormData.Suffix,e=Util.Cookie.GetValue(t);this.Data=JSON.parse(e)}},GetKey:function(t){return!!this.Data&&this.Data[t]},SetKey:function(t,e){this.Data&&(this.Data[t]=e,this.Save())}})},74725:()=>{},18047:(t,e,n)=>{var i=n(74725);Common.Cs.Define("Common.LogManager","",{singleton:!0,constructor:function(){$(document).ready((function(){setInterval(Common.LogManager.SaveFreeLogs,500)}))},useCaseLog:null,freeActionList:[],SaveFreeLogs:function(){if(Common.LogSettingsManager.CanSaveFreeAction()){var t=Common.LogManager;if(t.freeActionList&&0!=t.freeActionList.length){var e={UseCase:"-",FreeActionList:t.freeActionList};t.SaveUseCase(e)}}},isDebug:!1,useNewLog:!1,previousUseCase:null,previousUseCaseCount:0,GetUseCaseLog:function(){return this.useNewLog?i.context&&i.context.Data:this.useCaseLog},StartLog2:function(t,e,n){return this.StartLog(t,e,n),null},StartLog:function(t,e,n){var r=this,o=this.isDebug;if(!this.useNewLog){var a=Common.LogSettingsManager.CanStartLog(t);if(this.useCaseLog&&n)return a?(this.previousUseCase=$.extend({},this.useCaseLog,{Number:this.previousUseCaseCount+1,StartTime:new Date,FinishTime:null,ActionList:[]}),this.previousUseCaseCount++,function(t){if(t)throw t;var e=r.previousUseCase;r.SaveUseCase(e),r.previousUseCaseCount--,0==r.previousUseCaseCount&&(r.previousUseCase=null)}):null;if(this.useCaseLog&&!n){if(o)throw new"Cannot start inner log!";r.SaveUseCase(this.useCaseLog),r.useCaseLog=null}if(!a)return null}var s={Guid:Common.Util.CreateUUID(),Number:0,UseCase:t,ParameterObject:e,StartTime:new Date,FinishTime:null,ActionList:[]};if(this.useNewLog){var l=i.context,u=!l;if(u){var c=t+JSON.stringify(e);i.context={Text:c,IsNew:!0,Data:s,Previous:null}}else i.context={Text:l.Text,IsNew:!1,Data:l.Data,Previous:l};u&&o&&console.log("** UseCase="+i.GetText())}else this.useCaseLog=s;return this.useNewLog?null:function(t){if(t)throw t;if(o&&s!==r.GetUseCaseLog())throw"invalid useCase log!";r.SaveUseCase(s),r.EndLog()}},EndLog:function(t){if(!t)if(this.useNewLog){var e=i.context;e&&(i.context=e.Previous)}else this.useCaseLog=null},SaveUseCase:function(t){t.FinishTime=new Date,("-"===t.UseCase||Common.LogSettingsManager.CanFinishLog(t))&&(t.FreeActionList=this.freeActionList,this.freeActionList=[],Common.Ajax.GetServerData("/api/logger/logUseCase",t,(function(t){}),null,null,null,!0),t.FreeActionList=[],t.ActionList=[],t.Number++)},AddServerCall:function(t,e){if(-1===t.indexOf("LogCommand")&&-1===t.indexOf("logUseCase")&&-1===t.indexOf("getLogSettings")&&Common.LogSettingsManager.CanSaveAction()){this.isDebug&&console.log("- call "+t+":"+i.GetText());var n={Action:t,StartTime:e,FinishTime:new Date,ParameterList:null},r=this.GetUseCaseLog(),o=n.FinishTime-n.StartTime;r?(r.ActionList.push(n),this.isDebug&&console.log("* "+r.UseCase+": "+t+" t="+o)):this.previousUseCase?(this.previousUseCase.ActionList.push(n),this.isDebug&&console.log("* "+this.previousUseCase.UseCase+": "+t+" t="+o)):(this.freeActionList.push(n),console.log("* FreeLog: "+t+" t="+o)),this.useNewLog&&r&&this.SaveUseCase(r)}}})},59089:()=>{Common.Cs.Define("Common.LogSettingsManager","",{singleton:!0,rules:null,disabled:!0,constructor:function(){this.disabled||setTimeout((function(){Common.LogSettingsManager.Init()}),0)},Init:function(){Common.LogSettingsManager.disabled=!1;var t=window.localStorage.getItem("LogSettings2");"undefined"!==t&&(this.rules=JSON.parse(t)),$(document).ready((function(){setTimeout(Common.LogSettingsManager.LoadSettings,1e3)}))},LoadSettings:function(){var t=Common.LogSettingsManager;t.disabled||Common.Ajax.GetServerData("/api/logger/getLogSettings",{},t.SetSettings,null,null,null,!0)},SetSettings:function SetSettings(settings){if(settings){var rules=settings&&settings.enable?settings.ruleList:null;this.rules=rules,window.localStorage.setItem("LogSettings2",JSON.stringify(rules));var interval=eval(settings.refreshInterval);interval>0&&setTimeout(me.LoadSettings,settings.refreshInterval)}},CanSaveFreeAction:function(){return!!this.rules},CanSaveAction:function(){return!!this.rules},CanStartLog:function(t){if(!this.rules)return!1;for(var e=0;e<this.rules.length;e++){var n=this.rules[e];if(n.allUseCases||n.useCaseList.includes(t))return!0}return!1},CanFinishLog:function(t){if(!this.rules)return!1;var e=t.ActionList&&t.ActionList.length>0,n=t.FreeActionList&&t.FreeActionList.length>0;if(!e&&!n)return!1;for(var i=0;i<this.rules.length;i++){var r=this.rules[i],o=r.allUseCases||r.useCaseList.includes(t.UseCase),a=parseInt(r.minInterval),s=t.FinishTime-t.StartTime;if(o&&(0===a||s>=a))return!0}return!1}})},57357:()=>{Common.Cs.Define("Common.Ajax","",{singleton:!0,GetServerData_Sync:function(t,e,n,i,r,o){var a=this._createParameters(t,e,n,r,null,i,o,!1);return this.GetFromServer(a)},GetServerData_SyncReturn:function(t,e,n){var i={};return this.GetServerData_Sync(t,e,(function(t){i.returnValue=t}),i,null,!n),i.returnValue},GetServerData:function(t,e,n,i,r,o,a){var s=this._createParameters(t,e,n,i,r,o,a,!0);return this.GetFromServer(s)},_isInside:!1,_lastTime:null,getCorrelationId:function(t){return t.getAllResponseHeaders().indexOf("X-correlation-Id")>=0?t.getResponseHeader("X-correlation-Id"):0},GetFromServer:function(t){if(this._checkSystemLock(t.action)){var e=[t.action,t.additionalParams];if(!(c=this._getCacheData(e))){var n=ContextStore.Data;Common.Ajax._isInside=!0,Common.Ajax._lastTime=new Date;var i=null,r=new Date,o=function(n,o){this._setCacheData(e,n);var a=LoadHelper.ParseResponse(n);a.correlationId=this.getCorrelationId(n),ContextStore.Data=a.context,Common.LogManager.AddServerCall(t.action,r);try{this._doOnSuccess(a,t)}catch(e){return t.isAsync&&e.Execute?void e.Execute():void(i=e)}finally{Common.Ajax._isInside=!1,Common.Ajax._lastTime=new Date}}.bind(this),a=function(e,n){if(Common.Ajax._isInside=!1,Common.Ajax._lastTime=new Date,401===e.status)return"logout"==t.action?void(t.successMethod&&t.successMethod.call(t.scope,null,!1)):void Ul.MsgBox.Error("جلسه کاری معتبر نیست. لطفا مجددا وارد شوید!",(function(){Ul.ApplicationCtrlr.Logout()}));if(0!==e.status){var i={success:!1,correlationId:this.getCorrelationId(e),error:{type:Common.Enums.ResponseErrorType.ShowError,userMessage:e.statusText}};this._doOnFailure(i,t)}else Ul.MsgBox.Error(BBB.ConnectionError,(function(){Common.Ajax.GetFromServer(t)}))}.bind(this),s=JSON.stringify(t.additionalParams);parameters=Common.JsonEncryptor.Encrypt(s,t.action);var l={action:t.action,parameters,context:n},u=JSON.stringify(l),c=AjaxHelper.AjaxRequest(t.url,u,t.isAsync,o,a);if(i&&!t.isAsync)throw i;return c}this._doOnSuccess(c,t)}},_makeParametersMinimum:function(t){for(var e in t)if(t[e],Ext.isObject(t[e]))for(var n in Ext.isFunction(t[e].GetChanges)&&(t[e]=t[e].GetChanges()),t[e])Ext.isObject(t[e])&&Ext.isObject(t[e])&&Ext.isFunction(t[e].GetChanges)&&(t[e]=t[e].GetChanges())},_createParameters:function(t,e,n,i,r,o,a,s){for(var l in a=Ext.value(a,!0),(e=Ext.value(e,{})).action=t,e)Ext.isObject(e[l])&&Ext.isFunction(e[l].GetChangedObject)&&(e[l]=e[l].GetChangedObject());var u;switch(t){case"expire":u="/api/auth/expire";break;case"logout":u="/api/auth/logout";break;case"lock":u="/api/auth/lock";break;case"unlock":u="/api/auth/unlock";break;case"systemAccess":u="/api/auth/systemAccess";break;case"downloadFile":u="/api/base/downloadFile";break;default:u=0===t.indexOf("/")?t:"/api/base/execute"}return{action:t,postData:a?this._handelAjaxParameterData(e,!0):null,additionalParams:e,scope:o,doReturn:r,successMethod:n,failureMethod:i,isPost:a,url:u,isAsync:s}},_checkSystemLock:function(t){return"undefined"==typeof ReloginForm||!ReloginForm.isOpen||"Relogin"==t||"Logout"==t||(alert("System is lock!"),!1)},_handelAjaxParameterData:function(t,e){if(e){var n=Ext.util.JSON.encode(t);return Common.JsonEncryptor.Encrypt(n)}return t},_doOnSuccess:function(t,e){if(null!=t)if(t.succeed)try{var n=null;if(t.jsonString?(n=Common.JsonEncryptor.DeserializeAndDecrypt(t.jsonString),CompactArrayHelper.IsEnabled(n)&&(n=CompactArrayHelper.FixDataForCompactArray(n))):n=t.data?t.data:t.Data?t.Data:null,Common.DebugSettings.GetKey("LogAjaxCall")){var i={action:e.action,params:e.additionalParams,result:n};console.log(JSON.parse(JSON.stringify(i)))}e.successMethod&&e.successMethod.call(e.scope,n,t.succeed)}catch(t){var r=new Common.Exception({Text:t.message,Detail:Common.Util.GetStack(t.stack)});e.doReturn?e.doReturn(r):e.failureMethod.call(e.scope,r)}else this._doOnFailure(t,e)},_doOnFailure:function(t,e){Ul.LoadingMask.UnmaskAll();var n,i,r=t.error.userMessage,o=t.error.type,a=t.error.detailMessage,s=t.correlationId;switch(o){case Common.Enums.ResponseErrorType.IpBlocked:n=new Common.Exception({Text:r,Detail:a,CorrelationId:s}),window.location.href="GenericErrorPage.aspx?statuscode=ipblocked";break;case Common.Enums.ResponseErrorType.InvalidClient:if("/api/logger/getLogSettings"===e.url)return;Ul.CaptchaPopupFormCtrlr.ShowForm(!1,"",(function(){Common.Ajax.GetFromServer(e)}));break;case Common.Enums.ResponseErrorType.SessionExpire:n=new Common.SessionExpireException({Text:r,ReloginRequired:!0});break;case Common.Enums.ResponseErrorType.UserLock:n=new Common.SessionExpireException({Text:"",ReloginRequired:!1});break;case Common.Enums.ResponseErrorType.AuthenticationRequest:n=new Common.AuthenticationRequestException({Text:r});break;case Common.Enums.ResponseErrorType.ObjectLock:break;case Common.Enums.ResponseErrorType.ShowMessage:n=new Common.Exception({Text:r,Detail:a,CorrelationId:s});break;case Common.Enums.ResponseErrorType.ShowError:default:n=new Common.Exception({Text:r,Detail:a,CorrelationId:s})}if(n.Data={Params:e,ResponseData:t},n.ImmediateExecute)throw n.Execute(),"$IgnoreException$";if(e&&e.failureMethod&&(i=e.failureMethod.call(e.scope,n)),1!=i&&0==n.IsExecuted){if(!e.doReturn)throw n;e.doReturn(n)}},_setCacheData:function(t,e){if(document.enableCache){var n=Ext.util.JSON.encode(t),i=Ext.util.JSON.encode(e);localStorage.setItem(n,i)}},_getCacheData:function(t){if(!document.enableCache)return null;var e=Ext.util.JSON.encode(t),n=localStorage.getItem(e);return Ext.util.JSON.decode(n)},CallFromServer:function(t,e){var n=function t(){t.params._len=arguments.length,Ext.each(arguments,(function(t,e){this["p"+e]=t}),t.params);var e=function(t){this.result=t};return this.GetServerData_Sync("CallFromServer",t.params,e,t,e,!0),t.result};return n.params={_systemId:t,_methodName:e},n},RunBlMethod_Server:function(t,e){var n;return this.GetServerData_Sync(e||"RunBlMethod",t,(function(t){n=t}),null,null,!0),n},RunBlMethod_Async:function(t,e,n,i,r){this.GetServerData("RunBlMethod",t,(function(t){Ext.isFunction(e)&&e.call(i,t)}),(function(t){Ext.isFunction(n)&&n.call(i,t)}),r,i,!0)}}),window.onerror=function(t,e,n,i,r){"$IgnoreException$"!==r&&r.Execute&&r.Execute()}},42507:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var async=__webpack_require__(98182);Common.Cs.Define("Common.Async","",{singleton:!0,_level:0,_levelDepth:1,LogAsyncMethods:function(){return Common.DebugSettings.GetKey("LogWaterfall")},LogTimeLapse:!0,_indent:1,Pass:function(t){var e=arguments[arguments.length-1];e()},Stop:function(t){var e=arguments[arguments.length-1];e(new Common.SilentException)},Break:function(t){var e=arguments[arguments.length-1];e(new Common.WaterfallBreakerException)},Delay:function(t){var e=arguments[arguments.length-1];t=Ext.value(t,0),setTimeout((function(){e()}),t)},ContinueIfCondition:function(t){Common.Debug.Assert(arguments.length>=2,"Common.Async.ContinueIfCondition: This function should have at least 2 arguments (considering doReturn). now it has "+arguments.length+" arguments");var e=arguments[arguments.length-1];1==t?e():e(new Common.SilentException)},ContinueIfValue:function(t,e){Common.Debug.Assert(arguments.length>=3,"Common.Async.ContinueIfValue: This function should have at least 3 arguments(considering doReturn). now it has "+arguments.length+" arguments");var n=arguments[arguments.length-1];t==e?n():n(new Common.SilentException)},__BreakIfValue:function(t,e){Common.Debug.Assert(arguments.length>=3,"Common.Async.BreakIfValue: This function should have at least 3 arguments(considering doReturn). now it has "+arguments.length+" arguments");var n=arguments[arguments.length-1],i=t==e?[new Common.WaterfallBreakerException]:[void 0];i.push(e),n.apply(null,i)},_bindFunctionToExtraArgs:function _bindFunctionToExtraArgs(fn,numOfFixArgs,theArguments){if(theArguments.length>numOfFixArgs+1){for(var args=Array.prototype.slice.call(theArguments),extraArgs=args.slice(numOfFixArgs,args.length-1),argsString="extraArgs[0]",i=1;i<extraArgs.length;i++)argsString+=",extraArgs["+i+"]";eval("fn = fn.bind(null,"+argsString+")")}return fn},ExecuteIfCondition:function(t,e){Common.Debug.Assert(arguments.length>=3,"Common.Async.ExecuteIfCondition: This function should have at least 3 arguments(considering doReturn). now it has "+arguments.length+" arguments");var n=arguments[arguments.length-1];e=Common.Async._bindFunctionToExtraArgs(e,2,arguments),0==Ext.isArray(e)&&(e=[e]),1==t?async.waterfall(e,(function(t,e){0==Ext.isDefined(e)?n(t):n(t,e)})):n()},ExecuteIfElseCondition:function(t,e,n){Common.Debug.Assert(arguments.length>=4,"Common.Async.ExecuteIfCondition: This function should have at least 3 arguments(considering doReturn). now it has "+arguments.length+" arguments");var i=arguments[arguments.length-1];e=Common.Async._bindFunctionToExtraArgs(e,3,arguments),n=Common.Async._bindFunctionToExtraArgs(n,3,arguments),1==t?e.call(null,i):0==t?n.call(null,i):(Common.Debug.Assert(1!=t||0!=t,"Common.Async.ExecuteIfCondition: condition argument is not boolean or does not lead to a boolean"),i("Error"))},ExecuteIfValue:function(t,e,n){Common.Debug.Assert(arguments.length>=4,"Common.Async.ExecuteIfValue: This function should have at least 4 arguments(considering doReturn). now it has "+arguments.length+" arguments");var i=arguments[arguments.length-1];e=Common.Async._bindFunctionToExtraArgs(e,3,arguments),t==n?e.call(null,i):i()},ExecuteIfElseValue:function(t,e,n,i){Common.Debug.Assert(arguments.length>=5,"Common.Async.ExecuteIfValue: This function should have at least 4 arguments(considering doReturn). now it has "+arguments.length+" arguments");var r=arguments[arguments.length-1];e=Common.Async._bindFunctionToExtraArgs(e,3,arguments),n=Common.Async._bindFunctionToExtraArgs(n,3,arguments),t==i?e.call(null,r):n.call(null,r)},ExecuteSwitchValue:function(t,e){Common.Debug.Assert(3==arguments.length,"Common.Async.ExecuteSwitchValue: This function should have at least 3 arguments(considering doReturn). now it has "+arguments.length+" arguments"),Common.Debug.Assert(Ext.isArray(t),"Common.Async.ExecuteSwitchValue: First arguments should be an array"),Common.Debug.Assert(t.length%2==0,"Common.Async.ExecuteSwitchValue: The length of array should be even");for(var n=arguments[arguments.length-1],i=0;i<t.length;i+=2){var r=t[i],o=t[i+1];if(r==e)return void(o=Common.Async._bindFunctionToExtraArgs(o,2,arguments)).call(null,n)}n()},Waterfall:function(t,e,n){var i=this._prepareTaskList(t,e,n);async.waterfall(i.TaskList,i.FinalCallback)},SimpleWaterfall:function(t){Common.Async.Waterfall("Common.Async.SimpleWaterfall",t,(function(t,e){Common.Async.Finalize(t,e)}))},Sequence:function(t,e,n){var i=this._prepareTaskList(t,e,n);async.series(i.TaskList,i.FinalCallback)},Each:function(t,e,n,i){var r={LastTaskExeTime:0,LastTaskMsg:"",LastTaskName:"",Level:this._level,FnName:"Each:"+t};this._logStart(r),this._level++;var o=function(){Common.Async._level--,Common.Async._logEnd(i),i.apply(null,arguments)};n.Context=r,n.Name=t,i.Context=r,async.eachSeries(e,(function(){try{Common.Async._logTask(n),n.apply(null,arguments)}catch(n){var e;e=n instanceof Common.WaterfallBreakerException?n:new Common.Exception({Text:String.format("Error in: Async.Each: {0}",t),InnerException:n}),o(e)}}),o)},Asyncify:function(t){return async.asyncify(t)},ExecCallback:function(t,e,n,i,r){if(e||n){var o=Ext.value(r,"ExecCallback");Common.Async.Waterfall(o,[t],(function(t,r){!t&&e?e.call(i):t&&(n?(Ext.isString(t)&&(t=new Common.Exception({Text:t})),n.call(i,t)):Common.Async.Finalize(t,r))}))}else t.call()},IgnoreError:function(t,e){Common.Async.Waterfall("Async.IgnoreError",[t],(function(t,n){e()}))},Finalize:function(t,e,n){n?(t instanceof Common.WaterfallBreakerException&&0==t.Propagate&&(t=void 0),Ext.isDefined(e)?n(t,e):n(t)):t instanceof Common.BaseException?1!=t.IsExecuted&&t.Execute():t instanceof Error?new Common.Exception({Text:t.message,Detail:Common.Util.GetStack(t.stack)}).Execute():Ext.isString(t)&&Ul.MsgBox.Error(t,n)},FunctionHasDoReturnArgument:function(t){var e=t.getParamNames();return 0==Ext.isEmpty(e)&&Ext.isString(e[e.length-1])&&e[e.length-1].toString().startsWith("doReturn")},_logPrefix:function(t){return". ".repeat(t.Level*this._levelDepth)},_logStart:function(t){this.LogAsyncMethods()&&(Ext.isEmpty(t.FnName)||(t.LastTaskExeTime=Date.now(),Common.Debug.Time(this._logPrefix(t)+"> "+t.FnName),Common.Debug.Log(this._logPrefix(t)+"< "+t.FnName)))},_logEnd:function(t){if(this.LogAsyncMethods()){var e=t.Context;if(!Ext.isEmpty(e.FnName)){var n=Date.now();if(e.LastTaskName){var i=this._logPrefix(e)+"| ";i+=" t="+(n-e.LastTaskExeTime),Common.Debug.Log(i)}var r=this._logPrefix(e)+"> "+e.FnName;window.console&&window.console.timeEnd?Common.Debug.TimeEnd(r):Common.Debug.Log(this._logPrefix(e)+">"+e.FnName)}}},_logTask:function(t){if(this.LogAsyncMethods()){var e=t.Context,n=Date.now(),i=this._logPrefix(e)+"| "+t.Name;e.LastTaskName&&(i+=" t="+(n-e.LastTaskExeTime)),Common.Debug.Log(i),e.LastTaskName=t.Name,e.LastTaskExeTime=n}},_prepareTaskList:function(t,e,n){Ext.isEmpty(this.DictWaterfalls)&&(this.DictWaterfalls={});var i=t;Ext.isEmpty(this.DictWaterfalls[t])?this.DictWaterfalls[t]=0:this.DictWaterfalls[t]+=1,t=t+"["+this.DictWaterfalls[t]+"]",this._level<0&&(this._level=0);var r={LastTaskExeTime:0,LastTaskMsg:"",LastTaskName:"",Level:this._level+1,FnName:t};if(this._logStart(r),this._level++,0==Ext.isFunction(n))throw"Async final function is not provided";if(0==Ext.isString(t))throw new Common.Exception({Text:"Async name is not provided"});if(0==Ext.isArray(e)&&0==Ext.isObject(e))throw new Common.Exception({Text:"Async taskList is not provided"});var o=function(){Common.Async._level--,Common.Async._logEnd(n),n.apply(null,arguments)};if(n.Name=t,this.LogTimeLapse&&(n.Context=r),Ext.isObject(e)){var a=[];for(var s in e)e[s].Name=s+" "+t,a.push(e[s]);e=a}else if(Ext.isArray(e))for(var l=0;l<e.length;l++){var u=(l+1).toString()+"/"+e.length.toString();e[l].Name=u+" "+t}if(this.LogTimeLapse)for(l=0;l<e.length;l++)e[l].Context=r;var c=[];return e.forEach((function(e){c.push((function(){try{Common.Async._logTask(e),e.apply(null,arguments)}catch(r){var n;n=r instanceof Common.WaterfallBreakerException?r:r.message&&r.message.match(/Cannot read property '\w*' of undefined/)?new Common.WaterfallBreakerException:!0===Ul.ApplicationCtrlr.Debug?new Common.Exception({Text:String.format("Error in waterfall: {0}",i),Detail:String.format("waterfall: {0},<br/> method: {1}",t,e.Name),InnerException:r,TextIsDefault:!0}):new Common.Exception({Text:BBB.ErrorInOperation}),o(n)}}))}),this),{TaskList:c,FinalCallback:o}}},(function(){}))},11508:()=>{Common.Cs.Define("Common.AsyncResult","",{Title:"",Text:"",Detail:"",CallerName:null,MsgCallBack:null,Scope:null,Type:null,constructor:function(t){this.Type=Common.AsyncResult.TypeEnum.None,this.callParent(arguments),Ext.apply(this,t)},Execute:function(t){switch(this.Type){case Common.AsyncResult.TypeEnum.Warning:BW.ShowInfo(this.Msg.Text,this.MsgCallBack,this.Scope,this._resolveTitle());break;case Common.AsyncResult.TypeEnum.Error:BW.ShowError(this.Msg.Text,this.MsgCallBack,this.Scope,this._resolveTitle());break;case Common.AsyncResult.TypeEnum.Exception:Common.Debug.ShowExecptionForm({detailMessage:this.Detail,userMessage:this.Text})}},_resolveTitle:function(){var t=this.Msg.Title;if(Ext.empty(t))switch(this.Type){case Common.AsyncResult.TypeEnum.Error:t=BBB.Error;break;case Common.AsyncResult.TypeEnum.Warning:t=BBB.Warning}return t},statics:{TypeEnum:{None:0,Error:1,Warning:2,Validation:4}}}),Common.Cs.Define("Common.Exception","",{Title:"",Text:"",Detail:"",Type:null,LoginRequire:null,Continue:null,InnerException:null,Data:null,DoRetrun:null,constructor:function(t){Ext.apply(this,t),this.Type=Ext.value(this.Type,Common.Exception.TypeEnum.Error)},Execute:function(){this.Detail?Ui.ExceptionForm.Show(this.Text,this.Detail):Common.Debug.ShowExecptionForm(error)},statics:{TypeEnum:{Error:0,Warning:1,Info:2}}}),Common.Cs.Define("Common.ValidationResult","",{Text:"",Title:"",Type:null,Target:null,constructor:function(t){Ext.apply(this,t)}})},22381:()=>{Common.Cs.Define("Common.BRule","",{_formPanel:null,constructor:function(t){Ext.apply(this,t),this.callParent(arguments)},ExeFormEvents:function(t,e){var n,i=this._formPanel;if(Ext.isEmpty(i)||Ext.isEmpty(i.Setting.Events)||Ext.isEmpty(i.Setting.Events.BRTypeEvent)&&Ext.isEmpty(i.Setting.Events.BRUniqueConstraint))e();else{for(var r=0;r<i.Setting.Events.BRTypeEvent.length;r++)if((o=i.Setting.Events.BRTypeEvent[r]).EventType==t){n=new Common.BrData({TypeDefId:i.Mo.$TypeDefId,ViewId:i.Setting.View.TypeViewId,FieldDefId:-1,SenderType:"form",EventType:o.EventType});break}if(Ext.isEmpty(n))for(r=0;r<i.Setting.Events.BRUniqueConstraint.length;r++){var o;if((o=i.Setting.Events.BRUniqueConstraint[r]).EventType==t){n=new Common.BrData({TypeDefId:i.Mo.GetTypeDefId(),ViewId:i.Setting.View.TypeViewId,FieldDefId:-1,SenderType:"form",EventType:o.EventType});break}}if(Ext.isEmpty(n))e();else{var a=this._formPanel.Mo.GetChangedObject();this._getActionListAndExecute([n],a,e)}}},ExeTransitionEvents:function(t,e){Common.Async.Waterfall("Common.BRule.ExeTransitionEvents",{_executeActionListOfTransition:this._executeActionListOfTransition.bind(this,t,this._formPanel.Mo),_executeActionList:this._executeActionList.bind(this)},function(t,n){t instanceof Common.WaterfallBreakerException&&t.ViewIsChangedCallAgainLoadAndCreate&&this._formPanel.LoadAndCreate(this.FormRequestParams,!1,!1),Common.Async.Finalize(t,n,e)}.bind(this))},ExeControlValueChangeOnFormShow:function(t){this._formPanel;var e=this._filterFiledEvents(Common.Enums.BrFieldEvent.ValueChangedAndInit);this._runRules("ExeControlValueChangeOnFormShow",e,t)},ExeControlValueChanged:function(t){this._formPanel;var e=this._filterFiledEvents([Common.Enums.BrFieldEvent.ValueChanged,Common.Enums.BrFieldEvent.ValueChangedAndInit],t);this._runRules("ExeControlValueChanged",e,null)},_filterFiledEvents:function(t,e){var n=this._formPanel,i=[],r=t;if(0==Ext.isArray(r)&&(r=[r]),n.Setting.Events&&Ext.isArray(n.Setting.Events.BRFieldEvent))for(var o=n.Setting.Events.BRFieldEvent,a=0;a<o.length;a++)for(var s=o[a],l=0;l<r.length;l++)s.EventType==r[l]&&(Ext.isEmpty(e)||s.FieldDefId==e.Setting.ControlFieldDefId)&&i.push(s);return i},______runRules:function(t,e,n){var i=this._formPanel;Ext.isEmpty(e)?n&&n():Common.Async.Each(t,e,function(t,e){var n=i.Mo.GetChangedObject(),r=new Common.BrData({TypeDefId:n.$TypeDefId,ViewId:i.Setting.View.TypeViewId,FieldDefId:t.FieldDefId,SenderType:"BRFieldEvent",EventType:Common.Enums.BrFieldEvent.ValueChanged});this._getActionListAndExecute(r,n,e)}.bind(this),(function(t){1==i.GetLayoutDirty()&&i.Relayout(),Common.Async.Finalize(t,void 0,n)}))},_runRules:function(t,e,n){var i=this._formPanel;if(Ext.isEmpty(e))n&&n();else{var r=i.Mo.GetChangedObject(),o=[];e.forEach((function(t){var e=new Common.BrData({TypeDefId:r.$TypeDefId,ViewId:i.Setting.View.TypeViewId,FieldDefId:t.FieldDefId,SenderType:"BRFieldEvent",EventType:Common.Enums.BrFieldEvent.ValueChanged});o.push(e)}),this),this._getActionListAndExecute(o,r,n)}},_getActionListAndExecute:function(t,e,n){Common.Async.Waterfall("Common.BRule._getActionListAndExecute",{_getActionList:this._getActionList.bind(this,t,e),_executeActionList:this._executeActionList.bind(this)},function(t,e){t instanceof Common.WaterfallBreakerException&&t.ViewIsChangedCallAgainLoadAndCreate&&this._formPanel.LoadAndCreate(this.FormRequestParams,!1,!1),Common.Async.Finalize(t,e,n)}.bind(this))},_getActionList:function(t,e,n){var i={brDataList:t,mo:e};Common.Ajax.GetServerData("Form94.ExecuteBRuleList",i,(function(t){var e=[];Ext.isNotEmpty(t)&&t.forEach((function(t){t.BRAction.forEach((function(t){e.push(t)}))})),n("",e)}),null,n,this,!0)},_executeActionListOfTransition:function(t,e,n){var i={mo:e.GetChangedObject(),activityDefId:t.ActivityDefId,choiceDefId:t.ChoiceDefId,beforeLoad:t.beforeLoadBrule};Common.Ajax.GetServerData("Form94.ExecuteBRuleTransition",i,(function(t){t.BRAction=Ext.value(t.BRAction,[]),n("",t.BRAction)}),null,n,this,!0)},_executeActionList:function(t,e){Common.Async.Each("_executeActionList",t,function(t,e){this._executeAction(t,e)}.bind(this),function(n){n||Ext.isNotEmpty(t)&&1==this._formPanel.GetLayoutDirty()&&this._formPanel.Relayout(),Common.Async.Finalize(n,void 0,e)}.bind(this))},_executeAction:function(t,e){"BRFieldAction"==t.ActionType?(this._exeBRFieldAction(t),e()):"BRShowMessageAction"==t.ActionType?this._showMessageAction(t,e):"BRApplyTypeViewAction"==t.ActionType&&this._refreshViewAction(t,e)},_refreshViewAction:function(t,e){var n=t.FormSetting,i=this._formPanel.Setting;i.Events=n.Events,i.View=n.View,i.MoSecurity=n.MoSecurity;var r=Ext.value(this._formPanel.FormRequestParams,{});r.MoContext=Ext.value(r.MoContext,{}),r.MoContext.ViewId=t.ViewId,this._formPanel.FormRequestParams=r,this._formPanel.LoadAndCreate(null,!1,!1,e)},_refreshViewAction2:function(t,e){var n=this._formPanel,i=t.FormSetting;throw i.Data=n.Setting.Data,n.FormRequestParams=Ext.value(n.FormRequestParams,{}),n.FormRequestParams.MoContext=Ext.value(n.FormRequestParams.MoContext,{}),n.FormRequestParams.MoContext.ViewId=t.ViewId,n.Setting=i,new Common.WaterfallBreakerException({ViewIsChangedCallAgainLoadAndCreate:!0,ViewId:t.NewViewId,Propagate:!0})},_showMessageAction:function(t,e){if(t.MessagePosition==Common.Enums.ShowMessageRuleAction_Position.Popup)t.MessageType==Common.Enums.ShowMessageRuleAction_Type.Information?Ul.MsgBox.Info(t.MessageExpression,e):t.MessageType==Common.Enums.ShowMessageRuleAction_Type.Error?Ul.MsgBox.Error(t.MessageExpression,function(){this._formPanel.RefocusCurrentField(),e(new Common.SilentException)}.bind(this)):t.MessageType==Common.Enums.ShowMessageRuleAction_Type.OkCancel&&Ul.MsgBox.ConfirmYesNo(!0,t.MessageExpression,BBB.Select,e);else{var n=t.MessageType;n=1==n?"Info":2==n?"Error":3==n?"Question":"Info",this._formPanel.ShowInfoBar("123",t.MessageExpression,n)}},_exeBRFieldAction:function(t){for(var e=this._formPanel,n=0;n<t.FieldDefName.length;n++){var i=t.FieldDefName[n],r=e.GetControlByName(i);if(r)this._applyActionToFieldCtrlr(r,t);else if(i.startsWith("V$")){if((i=i.substring(2)).indexOf(".")>-1){var o=i.split("."),a=o[0],s=o[1],l=e.GetFieldByCaption(a);return void(l instanceof Ul.MoInfoSubFormCtrlr?(r=l.FormPanelCtrlr.GetFieldByCaption(s),this._applyActionToFieldCtrlr(r,t)):l instanceof Ul.UlvFieldBaseCtrlr&&null!=t.IsVisible&&l.UlvMainCtrlr&&l.UlvMainCtrlr.SetColumnVisible(s,t.IsVisible))}null!=t.IsReadOnly&&e.SetGroupReadOnly(i,t.IsReadOnly),null!=t.IsEnabled&&e.SetGroupEnable(i,t.IsEnabled),null!=t.IsVisible&&e.SetGroupVisible(i,t.IsVisible,!0)}}},_applyActionToFieldCtrlr:function(t,e){null!=e.IsEnabled&&t.SetEnable(e.IsEnabled),null!=e.IsReadOnly&&t.SetReadOnly(e.IsReadOnly),null!=e.IsVisible&&(t.SetVisible(e.IsVisible),t.ParentFormPanel.SetLayoutDirty(!0)),null!=e.IsMandatory&&t.SetMandatory(e.IsMandatory),null!=e.IsSetValue&&t.SetValue(e.NewValue),null!=e.IsColored&&t.SetBold(e.IsColored)}}),Common.Cs.Define("Common.BrData","",{Mo:null,TypeDefId:null,ViewId:null,FieldDefId:"",SenderType:"",EventType:"",Relation:null,constructor:function(t){Ext.apply(this,t)}})},79294:()=>{Common.Cs.Define("Common.BarsaScanner","Common.Observable",{_url:"http://localhost:8044",ScannerAgentParams:null,constructor:function(t){this.addEvents(Common.BarsaScanner.ScanResultReady,Common.BarsaScanner.ScanError,Common.BarsaScanner.ShowWarrning),Common.Merger.FastMerge(this,t)},Scan:function(t){Common.Async.Waterfall("BarsaScanner.Scan",[this._checkScannerVersion.bind(this),this._scanHelper.bind(this,t)],function(t,e){t?this.fireEvent(Common.BarsaScanner.EventEnum.ScanError,t):e&&this.fireEvent(Common.BarsaScanner.EventEnum.ScanResultReady,e)}.bind(this))},_checkScannerVersion:function(t){var e=this;this._checkVersion((function(n){if(!n)return e._showScannerHtmlHelp(BBB.ScannerAgentNotInstalledOrRunning,t),void t(new Common.WaterfallBreakerException);var i=Ul.ApplicationCtrlr.ScannerAgentValidVersion,r=parseFloat(n.CheckVersionResult);isNaN(r)?t(new Common.WaterfallBreakerException):e._validateVersion(r,i)?t():(e._showScannerHtmlHelp(BBB.ScannerAgentVersionError,t),t(new Common.WaterfallBreakerException))}))},_scanHelper:function(t,e){var n=this,i=Ext.isEmpty(this.ScannerAgentParams)?null:Ext.encode(this.ScannerAgentParams),r=null;i&&(r={param:i}),t?this._getScan(r,(function(t){n._checkScanResult(t,e)})):this._getSimpleScan(r,(function(t){n._checkScanResult(t,e)}))},_checkVersion:function(t){var e=this._url+"/CheckVersion";jQuery.ajax({url:e,success:function(e){e&&t(e)},error:function(e){t(!1,e)}})},_getScan:function(t,e){var n=this._url+"/GetScan";$.get(n,t,(function(t){e(t.GetScanResult)})).fail((function(t){e(null,t)}))},_getSimpleScan:function(t,e){var n=this._url+"/GetSimpleScan";$.get(n,t,(function(t){e(t.GetSimpleScanResult)})).fail((function(t){e(null,t)}))},_checkScanResult:function(t,e){if(t)switch(t.ResultType){case Common.BarsaScanner.ScanResultType.Ok:e(null,t.Contents);break;case Common.BarsaScanner.ScanResultType.Error:e(t.Message);break;case Common.BarsaScanner.ScanResultType.None:e(new Common.WaterfallBreakerException);break;default:e(BBB.ScanResultNotFound)}else e(BBB.ScanResultNotFound)},_validateVersion:function(t,e){for(var n=e.split(";"),i=!1,r=new RegExp(/^(\d+\.)?(\d+\^)$/g),o=new RegExp(/^(\d+\.)?(\d+)-(\d+\.)?(\d+)/g),a=0;a<n.length;a++){var s=n[a],l=parseFloat(s);if(null!==s.match(r))l=parseFloat(s),i=i||t>=l;else if(null!==s.match(o)){var u=s.split("-"),c=parseFloat(u[0]),h=parseFloat(u[1]);i=i||t>=c&&t<=h}else isNaN(l)||(i=i||t==l)}return i},_showScannerHtmlHelp:function(t,e){var n=this,i=t+'</br><a href="/Customization/ScannerAgent/barsa_scanner_agent.msi">'+BBB.ScannerAgentSetupLink+"</a></br></br>";$.get("Customization/ScannerAgent/ScannerAgentHelp.html",function(t,e){var r=t.indexOf("<body")+"<body>".length,o=t.indexOf("</body>"),a=t.substring(r,o);i+=a,n._showScannerWarningWindow(i)}.bind(this)).fail((function(){n._showScannerWarningWindow(i)}))},_showScannerWarningWindow:function(t){LoginFormData.CustomUiPrefix?this.fireEvent(Common.BarsaScanner.EventEnum.ShowWarrning,t):new Ext.Window({title:BBB.Error,modal:!0,html:t,width:400,height:200,resizable:!1,padding:20,border:!1,autoScroll:!0,bodyStyle:{backgroundColor:"#fff"}}).show()},statics:{ScanResultType:{None:0,Ok:1,Error:2},EventEnum:{ScanResultReady:"ScanResultReady",ScanError:"ScanError",ShowWarrning:"ShowWarrning"},UploadScanContent:function(t,e,n){var i=Common.File.B64toBlob(e),r=Common.Util.GetNewMetaGuid(),o="scan"+r+".jpeg",a="x"+r+";;;"+o,s=new FormData;s.append("unicFileName",a),s.append("file",i,o),$.ajax({type:"POST",url:"Fields/File/Base/FileUploadFormMulti.ashx",headers:{fdId:t},data:s,processData:!1,contentType:!1}).done((function(t){n(Ext.decode(t))})).fail((function(t,e){n(null,e)}))}}})},43751:()=>{Ext.define("Common.Cs",{singleton:!0,Define:function(t,e,n,i){e&&(n.extend=e),n&&(n.ClassName=t,n.BaseClassName=e);try{var r=Ext.define(t,n,i);Ext.reg(t,r),r.StaticInitialize?r.StaticInitialize.call(r):r.prototype&&r.prototype.StaticInitialize&&r.prototype.StaticInitialize.call(r)}catch(e){alert('ERROR: "Common.Cs.Define FAILED" [ClassName='+t+"]"+e)}}})},95367:()=>{Common.Cs.Define("ContextStore","",{singleton:!0,Data:null,Set:function(t,e){this.Data||(this.Data={}),this.Data[t]=e},Get:function(t){return this.Data?this.Data[t]:null}})},97220:()=>{Common.Cs.Define("Common.Enums","",{singleton:!0,ShowMessageRuleAction_Type:{Information:1,Error:2,OkCancel:3},ShowMessageRuleAction_Position:{Popup:0,InfoBar:1},BrFormEvent:{BeforeOpen:6,AfterOpen:3,BeforeSave:4,BeforeActivityDone:16},BrFieldEvent:{ValueChangedAndInit:18,ValueChanged:19},FormState:{BeforeDataPopulate:"BeforeDataPopulate",DataPopulated:"DataPopulated"},AsyncResultType:{None:0,Error:1,Warning:2,Exception:3,Validation:4,MsgBox:5,Custom:6},ValidationType:{Error:0,Warning:1,Info:2},MoState:{New:"New",Modified:"Modified",Deleted:"Deleted",Unchanged:"Unchanged"},EventType:{System:"System",Form:"Form",FormControl:"FormControl",SystemCommand:"SystemCommand",Report:"Report",Activity:"Activity"},RelationType:{None:"None",Composition:"Composition",Aggrigation:"Aggrigation"},FormEvents:{BeforeSave:"MetaEventTopics.Form_BeforeSave",AfterSave:"MetaEventTopics.Form_AfterSave",BeforeCreate:"MetaEventTopics.Form_BeforeDataPopulated",AfterShow:"MetaEventTopics.Form_Shown",BeforeLayoutCreate:"MetaEventTopics.Form_BeforeLayoutCreated",BeforeActivityDone:"MetaEventTopics.Form_BeforeActivityDone",BeforeDelete:"MetaEventTopics.Form_BeforeDelete",AfterClose:"MetaEventTopics.Form_Close",BeforeClose:"MetaEventTopics.Form_BeforeClose"},SystemEvents:{BeforeSystemChange:"MetaEventTopics.System_BeforeSystemChanged",BeforeSystemCreate:"MetaEventTopics.System_Startup",AfterSystemChange:"MetaEventTopics.System_AfterSystemChange",BeforeReportChange:"BeforeReportChange",BeforeReportCreate:"BeforeReportCreate",AfterReportChange:"AfterReportChange"},ReportEvents:{BeforeReportChange:"BeforeReportChange",BeforeReportCreate:"BeforeReportCreate",AfterReportCreate:"AfterReportCreate",AfterReportRender:"AfterReportRender",AfterReportCreateStore:"AfterReportCreateStore",AfterReportChange:"AfterReportChange"},ApplicationEvents:{BeforeApplicationStart:"MetaEventTopics.System_BeforeApplicationStart"},UnifiedListEvents:{BeforeReportExecute:"MetaEventTopics.Report_BeforeExecute",AfterReportExecute:"MetaEventTopics.Report_AfterExecute",AfterReportBind:"MetaEventTopics.Report_AfterBind",SelectionChanged:"MetaEventTopics.Report_AfterSelectionChanged",ItemClicked:"MetaEventTopics.Report_DoubleClick",Form_GetEditForm:"MetaEventTopics.Form_GetEditForm",BeforeDeleteItem:"BeforeDeleteItem",AfterDeleteItem:"BeforeDeleteItem",CreatingViewer:"CreatingViewer",InitializingToolbar:"InitializingToolbar"},UnifiedListScenario:{Relation:"Relation",RelationMultiSelect:"RelationMultiSelect",ListView:"ListView",ListViewInside:"ListViewInside",SelectMulti:"SelectMulti",SelectSingle:"SelectSingle",Preview:"Preview",Cartable:"Cartable",Unknown:"Unknown"},SingleRelationViewFormType:{Show:"Show",ShowReadOnly:"ShowReadOnly",Hide:"Hide"},SingleRelationViewFormTypeEnum:{Hide:2,Show:0,ShowReadOnly:1},SystemState:{NotLoaded:"NotLoaded",Loaded:"Loaded",Created:"Created",Activated:"Activated"},FieldInfoType:{IntInfo:"0",StringInfo:"2",DateInfo:"3",BoolInfo:"5",EnumInfo:"6",UserInfo:"7",CategoryInfo:"8",MetaObjectInfo:"9",CommandInfo:"10",PicturesInfo:"11",RelationInfo:"12",HistoryInfo:"13",RelationInfoReverse_AksListi:"14",CreatorUserInfo:"15",CreationDateInfo:"16",LastUpdateDateInfo:"17",ReminderInfo:"18",RichStringInfo:"19",ConvertCommandInfo:"20",RelationInfoSingleReverse_AksTakiListi:"21",DialCommandInfo:"22",FindContactCommandInfo:"23",SequenceCommandInfo:"24",CurrencyInfo:"25",SinglePictureInfo:"26",WordReportCommandInfo:"27",HierarchicalInfo:"28",TimeSpanInfo:"29",ReportInfo:"30",FileInfo:"31",WordFileInfo:"32",PictureFileInfo:"33",GaugeInfo:"34",CodeInfo:"35",WorkCenterInfo:"36",IsDeletedInfo:"37",RowNumberInfo:"38",BinaryInfo:"39",ReverseMetaObjectInfo_AksTakiTaki:"40",ColorInfo:"41",IconInfo:"42",RefreshFieldCommandInfo:"43",ReferenceFieldInfo:"44",SearchCommandInfo:"45",OrderInfo:"46"},ColumnRequestEnum:{All:"All",FirstColumn:"FirstColumn",Title:"Title"},IconDisplayType:{NoImage:"NoImage",Image:"Image",ImageAndText:"ImageAndText"},BoolInfoViewType:{CheckBox:"CheckBox",RadioBox:"RadioBox",ComboBox:"ComboBox"},CalendarType:{Default:"Default",HijriShamsi:"HijriShamsi",Gregorian:"Gregorian"},DefaultableBoolean:{Default:"Default ",True:"True",False:"False"},ResponseErrorType:{ShowMessage:0,ShowError:1,ObjectLock:2,AuthenticationRequest:3,SessionExpire:5,UserLock:6,InvalidClient:7,IpBlocked:8}})},79107:()=>{window.onerror=function(t,e,n){var i="Error: "+t;return e&&(i+="\rUrl: "+e),n&&(i+="\rLine: "+n),alert(i),!1},Common.Cs.Define("Common.BaseException","",{Title:"",Text:"",Detail:"",Type:0,InnerException:null,ExecuteCallbackFn:null,ImmediateExecute:!1,IsExecuted:!1,Data:null,constructor:function(t){this.callParent(arguments),Ext.apply(this,t)},Execute:function(){this.IsExecuted=!0,Ul.LoadingMask.UnmaskAll()},statics:{TypeEnum:{Error:0,Warning:1}}}),Common.Cs.Define("Common.Exception","Common.BaseException",{Execute:function(){if(this.callParent(arguments),(this.Detail||this.InnerException)&&Ul.ApplicationCtrlr.Debug)if(1==this.TextIsDefault&&Ext.isNotEmpty(this.InnerException.Text))Ul.MsgBox.Warning(this.InnerException.Text,this.ExecuteCallbackFn);else{var t="<pre>"+this.Detail+"</pre><BR>";this.InnerException&&(t&&(t+="<BR>"),t+=this._getInnerExceptionText(this.InnerException)),Ui.ExceptionForm.Show(this.Text,t)}else this.Type==Common.Exception.Warning?Ul.MsgBox.Warning_ShowHtml(this.Text,this.ExecuteCallbackFn):Ul.MsgBox.Error_ShowHtml(this.Text,this.ExecuteCallbackFn)},_getInnerExceptionText:function(t){var e="";return t instanceof Common.BaseException?(e+="<BR>Inner Exception:<BR>"+t.Text,0==Ext.isEmpty(t.Detail)&&(e+="<BR>"+t.Detail),0==Ext.isEmpty(t.InnerException)&&(e+=this._getInnerExceptionText(t.InnerException))):t instanceof Error?(e+="<BR>Inner Exception:<BR>"+t.message,0==Ext.isEmpty(t.stack)&&(e+="<BR>stack:<BR>"+t.stack.toString())):0==Ext.isEmpty(t.toString)&&(e+="<BR>Inner Exception:<BR>"+t.toString()),e},_getInnerExceptionText2:function(t){var e="",n=[];if(Ext.isString(t))e=t;else if(t.stack){for(var i=0,r=(o=t.stack.split("\n")).length;i<r;i++)o[i].match(/^\s*[A-Za-z0-9\-_\$]+\(/)&&n.push(o[i]);n.shift(),e=n.join("<BR>")}else if(t.message&&(e=t.message,window.opera)){var o;for(i=0,r=(o=t.message.split("\n")).length;i<r;i++)if(o[i].match(/^\s*[A-Za-z0-9\-_\$]+\(/)){var a=o[i];o[i+1]&&(a+=" at "+o[i+1],i++),n.push(a)}n.shift(),e=n.join("<BR>")}return e},statics:{TypeEnum:{Error:0,Warning:1}}}),Common.Cs.Define("Common.SessionExpireException","Common.BaseException",{ReloginRequired:!1,ImmediateExecute:!0,Execute:function(){this.callParent(arguments),0==this.ReloginRequired?Ui.LockWindow.Show():Ul.MsgBox.Error(this.Text||"جلسه کاری منقضی شده است. جهت بازگشت به صفحه ورود به سیستم دکمه تأیید را انتخاب نمایید.",(function(){Ul.ApplicationCtrlr.Logout()}))}}),Common.Cs.Define("Common.SilentException","Common.BaseException",{Execute:function(){this.callParent(arguments),Common.Debug.Warn("SilentException: "+Ext.value(this.Text,""))}}),Common.Cs.Define("Common.WaterfallBreakerException","Common.BaseException",{Propagate:!1,constructor:function(t){this.callParent(arguments),Ext.apply(this,t)},Execute:function(){this.IsExecuted=!0}}),Common.Cs.Define("Common.DeepWaterfallBreakerException","Common.BaseException",{Propagate:!1,constructor:function(t){this.callParent(arguments),Ext.apply(this,t)},Execute:function(){this.IsExecuted=!0}}),Common.Cs.Define("Common.AuthenticationRequestException","Common.BaseException",{ImmediateExecute:!0,ContinueAfterExecute:!0,Execute:function(){this.callParent(arguments),ReloginForm.Show(this.Data.Params,this.Text)}}),Common.Cs.Define("Common.ShowLockException","Common.BaseException",{ImmediateExecute:!0,Execute:function(){this.callParent(arguments);var t=Ext.util.JSON.decode(this.ResponseData.JsonString),e={cancel:"صرف نظر از ویرایش",no:"تلاش مجدد"};t.AllowUnlock&&(e.yes="حذف قفل و تلاش مجدد");var n=this.Data.ResponseData.Error,i=this.Data.Params,r=function(e){switch(e){case"cancel":break;case"no":i&&this._getFromServer(i);break;case"yes":PanelDataManager.RemoveLock(t.ObjectId),Common.Ajax.GetFromServer(i)}};Ul.MsgBox.Show(n.UserMessage,"خطا",e,Ext.MessageBox.ERROR,!0,r)}})},56806:(t,e,n)=>{var i=n(20134).atob;Common.Cs.Define("Common.File","",{singleton:!0,_officeEditExtenstions:["docx","docm","odt","xlsx","xlsm","xlsb","ods","pptx","ppsx","odp"],_officeViewExtenstions:["doc","dot","dotx","docx","docm","odt","pot","potm","pps","ppsm","ppt","pptm","pptx","ppsx","odp","xls","xlsx","xlsm","xlsb","ods"],GetFileIcon128:function(t){var e=this.GetFileExtension(t);return Ext.value(this.FileIconDict128[e],this.FileIconDict128.unknown)},GetFileIcon16:function(t){var e=this.GetFileExtension(t);return Ext.value(this.FileIconDict16[e],this.FileIconDict16.unknown)},GetFileExtension:function(t){return t.slice((Math.max(0,t.lastIndexOf("."))||1/0)+1)},FileIconDict16:{rtf:"/assets/Images/FileTypeIcons/Word.png",doc:"/assets/Images/FileTypeIcons/Word.png",docx:"/assets/Images/FileTypeIcons/Word.png",dot:"/assets/Images/FileTypeIcons/Word.png",dotx:"/assets/Images/FileTypeIcons/Word.png",xlsx:"/assets/Images/FileTypeIcons/Excel.png",xls:"/assets/Images/FileTypeIcons/Excel.png",xlt:"/assets/Images/FileTypeIcons/Excel.png",xltx:"/assets/Images/FileTypeIcons/Excel.png",xlw:"/assets/Images/FileTypeIcons/Excel.png",mdb:"/assets/Images/FileTypeIcons/Access.png",accdb:"/assets/Images/FileTypeIcons/Access.png",ppt:"/assets/Images/FileTypeIcons/PowerPoint.png",pot:"/assets/Images/FileTypeIcons/PowerPoint.png",pps:"/assets/Images/FileTypeIcons/PowerPoint.png",pptx:"/assets/Images/FileTypeIcons/PowerPoint.png",potx:"/assets/Images/FileTypeIcons/PowerPoint.png",ppsx:"/assets/Images/FileTypeIcons/PowerPoint.png",vsdx:"/assets/Images/FileTypeIcons/Visio.png",vstx:"/assets/Images/FileTypeIcons/Visio.png",mpp:"/assets/Images/FileTypeIcons/Project.png",mpt:"/assets/Images/FileTypeIcons/Project.png",txt:"/assets/Images/FileTypeIcons/_txt.png",pdf:"/assets/Images/FileTypeIcons/_pdf.png",unknown:"/assets/Images/FileTypeIcons/_default.png",zip:"/assets/Images/FileTypeIcons/Archive.png.png",rar:"/assets/Images/FileTypeIcons/Archive.png.png","7z":"/assets/Images/FileTypeIcons/Archive.png.png",bmp:"/assets/Images/FileTypeIcons/Image.png",gif:"/assets/Images/FileTypeIcons/Image.png",png:"/assets/Images/FileTypeIcons/Image.png",jpg:"/assets/Images/FileTypeIcons/Image.png",tiff:"/assets/Images/FileTypeIcons/Image.png"},FileIconDict128:{rtf:"/assets/Images/FileTypeIcons/128/Word.png",doc:"/assets/Images/FileTypeIcons/128/Word.png",docx:"/assets/Images/FileTypeIcons/128/Word.png",dot:"/assets/Images/FileTypeIcons/128/Word.png",dotx:"/assets/Images/FileTypeIcons/128/Word.png",xlsx:"/assets/Images/FileTypeIcons/128/Excel.png",xls:"/assets/Images/FileTypeIcons/128/Excel.png",xlt:"/assets/Images/FileTypeIcons/128/Excel.png",xltx:"/assets/Images/FileTypeIcons/128/Excel.png",xlw:"/assets/Images/FileTypeIcons/128/Excel.png",mdb:"/assets/Images/FileTypeIcons/128/Access.png",accdb:"/assets/Images/FileTypeIcons/128/Access.png",ppt:"/assets/Images/FileTypeIcons/128/PowerPoint.png",pot:"/assets/Images/FileTypeIcons/128/PowerPoint.png",pps:"/assets/Images/FileTypeIcons/128/PowerPoint.png",pptx:"/assets/Images/FileTypeIcons/128/PowerPoint.png",potx:"/assets/Images/FileTypeIcons/128/PowerPoint.png",ppsx:"/assets/Images/FileTypeIcons/128/PowerPoint.png",vsdx:"/assets/Images/FileTypeIcons/128/Visio.png",vstx:"/assets/Images/FileTypeIcons/128/Visio.png",mpp:"/assets/Images/FileTypeIcons/128/Project.png",mpt:"/assets/Images/FileTypeIcons/128/Project.png",txt:"/assets/Images/FileTypeIcons/128/Text.png",pdf:"/assets/Images/FileTypeIcons/128/Pdf.png",unknown:"/assets/Images/FileTypeIcons/128/File.png",zip:"/assets/Images/FileTypeIcons/128/Archive.png",rar:"/assets/Images/FileTypeIcons/128/Archive.png","7z":"/assets/Images/FileTypeIcons/128/Archive.png"},OpenFile:function(t,e,n,i,r,o,a){t&&(r=(r=Ext.value(r,!0))&&!e,Common.Async.Waterfall("Common.File.OpenFile",[Common.Async.ExecuteIfElseCondition.bind(Common.Async,r,Common.FileAgent.OpenFileInAgent.bind(Common.FileAgent,t,n,i,o,a,!1),Common.Async.Break.bind(null))],function(n,i){Common.Async.Finalize(n,i),null!=n&&(r&&n.Data&&"checkinit"==n.Data.action&&Ul.MsgBox.Info("ابزار کمکی شناسایی نشد. فایل بصورت عادی دانلود میشود"),this.DownloadFileId(t,e,o))}.bind(this)))},DownloadFileUrl:function(t,e){this.DownloadFileContent.bind(this)({fileId:null,fileUrl:t,viewInBrowser:e,convertTo:null,isOfficeOnline:null,forOcx:null},(function(t){t.succeed&&this._openFileInWindow(t.filename,t.content,t.contentType)}),(function(t){alert(t)}))},DownloadFileId:function(t,e,n){this.DownloadFileContent.bind(this)({fileId:t,fileUrl:null,viewInBrowser:e,convertTo:n,isOfficeOnline:null,forOcx:null},(function(t){t.succeed&&this._openFileInWindow(t.filename,t.content,t.contentType)}),(function(t){alert(t)}))},DownloadFileContent:function(t,e,n){Common.Ajax.GetServerData("downloadFile",t,e,n,null,this,!0)},_tobase64:function(t,e){e=e||512;for(var n=i(t),r=[],o=0;o<n.length;o+=e){for(var a=n.slice(o,o+e),s=new Array(a.length),l=0;l<a.length;l++)s[l]=a.charCodeAt(l);var u=new Uint8Array(s);r.push(u)}return r},B64toBlob:function(t,e){e=e||"";var n=this._tobase64(t);return new Blob(n,{type:e})},_openFileInWindow:function(t,e,n){var i=this.B64toBlob(e,n),r=document.createElement("a");r.target="_blank",r.download=t;var o,a="";if(Ext.isEdge||Ext.isIE11||Ext.isIE10){if(window.navigator&&window.navigator.msSaveOrOpenBlob)return window.navigator.msSaveOrOpenBlob(i,t)}else if(Ext.isIE){var s="data:"+n+","+encodeURIComponent(e);r.href=s}else a=(o=window.URL||window.webkitURL).createObjectURL(i);r.href=a,document.body.appendChild(r),r.click(),document.body.removeChild(r),o&&o.revokeObjectURL(a)},OpenUrlInFrame:function(t){window.open(t)},DownloadLink:function(t,e,n,i){e?this.OpenInDialog(t,e,n,i):window.open(t)},OpenInDialog:function(t,e,n){var i=new Ext.Window({title:BBB.DownloadFile,animateTarget:Ext.getBody(),closable:!0,modal:!0,border:!0,maximized:!0,layout:"fit",html:'<iframe src="'+t+'" style="width:100%;height:100%;background-color:white;"></iframe>'});i.on("close",(function(){e.call(n)})),i.show()},CreateAttachmentUrl:function(t,e,n,i){var r;if(Ext.isObject(t)&&(t=t.Id),t)return i=Ext.value(i,!1),r=e?Ul.ApplicationCtrlr.Const.FileWordPath+"/FileDownload.aspx?download_file="+t+"&viewInBrowser=true&Oo="+i:Ul.ApplicationCtrlr.Const.FileWordPath+"/FileDownload.aspx?download_file="+t+"&viewInBrowser=false&Oo="+i,n&&(r+="&ConvertTo="+n),r},MailMerge:function(t,e,n,i,r){i=Ext.value(i,!1),Bw.RunServiceMethod("MetaObject94.WordMailMerge",{mo:e,fieldId:t.Setting.FieldDefId,excludedFields:n},i,(function(){t.Refresh(),r&&r()}),null,this)},CanEditInOfficeOnline:function(t){var e=this.GetFileExtension(t);return this._officeEditExtenstions.indexOf(e)>-1},CanViewInOfficeOnline:function(t){var e=this.GetFileExtension(t);return this._officeViewExtenstions.indexOf(e)>-1}}),Common.Cs.Define("Common.FileAgent","",{singleton:!0,_openControls:null,IsAgentActive:function(t){Common.Async.Waterfall("Common.File.IsAgentActive",[Common.AgentHelper.IsConnected.bind(Common.AgentHelper)],function(e,n){t(null,null==e)}.bind(this))},OpenFileInAgent:function(t,e,n,i,r,o,a){this._openControls=Ext.value(this._openControls,{}),Ul.ApplicationCtrlr.on("FileChanged",this._onFileChanged.bind(this));var s={fileId:t,isReadonly:n,convertTo:i,tag:Ext.value(r," "),openSilentIfNotAlreadyOpen:o};Common.Async.Waterfall("Common.FileAgent.OpenFileInAgent",[Common.AgentHelper.SendAction.bind(Common.AgentHelper,"OpenFile",s,!1),function(n,i){this._openControls[t]=e,i()}.bind(this)],function(t,e){Common.Async.Finalize(t,e,a)}.bind(this))},_onFileChanged:function(t,e){var n=this._openControls&&this._openControls[e];n&&(n.Refresh(),n.fireEvent("ValueChanged",n))},RemoveControlFromCache:function(t){var e;if(!Ext.isEmpty(this._openControls)){for(var n in this._openControls)if(t==this._openControls[n]){e=n;break}delete this._openControls[e]}}}),Common.Cs.Define("Common.Word","",{singleton:!0,SetTextInBookmarks:function(t,e,n){try{var i={id:t,names:e,values:n};Common.AgentHelper.SendAction("Word_SetTextInBookmarks",i)}catch(t){return BW.ShowError("اشکال در انجام عملیات! "+t.message),!1}},SetImageInBookmarks:function(t,e,n){try{var i={id:t,names:e,values:n};Common.AgentHelper.SendAction("Word_SetImageInBookmarks",i)}catch(t){return BW.ShowError("اشکال در انجام عملیات! "+t.message),!1}},SetAllInBookmarks:function(t,e,n,i,r){try{var o={id:t,names1:e||[],values1:n||[],names2:i||[],values2:r||[]};Common.AgentHelper.SendAction("Word_SetAllInBookmarks",o)}catch(t){return BW.ShowError("اشکال در انجام عملیات! "+t.message),!1}}})},46691:()=>{Ext.define("Common.HashTable",{length:0,items:{},constructor:function(t){for(var e in t)t.hasOwnProperty(e)&&(this.items[e]=t[e],this.length++)},SetItem:function(t,e,n){var i=void 0;return this.HasItem(t)?n||(i=this.items[t]):this.length++,this.items[t]=e,i},GetItem:function(t){return this.HasItem(t)?this.items[t]:void 0},HasItem:function(t){return this.items.hasOwnProperty(t)},RemoveItem:function(t){if(this.HasItem(t)){var e=this.items[t];return this.length--,delete this.items[t],e}},Keys:function(){var t=[];for(var e in this.items)this.HasItem(e)&&t.push(e);return t},Values:function(){var t=[];for(var e in this.items)this.HasItem(e)&&t.push(this.items[e]);return t},Each:function(t,e){for(var n in this.items)this.HasItem(n)&&t.call(e,n,this.items[n])},Clear:function(){this.items={},this.length=0}})},59700:()=>{function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}Common.Cs.Define("Common.Merger","",{dest:null,source:null,deep:!0,clone:!1,excludeFunctions:!0,onlyCommonProperties:!1,onlyNewProperties:!1,addOnlyOwnProperties:!0,checkCycleReference:!1,excludeList:null,onlyConcatArrays:!1,mergeArraysKeyFields:"",extendedFields:null,constructor:function(t){Ext.apply(this,t),this.callParent(arguments)},Merge:function(){if(Ext.isEmpty(this.source))return this.dest;var t=null;return Ext.isObject(this.source)?t=this._applyObject(this.dest,this.source,this.onlyCommonProperties,this.excludeFunctions,this.excludeList,this.onlyConcatArrays,this.mergeArraysKeyFields,this.addOnlyOwnProperties,this.checkCycleReference,this.deep,this.clone,this.onlyNewProperties,this.extendedFields):Ext.isArray(this.source)&&(t=this._applyArray(this.dest,this.source,this.onlyCommonProperties,this.excludeFunctions,this.excludeList,this.onlyConcatArrays,this.mergeArraysKeyFields,this.addOnlyOwnProperties,this.checkCycleReference,this.deep,this.clone,this.onlyNewProperties,this.extendedFields)),this.checkCycleReference&&this._clearCycleReferenceCheck(this.source),t},_applyObject:function(e,n,i,r,o,a,s,l,u,c,h,d,f,m){if(1==h&&(c=!0),0==Ext.isEmpty(o)&&0==Ext.isArray(o)&&(o=[o]),0==Ext.isObject(e)&&0==Ext.isFunction(e)&&(e={}),e&&n&&"object"==t(n))for(var p in u&&(n.__CloneDest=e),n)if(0!=Ext.isDefined(n[p])&&(!l||0!=n.hasOwnProperty(p))&&"__CloneDest"!=p&&(!r||!Ext.isFunction(n[p]))&&(!i||0!=Ext.isDefined(e[p]))&&(!d||!Ext.isDefined(e[p])||(0!=Ext.isObject(n[p])||0!=Ext.isArray(n[p]))&&c)){var C=Ext.isEmpty(m)?p:m+"."+p,v=!1;if(Ext.isArray(o))for(var g=0;g<o.length;g++)if(0==o[g].indexOf("RE:")){if(new RegExp(o[g].substr(3)).test(C)){v=!0;break}}else if(0==Ext.isEmpty(o[g])&&o[g]==C){v=!0;break}Common.Debug.StrictMode&&h&&!v&&n[p]instanceof Ext.util.Observable&&Common.Debug.Warn("Merger Error (property is Ext.util.Observable instance for cloning- possibly very big object!) : "+p),v||(Ext.isArray(f)&&f.length>0&&f.forEach((function(t){var i=String.format(t,p);Ext.isDefined(n[i])&&Ext.isDefined(e[i])&&delete e[i]}),this),c?(Ext.isObject(n[p])||Ext.isArray(n[p]))&&n[p].hasOwnProperty("__CloneDest")?e[p]=n[p].__CloneDest:Ext.isArray(n[p])?e[p]=a||c?this._applyArray(e[p],n[p],i,r,o,a,s,l,u,c,h,d,C):n[p]:Ext.isObject(n[p])&&Ext.isObject(e[p])?e[p]=this._applyObject(e[p],n[p],i,r,o,a,s,l,u,c,h,d,f,C):Ext.isObject(n[p])&&(0==Ext.isObject(e[p])||Ext.isEmpty(e[p]))&&h?(e[p]={},e[p]=this._applyObject(e[p],n[p],i,r,o,a,s,l,u,c,h,d,f,C)):e[p]=n[p]:e[p]=n[p])}return e},_applyArray:function(t,e,n,i,r,o,a,s,l,u,c,h,d,f){0==Ext.isArray(t)&&(t=new Array),l&&(e.__CloneDest=t);for(var m=0;m<e.length;m++){var p=e[m],C=null;0==Ext.isEmpty(a)?C=this._findInArray(t,p,a):t.length-1>=m&&0==o&&(C=t[m]),Ext.isEmpty(C)?(c&&Ext.isObject(p)?(C={},C=this._applyObject(C,p,n,i,r,o,a,s,l,u,c,h,d,f)):C=p,t.push(C)):(c||u)&&(C=this._applyObject(C,p,n,i,r,o,a,s,l,u,c,h,d,f))}return t},_findInArray:function(t,e,n){if(Ext.isEmpty(n))return null;if(0==Ext.isArray(t)||Ext.isEmpty(t))return null;if(0==Ext.isObject(e)||Ext.isEmpty(e))return null;for(var i=0;i<t.length;i++)if(this._isEqual(t[i],e,n))return t[i];return null},_isEqual:function(t,e,n){var i=!1;Ext.isString(n)&&(n=[n]);for(var r=0;r<n.length;r++){var o=n[r];if(Ext.isDefined(t[o])&&Ext.isDefined(e[o])&&t[o]==e[o]){i=!0;break}}return i},_clearCycleReferenceCheck:function(t){var e;if(t&&t.hasOwnProperty&&t.hasOwnProperty("__CloneDest"))if(delete t.__CloneDest,Ext.isArray(t))for(var n=0;n<t.length;n++)this._clearCycleReferenceCheck(t[n]);else for(e in t)(Ext.isObject(t[e])||Ext.isArray(t[e]))&&t.hasOwnProperty(e)&&null!=t[e]&&this._clearCycleReferenceCheck(t[e])},_findInArray2:function(t,e,n){for(var i=0;i<t.length;i++)if(t[i][e]==n)return t[i];return null},statics:{_merge:function(t,e,n,i,r,o,a,s,l,u,c,h,d){var f=new Array;if(0==Ext.isArray(r)&&0==Ext.isEmpty(r)&&(r=[r]),Ext.isArray(r))for(var m=0;m<r.length;m++)0==Ext.isEmpty(r[m])&&f.push(r[m]);return Ext.isNotEmpty(d)&&0==Ext.isArray(d)&&(d=[d]),new Common.Merger({dest:t,source:e,onlyConcatArrays:u,clone:l,deep:s,excludeList:f,excludeFunctions:i,onlyCommonProperties:n,addOnlyOwnProperties:o,checkCycleReference:a,onlyNewProperties:c,mergeArraysKeyFields:h,extendedFields:d}).Merge()},FastMerge:function(t,e,n){return(n=Ext.value(n,{})).deep=Ext.value(n.deep,!1),n.clone=Ext.value(n.clone,!1),n.excludeFunctions=Ext.value(n.excludeFunctions,!0),n.onlyCommonProperties=Ext.value(n.onlyCommonProperties,!1),n.onlyConcatArrays=Ext.value(n.onlyConcatArrays,!n.clone),n.mergeArraysKeyFields=Ext.value(n.mergeArraysKeyFields,[]),n.onlyNewProperties=Ext.value(n.onlyNewProperties,!1),n.onlyOwnProperties=Ext.value(n.onlyOwnProperties,n.deep||n.clone),n.checkCycleReference=Ext.value(n.checkCycleReference,n.deep||n.clone),Common.Merger._merge(t,e,n.onlyCommonProperties,n.excludeFunctions,n.excludeList,n.onlyOwnProperties,n.checkCycleReference,n.deep,n.clone,n.onlyConcatArrays,n.onlyNewProperties,n.mergeArraysKeyFields,n.extendedFields)},Merge:function(t,e,n){return(n=Ext.value(n,{})).deep=!0,Common.Merger.FastMerge(t,e,n)},Clone:function(t,e,n){return(n=Ext.value(n,{})).clone=!0,Common.Merger.FastMerge(t,e,n)}}})},5186:(t,e,n)=>{var i=n(98182);Common.Cs.Define("Common.Observable","Ext.util.Observable",{constructor:function(t){Ext.apply(this,t),this.callParent(arguments)},FireEvent:function(t){var e=Array.prototype.slice.call(arguments,0);return this.fireEvent.apply(this,e)},FireEventSynch:function(t,e,n){return Common.Observable.FireEventSynch(this,t,e,n)},SuspendEvents:function(t){this.suspendEvents(t)},ResumeEvents:function(){this.resumeEvents()},TryGetValue:function(t,e){return Common.Util.TryGetValue(this,t,e)},statics:{FireEventSynch:function(t,e,n,r){Common.Debug.Assert(Ext.isDefined(n)&&0==Ext.isFunction(n),"Barsa: FireEventSynch: paramObject should be an object ");var o=t;if(!r)return o.fireEvent(e,o,n);var a=o.events[e];if(Ext.isEmpty(a))r(new Common.Exception({Text:"eventName is null"}));else if(1==a&&(a=o.events[e.toLowerCase()]),0==Ext.isEmpty(a)&&0==Ext.isEmpty(a.listeners)){for(var s=[],l=0;l<a.listeners.length;l++){var u=(h=a.listeners[l]).scope||o,c=h.fn;0==Common.Async.FunctionHasDoReturnArgument(c)&&(c=Common.Async.Asyncify(c)),c=i.compose((function(t,e){1==arguments.length&&(e=t,t=null),!1!==t?e(null,t):e(new Common.DeepWaterfallBreakerException)}),c),s.push(c.bind(u,o,n))}for(l=a.listeners.length;l--;){var h;(h=a.listeners[l]).options&&h.options.single&&a.listeners.splice(l,1)}Common.Async.Sequence("AsynEvent:"+e,s,(function(t,e){r(t)}))}else r()},_functionHasDoReturnArgument:function(t){var e=t.getParamNames();return 0==Ext.isEmpty(e)&&Ext.isString(e[e.length-1])&&e[e.length-1].toString().startsWith("doReturn")},HasEventHandler:function(t,e,n){var i=!1,r=t,o=r.events[e];if(Ext.isEmpty(o)?i=!1:(1==o&&(o=r.events[e.toLowerCase()]),0==Ext.isEmpty(o)&&0==Ext.isEmpty(o.listeners)&&(i=!0)),!n)return i;n(null,i)}}}),Common.Cs.Define("Ui.Plugin.SynchObservable","",{singleton:!0,init:function(t){t instanceof Ext.util.Observable&&Ext.apply(t,{FireEventSynch:function(t,e,n){Common.Observable.FireEventSynch(this,t,e,n)}})}})},95329:()=>{String.prototype.toServerCharacter=function(){for(var t,e=["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹","ی","ک"],n=["0","1","2","3","4","5","6","7","8","9","ي","ك"],i=this,r=0;r<e.length;r++)t=new RegExp(e[r],"g"),i=i.replace(t,n[r]);return i},Common.Cs.Define("Common.Util","",{singleton:!0,IsUpperCase:function(t){return t>="A"&&t<="Z"},ReplaceFaToArCharchter:function(t){return t.toServerCharacter()},ReplaceArabicCharchter:function(t){return(t=t.replace(/ي/g,"ی")).replace(/ك/g,"ک")},GetKebabCase:function(t){if(!t||""==t)return"";t=(t=t.replace(/\./g,"-")).replace(/_/g,"-");for(var e="",n=0;n<t.length;n++){var i=t.charAt(n);if("-"!=i){var r=i.toLowerCase();this.IsUpperCase(i)&&(r="-"+r),e+=r}}return e},GetUrlParameter:function(t,e){e||(e=window.location.href),t=t.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+t+"(=([^&#]*)|&|#|$)").exec(e);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},AddTimeToUrl:function(t){},GetStack:function(t){return!0===Ul.ApplicationCtrlr.Debug?t.stack:null},CssEscape:function(t){return t?t.replace(/\=/g,"\\=").replace(/\+/g,"\\+").replace(/\//g,"\\/"):t},TryGetValue:function(t,e,n){if(void 0===n&&(n=null),Ext.isEmpty(t))return n;if(Ext.isEmpty(e))return Ext.isDefined(n)?n:t;for(var i=t,r=e.split("."),o=0;o<r.length;o++)if(null==(i=i[r[o]]))return n;return i},SearchArrayByProperty:function(t,e,n,i){if(0==Ext.isArray(t))return null;i=Ext.value(i,!0);for(var r=null,o=0;o<t.length;o++){var a=t[o];if(e in a)if(i){var s=a[e],l=n;if(Ext.isString(s)&&Ext.isString(l)&&(s=s.toUpperCase(s),l=l.toUpperCase(l)),s===l){r=a;break}}else if(a[e]===n){r=a;break}}return r},IsDoReturnFunction:function(t){return 0!=Ext.isFunction(t)&&-1!=t.toString().indexOf('throw new Error("Callback was already called.");')},GetType:function(t){if(t&&t.self)return t.self.displayName},GetObjectProperties:function(t){if(Ext.isObject(t)){var e=[];for(var n in t)e.push(n);return e}},GetWinowSize:function(t,e){var n=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,i=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;return{w:n*=t=Ext.value(t,1),h:i*=e=Ext.value(e,1)}},GetIconUrl:function(t,e,n,i,r,o){var a="IH.ashx?";return!t||e||n||o||(n="ID"),e?(a+="ty=BN",a+="&na="+e):(n&&(a+="ty="+n),t&&(a+="&id="+t)),i&&(a+="&si="+i),0==(r=Ext.value(r,!0))&&(a+="&t="+Common.Util.GetNewMetaGuid()),o&&(a+=("&"==o.substring(0,1)?"":"&")+o),a.indexOf("+")>0&&(a=a.replaceAll("+","%2B")),a},GetIconUrlByObject:function(t,e,n){},GetImageTag:function(t,e,n){return(e?'<img class="'+e+'" src="'+t:'<img src="'+t)+(n?'" '+n+" />":'">')},GetIconTag_OLD:function(t,e,n,i,r,o,a,s){return(a?'<img class="'+a+'" src="'+this.GetIconUrl(t,e,n,i,notCached,o):'<img src="'+this.GetIconUrl(t,e,n,i,r,o))+(s?'" '+s+" />":'">')},DisableBackSpaceKey:function(t){var e=Ext.isIE?document:window;Ext.EventManager.on(e,"keydown",(function(t,e){t.getKey()==t.BACKSPACE&&(e.disabled||e.readOnly)&&t.stopEvent()})),Ext.EventManager.on(e,"specialkey",(function(t,e){t.getKey()==t.BACKSPACE&&(e.disabled||e.readOnly)&&t.stopEvent()}))},CreateDate:function(t,e,n,i,r,o){i||(i=0),r||(r=0),o||(o=0);var a="{0}/{1}/{2} {3}:{4}:{5}".format(t,e+1,n,i,r,o);return Ext.isGecko||(a+="z"),new Date(a)},ResolveId:function(t){var e=t;return Ext.isObject(t)?e=t.Id:Ext.isNumber(t)&&(e=t.toString()),e},_isDayChaageDST:function(t,e,n){return 0!=new Date(t,e,n,0,0,0).getHours()},IsLtr:function(){return"rtl"!=BBB.WindowDirection},IsRtl:function(){return"rtl"==BBB.WindowDirection},GetJsonExtraProp:function(t,e){if(Ext.isEmpty(t)||Ext.isEmpty(t.JsonExtraProp))return null;var n=JSON.parse(t.JsonExtraProp);return 0==Ext.isEmpty(n)?0==Ext.isEmpty(e)?n[e]:n:void 0},FixYe:function(t){return Ext.isString(t)&&(t=(t=t.replaceAll("ی","ي")).replaceAll("ک","ك")),t},DirectInstanceOf:function(t,e){if(!exists(t))return!1;if(!exists(e))throw new TypeError("`cls` is required");return t.constructor===e&&getPrototypeOf(t)===e.prototype},_getPrototypeOf:function(t){var e;try{e=Object.getPrototypeOf(t)}catch(n){e=t.__proto__}return e},GetNewMetaGuid:function(){return(new Date).getTime().toString()},NewLine2Br:function(t){return Ext.isNotEmpty(t)&&"string"==typeof t&&(t=t.replace(/(?:\r\n|\r|\n)/g,"<br>")),t},CreateUUID:function(){for(var t=[],e="0123456789abcdef",n=0;n<36;n++)t[n]=e.substr(Math.floor(16*Math.random()),1);return t[14]="4",t[19]=e.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")},HtmlEscape:function(t){return t&&!LoginFormData.IsPortal?t.replace(/[<>@&\"\']/g,(function(t){return"&#"+t.charCodeAt(0)+";"})):t}}),Array.prototype.FindObjectIndex=function(t,e){if(!Ext.isObject(t))return-1;var n,i,r=!1;for(i=0;i<this.length;i++){if(n=this[i],Ext.isEmpty(e)){for(var o in r=!0,t)if(n[o]!=t[o]){r=!1;break}}else if(r=!1,n[e]==t[e]){r=!0;break}if(r)break}return r?i:-1},Common.Cs.Define("Common.InheritanceHelper","",{singleton:!0,separator:"$$",Fix:function(t){if(t.fieldName.contains(this.separator)){var e=t.fieldName.split(this.separator);t.parentFieldName=e[0],t.fieldName=e[1],t.mo=t.mo.GetFValue(t.parentFieldName)}},GetControlName:function(t,e){return t.parentFieldName?t.parentFieldName+this.separator+e:e}}),Ext.isNotEmpty=function(t,e){return!Ext.isEmpty(t,e)}},60444:()=>{Common.Cs.Define("Common.UtilUi","",{singleton:!0,_scrollSize:null,_scrollBarWidth:null,Icons:{Object:"/assets/Images/A/16/object.png"},FixTooltip:function(t){t.tooltip&&(t.listeners={afterrender:function(t){Ext.QuickTips.register({target:t.getEl().getAttribute("id"),text:t.initialConfig.tooltip})}})},GetCustomStyleElement:function(){return Ext.isEmpty(this._customStyleElement)&&(this._customStyleElement=Ext.get("BarsaDynamicStyle")),this._customStyleElement},SetComboDataSource:function(t,e){var n=new Ext.data.JsonStore({data:e,root:"rows",id:"id",fields:e.columns});t.valueField="id",t.displayField="txt",t.iconClsField="url",t.bindStore(n)},GetFormMaxSize:function(){return{width:Math.round(Ul.ApplicationCtrlr.Adapter.Control.MainTabPanel.getWidth()),height:Math.round(Ul.ApplicationCtrlr.Adapter.Control.MainTabPanel.getHeight())}},GetBodySize:function(){return{width:Ext.getBody().getWidth(),height:Ext.getBody().getHeight()}},GetFormDefaultSize:function(){var t=Form.GetMaxFormSize();return{width:.8*t.width,height:.7*t.height}},GetComponentByElement:function(t){for(var e,n=document.body,i=Ext.getDom(el);i&&1===i.nodeType&&i!==n;){if(e=Ext.getCmp(i.id))return e;i=i.parentNode}return null},ClearSelection:function(){document.selection&&document.selection.empty?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()},CalcLabelSize:function(t,e,n){if(!Common.UtilUi.NormalLabel){var i=Ext.getBody();Common.UtilUi.NormalLabel=new Ext.form.Label({cls:Ly.LayoutFieldLabel.ClsNormal,hidden:!0,renderTo:i}),Common.UtilUi.BoldLabel=new Ext.form.Label({cls:Ly.LayoutFieldLabel.ClsBold,hidden:!0,renderTo:i}),Common.UtilUi.MandatoryLabel=new Ext.form.Label({cls:Ly.LayoutFieldLabel.ClsMandatory,hidden:!0,renderTo:i}),Common.UtilUi.BoldMandatoryLabel=new Ext.form.Label({cls:Ly.LayoutFieldLabel.ClsMandatory+" "+Ly.LayoutFieldLabel.ClsBold,hidden:!0,renderTo:i})}var r=Common.UtilUi.NormalLabel;return e&&n?r=Common.UtilUi.BoldMandatoryLabel:n?r=Common.UtilUi.MandatoryLabel:e&&(r=Common.UtilUi.BoldLabel),r.setText(t),r.el.getSize()},GetScrollSizes:function(){if(this._scrollSize)return this._scrollSize;var t=document.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth,n=t.offsetHeight-t.clientHeight;return document.body.removeChild(t),[e,n]},GetScrollBarWidth:function(){if(this._scrollBarWidth)return this._scrollBarWidth;var t=document.createElement("p");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.style.visibility="hidden",e.style.width="200px",e.style.height="150px",e.style.overflow="hidden",e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;return n==i&&(i=e.clientWidth),document.body.removeChild(e),n-i},AddRowFormatingStyle:function(t,e){var n=t.replace(/\./g,"");n="row "+n;var i=t.replace(/\s/g,"");if(!($(".row"+i).length>0)){var r="<div style = 'display:none' class='"+n+"' >&shy;<style>"+t+e+"</style></div>";$("body").append(r)}}})},74557:()=>{$(document).keydown((function(t){t.ctrlKey&&(window.CtrlIsPressed=!0),t.shiftKey&&(window.ShiftIsPressed=!0)})),$(document).keyup((function(t){window.CtrlIsPressed=!1,window.ShiftIsPressed=!1})),window.CtrlIsPressed=!1,window.ShiftIsPressed=!1},78697:()=>{Util={IsLtr:function(){return"rtl"!=BBB.WindowDirection},Cookie:{Clear:function(t){var e=t;Ext.util.Cookies.clear(e)},GetValue:function(t){var e=t;return Ext.util.Cookies.get(e)},SetValue:function(t,e,n){var i=t,r=(new Date).getTime(),o=n?new Date(r+864e5*n):null;Ext.util.Cookies.set(i,e,o)}},ReplaceAll:function(t,e,n){return n.replace(new RegExp(t,"g"),e)}}},6368:()=>{Common.Cs.Define("Common.Data","",{singleton:!0,DeleteObject:function(t,e){if(Ext.isEmpty(t)||0==t)e&&e();else{Ext.isArray(t)||(t=[t]);var n={moIdList:t};Common.Ajax.GetServerData("MetaObject94.DeleteById",n,(function(t){e(null)}),(function(t){e(t)}),null,!0)}}})},76992:(t,e,n)=>{n(56905),n(87720),n(47934),n(30887),n(69227),n(62025),n(34429),n(37516)},43272:(t,e,n)=>{n(83002),n(20134),n(98490),n(1822),n(98182),n(74725),n(72322),n(90866),n(66081),n(33883)},78637:(t,e,n)=>{n(20116),n(92924),n(95871),n(54015),n(74557),n(43751),n(60444),n(95367),n(18047),n(59089),n(60010),n(46691),n(97220),n(59700),n(95329),n(56806),n(42507),n(11508),n(79107),n(5186),n(57357),n(827),n(27323),n(37634),n(45438),n(22106),n(41931),n(71984),n(7214),n(57974),n(25918),n(96306),n(6598),n(65737),n(42274),n(52997),n(78697),n(47960),n(27810),n(88398),n(6368),n(1089),n(22381),n(79294),n(30089),n(37142),n(59462),n(54538),n(8920),n(32635),n(91519),n(73583),n(12270),n(32852),n(30088),n(92989),n(4039),n(69637),n(7785),n(49287),n(78508),n(27724),n(18998),n(91171),n(65321),n(33253),n(43239),n(57666),n(71629),n(80017),n(41272),n(45494),n(55957),n(51180),n(62858),n(21580),n(98847),n(75032),n(1210),n(61837),n(68273),n(34788),n(18052),n(93515),n(1269),n(72559),n(59631),n(84261),n(68429),n(53815),n(38134),n(17098),n(10799),n(17352),n(40509),n(73868),n(76942),n(82700),n(36848),n(64364),n(76540),n(6880),n(5510),n(21684),n(85151),n(67473),n(6837),n(79119),n(20580),n(91645),n(70946),n(78662),n(81569),n(61010),n(70519),n(90442),n(88763),n(49235),n(18397),n(99689),n(80839),n(19537),n(73469),n(94679),n(61379),n(7096),n(74435),n(6395),n(48563),n(39420),n(12616),n(78225),n(9733),n(19700),n(361),n(85294),n(82192),n(41270),n(78203),n(41893),n(62551),n(32026),n(29355),n(28725),n(81037),n(9436),n(43358),n(40467),n(19547),n(42294),n(81604),n(28439),n(2131),n(82134),n(75506),n(75806),n(66485),n(64136),n(58924),n(74793),n(21497),n(19745),n(99253),n(57305),n(8346),n(69528),n(14692),n(23730),n(5520),n(3148),n(3099),n(15052),n(59128),n(40136),n(25782),n(30982),n(25261),n(1850),n(68573),n(86541),n(72988),n(6040),n(28331),n(27267),n(25590),n(67207),n(59172),n(80751),n(47570),n(72709),n(88895),n(62062),n(9350),n(30924),n(23739),n(38309),n(89614),n(95134),n(86320),n(6845),n(72165),n(72182),n(80969),n(46717),n(26934),n(40882),n(28090),n(11556),n(72912),n(2057),n(67055),n(62748),n(90517),n(35745),n(84650),n(47231),n(86806),n(95662),n(84117),n(63162),n(10338),n(93593),n(90599),n(91314),n(28525),n(80302),n(99414),n(50596),n(75864),n(77257),n(91220),n(17684),n(5283),n(98509),n(43833),n(28938),n(80336),n(63764),n(78844),n(49780),n(86188),n(25834),n(90929),n(74115),n(71247),n(24733),n(69624),n(94576),n(90805),n(62173),n(34724),n(5788),n(46759),n(46470),n(68102),n(121),n(46117),n(23701),n(5151),n(19445),n(87920),n(71912),n(85253),n(4444),n(41211),n(55491),n(28263),n(50703),n(34137),n(25321),n(99606),n(13472),n(54757),n(21589),n(83088),n(19145),n(23002),n(91872),n(55580),n(46663),n(48220),n(41994),n(61203),n(65561),n(30257),n(16673),n(17949),n(89354),n(59403),n(67958),n(84952),n(41709),n(13401),n(6442),n(34735),n(38857),n(82915),n(7730),n(96806),n(27791),n(87561),n(44625),n(16606),n(65429),n(76035),n(69785),n(5603),n(12254),n(47986),n(96466),n(14095),n(54098),n(93592),n(55723),n(74201),n(95316),n(68821),n(47141),n(76450),n(37741),n(5918),n(4394),n(88634),n(91614),n(34796),n(62633),n(78993),n(83544),n(30411),n(18080),n(53609),n(39288),n(8074),n(185)},98182:function(t,e){var n,i,r,o;function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function l(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||d(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{i||null==s.return||s.return()}finally{if(r)throw o}}return n}}(t,e)||d(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,e){if(t){if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}o=function(t){"use strict";function e(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return function(){for(var e=arguments.length,i=new Array(e),r=0;r<e;r++)i[r]=arguments[r];return t.apply(void 0,n.concat(i))}}function n(t){return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n.pop();return t.call(this,n,r)}}function i(t){setTimeout(t,0)}function r(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t((function(){return e.apply(void 0,i)}))}}function o(t){return f(t)?function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n.pop(),o=t.apply(this,n);return s(o,r)}:n((function(e,n){var i;try{i=t.apply(this,e)}catch(e){return n(e)}return i&&"function"==typeof i.then?s(i,n):void n(null,i)}))}function s(t,e){return t.then((function(t){d(e,null,t)}),(function(t){d(e,t&&t.message?t:new Error(t))}))}function d(t,e,n){try{t(e,n)}catch(t){Et((function(t){throw t}),t)}}function f(t){return"AsyncFunction"===t[Symbol.toStringTag]}function p(t){if("function"!=typeof t)throw new Error("expected a function");return f(t)?o(t):t}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.length;if(!e)throw new Error("arity is undefined");return function(){for(var n=this,i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];return"function"==typeof r[e-1]?t.apply(this,r):new Promise((function(i,o){r[e-1]=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t?o(t):void i(1<n.length?n:n[0])},t.apply(n,r)}))}}function v(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=C((function(n){var r=this;return t(e,(function(t,e){p(t).apply(r,i.concat(e))}),n)}));return o}}function g(t,e,n,i){e=e||[];var r=[],o=0,a=p(n);return t(e,(function(t,e,n){var i=o++;a(t,(function(t,e){r[i]=e,n(t)}))}),(function(t){i(t,r)}))}function y(t){return t&&"number"==typeof t.length&&0<=t.length&&0==t.length%1}function E(t){function e(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(null!==t){var r=t;t=null,r.apply(this,n)}}return Object.assign(e,t),e}function S(t){return function(){if(null===t)throw new Error("Callback was already called.");for(var e=t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];t=null,e.apply(this,i)}}function b(t,e,n,i){function r(){c>=e||u||s||(u=!0,t.next().then((function(t){var e=t.value,a=t.done;if(!l&&!s)return u=!1,a?(s=!0,void(0>=c&&i(null))):(c++,n(e,h,o),h++,void r())})).catch(a))}function o(t,e){return c-=1,l?void 0:t?a(t):!1===t?(s=!0,void(l=!0)):e===St||s&&0>=c?(s=!0,i(null)):void r()}function a(t){l||(u=!1,s=!0,i(t))}var s=!1,l=!1,u=!1,c=0,h=0;r()}function x(t,e,n){function i(t,e){!1===t&&(s=!0),!0===s||(t?n(t):(++o===a||e===St)&&n(null))}n=E(n);var r=0,o=0,a=t.length,s=!1;for(0===a&&n(null);r<a;r++)e(t[r],r,S(i))}function w(t,e,n){return xt(t,1/0,e,n)}function _(){function t(t){for(var i=arguments.length,r=new Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];return t?n(t):void e(1<r.length?r:r[0])}var e,n;return t[Mt]=new Promise((function(t,i){e=t,n=i})),t}function I(t,e,n){function i(t,e){m.push((function(){return function(t,e){if(!d){var i=S((function(e){for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];if(u--,!1!==e)if(2>r.length&&(r=h(r,1)[0]),e){var s={};if(Object.keys(l).forEach((function(t){s[t]=l[t]})),s[t]=r,d=!0,f=Object.create(null),c)return;n(e,s)}else l[t]=r,o(t);else c=!0}));u++;var r=p(e[e.length-1]);1<e.length?r(l,i):r(i)}}(t,e)}))}function r(){if(!c){if(0===m.length&&0===u)return n(null,l);for(;m.length&&u<e;)m.shift()()}}function o(t){(f[t]||[]).forEach((function(t){return t()})),r()}function a(e){var n=[];return Object.keys(t).forEach((function(i){var r=t[i];Array.isArray(r)&&0<=r.indexOf(e)&&n.push(i)})),n}"number"!=typeof e&&(n=e,e=null),n=E(n||_());var s=Object.keys(t).length;if(!s)return n(null);e||(e=s);var l={},u=0,c=!1,d=!1,f=Object.create(null),m=[],C=[],v={};return Object.keys(t).forEach((function(e){var n=t[e];if(!Array.isArray(n))return i(e,[n]),void C.push(e);var r=n.slice(0,n.length-1),o=r.length;return 0===o?(i(e,n),void C.push(e)):(v[e]=o,void r.forEach((function(a){if(!t[a])throw new Error("async.auto task `"+e+"` has a non-existent dependency `"+a+"` in "+r.join(", "));!function(t,e){var n=f[t];n||(n=f[t]=[]),n.push(e)}(a,(function(){0==--o&&i(e,n)}))})))})),function(){for(var t=0;C.length;)t++,a(C.pop()).forEach((function(t){0==--v[t]&&C.push(t)}));if(t!==s)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}(),r(),n[Mt]}function A(t,e){var n={};return Object.keys(t).forEach((function(e){function i(t,e){var n=r.map((function(e){return t[e]}));n.push(e),p(o).apply(void 0,c(n))}var r,o=t[e],a=f(o),s=!a&&1===o.length||a&&0===o.length;if(Array.isArray(o))r=c(o),o=r.pop(),n[e]=r.concat(0<r.length?i:o);else if(s)n[e]=o;else{if(r=function(t){var e=t.toString().replace(Bt,""),n=e.match(Dt);if(n||(n=e.match(Tt)),!n)throw new Error("could not parse args in autoInject\nSource:\n"+e);return h(n,2)[1].replace(/\s/g,"").split(Rt).map((function(t){return t.replace(Pt,"").trim()}))}(o),0===o.length&&!a&&0===r.length)throw new Error("autoInject task functions require explicit parameters.");a||r.pop(),n[e]=r.concat(i)}})),I(n,e)}function U(t,e){t.length=1,t.head=t.tail=e}function F(t,e,n){var i;function r(t,e){return t?e?void(f[t]=f[t].filter((function(t){return t!==e}))):f[t]=[]:Object.keys(f).forEach((function(t){return f[t]=[]}))}function o(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];f[t].forEach((function(t){return t.apply(void 0,n)}))}function a(t,e,n,i){function r(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];return t?n?a(t):o():1>=i.length?o(i[0]):void o(i)}if(null!=i&&"function"!=typeof i)throw new Error("task callback must be a function");g.started=!0;var o,a,s={data:t,callback:n?r:i||r};if(e?g._tasks.unshift(s):g._tasks.push(s),m||(m=!0,Et((function(){m=!1,g.process()}))),n||!i)return new Promise((function(t,e){o=t,a=e}))}function s(t){return function(e){h-=1;for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];for(var a=0,s=t.length;a<s;a++){var l=t[a],u=d.indexOf(l);0===u?d.shift():0<u&&d.splice(u,1),l.callback.apply(l,[e].concat(i)),null!=e&&o("error",e,l.data)}h<=g.concurrency-g.buffer&&o("unsaturated"),g.idle()&&o("drain"),g.process()}}function l(t){return!(0!==t.length||!g.idle()||(Et((function(){return o("drain")})),0))}if(null==e)e=1;else if(0===e)throw new RangeError("Concurrency must not be zero");var c=p(t),h=0,d=[],f={error:[],drain:[],saturated:[],unsaturated:[],empty:[]},m=!1,C=function(t){return function(e){return e?(r(t),void function(t,e){f[t].push(e)}(t,e)):new Promise((function(e,n){!function(t,e){f[t].push((function n(){r(t,n),e.apply(void 0,arguments)}))}(t,(function(t,i){return t?n(t):void e(i)}))}))}},v=!1,g=(u(i={_tasks:new Lt},Symbol.iterator,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(g._tasks[Symbol.iterator](),"t0",1);case 1:case"end":return t.stop()}}),t)}))),u(i,"concurrency",e),u(i,"payload",n),u(i,"buffer",e/4),u(i,"started",!1),u(i,"paused",!1),u(i,"push",(function(t,e){return Array.isArray(t)?l(t)?void 0:t.map((function(t){return a(t,!1,!1,e)})):a(t,!1,!1,e)})),u(i,"pushAsync",(function(t,e){return Array.isArray(t)?l(t)?void 0:t.map((function(t){return a(t,!1,!0,e)})):a(t,!1,!0,e)})),u(i,"kill",(function(){r(),g._tasks.empty()})),u(i,"unshift",(function(t,e){return Array.isArray(t)?l(t)?void 0:t.map((function(t){return a(t,!0,!1,e)})):a(t,!0,!1,e)})),u(i,"unshiftAsync",(function(t,e){return Array.isArray(t)?l(t)?void 0:t.map((function(t){return a(t,!0,!0,e)})):a(t,!0,!0,e)})),u(i,"remove",(function(t){g._tasks.remove(t)})),u(i,"process",(function(){var t=Math.min;if(!v){for(v=!0;!g.paused&&h<g.concurrency&&g._tasks.length;){var e=[],n=[],i=g._tasks.length;g.payload&&(i=t(i,g.payload));for(var r,a=0;a<i;a++)r=g._tasks.shift(),e.push(r),d.push(r),n.push(r.data);h+=1,0===g._tasks.length&&o("empty"),h===g.concurrency&&o("saturated");var l=S(s(e));c(n,l)}v=!1}})),u(i,"length",(function(){return g._tasks.length})),u(i,"running",(function(){return h})),u(i,"workersList",(function(){return d})),u(i,"idle",(function(){return 0===g._tasks.length+h})),u(i,"pause",(function(){g.paused=!0})),u(i,"resume",(function(){!1===g.paused||(g.paused=!1,Et(g.process))})),i);return Object.defineProperties(g,{saturated:{writable:!1,value:C("saturated")},unsaturated:{writable:!1,value:C("unsaturated")},empty:{writable:!1,value:C("empty")},drain:{writable:!1,value:C("drain")},error:{writable:!1,value:C("error")}}),g}function M(t,e){return F(t,1,e)}function D(t,e,n){return F(t,e,n)}function T(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e.map(p);return function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=this,o=e[e.length-1];return"function"==typeof o?e.pop():o=_(),Ot(i,e,(function(t,e,n){e.apply(r,t.concat((function(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];n(t,i)})))}),(function(t,e){return o.apply(void 0,[t].concat(c(e)))})),o[Mt]}}function R(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return T.apply(void 0,c(e.reverse()))}function P(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=n.pop();return r.apply(void 0,[null].concat(e))}}function B(t,e){return function(n,i,r,o){var a,s=!1,l=p(r);n(i,(function(n,i,r){l(n,(function(i,o){return i||!1===i?r(i):t(o)&&!a?(s=!0,a=e(!0,n),r(null,St)):void r()}))}),(function(t){return t?o(t):void o(null,s?a:e(!1))}))}}function L(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return p(e).apply(void 0,i.concat([function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];"object"==("undefined"==typeof console?"undefined":m(console))&&(e?console.error&&console.error(e):console[t]&&i.forEach((function(e){return console[t](e)})))}]))}}function O(t,e,n){var i=p(e);return zt(t,(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e.pop();i.apply(void 0,e.concat([function(t,e){return r(t,!e)}]))}),n)}function k(t){return function(e,n,i){return t(e,i)}}function N(t){return f(t)?t:function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n.pop(),o=!0;n.push((function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];o?Et((function(){return r.apply(void 0,e)})):r.apply(void 0,e)})),t.apply(this,n),o=!1}}function G(t,e,n,i){var r=Array(e.length);t(e,(function(t,e,i){n(t,(function(t,n){r[e]=!!n,i(t)}))}),(function(t){if(t)return i(t);for(var n=[],o=0;o<e.length;o++)r[o]&&n.push(e[o]);i(null,n)}))}function V(t,e,n,i){var r=[];t(e,(function(t,e,i){n(t,(function(n,o){return n?i(n):(o&&r.push({index:e,value:t}),void i(n))}))}),(function(t){return t?i(t):void i(null,r.sort((function(t,e){return t.index-e.index})).map((function(t){return t.value})))}))}function j(t,e,n,i){return(y(e)?G:V)(t,e,p(n),i)}function W(t,e,n){return ie(t,1/0,e,n)}function H(t,e,n){return ie(t,1,e,n)}function $(t,e,n){return oe(t,1/0,e,n)}function z(t,e,n){return oe(t,1,e,n)}function q(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(t){return t},i=Object.create(null),r=Object.create(null),o=p(t),a=n((function(t,n){var a=e.apply(void 0,c(t));a in i?Et((function(){return n.apply(void 0,[null].concat(c(i[a])))})):a in r?r[a].push(n):(r[a]=[n],o.apply(void 0,c(t).concat([function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];t||(i[a]=n);var s=r[a];delete r[a];for(var l=0,u=s.length;l<u;l++)s[l].apply(s,[t].concat(n))}])))}));return a.memo=i,a.unmemoized=t,a}function K(t,e){return se(wt,t,e)}function Y(t,e,n){return se(bt(e),t,n)}function J(t,e){var n=p(t);return F((function(t,e){n(t[0],e)}),e,1)}function X(t){return 1+(t<<1)}function Q(t){return(t+1>>1)-1}function Z(t,e){return t.priority===e.priority?t.pushCount<e.pushCount:t.priority<e.priority}function tt(t,e){var n=J(t,e),i=!1;return n._tasks=new le,n.push=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"!=typeof r)throw new Error("task callback must be a function");if(n.started=!0,Array.isArray(t)||(t=[t]),0===t.length&&n.idle())return Et((function(){return n.drain()}));for(var o,a=0,s=t.length;a<s;a++)o={data:t[a],priority:e,callback:r},n._tasks.push(o);i||(i=!0,Et((function(){i=!1,n.process()})))},delete n.unshift,n}function et(t,e,n,i){var r=c(t).reverse();return Ot(r,e,n,i)}function nt(t){var e=p(t);return n((function(t,n){return t.push((function(t){for(var e={},i=arguments.length,r=new Array(i>1?i-1:0),o=1;o<i;o++)r[o-1]=arguments[o];if(t&&(e.error=t),0<r.length){var a=r;1>=r.length&&(a=h(r,1)[0]),e.value=a}n(null,e)})),e.apply(this,t)}))}function it(t){var e,n=this;return Array.isArray(t)?e=t.map(nt):(e={},Object.keys(t).forEach((function(i){e[i]=nt.call(n,t[i])}))),e}function rt(t,e,n,i){var r=p(n);return j(t,e,(function(t,e){r(t,(function(t,n){e(t,!n)}))}),i)}function ot(t){return function(){return t}}function at(t,e,n){function i(){o((function(t){for(var e=arguments.length,o=new Array(e>1?e-1:0),s=1;s<e;s++)o[s-1]=arguments[s];!1===t||(t&&a++<r.times&&("function"!=typeof r.errorFilter||r.errorFilter(t))?setTimeout(i,r.intervalFunc(a-1)):n.apply(void 0,[t].concat(o)))}))}var r={times:fe,intervalFunc:ot(me)};if(3>arguments.length&&"function"==typeof t?(n=e||_(),e=t):(st(r,t),n=n||_()),"function"!=typeof e)throw new Error("Invalid arguments for async.retry");var o=p(e),a=1;return i(),n[Mt]}function st(t,e){if("object"==m(e))t.times=+e.times||fe,t.intervalFunc="function"==typeof e.interval?e.interval:ot(+e.interval||me),t.errorFilter=e.errorFilter;else{if("number"!=typeof e&&"string"!=typeof e)throw new Error("Invalid arguments for async.retry");t.times=+e||fe}}function lt(t,e){e||(e=t,t=null);var i=t&&t.arity||e.length;f(e)&&(i+=1);var r=p(e);return n((function(e,n){function o(t){r.apply(void 0,c(e).concat([t]))}return(e.length<i-1||null==n)&&(e.push(n),n=_()),t?at(t,o,n):at(o,n),n[Mt]}))}function ut(t,e){return se(At,t,e)}function ct(t,e,i){var r=p(t);return n((function(n,o){var a,s=!1;n.push((function(){s||(o.apply(void 0,arguments),clearTimeout(a))})),a=setTimeout((function(){var e=t.name||"anonymous",n=new Error('Callback function "'+e+'" timed out.');n.code="ETIMEDOUT",i&&(n.info=i),s=!0,o(n)}),e),r.apply(void 0,c(n))}))}function ht(t,e,n,i){var r=p(n);return kt(function(t){for(var e=Array(t);t--;)e[t]=t;return e}(t),e,r,i)}function dt(t,e,n){return ht(t,1/0,e,n)}function ft(t,e,n){return ht(t,1,e,n)}function mt(t,e,n,i){3>=arguments.length&&"function"==typeof e&&(i=n,n=e,e=Array.isArray(t)?[]:{}),i=E(i||_());var r=p(n);return wt(t,(function(t,n,i){r(e,t,n,i)}),(function(t){return i(t,e)})),i[Mt]}function pt(t){return function(){return(t.unmemoized||t).apply(void 0,arguments)}}function Ct(t,e,n){var i=p(t);return Ee((function(t){return i((function(e,n){return t(e,!n)}))}),e,n)}var vt="function"==typeof queueMicrotask&&queueMicrotask,gt="function"==typeof setImmediate&&setImmediate,yt="object"==("undefined"==typeof process?"undefined":m(process))&&"function"==typeof process.nextTick,Et=r(vt?queueMicrotask:gt?setImmediate:yt?process.nextTick:i),St={},bt=function(t){return function(e,n,i){function r(t,e){if(!l)if(u-=1,t)s=!0,i(t);else if(!1===t)s=!0,l=!0;else{if(e===St||s&&0>=u)return s=!0,i(null);c||o()}}function o(){for(c=!0;u<t&&!s;){var e=a();if(null===e)return s=!0,void(0>=u&&i(null));u+=1,n(e.value,e.key,S(r))}c=!1}if(i=E(i),0>=t)throw new RangeError("concurrency limit cannot be less than 1");if(!e)return i(null);if(function(t){return"AsyncGenerator"===t[Symbol.toStringTag]}(e))return b(e,t,n,i);if(function(t){return"function"==typeof t[Symbol.asyncIterator]}(e))return b(e[Symbol.asyncIterator](),t,n,i);var a=function(t){if(y(t))return function(t){var e=-1,n=t.length;return function(){return++e<n?{value:t[e],key:e}:null}}(t);var e=function(t){return t[Symbol.iterator]&&t[Symbol.iterator]()}(t);return e?function(t){var e=-1;return function(){var n=t.next();return n.done?null:(e++,{value:n.value,key:e})}}(e):function(t){var e=t?Object.keys(t):[],n=-1,i=e.length;return function(){var r=e[++n];return n<i?{value:t[r],key:r}:null}}(t)}(e),s=!1,l=!1,u=0,c=!1;o()}},xt=C((function(t,e,n,i){return bt(e)(t,p(n),i)}),4),wt=C((function(t,e,n){return(y(t)?x:w)(t,p(e),n)}),3),_t=C((function(t,e,n){return g(wt,t,e,n)}),3),It=v(_t),At=C((function(t,e,n){return xt(t,1,e,n)}),3),Ut=C((function(t,e,n){return g(At,t,e,n)}),3),Ft=v(Ut),Mt=Symbol("promiseCallback"),Dt=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,Tt=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,Rt=/,/,Pt=/(=.+)?(\s*)$/,Bt=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Lt=function(t){function e(){a(this,e),this.head=this.tail=null,this.length=0}return l(e,[{key:"removeLink",value:function(t){return t.prev?t.prev.next=t.next:this.head=t.next,t.next?t.next.prev=t.prev:this.tail=t.prev,t.prev=t.next=null,this.length-=1,t}},{key:"empty",value:function(){for(;this.head;)this.shift();return this}},{key:"insertAfter",value:function(t,e){e.prev=t,e.next=t.next,t.next?t.next.prev=e:this.tail=e,t.next=e,this.length+=1}},{key:"insertBefore",value:function(t,e){e.prev=t.prev,e.next=t,t.prev?t.prev.next=e:this.head=e,t.prev=e,this.length+=1}},{key:"unshift",value:function(t){this.head?this.insertBefore(this.head,t):U(this,t)}},{key:"push",value:function(t){this.tail?this.insertAfter(this.tail,t):U(this,t)}},{key:"shift",value:function(){return this.head&&this.removeLink(this.head)}},{key:"pop",value:function(){return this.tail&&this.removeLink(this.tail)}},{key:"toArray",value:function(){return c(this)}},{key:Symbol.iterator,value:regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.head;case 1:if(!e){t.next=7;break}return t.next=4,e.data;case 4:e=e.next;case 5:t.next=1;break;case 7:case"end":return t.stop()}}),t,this)}))},{key:"remove",value:function(t){for(var e=this.head;e;){var n=e.next;t(e)&&this.removeLink(e),e=n}return this}}]),e}(),Ot=C((function(t,e,n,i){i=E(i);var r=p(n);return At(t,(function(t,n,i){r(e,t,(function(t,n){e=n,i(t)}))}),(function(t){return i(t,e)}))}),4),kt=C((function(t,e,n,i){return g(bt(e),t,n,i)}),4),Nt=C((function(t,e,n,i){var r=p(n);return kt(t,e,(function(t,e){r(t,(function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return t?e(t):e(t,i)}))}),(function(t,e){for(var n=[],r=0;r<e.length;r++){var o;e[r]&&(n=(o=n).concat.apply(o,c(e[r])))}return i(t,n)}))}),4),Gt=C((function(t,e,n){return Nt(t,1/0,e,n)}),3),Vt=C((function(t,e,n){return Nt(t,1,e,n)}),3),jt=C((function(t,e,n){return B((function(t){return t}),(function(t,e){return e}))(wt,t,e,n)}),3),Wt=C((function(t,e,n,i){return B((function(t){return t}),(function(t,e){return e}))(bt(e),t,n,i)}),4),Ht=C((function(t,e,n){return B((function(t){return t}),(function(t,e){return e}))(bt(1),t,e,n)}),3),$t=L("dir"),zt=C((function(t,e,n){function i(t){for(var e=arguments.length,i=new Array(e>1?e-1:0),a=1;a<e;a++)i[a-1]=arguments[a];return t?n(t):void(!1===t||(o=i,s.apply(void 0,i.concat([r]))))}function r(t,e){return t?n(t):!1===t?void 0:e?void a(i):n.apply(void 0,[null].concat(c(o)))}n=S(n);var o,a=p(t),s=p(e);return r(null,!0)}),3),qt=C((function(t,e,n){return wt(t,k(p(e)),n)}),3),Kt=C((function(t,e,n,i){return bt(e)(t,k(p(n)),i)}),4),Yt=C((function(t,e,n){return Kt(t,1,e,n)}),3),Jt=C((function(t,e,n){return B((function(t){return!t}),(function(t){return!t}))(wt,t,e,n)}),3),Xt=C((function(t,e,n,i){return B((function(t){return!t}),(function(t){return!t}))(bt(e),t,n,i)}),4),Qt=C((function(t,e,n){return B((function(t){return!t}),(function(t){return!t}))(At,t,e,n)}),3),Zt=C((function(t,e,n){return j(wt,t,e,n)}),3),te=C((function(t,e,n,i){return j(bt(e),t,n,i)}),4),ee=C((function(t,e,n){return j(At,t,e,n)}),3),ne=C((function(t,e){var n=S(e),i=p(N(t));return function t(e){return e?n(e):void(!1===e||i(t))}()}),2),ie=C((function(t,e,n,i){var r=p(n);return kt(t,e,(function(t,e){r(t,(function(n,i){return n?e(n):e(n,{key:i,val:t})}))}),(function(t,e){for(var n={},r=Object.prototype.hasOwnProperty,o=0;o<e.length;o++)if(e[o]){var a=e[o].key,s=e[o].val;r.call(n,a)?n[a].push(s):n[a]=[s]}return i(t,n)}))}),4),re=L("log"),oe=C((function(t,e,n,i){i=E(i);var r={},o=p(n);return bt(e)(t,(function(t,e,n){o(t,e,(function(t,i){return t?n(t):(r[e]=i,void n(t))}))}),(function(t){return i(t,r)}))}),4),ae=r(yt?process.nextTick:gt?setImmediate:i),se=C((function(t,e,n){var i=y(e)?[]:{};t(e,(function(t,e,n){p(t)((function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];2>o.length&&(o=h(o,1)[0]),i[e]=o,n(t)}))}),(function(t){return n(t,i)}))}),3),le=function(t){function e(){a(this,e),this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}return l(e,[{key:"length",get:function(){return this.heap.length}},{key:"empty",value:function(){return this.heap=[],this}},{key:"percUp",value:function(t){for(var e;0<t&&Z(this.heap[t],this.heap[e=Q(t)]);){var n=this.heap[t];this.heap[t]=this.heap[e],this.heap[e]=n,t=e}}},{key:"percDown",value:function(t){for(var e,n;(e=X(t))<this.heap.length&&(e+1<this.heap.length&&Z(this.heap[e+1],this.heap[e])&&++e,!Z(this.heap[t],this.heap[e]));)n=this.heap[t],this.heap[t]=this.heap[e],this.heap[e]=n,t=e}},{key:"push",value:function(t){t.pushCount=++this.pushCount,this.heap.push(t),this.percUp(this.heap.length-1)}},{key:"unshift",value:function(t){return this.heap.push(t)}},{key:"shift",value:function(){var t=h(this.heap,1)[0];return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),t}},{key:"toArray",value:function(){return c(this)}},{key:Symbol.iterator,value:regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=0;case 1:if(!(e<this.heap.length)){t.next=7;break}return t.next=4,this.heap[e].data;case 4:e++,t.next=1;break;case 7:case"end":return t.stop()}}),t,this)}))},{key:"remove",value:function(t){for(var e=0,n=0;n<this.heap.length;n++)t(this.heap[n])||(this.heap[e]=this.heap[n],e++);this.heap.splice(e);for(var i=Q(this.heap.length-1);0<=i;i--)this.percDown(i);return this}}]),e}(),ue=C((function(t,e){if(e=E(e),!Array.isArray(t))return e(new TypeError("First argument to race must be an array of functions"));if(!t.length)return e();for(var n=0,i=t.length;n<i;n++)p(t[n])(e)}),2),ce=C((function(t,e,n){return rt(wt,t,e,n)}),3),he=C((function(t,e,n,i){return rt(bt(e),t,n,i)}),4),de=C((function(t,e,n){return rt(At,t,e,n)}),3),fe=5,me=0,pe=C((function(t,e,n){return B(Boolean,(function(t){return t}))(wt,t,e,n)}),3),Ce=C((function(t,e,n,i){return B(Boolean,(function(t){return t}))(bt(e),t,n,i)}),4),ve=C((function(t,e,n){return B(Boolean,(function(t){return t}))(At,t,e,n)}),3),ge=C((function(t,e,n){function i(t,e){var n=t.criteria,i=e.criteria;return n<i?-1:n>i?1:0}var r=p(e);return _t(t,(function(t,e){r(t,(function(n,i){return n?e(n):void e(n,{value:t,criteria:i})}))}),(function(t,e){return t?n(t):void n(null,e.sort(i).map((function(t){return t.value})))}))}),3),ye=C((function(t,e){var n,i=null;return Yt(t,(function(t,e){p(t)((function(t){for(var r,o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];return!1===t?e(t):(2>a.length?(r=h(a,1),n=r[0]):n=a,i=t,void e(t?null:{}))}))}),(function(){return e(i,n)}))})),Ee=C((function(t,e,n){function i(t){if(t)return n(t);for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];s=i,!1===t||a(r)}function r(t,e){return t?n(t):!1===t?void 0:e?void o(i):n.apply(void 0,[null].concat(c(s)))}n=S(n);var o=p(e),a=p(t),s=[];return a(r)}),3),Se=C((function(t,e){function n(e){p(t[r++]).apply(void 0,c(e).concat([S(i)]))}function i(i){for(var o=arguments.length,a=new Array(o>1?o-1:0),s=1;s<o;s++)a[s-1]=arguments[s];return!1===i?void 0:i||r===t.length?e.apply(void 0,[i].concat(a)):void n(a)}if(e=E(e),!Array.isArray(t))return e(new Error("First argument to waterfall must be an array of functions"));if(!t.length)return e();var r=0;n([])}));t.default={apply:e,applyEach:It,applyEachSeries:Ft,asyncify:o,auto:I,autoInject:A,cargo:M,cargoQueue:D,compose:R,concat:Gt,concatLimit:Nt,concatSeries:Vt,constant:P,detect:jt,detectLimit:Wt,detectSeries:Ht,dir:$t,doUntil:O,doWhilst:zt,each:qt,eachLimit:Kt,eachOf:wt,eachOfLimit:xt,eachOfSeries:At,eachSeries:Yt,ensureAsync:N,every:Jt,everyLimit:Xt,everySeries:Qt,filter:Zt,filterLimit:te,filterSeries:ee,forever:ne,groupBy:W,groupByLimit:ie,groupBySeries:H,log:re,map:_t,mapLimit:kt,mapSeries:Ut,mapValues:$,mapValuesLimit:oe,mapValuesSeries:z,memoize:q,nextTick:ae,parallel:K,parallelLimit:Y,priorityQueue:tt,queue:J,race:ue,reduce:Ot,reduceRight:et,reflect:nt,reflectAll:it,reject:ce,rejectLimit:he,rejectSeries:de,retry:at,retryable:lt,seq:T,series:ut,setImmediate:Et,some:pe,someLimit:Ce,someSeries:ve,sortBy:ge,timeout:ct,times:dt,timesLimit:ht,timesSeries:ft,transform:mt,tryEach:ye,unmemoize:pt,until:Ct,waterfall:Se,whilst:Ee,all:Jt,allLimit:Xt,allSeries:Qt,any:pe,anyLimit:Ce,anySeries:ve,find:jt,findLimit:Wt,findSeries:Ht,flatMap:Gt,flatMapLimit:Nt,flatMapSeries:Vt,forEach:qt,forEachSeries:Yt,forEachLimit:Kt,forEachOf:wt,forEachOfSeries:At,forEachOfLimit:xt,inject:Ot,foldl:Ot,foldr:et,select:Zt,selectLimit:te,selectSeries:ee,wrapSync:o,during:Ee,doDuring:zt},t.apply=e,t.applyEach=It,t.applyEachSeries=Ft,t.asyncify=o,t.auto=I,t.autoInject=A,t.cargo=M,t.cargoQueue=D,t.compose=R,t.concat=Gt,t.concatLimit=Nt,t.concatSeries=Vt,t.constant=P,t.detect=jt,t.detectLimit=Wt,t.detectSeries=Ht,t.dir=$t,t.doUntil=O,t.doWhilst=zt,t.each=qt,t.eachLimit=Kt,t.eachOf=wt,t.eachOfLimit=xt,t.eachOfSeries=At,t.eachSeries=Yt,t.ensureAsync=N,t.every=Jt,t.everyLimit=Xt,t.everySeries=Qt,t.filter=Zt,t.filterLimit=te,t.filterSeries=ee,t.forever=ne,t.groupBy=W,t.groupByLimit=ie,t.groupBySeries=H,t.log=re,t.map=_t,t.mapLimit=kt,t.mapSeries=Ut,t.mapValues=$,t.mapValuesLimit=oe,t.mapValuesSeries=z,t.memoize=q,t.nextTick=ae,t.parallel=K,t.parallelLimit=Y,t.priorityQueue=tt,t.queue=J,t.race=ue,t.reduce=Ot,t.reduceRight=et,t.reflect=nt,t.reflectAll=it,t.reject=ce,t.rejectLimit=he,t.rejectSeries=de,t.retry=at,t.retryable=lt,t.seq=T,t.series=ut,t.setImmediate=Et,t.some=pe,t.someLimit=Ce,t.someSeries=ve,t.sortBy=ge,t.timeout=ct,t.times=dt,t.timesLimit=ht,t.timesSeries=ft,t.transform=mt,t.tryEach=ye,t.unmemoize=pt,t.until=Ct,t.waterfall=Se,t.whilst=Ee,t.all=Jt,t.allLimit=Xt,t.allSeries=Qt,t.any=pe,t.anyLimit=Ce,t.anySeries=ve,t.find=jt,t.findLimit=Wt,t.findSeries=Ht,t.flatMap=Gt,t.flatMapLimit=Nt,t.flatMapSeries=Vt,t.forEach=qt,t.forEachSeries=Yt,t.forEachLimit=Kt,t.forEachOf=wt,t.forEachOfSeries=At,t.forEachOfLimit=xt,t.inject=Ot,t.foldl=Ot,t.foldr=et,t.select=Zt,t.selectLimit=te,t.selectSeries=ee,t.wrapSync=o,t.during=Ee,t.doDuring=zt,Object.defineProperty(t,"__esModule",{value:!0})},"object"==m(e)?o(e):(i=[e],void 0===(r="function"==typeof(n=o)?n.apply(e,i):n)||(t.exports=r))},27323:()=>{function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}LoginFormUi={_capsLockEnabled:null,ForgetPassword:function(){this.DisableLoginForm();var t=LoginFormUi.GetFormData(),e=new Ul.ForgetPasswordCtrlr,n=this;e.Start(t.un,(function(){n.EnableLoginForm()}))},ShowProgress:function(t){var e=$("#LoginBackdrop"),n=$("#LoginMessage");e.toggle(t),n.toggle(t)},ShowTheme:function(t){t?$("#themeZone").show():$("#themeZone").hide()},DisableLoginForm:function(){$(".loginFormPanel").hide()},EnableLoginForm:function(){$(".loginFormPanel").show()},ShowLoginForm:function(t,e,n){if($("#LoginPanelZone").show(),document.body.className.indexOf("mainOutter")<0&&(document.body.className+=" mainOutter"),$("#culture").val(e),$("#theme").val(n),LoginFormUi.ShowCaptcha(t),$("#btnSubmit").unbind("click"),$("#btnSubmit").click(LoginAction.DoLogin),$("#forgetPasswordPanel").toggle(!!LoginFormData.EnableForgetPassword),LoginFormData.EnableOTP&&$("#otpPanel").show(),LoginFormData.Sso){$("#ssoPanel").show();var i=$("#ssoItem");i.text(LoginFormData.Sso.Title),i.attr("href","/api/base/SsoLogin?sso="+LoginFormData.Sso.Name)}$("#showpassword").on("mousedown",(function(){LoginAction.ShowPassword0(!0)})),$("#showpassword").on("mouseup",(function(){LoginAction.ShowPassword0(!1)})),$("#showpassword").on("mouseleave",(function(){LoginAction.ShowPassword0(!1)})),$(document).keydown(LoginFormUi._onKeyDown.bind(this)),$(document).keypress(LoginFormUi._onKeyPress.bind(this)),$("#username").focus(),$("#culture").on("change",(function(){LoginForm.cultureChange(this)})),$("#theme").on("change",(function(){LoginForm.themeChange(this)})),$("#password").on("focus",LoginFormUi._checkCapsLockWarning.bind(this)),$("#password").on("keyup",LoginFormUi._checkCapsLockWarning.bind(this)),$("#password").on("blur",LoginFormUi._onPasswordBlur.bind(this)),$("#password").on("input",(function(){""!==$("#password").val()?$("#showpassword").show():$("#showpassword").hide()})),LoginFormUi.EnableLoginForm()},_onKeyDown:function(t){if(20==t.keyCode&&null!==this._capsLockEnabled&&(this._capsLockEnabled=!this._capsLockEnabled),t&&13===t.keyCode&&!$("#LoginPanelZone").is(":hidden")){var e=document.activeElement.id;"username"==e?$("#password").focus():"captxt"==e?$("#btnSubmit").click():"visible"==$("#captxt").css("visibility")&&0==$("#captxt").is(":hidden")?$("#captxt").focus():$("#btnSubmit").click()}},_onKeyPress:function(t){t=t||event;var e=LoginFormUi._getChar(t);e&&e.toLowerCase()!=e.toUpperCase()&&(this._capsLockEnabled=e.toLowerCase()==e&&t.shiftKey||e.toUpperCase()==e&&!t.shiftKey)},_getChar:function(t){return null==t.which?String.fromCharCode(t.keyCode):0!=t.which&&0!=t.charCode?String.fromCharCode(t.which):null},_checkCapsLockWarning:function(){this._capsLockEnabled?$("#warning").fadeIn(200):$("#warning").fadeOut(200)},_onPasswordBlur:function(){$("#warning").fadeOut(200)},HideLoginForm:function(){document.body.className=document.body.className.replace("mainOutter",""),$("#LoginPanelZone").hide()},ShowMessage:function(t){var e=document.getElementById("MessagePanel");""!=t&&null!=t?(e.innerHTML=t,e.style.display="inline-block"):e.style.display="none"},ShowExtraMessage:function(t){var e=document.getElementById("ExtraPanel");t?(e.style.display="inline-block",e.innerHTML=t):e.style.display="none"},ShowCaptcha:function(t){switch(t){case"Show":$("#lgnSpace").hide(),$("#capZone").show();var e=$("#capImg");if(!e)return;this.ChangeCaptcha(),e.unbind("click"),e.click(this.ChangeCaptcha.bind(this)),e.unbind("error"),e.on("error",(function(){e.attr("src","/assets/Images/captchaError.png")}));var n=$("#captchaRefresh");n&&(n.unbind("click"),n.click(this.ChangeCaptcha.bind(this)));break;case"NoTry":break;case"No":$("#capZone").hide(),$("#lgnSpace").show();break;default:throw"Unreachable!"}},ChangeCaptcha:function(){var t=this.GetFormData();$("#capImg").attr("src",LoginFormUi.GetCaptchaUrl(t.un)),$("#captxt").val(""),this.SetCaptchaTimer()},GetCaptchaUrl:function(t){return"api/auth/captcha?capId="+LoginFormData.CaptchaId+"&t="+(new Date).toString()},captchaTimer:null,SetCaptchaTimer:function(){this.captchaTimer&&clearInterval(this.captchaTimer);var t=this;this.captchaTimer=setInterval((function(){t.HasCaptcha()&&t.ChangeCaptcha()}),1e3*LoginFormData.CaptchaValidTime)},HasCaptcha:function(){return $("#capZone").is(":visible")},GetCaptchaValue:function(){return $("#captxt").val()},DisableForServer:function(t){var e=$("#btnSubmit");t?(LoginFormUi.ShowMessage(null),e.attr("disabled",!0)):e.attr("disabled",!1)},GetFormData:function(){return{un:$("#username").val(),pwd:$("#password").val(),otp:$("#otp").val(),cap:$("#captxt").val(),thm:$("#theme").val(),lng:$("#culture").val(),capId:LoginFormData.CaptchaId}},Clear:function(){$("#username").val(""),$("#password").val(""),$("#captxt").val(""),$("#otp").val("")}},LoginForm={cultureChange:function(t){this.setCulture($(t).val())},setCulture:function(t){AjaxHelper.AjaxRequest("/api/preference/language",JSON.stringify({language:t}),!0,(function(){LoadHelper.Reload()}),(function(){alert("error in set language!")}))},themeChange:function(t){this.setTheme($(t).val())},setTheme:function(t){AjaxHelper.AjaxRequest("/api/preference/theme",JSON.stringify({theme:t}),!0,(function(){LoadHelper.Reload()}),(function(){alert("error in set theme!")}))},IsSystemResourcesLoad:!1,SystemResourcesLoaded:function(){LoginFormData.IsSystemResourcesLoad=!0,LoginFormData.IsUserLoggedIn&&LoadHelper.TryAction(LoginForm.Enter,(function(){return LoadHelper.CheckLoad(!0)}),100,null)},Enter:function(){if(LoginFormUi.ShowProgress(!1),LoginFormUi.HideLoginForm(),Is94){var t=Common.LogManager.StartLog("Application.Load",{});Ul.ApplicationCtrlr.Initialize(t),Common.LogManager.EndLog(t)}else System.Init()},GetUrlParameter:function(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var e=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(location.search);return null==e?"":decodeURIComponent(e[1].replace(/\+/g," "))},loadJsAndCss:function(){var t=LoginFormData.Culture,e=LoginFormData.Theme,n="main_"+t.split("-")[0].toLowerCase()+"_"+e.toLowerCase();if(Production){var i=document.createElement("script");i.setAttribute("type","text/javascript"),i.setAttribute("src",n+".js"),document.getElementsByTagName("head")[0].appendChild(i)}var r=document.getElementsByTagName("head")[0],o=document.createElement("link");o.id=n,o.rel="stylesheet",o.type="text/css",o.href=n+".css",o.media="all",r.appendChild(o)},PrepareStartup:function(){window.Is94=!0,AjaxHelper.AjaxRequest("/api/base/ServerStartupData",null,!1,(function(t){window.BBB={},dataText=t.responseText,dataText=dataText.replace(/'/g,'"'),dataText=Common.Util.ReplaceArabicCharchter(dataText),LoginFormData=JSON.parse(dataText),LoginFormData.SsoAutomaticRedirect&&!LoginFormData.IsUserLoggedIn&&(window.location.href=window.origin+"/api/base/SsoLogin"),LoginAction.FixForSso(),document.getElementsByTagName("body")[0].dir=LoginFormData.IsRtl?"rtl":"ltr",fetch("/Localization/Translation/".concat(LoginFormData.Culture,".json")).then((function(t){return t.json()})).then((function(t){window.BBB=t})).then((function(t){$(document).ready((function(){IsPortal||LoginForm.InitMainPage()}))}))}),(function(){alert("error in get server startup data.")}),null)},InitMainPage:function(){this.loadJsAndCss(),this.loadcssfile("/Customization/Usercss.css"),LoginFormData.IsUserLoggedIn?LoginFormData.IsSystemResourcesLoad||LoginForm.SystemResourcesLoaded():this.ResolveLoginTemplate()},RootLogin:"/Customization/Login/SystemThemes/Default/",ResolveLoginResources:function(){$.ajax({async:!1,global:!1,url:LoginForm.RootLogin+LoginFormData.Culture.split("-")[0]+".json",dataType:"json",success:function(t){LoginForm.LoginResources=t}})},ResolveLoginTemplate:function(){$("body").append("<div id=firstpage></div>");var t=LoginForm.RootLogin,e=t+"FirstPagePanel/",n=t+"LoginFormPanel/",i=t+"CalendarPanel/",r=t+"CopyrightPanel/";this.ResolveLoginResources(),this.setBodyBackground(),this.loadCss([e+"style.css",n+"style.css",i+"Style.css",r+"Style.css"]),$("#firstpage").hide(),$("#firstpage").load(e+"FirstPagePanel.html",(function(t,e,o){$(".loginPanel").load(n+"LoginFormPanel.html",(function(t,e,n){LoginForm.replaceLoginResource(".loginPanel","[LoginForm_Title]",LoginForm.LoginResources.LoginFormTitle),LoginForm.replaceLoginResource(".loginPanel","[UserName]",LoginForm.LoginResources.GlobalUserName),LoginForm.replaceLoginResource(".loginPanel","[Password]",LoginForm.LoginResources.GlobalPassword),LoginForm.replaceLoginResource(".loginPanel","[Global_ChooseTheme]",LoginForm.LoginResources.GlobalChooseTheme),LoginForm.replaceLoginResource(".loginPanel","[Global_ChooseCulture]",LoginForm.LoginResources.GlobalChooseCulture),LoginForm.replaceLoginResource(".loginPanel","[LoginForm_ButtonText]",LoginForm.LoginResources.LoginFormButtonText),LoginForm.replaceLoginResource(".loginPanel","[cls_ChooseCulture]",LoginForm.LoginResources.IsMultiCulture?"":"hiddenElement"),LoginForm.replaceLoginResource(".loginPanel","[SystemName]",LoginFormData.SystemName),LoginForm.replaceLoginResource("#LoginMessage","[Global_LoginWaitMessage]",LoginForm.LoginResources.LoginWaitMessage)})),$(".calendarPanel").load(i+"CalendarPanel.html",(function(t,e,n){LoginForm.replaceLoginResource(".calendarPanel","[CurrentYear]",LoginFormData.CurrentYear),LoginForm.replaceLoginResource(".calendarPanel","[DayOfMonth]",LoginFormData.DayOfMonth),LoginForm.replaceLoginResource(".calendarPanel","[CurrentMonth]",LoginFormData.CurrentMonth),LoginForm.replaceLoginResource(".calendarPanel","[DayOfWeek]",LoginFormData.DayOfWeek)})),$(".copyrightPanel").load(r+"CopyrightPanel.html",(function(t,e,n){LoginForm.replaceLoginResource(".copyrightPanel","[Copyright]",LoginForm.LoginResources.Copyright),setTimeout((function(){LoginFormUi.ShowLoginForm(LoginFormData.ShowCaptcha,LoginFormData.Culture,LoginFormData.Theme),LoginFormUi.ShowMessage(LoginFormData.loginMessage),LoginFormUi.ShowExtraMessage(LoginFormData.extraMessage),LoginFormUi.ShowTheme(LoginFormData.EnableLoginTheme),$('#theme option[value="'.concat(LoginFormData.Theme,'"]')).attr("selected",!0)}),300)})),$("#firstpage").show()}))},setBodyBackground:function(t){if(t)$("body").css("background-image","none");else if(LoginForm.LoginResources&&_typeof(LoginForm.LoginResources.Background)==_typeof([])){var e=LoginForm.LoginResources.Background,n=Math.floor(Math.random()*e.length);$("body").css("background-image","url({0}BackgroundImages/{1})".format(LoginForm.RootLogin,e[n]))}},replaceLoginResource:function(t,e,n){var i=$(t).html();i=i.replace(e,n),$(t).html(i)},loadCss:function(t){t.forEach((function(t){LoginForm.loadcssfile(t)}))},loadcssfile:function(t){var e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("type","text/css"),e.setAttribute("href",t),void 0!==e&&document.getElementsByTagName("head")[0].appendChild(e)},ResolveLoginData:function ResolveLoginData(){for(var metas=document.getElementsByTagName("meta"),dataText="",i=0;i<metas.length;i++)if("true"==metas[i].getAttribute("is-init")){dataText=metas[i].getAttribute("init-data");break}0==Ext.isEmpty(dataText)?(dataText="LoginFormData ="+dataText+";",eval(dataText)):this.PrepareStartup()},GetCulture:function(){var t=this.GetUrlParameter("Language");return t||(t=LoginFormData.Culture),t},GetTheme:function(){var t=this.GetUrlParameter("Theme");return t||(t=LoginFormData.Theme),t}},LoginAction={DoLogin:function(){LoginFormUi.DisableForServer(!0);var t=LoginFormUi.GetFormData();Common.LogManager.StartLog2("Application.Login",{$Username:t.un}),LoginAction.SendLogin(t,!1,(function(){LoginForm.SystemResourcesLoaded()}),(function(t){LoginAction.CheckPke(t)||(LoginAction.params=null,LoginAction.ReceiveLoginResult_Error(t))})),Common.LogManager.EndLog()},ShowPassword:function(){var t="input"===$("#password").attr("type");this.ShowPassword0(!t)},ShowPassword0:function(t){var e=t?"input":"password";$("#password").attr("type",e),$("#showpassword").css("background-color",t?"#62bf6685":"transparent")},ValidationFail:function(t){LoginFormUi.ShowMessage(t),LoginFormUi.DisableForServer(!1)},SendLogin:function(t,e,n,i){if(LoginFormUi.HasCaptcha()){var r=LoginFormUi.GetCaptchaValue();if(!r||5!=r.length)return void LoginAction.ValidationFail("کد امنیتی مقدار ندارد یا طول آن اشتباه می باشد!")}if(t.un)if(t.pwd){LoginFormUi.ShowProgress(!0),LoginFormUi.HideLoginForm(),LoginFormData.ClearLoginForm&&LoginFormUi.Clear();var o=JSON.stringify(t);window.CurrentTheme=t.thm,"undefined"!=typeof PkeHelper&&(LoginAction.params=t),LoginForm.refreshAfterLogin=e,LoginForm.setBodyBackground(!0);var a=new Date;AjaxHelper.AjaxRequest("/api/auth/login",o,!0,(function(t){Common.LogManager.AddServerCall("Login",a),LoginFormUi.ShowProgress(!1),LoginAction.ReceiveLoginResult(t,n,i)}),(function(){LoginForm.setBodyBackground(),alert("error in login!"),LoginFormUi.ShowProgress(!1),i&&i()}),null)}else LoginAction.ValidationFail("لطفا رمز عبور را وارد نمایید.");else LoginAction.ValidationFail("لطفا شناسه کاربری را وارد نمایید.")},token2StorageKey:",tT1"+window.location.port,ReceiveLoginResult:function(t,e,n){var i=LoadHelper.LoginParseResponse(t);if(LoginFormUi.DisableForServer(!1),i&&i.succeed){if(LoginAction.params=null,LoginFormData.IsUserLoggedIn=!0,LoginFormUi.Clear(),i.jsonString){var r=Ext.decode(i.jsonString);LoginFormData.Encryption=r.Encryption}if(window.localStorage.setItem(LoginAction.token2StorageKey,i.data.sth),LoginForm.refreshAfterLogin)return void LoadHelper.Reload();e()}else LoginForm.setBodyBackground(),n(i)},ReceiveLoginResult_Error:function(t){LoginFormUi.ShowProgress(!1);var e=t.data;LoginFormUi.ShowLoginForm(!e||e.showCaptcha,LoginForm.GetCulture(),null,e.captchaId);var n=t.error.userMessage;LoginFormUi.ShowMessage(n),LoginFormUi.ShowExtraMessage(LoginFormData.error),e&&e.clearForm&&LoginFormUi.Clear()},FixForSso:function(){if(LoginFormData.Sth)window.localStorage.setItem(LoginAction.token2StorageKey,LoginFormData.Sth);else{var t=window.location.href,e="token2=",n=t.indexOf(e);if(-1!==n){var i=t.substring(0,n);i=(i+"$$").replace("?$$","").replace("$$","");var r=t.substring(n+e.length,t.length);r.indexOf("#")>-1&&(r=r.replace("#","")),window.history.replaceState({},document.title,i),window.localStorage.setItem(LoginAction.token2StorageKey,r)}}},CheckPke:function(t){}}},827:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{var XXTEA=__webpack_require__(20134).XXTEA;AjaxHelper={AjaxRequest:function(t,e,n,i,r,o,a){var s=this.NewHttpRequest();function l(){if(4==s.readyState)if(200==s.status)try{i&&i(s)}catch(t){}else r&&r(s)}if(n&&(s.onreadystatechange=l),s.open(e?"POST":"GET",t,n),o&&Ext.isIE&&(s.timeout=o),a||(a="application/json"),s.setRequestHeader("Content-Type",a),"undefined"!=typeof LoginAction){var u=window.localStorage.getItem(LoginAction.token2StorageKey);s.setRequestHeader("STH",u)}s.setRequestHeader("UseCache",AjaxHelper.UseCache),"undefined"!=typeof IsPortal&&s.setRequestHeader("IsPortal",!0),s.withCredentials=!0;try{s.send(e)}catch(t){}n||l()},NewHttpRequest:function(){var t;return window.XMLHttpRequest?t=new XMLHttpRequest:window.ActiveXObject?t=new ActiveXObject("Microsoft.XMLHTTP"):(alert("error in httprequest!"),t=null),t}},LoadHelper={Reload:function(){Common.LogManager&&Common.LogManager.SaveFreeLogs(),document.location.reload()},CheckLoad:function(t){return"undefined"!=typeof $&&"undefined"!=typeof Ext&&(!t||"undefined"!=typeof Ul&&void 0!==Ul.ApplicationCtrlr)},TryAction:function(t,e,n,i){void 0===n&&(n=1e3),n<=0?alert(i||"Cannot load some files from server!"):(n--,e()?t():setTimeout((function(){LoadHelper.TryAction(t,e,n,i)}),200))},LoginParseResponse:function(t){return LoadHelper.ParseJson(t.responseText)},ParseResponse:function(t){var e=LoadHelper.ParseJson(t.responseText);return e.isEncrypted&&(e=JSON.parse(XXTEA.decryptFromBase64(e.data,"1234567890"))),e},ParseJson:function ParseJson(jsonText){var json=eval("("+jsonText+")");return json}}},20134:function(){!function(t){"use strict";var e,n;void 0===t.btoa&&(t.btoa=(e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),function(t){var n,i,r,o,a,s,l;for(i=r=0,o=t.length,s=(o-=a=o%3)/3<<2,a>0&&(s+=4),n=new Array(s);i<o;)l=t.charCodeAt(i++)<<16|t.charCodeAt(i++)<<8|t.charCodeAt(i++),n[r++]=e[l>>18]+e[l>>12&63]+e[l>>6&63]+e[63&l];return 1==a?(l=t.charCodeAt(i++),n[r++]=e[l>>2]+e[(3&l)<<4]+"=="):2==a&&(l=t.charCodeAt(i++)<<8|t.charCodeAt(i++),n[r++]=e[l>>10]+e[l>>4&63]+e[(15&l)<<2]+"="),n.join("")})),void 0===t.atob&&(t.atob=(n=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],function(t){var e,i,r,o,a,s,l,u,c,h;if((l=t.length)%4!=0)return"";if(/[^ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\+\/\=]/.test(t))return"";for(c=l,(u="="==t.charAt(l-2)?1:"="==t.charAt(l-1)?2:0)>0&&(c-=4),c=3*(c>>2)+u,h=new Array(c),a=s=0;a<l&&-1!=(e=n[t.charCodeAt(a++)])&&-1!=(i=n[t.charCodeAt(a++)])&&(h[s++]=String.fromCharCode(e<<2|(48&i)>>4),-1!=(r=n[t.charCodeAt(a++)]))&&(h[s++]=String.fromCharCode((15&i)<<4|(60&r)>>2),-1!=(o=n[t.charCodeAt(a++)]));)h[s++]=String.fromCharCode((3&r)<<6|o);return h.join("")}));var i=2654435769;function r(t,e){var n=t.length,i=n<<2;if(e){var r=t[n-1];if(r<(i-=4)-3||r>i)return null;i=r}for(var o=0;o<n;o++)t[o]=String.fromCharCode(255&t[o],t[o]>>>8&255,t[o]>>>16&255,t[o]>>>24&255);var a=t.join("");return e?a.substring(0,i):a}function o(t,e){var n,i=t.length,r=i>>2;0!=(3&i)&&++r,e?(n=new Array(r+1))[r]=i:n=new Array(r);for(var o=0;o<i;++o)n[o>>2]|=t.charCodeAt(o)<<((3&o)<<3);return n}function a(t){return 4294967295&t}function s(t,e,n,i,r,o){return(n>>>5^e<<2)+(e>>>3^n<<4)^(t^e)+(o[3&i^r]^n)}function l(t){return t.length<4&&(t.length=4),t}function u(t){if(/^[\x00-\x7f]*$/.test(t))return t;for(var e=[],n=t.length,i=0,r=0;i<n;++i,++r){var o=t.charCodeAt(i);if(o<128)e[r]=t.charAt(i);else if(o<2048)e[r]=String.fromCharCode(192|o>>6,128|63&o);else{if(!(o<55296||o>57343)){if(i+1<n){var a=t.charCodeAt(i+1);if(o<56320&&56320<=a&&a<=57343){var s=65536+((1023&o)<<10|1023&a);e[r]=String.fromCharCode(240|s>>18&63,128|s>>12&63,128|s>>6&63,128|63&s),++i;continue}}throw new Error("Malformed string")}e[r]=String.fromCharCode(224|o>>12,128|o>>6&63,128|63&o)}}return e.join("")}function c(t,e){return(null==e||e<0)&&(e=t.length),0===e?"":/^[\x00-\x7f]*$/.test(t)||!/^[\x00-\xff]*$/.test(t)?e===t.length?t:t.substr(0,e):e<65535?function(t,e){for(var n=new Array(e),i=0,r=0,o=t.length;i<e&&r<o;i++){var a=t.charCodeAt(r++);switch(a>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:n[i]=a;break;case 12:case 13:if(!(r<o))throw new Error("Unfinished UTF-8 octet sequence");n[i]=(31&a)<<6|63&t.charCodeAt(r++);break;case 14:if(!(r+1<o))throw new Error("Unfinished UTF-8 octet sequence");n[i]=(15&a)<<12|(63&t.charCodeAt(r++))<<6|63&t.charCodeAt(r++);break;case 15:if(!(r+2<o))throw new Error("Unfinished UTF-8 octet sequence");var s=((7&a)<<18|(63&t.charCodeAt(r++))<<12|(63&t.charCodeAt(r++))<<6|63&t.charCodeAt(r++))-65536;if(!(0<=s&&s<=1048575))throw new Error("Character outside valid Unicode range: 0x"+s.toString(16));n[i++]=s>>10&1023|55296,n[i]=1023&s|56320;break;default:throw new Error("Bad UTF-8 encoding 0x"+a.toString(16))}}return i<e&&(n.length=i),String.fromCharCode.apply(String,n)}(t,e):function(t,e){for(var n=[],i=new Array(32768),r=0,o=0,a=t.length;r<e&&o<a;r++){var s=t.charCodeAt(o++);switch(s>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:i[r]=s;break;case 12:case 13:if(!(o<a))throw new Error("Unfinished UTF-8 octet sequence");i[r]=(31&s)<<6|63&t.charCodeAt(o++);break;case 14:if(!(o+1<a))throw new Error("Unfinished UTF-8 octet sequence");i[r]=(15&s)<<12|(63&t.charCodeAt(o++))<<6|63&t.charCodeAt(o++);break;case 15:if(!(o+2<a))throw new Error("Unfinished UTF-8 octet sequence");var l=((7&s)<<18|(63&t.charCodeAt(o++))<<12|(63&t.charCodeAt(o++))<<6|63&t.charCodeAt(o++))-65536;if(!(0<=l&&l<=1048575))throw new Error("Character outside valid Unicode range: 0x"+l.toString(16));i[r++]=l>>10&1023|55296,i[r]=1023&l|56320;break;default:throw new Error("Bad UTF-8 encoding 0x"+s.toString(16))}if(r>=32766){var u=r+1;i.length=u,n[n.length]=String.fromCharCode.apply(String,i),e-=u,r=-1}}return r>0&&(i.length=r,n[n.length]=String.fromCharCode.apply(String,i)),n.join("")}(t,e)}function h(t,e){return null==t||0===t.length?t:(t=u(t),e=u(e),r(function(t,e){var n,r,o,l,u,c,h=t.length,d=h-1;for(r=t[d],o=0,c=0|Math.floor(6+52/h);c>0;--c){for(l=(o=a(o+i))>>>2&3,u=0;u<d;++u)n=t[u+1],r=t[u]=a(t[u]+s(o,n,r,u,l,e));n=t[0],r=t[d]=a(t[d]+s(o,n,r,d,l,e))}return t}(o(t,!0),l(o(e,!1))),!1))}function d(t,e){return null==t||0===t.length?t:(e=u(e),c(r(function(t,e){var n,r,o,l,u,c=t.length,h=c-1;for(n=t[0],o=a(Math.floor(6+52/c)*i);0!==o;o=a(o-i)){for(l=o>>>2&3,u=h;u>0;--u)r=t[u-1],n=t[u]=a(t[u]-s(o,n,r,u,l,e));r=t[h],n=t[0]=a(t[0]-s(o,n,r,0,l,e))}return t}(o(t,!1),l(o(e,!1))),!0)))}t.XXTEA={utf8Encode:u,utf8Decode:c,encrypt:h,encryptToBase64:function(e,n){return t.btoa(h(e,n))},decrypt:d,decryptFromBase64:function(e,n){return null==e||0===e.length?e:d(t.atob(e),n)}}}(this||[eval][0]("this"))},20318:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Lobibox:()=>r}),Math.randomString=function(t){for(var e="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=0;i<t;i++)e+=n.charAt(Math.floor(Math.random()*n.length));return e};var i,r=r||{};i=function(t,e){this.$type=null,this.$options=null,this.$el=null;var n=this,i=function(t){t.closest(".lb-notify-tabs").find(">li").removeClass("active"),t.addClass("active");var e=$(t.find(">a").attr("href"));e.closest(".lb-notify-wrapper").find(">.lb-tab-pane").removeClass("active"),e.addClass("active")};this.remove=function(){n.$el.removeClass(n.$options.showClass).addClass(n.$options.hideClass);var t=n.$el.parent(),e=t.closest(".lobibox-notify-wrapper-large"),o="#"+t.attr("id"),a=e.find('>.lb-notify-tabs>li:has(a[href="'+o+'"])');return a.addClass(r.notify.OPTIONS.class).addClass(n.$options.hideClass),setTimeout((function(){if("normal"===n.$options.size||"mini"===n.$options.size)n.$el.remove();else if("large"===n.$options.size){var e=function(t){var e=t.prev();return 0===e.length&&(e=t.next()),0===e.length?null:e}(a);e&&i(e),a.remove(),t.remove()}var o=r.notify.list,s=o.indexOf(n);o.splice(s,1);var l=o[s];l&&l.$options.showAfterPrevious&&l._init()}),500),n},n._init=function(){var t=function(){var t,e,i,o,a,s,l,u=r.notify.OPTIONS,c=$("<div></div>",{class:"lobibox-notify "+u[n.$type].class+" "+u.class+" "+n.$options.showClass});return i=$('<div class="lobibox-notify-icon-wrapper"></div>').appendTo(c),t=$('<div class="lobibox-notify-icon"></div>').appendTo(i),e=$("<div></div>").appendTo(t),n.$options.img?e.append('<img src="'+n.$options.img+'"/>'):n.$options.icon?e.append('<div class="icon-el"><i class="'+n.$options.icon+'"></i></div>'):c.addClass("without-icon"),a=$('<div class="lobibox-notify-msg">'+n.$options.msg+"</div>"),!1!==n.$options.messageHeight&&a.css("max-height",n.$options.messageHeight),o=$("<div></div>",{class:"lobibox-notify-body"}).append(a).appendTo(c),n.$options.title&&o.prepend('<div class="lobibox-notify-title">'+n.$options.title+"<div>"),l=c,n.$options.closable&&$('<span class="lobibox-close">&times;</span>').click((function(){n.remove()})).appendTo(l),"normal"!==n.$options.size&&"mini"!==n.$options.size||(function(t){n.$options.closeOnClick&&t.click((function(){n.remove()}))}(c),function(t){if(n.$options.delay){if(n.$options.delayIndicator){var e=$('<div class="lobibox-delay-indicator"><div></div></div>');t.append(e)}var i=0,r=1e3/30,o=(new Date).getTime(),a=setInterval((function(){n.$options.continueDelayOnInactiveTab?i=(new Date).getTime()-o:i+=r;var t=100*i/n.$options.delay;t>=100&&(t=100,n.remove(),a=clearInterval(a)),n.$options.delayIndicator&&e.find("div").css("width",t+"%")}),r);n.$options.pauseDelayOnHover&&t.on("mouseenter.lobibox",(function(){r=0})).on("mouseleave.lobibox",(function(){r=1e3/30}))}}(c)),n.$options.width&&c.css("width",(s=n.$options.width,Math.min($(window).outerWidth(),s))),c}();if("mini"===n.$options.size&&t.addClass("notify-mini"),"string"==typeof n.$options.position){var e=function(){var t,e=("large"===n.$options.size?".lobibox-notify-wrapper-large":".lobibox-notify-wrapper")+"."+n.$options.position.replace(/\s/gi,".");return 0===(t=$(e)).length&&(t=$("<div></div>").addClass(e.replace(/\./g," ").trim()).appendTo($("body")),"large"===n.$options.size&&t.append($('<ul class="lb-notify-tabs"></ul>')).append($('<div class="lb-notify-wrapper"></div>'))),t}();!function(t,e){if("normal"===n.$options.size)e.hasClass("bottom")?e.prepend(t):e.append(t);else if("mini"===n.$options.size)e.hasClass("bottom")?e.prepend(t):e.append(t);else if("large"===n.$options.size){var o=$("<div></div>",{class:"lb-tab-pane",id:Math.randomString(10)}).append(t),a=function(t){var e=$("<li></li>",{class:r.notify.OPTIONS[n.$type].class});return $("<a></a>",{href:"#"+t}).append('<i class="tab-control-icon '+n.$options.icon+'"></i>').appendTo(e),e}(o.attr("id"));e.find(".lb-notify-wrapper").append(o),e.find(".lb-notify-tabs").append(a),i(a),a.find(">a").click((function(){i(a)}))}}(t,e),e.hasClass("center")&&e.css("margin-left","-"+e.width()/2+"px")}else $("body").append(t),t.css({position:"fixed",left:n.$options.position.left,top:n.$options.position.top});n.$el=t,n.$options.sound&&new Audio(n.$options.sound).play(),n.$options.rounded&&n.$el.addClass("rounded"),n.$el.on("click.lobibox",(function(t){n.$options.onClickUrl&&(window.location.href=n.$options.onClickUrl),n.$options.onClick&&"function"==typeof n.$options.onClick&&n.$options.onClick.call(n,t)})),n.$el.data("lobibox",n)},this.$type=t,this.$options=function(t){return"mini"!==t.size&&"large"!==t.size||(t=$.extend({},r.notify.OPTIONS[t.size],t)),"mini"!==(t=$.extend({},r.notify.OPTIONS[n.$type],r.notify.DEFAULTS,t)).size&&!0===t.title?t.title=r.notify.OPTIONS[n.$type].title:"mini"===t.size&&!0===t.title&&(t.title=!1),!0===t.icon&&(t.icon=r.notify.OPTIONS.icons[t.iconSource][n.$type]),!0===t.sound&&(t.sound=r.notify.OPTIONS[n.$type].sound),t.sound&&(t.sound=t.soundPath+t.sound+t.soundExt),t}(e),n.$options.showAfterPrevious&&0!==r.notify.list.length||this._init()},r.notify=function(t,e){if(["default","info","warning","error","success"].indexOf(t)>-1){var n=new i(t,e);return r.notify.list.push(n),n}},r.notify.list=[],r.notify.closeAll=function(){var t=r.notify.list;for(var e in t)t[e].remove()},r.notify.DEFAULTS={title:!0,size:"normal",soundPath:"sounds/",soundExt:".ogg",showClass:"fadeInDown",hideClass:"zoomOut",icon:!0,msg:"",img:null,closable:!0,hideCloseButton:!1,delay:5e3,delayIndicator:!0,closeOnClick:!0,width:400,sound:!0,position:"bottom right",iconSource:"bootstrap",rounded:!1,messageHeight:60,pauseDelayOnHover:!0,onClickUrl:null,showAfterPrevious:!1,continueDelayOnInactiveTab:!0,onClick:null},r.notify.OPTIONS={class:"animated-fast",large:{width:500,messageHeight:96},mini:{class:"notify-mini",messageHeight:32},default:{class:"lobibox-notify-default",title:"Default",sound:!1},success:{class:"lobibox-notify-success",title:"Success",sound:"sound2"},error:{class:"lobibox-notify-error",title:"Error",sound:"sound4"},warning:{class:"lobibox-notify-warning",title:"Warning",sound:"sound5"},info:{class:"lobibox-notify-info",title:"Information",sound:"sound6"},icons:{bootstrap:{success:"glyphicon glyphicon-ok-sign",error:"glyphicon glyphicon-remove-sign",warning:"glyphicon glyphicon-exclamation-sign",info:"glyphicon glyphicon-info-sign"},fontAwesome:{success:"fa fa-check-circle",error:"fa fa-times-circle",warning:"fa fa-exclamation-circle",info:"fa fa-info-circle"}}}},185:(t,e,n)=>{var i=n(12936),r=n(94453);void 0===r.BigNumber&&(r.BigNumber=i),t.exports=i},83002:(t,e,n)=>{var i=n(69275),r=n(94453);void 0===r.$&&(r.$=i),void 0===r.jQuery&&(r.jQuery=i),t.exports=i}},__webpack_module_cache__={};function __webpack_require__(t){if(__webpack_module_cache__[t])return __webpack_module_cache__[t].exports;var e=__webpack_module_cache__[t]={id:t,loaded:!1,exports:{}};return __webpack_modules__[t].call(e.exports,e,e.exports,__webpack_require__),e.loaded=!0,e.exports}__webpack_require__.d=(t,e)=>{for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},__webpack_require__.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var __webpack_exports__={};__webpack_require__(43272),__webpack_require__(82753),__webpack_require__(83459),__webpack_require__(78637),__webpack_require__(3682),__webpack_require__(32437),__webpack_require__(76992);var __webpack_export_target__=window;for(var i in __webpack_exports__)__webpack_export_target__[i]=__webpack_exports__[i];__webpack_exports__.__esModule&&Object.defineProperty(__webpack_export_target__,"__esModule",{value:!0})})();
2
+ (()=>{var e={12936:(e,t,r)=>{"use strict";var n;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(i){var a,s=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,u=Math.ceil,c=Math.floor,l="[BigNumber Error] ",f=l+"Number primitive has more than 15 significant digits: ",d=1e14,p=14,h=9007199254740991,v=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],y=1e7,g=1e9;function m(e){var t=0|e;return e>0||e===t?t:t-1}function w(e){for(var t,r,n=1,o=e.length,i=e[0]+"";n<o;){for(t=e[n++]+"",r=p-t.length;r--;t="0"+t);i+=t}for(o=i.length;48===i.charCodeAt(--o););return i.slice(0,o+1||1)}function O(e,t){var r,n,o=e.c,i=t.c,a=e.s,s=t.s,u=e.e,c=t.e;if(!a||!s)return null;if(r=o&&!o[0],n=i&&!i[0],r||n)return r?n?0:-s:a;if(a!=s)return a;if(r=a<0,n=u==c,!o||!i)return n?0:!o^r?1:-1;if(!n)return u>c^r?1:-1;for(s=(u=o.length)<(c=i.length)?u:c,a=0;a<s;a++)if(o[a]!=i[a])return o[a]>i[a]^r?1:-1;return u==c?0:u>c^r?1:-1}function x(e,t,r,n){if(e<t||e>r||e!==c(e))throw Error(l+(n||"Argument")+("number"==typeof e?e<t||e>r?" out of range: ":" not an integer: ":" not a primitive number: ")+String(e))}function E(e){var t=e.c.length-1;return m(e.e/p)==t&&e.c[t]%2!=0}function b(e,t){return(e.length>1?e.charAt(0)+"."+e.slice(1):e)+(t<0?"e":"e+")+t}function N(e,t,r){var n,o;if(t<0){for(o=r+".";++t;o+=r);e=o+e}else if(++t>(n=e.length)){for(o=r,t-=n;--t;o+=r);e+=o}else t<n&&(e=e.slice(0,t)+"."+e.slice(t));return e}(a=function e(t){var r,n,i,a,U,T,D,C,_,S,A=W.prototype={constructor:W,toString:null,valueOf:null},M=new W(1),F=20,j=4,k=-7,L=21,R=-1e7,I=1e7,P=!1,B=1,q=0,G={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},H="0123456789abcdefghijklmnopqrstuvwxyz";function W(e,t){var r,o,a,u,l,d,v,y,g=this;if(!(g instanceof W))return new W(e,t);if(null==t){if(e&&!0===e._isBigNumber)return g.s=e.s,void(!e.c||e.e>I?g.c=g.e=null:e.e<R?g.c=[g.e=0]:(g.e=e.e,g.c=e.c.slice()));if((d="number"==typeof e)&&0*e==0){if(g.s=1/e<0?(e=-e,-1):1,e===~~e){for(u=0,l=e;l>=10;l/=10,u++);return void(u>I?g.c=g.e=null:(g.e=u,g.c=[e]))}y=String(e)}else{if(!s.test(y=String(e)))return i(g,y,d);g.s=45==y.charCodeAt(0)?(y=y.slice(1),-1):1}(u=y.indexOf("."))>-1&&(y=y.replace(".","")),(l=y.search(/e/i))>0?(u<0&&(u=l),u+=+y.slice(l+1),y=y.substring(0,l)):u<0&&(u=y.length)}else{if(x(t,2,H.length,"Base"),10==t)return Y(g=new W(e),F+g.e+1,j);if(y=String(e),d="number"==typeof e){if(0*e!=0)return i(g,y,d,t);if(g.s=1/e<0?(y=y.slice(1),-1):1,W.DEBUG&&y.replace(/^0\.0*|\./,"").length>15)throw Error(f+e)}else g.s=45===y.charCodeAt(0)?(y=y.slice(1),-1):1;for(r=H.slice(0,t),u=l=0,v=y.length;l<v;l++)if(r.indexOf(o=y.charAt(l))<0){if("."==o){if(l>u){u=v;continue}}else if(!a&&(y==y.toUpperCase()&&(y=y.toLowerCase())||y==y.toLowerCase()&&(y=y.toUpperCase()))){a=!0,l=-1,u=0;continue}return i(g,String(e),d,t)}d=!1,(u=(y=n(y,t,10,g.s)).indexOf("."))>-1?y=y.replace(".",""):u=y.length}for(l=0;48===y.charCodeAt(l);l++);for(v=y.length;48===y.charCodeAt(--v););if(y=y.slice(l,++v)){if(v-=l,d&&W.DEBUG&&v>15&&(e>h||e!==c(e)))throw Error(f+g.s*e);if((u=u-l-1)>I)g.c=g.e=null;else if(u<R)g.c=[g.e=0];else{if(g.e=u,g.c=[],l=(u+1)%p,u<0&&(l+=p),l<v){for(l&&g.c.push(+y.slice(0,l)),v-=p;l<v;)g.c.push(+y.slice(l,l+=p));l=p-(y=y.slice(l)).length}else l-=v;for(;l--;y+="0");g.c.push(+y)}}else g.c=[g.e=0]}function V(e,t,r,n){var o,i,a,s,u;if(null==r?r=j:x(r,0,8),!e.c)return e.toString();if(o=e.c[0],a=e.e,null==t)u=w(e.c),u=1==n||2==n&&(a<=k||a>=L)?b(u,a):N(u,a,"0");else if(i=(e=Y(new W(e),t,r)).e,s=(u=w(e.c)).length,1==n||2==n&&(t<=i||i<=k)){for(;s<t;u+="0",s++);u=b(u,i)}else if(t-=a,u=N(u,i,"0"),i+1>s){if(--t>0)for(u+=".";t--;u+="0");}else if((t+=i-s)>0)for(i+1==s&&(u+=".");t--;u+="0");return e.s<0&&o?"-"+u:u}function $(e,t){for(var r,n=1,o=new W(e[0]);n<e.length;n++){if(!(r=new W(e[n])).s){o=r;break}t.call(o,r)&&(o=r)}return o}function z(e,t,r){for(var n=1,o=t.length;!t[--o];t.pop());for(o=t[0];o>=10;o/=10,n++);return(r=n+r*p-1)>I?e.c=e.e=null:r<R?e.c=[e.e=0]:(e.e=r,e.c=t),e}function Y(e,t,r,n){var o,i,a,s,l,f,h,y=e.c,g=v;if(y){e:{for(o=1,s=y[0];s>=10;s/=10,o++);if((i=t-o)<0)i+=p,a=t,h=(l=y[f=0])/g[o-a-1]%10|0;else if((f=u((i+1)/p))>=y.length){if(!n)break e;for(;y.length<=f;y.push(0));l=h=0,o=1,a=(i%=p)-p+1}else{for(l=s=y[f],o=1;s>=10;s/=10,o++);h=(a=(i%=p)-p+o)<0?0:l/g[o-a-1]%10|0}if(n=n||t<0||null!=y[f+1]||(a<0?l:l%g[o-a-1]),n=r<4?(h||n)&&(0==r||r==(e.s<0?3:2)):h>5||5==h&&(4==r||n||6==r&&(i>0?a>0?l/g[o-a]:0:y[f-1])%10&1||r==(e.s<0?8:7)),t<1||!y[0])return y.length=0,n?(t-=e.e+1,y[0]=g[(p-t%p)%p],e.e=-t||0):y[0]=e.e=0,e;if(0==i?(y.length=f,s=1,f--):(y.length=f+1,s=g[p-i],y[f]=a>0?c(l/g[o-a]%g[a])*s:0),n)for(;;){if(0==f){for(i=1,a=y[0];a>=10;a/=10,i++);for(a=y[0]+=s,s=1;a>=10;a/=10,s++);i!=s&&(e.e++,y[0]==d&&(y[0]=1));break}if(y[f]+=s,y[f]!=d)break;y[f--]=0,s=1}for(i=y.length;0===y[--i];y.pop());}e.e>I?e.c=e.e=null:e.e<R&&(e.c=[e.e=0])}return e}function X(e){var t,r=e.e;return null===r?e.toString():(t=w(e.c),t=r<=k||r>=L?b(t,r):N(t,r,"0"),e.s<0?"-"+t:t)}return W.clone=e,W.ROUND_UP=0,W.ROUND_DOWN=1,W.ROUND_CEIL=2,W.ROUND_FLOOR=3,W.ROUND_HALF_UP=4,W.ROUND_HALF_DOWN=5,W.ROUND_HALF_EVEN=6,W.ROUND_HALF_CEIL=7,W.ROUND_HALF_FLOOR=8,W.EUCLID=9,W.config=W.set=function(e){var t,r;if(null!=e){if("object"!=o(e))throw Error(l+"Object expected: "+e);if(e.hasOwnProperty(t="DECIMAL_PLACES")&&(x(r=e[t],0,g,t),F=r),e.hasOwnProperty(t="ROUNDING_MODE")&&(x(r=e[t],0,8,t),j=r),e.hasOwnProperty(t="EXPONENTIAL_AT")&&((r=e[t])&&r.pop?(x(r[0],-g,0,t),x(r[1],0,g,t),k=r[0],L=r[1]):(x(r,-g,g,t),k=-(L=r<0?-r:r))),e.hasOwnProperty(t="RANGE"))if((r=e[t])&&r.pop)x(r[0],-g,-1,t),x(r[1],1,g,t),R=r[0],I=r[1];else{if(x(r,-g,g,t),!r)throw Error(l+t+" cannot be zero: "+r);R=-(I=r<0?-r:r)}if(e.hasOwnProperty(t="CRYPTO")){if((r=e[t])!==!!r)throw Error(l+t+" not true or false: "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw P=!r,Error(l+"crypto unavailable");P=r}else P=r}if(e.hasOwnProperty(t="MODULO_MODE")&&(x(r=e[t],0,9,t),B=r),e.hasOwnProperty(t="POW_PRECISION")&&(x(r=e[t],0,g,t),q=r),e.hasOwnProperty(t="FORMAT")){if("object"!=o(r=e[t]))throw Error(l+t+" not an object: "+r);G=r}if(e.hasOwnProperty(t="ALPHABET")){if("string"!=typeof(r=e[t])||/^.?$|[+\-.\s]|(.).*\1/.test(r))throw Error(l+t+" invalid: "+r);H=r}}return{DECIMAL_PLACES:F,ROUNDING_MODE:j,EXPONENTIAL_AT:[k,L],RANGE:[R,I],CRYPTO:P,MODULO_MODE:B,POW_PRECISION:q,FORMAT:G,ALPHABET:H}},W.isBigNumber=function(e){if(!e||!0!==e._isBigNumber)return!1;if(!W.DEBUG)return!0;var t,r,n=e.c,o=e.e,i=e.s;e:if("[object Array]"=={}.toString.call(n)){if((1===i||-1===i)&&o>=-g&&o<=g&&o===c(o)){if(0===n[0]){if(0===o&&1===n.length)return!0;break e}if((t=(o+1)%p)<1&&(t+=p),String(n[0]).length==t){for(t=0;t<n.length;t++)if((r=n[t])<0||r>=d||r!==c(r))break e;if(0!==r)return!0}}}else if(null===n&&null===o&&(null===i||1===i||-1===i))return!0;throw Error(l+"Invalid BigNumber: "+e)},W.maximum=W.max=function(){return $(arguments,A.lt)},W.minimum=W.min=function(){return $(arguments,A.gt)},W.random=(a=9007199254740992,U=Math.random()*a&2097151?function(){return c(Math.random()*a)}:function(){return 8388608*(1073741824*Math.random()|0)+(8388608*Math.random()|0)},function(e){var t,r,n,o,i,a=0,s=[],f=new W(M);if(null==e?e=F:x(e,0,g),o=u(e/p),P)if(crypto.getRandomValues){for(t=crypto.getRandomValues(new Uint32Array(o*=2));a<o;)(i=131072*t[a]+(t[a+1]>>>11))>=9e15?(r=crypto.getRandomValues(new Uint32Array(2)),t[a]=r[0],t[a+1]=r[1]):(s.push(i%1e14),a+=2);a=o/2}else{if(!crypto.randomBytes)throw P=!1,Error(l+"crypto unavailable");for(t=crypto.randomBytes(o*=7);a<o;)(i=281474976710656*(31&t[a])+1099511627776*t[a+1]+4294967296*t[a+2]+16777216*t[a+3]+(t[a+4]<<16)+(t[a+5]<<8)+t[a+6])>=9e15?crypto.randomBytes(7).copy(t,a):(s.push(i%1e14),a+=7);a=o/7}if(!P)for(;a<o;)(i=U())<9e15&&(s[a++]=i%1e14);for(o=s[--a],e%=p,o&&e&&(i=v[p-e],s[a]=c(o/i)*i);0===s[a];s.pop(),a--);if(a<0)s=[n=0];else{for(n=-1;0===s[0];s.splice(0,1),n-=p);for(a=1,i=s[0];i>=10;i/=10,a++);a<p&&(n-=p-a)}return f.e=n,f.c=s,f}),W.sum=function(){for(var e=1,t=arguments,r=new W(t[0]);e<t.length;)r=r.plus(t[e++]);return r},n=function(){var e="0123456789";function t(e,t,r,n){for(var o,i,a=[0],s=0,u=e.length;s<u;){for(i=a.length;i--;a[i]*=t);for(a[0]+=n.indexOf(e.charAt(s++)),o=0;o<a.length;o++)a[o]>r-1&&(null==a[o+1]&&(a[o+1]=0),a[o+1]+=a[o]/r|0,a[o]%=r)}return a.reverse()}return function(n,o,i,a,s){var u,c,l,f,d,p,h,v,y=n.indexOf("."),g=F,m=j;for(y>=0&&(f=q,q=0,n=n.replace(".",""),p=(v=new W(o)).pow(n.length-y),q=f,v.c=t(N(w(p.c),p.e,"0"),10,i,e),v.e=v.c.length),l=f=(h=t(n,o,i,s?(u=H,e):(u=e,H))).length;0==h[--f];h.pop());if(!h[0])return u.charAt(0);if(y<0?--l:(p.c=h,p.e=l,p.s=a,h=(p=r(p,v,g,m,i)).c,d=p.r,l=p.e),y=h[c=l+g+1],f=i/2,d=d||c<0||null!=h[c+1],d=m<4?(null!=y||d)&&(0==m||m==(p.s<0?3:2)):y>f||y==f&&(4==m||d||6==m&&1&h[c-1]||m==(p.s<0?8:7)),c<1||!h[0])n=d?N(u.charAt(1),-g,u.charAt(0)):u.charAt(0);else{if(h.length=c,d)for(--i;++h[--c]>i;)h[c]=0,c||(++l,h=[1].concat(h));for(f=h.length;!h[--f];);for(y=0,n="";y<=f;n+=u.charAt(h[y++]));n=N(n,l,u.charAt(0))}return n}}(),r=function(){function e(e,t,r){var n,o,i,a,s=0,u=e.length,c=t%y,l=t/y|0;for(e=e.slice();u--;)s=((o=c*(i=e[u]%y)+(n=l*i+(a=e[u]/y|0)*c)%y*y+s)/r|0)+(n/y|0)+l*a,e[u]=o%r;return s&&(e=[s].concat(e)),e}function t(e,t,r,n){var o,i;if(r!=n)i=r>n?1:-1;else for(o=i=0;o<r;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function r(e,t,r,n){for(var o=0;r--;)e[r]-=o,o=e[r]<t[r]?1:0,e[r]=o*n+e[r]-t[r];for(;!e[0]&&e.length>1;e.splice(0,1));}return function(n,o,i,a,s){var u,l,f,h,v,y,g,w,O,x,E,b,N,U,T,D,C,_=n.s==o.s?1:-1,S=n.c,A=o.c;if(!(S&&S[0]&&A&&A[0]))return new W(n.s&&o.s&&(S?!A||S[0]!=A[0]:A)?S&&0==S[0]||!A?0*_:_/0:NaN);for(O=(w=new W(_)).c=[],_=i+(l=n.e-o.e)+1,s||(s=d,l=m(n.e/p)-m(o.e/p),_=_/p|0),f=0;A[f]==(S[f]||0);f++);if(A[f]>(S[f]||0)&&l--,_<0)O.push(1),h=!0;else{for(U=S.length,D=A.length,f=0,_+=2,(v=c(s/(A[0]+1)))>1&&(A=e(A,v,s),S=e(S,v,s),D=A.length,U=S.length),N=D,E=(x=S.slice(0,D)).length;E<D;x[E++]=0);C=A.slice(),C=[0].concat(C),T=A[0],A[1]>=s/2&&T++;do{if(v=0,(u=t(A,x,D,E))<0){if(b=x[0],D!=E&&(b=b*s+(x[1]||0)),(v=c(b/T))>1)for(v>=s&&(v=s-1),g=(y=e(A,v,s)).length,E=x.length;1==t(y,x,g,E);)v--,r(y,D<g?C:A,g,s),g=y.length,u=1;else 0==v&&(u=v=1),g=(y=A.slice()).length;if(g<E&&(y=[0].concat(y)),r(x,y,E,s),E=x.length,-1==u)for(;t(A,x,D,E)<1;)v++,r(x,D<E?C:A,E,s),E=x.length}else 0===u&&(v++,x=[0]);O[f++]=v,x[0]?x[E++]=S[N]||0:(x=[S[N]],E=1)}while((N++<U||null!=x[0])&&_--);h=null!=x[0],O[0]||O.splice(0,1)}if(s==d){for(f=1,_=O[0];_>=10;_/=10,f++);Y(w,i+(w.e=f+l*p-1)+1,a,h)}else w.e=l,w.r=+h;return w}}(),T=/^(-?)0([xbo])(?=\w[\w.]*$)/i,D=/^([^.]+)\.$/,C=/^\.([^.]+)$/,_=/^-?(Infinity|NaN)$/,S=/^\s*\+(?=[\w.])|^\s+|\s+$/g,i=function(e,t,r,n){var o,i=r?t:t.replace(S,"");if(_.test(i))e.s=isNaN(i)?null:i<0?-1:1;else{if(!r&&(i=i.replace(T,(function(e,t,r){return o="x"==(r=r.toLowerCase())?16:"b"==r?2:8,n&&n!=o?e:t})),n&&(o=n,i=i.replace(D,"$1").replace(C,"0.$1")),t!=i))return new W(i,o);if(W.DEBUG)throw Error(l+"Not a"+(n?" base "+n:"")+" number: "+t);e.s=null}e.c=e.e=null},A.absoluteValue=A.abs=function(){var e=new W(this);return e.s<0&&(e.s=1),e},A.comparedTo=function(e,t){return O(this,new W(e,t))},A.decimalPlaces=A.dp=function(e,t){var r,n,o,i=this;if(null!=e)return x(e,0,g),null==t?t=j:x(t,0,8),Y(new W(i),e+i.e+1,t);if(!(r=i.c))return null;if(n=((o=r.length-1)-m(this.e/p))*p,o=r[o])for(;o%10==0;o/=10,n--);return n<0&&(n=0),n},A.dividedBy=A.div=function(e,t){return r(this,new W(e,t),F,j)},A.dividedToIntegerBy=A.idiv=function(e,t){return r(this,new W(e,t),0,1)},A.exponentiatedBy=A.pow=function(e,t){var r,n,o,i,a,s,f,d,h=this;if((e=new W(e)).c&&!e.isInteger())throw Error(l+"Exponent not an integer: "+X(e));if(null!=t&&(t=new W(t)),a=e.e>14,!h.c||!h.c[0]||1==h.c[0]&&!h.e&&1==h.c.length||!e.c||!e.c[0])return d=new W(Math.pow(+X(h),a?2-E(e):+X(e))),t?d.mod(t):d;if(s=e.s<0,t){if(t.c?!t.c[0]:!t.s)return new W(NaN);(n=!s&&h.isInteger()&&t.isInteger())&&(h=h.mod(t))}else{if(e.e>9&&(h.e>0||h.e<-1||(0==h.e?h.c[0]>1||a&&h.c[1]>=24e7:h.c[0]<8e13||a&&h.c[0]<=9999975e7)))return i=h.s<0&&E(e)?-0:0,h.e>-1&&(i=1/i),new W(s?1/i:i);q&&(i=u(q/p+2))}for(a?(r=new W(.5),s&&(e.s=1),f=E(e)):f=(o=Math.abs(+X(e)))%2,d=new W(M);;){if(f){if(!(d=d.times(h)).c)break;i?d.c.length>i&&(d.c.length=i):n&&(d=d.mod(t))}if(o){if(0===(o=c(o/2)))break;f=o%2}else if(Y(e=e.times(r),e.e+1,1),e.e>14)f=E(e);else{if(0==(o=+X(e)))break;f=o%2}h=h.times(h),i?h.c&&h.c.length>i&&(h.c.length=i):n&&(h=h.mod(t))}return n?d:(s&&(d=M.div(d)),t?d.mod(t):i?Y(d,q,j,void 0):d)},A.integerValue=function(e){var t=new W(this);return null==e?e=j:x(e,0,8),Y(t,t.e+1,e)},A.isEqualTo=A.eq=function(e,t){return 0===O(this,new W(e,t))},A.isFinite=function(){return!!this.c},A.isGreaterThan=A.gt=function(e,t){return O(this,new W(e,t))>0},A.isGreaterThanOrEqualTo=A.gte=function(e,t){return 1===(t=O(this,new W(e,t)))||0===t},A.isInteger=function(){return!!this.c&&m(this.e/p)>this.c.length-2},A.isLessThan=A.lt=function(e,t){return O(this,new W(e,t))<0},A.isLessThanOrEqualTo=A.lte=function(e,t){return-1===(t=O(this,new W(e,t)))||0===t},A.isNaN=function(){return!this.s},A.isNegative=function(){return this.s<0},A.isPositive=function(){return this.s>0},A.isZero=function(){return!!this.c&&0==this.c[0]},A.minus=function(e,t){var r,n,o,i,a=this,s=a.s;if(t=(e=new W(e,t)).s,!s||!t)return new W(NaN);if(s!=t)return e.s=-t,a.plus(e);var u=a.e/p,c=e.e/p,l=a.c,f=e.c;if(!u||!c){if(!l||!f)return l?(e.s=-t,e):new W(f?a:NaN);if(!l[0]||!f[0])return f[0]?(e.s=-t,e):new W(l[0]?a:3==j?-0:0)}if(u=m(u),c=m(c),l=l.slice(),s=u-c){for((i=s<0)?(s=-s,o=l):(c=u,o=f),o.reverse(),t=s;t--;o.push(0));o.reverse()}else for(n=(i=(s=l.length)<(t=f.length))?s:t,s=t=0;t<n;t++)if(l[t]!=f[t]){i=l[t]<f[t];break}if(i&&(o=l,l=f,f=o,e.s=-e.s),(t=(n=f.length)-(r=l.length))>0)for(;t--;l[r++]=0);for(t=d-1;n>s;){if(l[--n]<f[n]){for(r=n;r&&!l[--r];l[r]=t);--l[r],l[n]+=d}l[n]-=f[n]}for(;0==l[0];l.splice(0,1),--c);return l[0]?z(e,l,c):(e.s=3==j?-1:1,e.c=[e.e=0],e)},A.modulo=A.mod=function(e,t){var n,o,i=this;return e=new W(e,t),!i.c||!e.s||e.c&&!e.c[0]?new W(NaN):!e.c||i.c&&!i.c[0]?new W(i):(9==B?(o=e.s,e.s=1,n=r(i,e,0,3),e.s=o,n.s*=o):n=r(i,e,0,B),(e=i.minus(n.times(e))).c[0]||1!=B||(e.s=i.s),e)},A.multipliedBy=A.times=function(e,t){var r,n,o,i,a,s,u,c,l,f,h,v,g,w,O,x=this,E=x.c,b=(e=new W(e,t)).c;if(!(E&&b&&E[0]&&b[0]))return!x.s||!e.s||E&&!E[0]&&!b||b&&!b[0]&&!E?e.c=e.e=e.s=null:(e.s*=x.s,E&&b?(e.c=[0],e.e=0):e.c=e.e=null),e;for(n=m(x.e/p)+m(e.e/p),e.s*=x.s,(u=E.length)<(f=b.length)&&(g=E,E=b,b=g,o=u,u=f,f=o),o=u+f,g=[];o--;g.push(0));for(w=d,O=y,o=f;--o>=0;){for(r=0,h=b[o]%O,v=b[o]/O|0,i=o+(a=u);i>o;)r=((c=h*(c=E[--a]%O)+(s=v*c+(l=E[a]/O|0)*h)%O*O+g[i]+r)/w|0)+(s/O|0)+v*l,g[i--]=c%w;g[i]=r}return r?++n:g.splice(0,1),z(e,g,n)},A.negated=function(){var e=new W(this);return e.s=-e.s||null,e},A.plus=function(e,t){var r,n=this,o=n.s;if(t=(e=new W(e,t)).s,!o||!t)return new W(NaN);if(o!=t)return e.s=-t,n.minus(e);var i=n.e/p,a=e.e/p,s=n.c,u=e.c;if(!i||!a){if(!s||!u)return new W(o/0);if(!s[0]||!u[0])return u[0]?e:new W(s[0]?n:0*o)}if(i=m(i),a=m(a),s=s.slice(),o=i-a){for(o>0?(a=i,r=u):(o=-o,r=s),r.reverse();o--;r.push(0));r.reverse()}for((o=s.length)-(t=u.length)<0&&(r=u,u=s,s=r,t=o),o=0;t;)o=(s[--t]=s[t]+u[t]+o)/d|0,s[t]=d===s[t]?0:s[t]%d;return o&&(s=[o].concat(s),++a),z(e,s,a)},A.precision=A.sd=function(e,t){var r,n,o,i=this;if(null!=e&&e!==!!e)return x(e,1,g),null==t?t=j:x(t,0,8),Y(new W(i),e,t);if(!(r=i.c))return null;if(n=(o=r.length-1)*p+1,o=r[o]){for(;o%10==0;o/=10,n--);for(o=r[0];o>=10;o/=10,n++);}return e&&i.e+1>n&&(n=i.e+1),n},A.shiftedBy=function(e){return x(e,-9007199254740991,h),this.times("1e"+e)},A.squareRoot=A.sqrt=function(){var e,t,n,o,i,a=this,s=a.c,u=a.s,c=a.e,l=F+4,f=new W("0.5");if(1!==u||!s||!s[0])return new W(!u||u<0&&(!s||s[0])?NaN:s?a:1/0);if(0==(u=Math.sqrt(+X(a)))||u==1/0?(((t=w(s)).length+c)%2==0&&(t+="0"),u=Math.sqrt(+t),c=m((c+1)/2)-(c<0||c%2),n=new W(t=u==1/0?"5e"+c:(t=u.toExponential()).slice(0,t.indexOf("e")+1)+c)):n=new W(u+""),n.c[0])for((u=(c=n.e)+l)<3&&(u=0);;)if(i=n,n=f.times(i.plus(r(a,i,l,1))),w(i.c).slice(0,u)===(t=w(n.c)).slice(0,u)){if(n.e<c&&--u,"9999"!=(t=t.slice(u-3,u+1))&&(o||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(Y(n,n.e+F+2,1),e=!n.times(n).eq(a));break}if(!o&&(Y(i,i.e+F+2,0),i.times(i).eq(a))){n=i;break}l+=4,u+=4,o=1}return Y(n,n.e+F+1,j,e)},A.toExponential=function(e,t){return null!=e&&(x(e,0,g),e++),V(this,e,t,1)},A.toFixed=function(e,t){return null!=e&&(x(e,0,g),e=e+this.e+1),V(this,e,t)},A.toFormat=function(e,t,r){var n,i=this;if(null==r)null!=e&&t&&"object"==o(t)?(r=t,t=null):e&&"object"==o(e)?(r=e,e=t=null):r=G;else if("object"!=o(r))throw Error(l+"Argument not an object: "+r);if(n=i.toFixed(e,t),i.c){var a,s=n.split("."),u=+r.groupSize,c=+r.secondaryGroupSize,f=r.groupSeparator||"",d=s[0],p=s[1],h=i.s<0,v=h?d.slice(1):d,y=v.length;if(c&&(a=u,u=c,c=a,y-=a),u>0&&y>0){for(a=y%u||u,d=v.substr(0,a);a<y;a+=u)d+=f+v.substr(a,u);c>0&&(d+=f+v.slice(a)),h&&(d="-"+d)}n=p?d+(r.decimalSeparator||"")+((c=+r.fractionGroupSize)?p.replace(new RegExp("\\d{"+c+"}\\B","g"),"$&"+(r.fractionGroupSeparator||"")):p):d}return(r.prefix||"")+n+(r.suffix||"")},A.toFraction=function(e){var t,n,o,i,a,s,u,c,f,d,h,y,g=this,m=g.c;if(null!=e&&(!(u=new W(e)).isInteger()&&(u.c||1!==u.s)||u.lt(M)))throw Error(l+"Argument "+(u.isInteger()?"out of range: ":"not an integer: ")+X(u));if(!m)return new W(g);for(t=new W(M),f=n=new W(M),o=c=new W(M),y=w(m),a=t.e=y.length-g.e-1,t.c[0]=v[(s=a%p)<0?p+s:s],e=!e||u.comparedTo(t)>0?a>0?t:f:u,s=I,I=1/0,u=new W(y),c.c[0]=0;d=r(u,t,0,1),1!=(i=n.plus(d.times(o))).comparedTo(e);)n=o,o=i,f=c.plus(d.times(i=f)),c=i,t=u.minus(d.times(i=t)),u=i;return i=r(e.minus(n),o,0,1),c=c.plus(i.times(f)),n=n.plus(i.times(o)),c.s=f.s=g.s,h=r(f,o,a*=2,j).minus(g).abs().comparedTo(r(c,n,a,j).minus(g).abs())<1?[f,o]:[c,n],I=s,h},A.toNumber=function(){return+X(this)},A.toPrecision=function(e,t){return null!=e&&x(e,1,g),V(this,e,t,2)},A.toString=function(e){var t,r=this,o=r.s,i=r.e;return null===i?o?(t="Infinity",o<0&&(t="-"+t)):t="NaN":(null==e?t=i<=k||i>=L?b(w(r.c),i):N(w(r.c),i,"0"):10===e?t=N(w((r=Y(new W(r),F+i+1,j)).c),r.e,"0"):(x(e,2,H.length,"Base"),t=n(N(w(r.c),i,"0"),10,e,o,!0)),o<0&&r.c[0]&&(t="-"+t)),t},A.valueOf=A.toJSON=function(){return X(this)},A._isBigNumber=!0,null!=t&&W.set(t),W}()).default=a.BigNumber=a,void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)}()},64191:(e,t,r)=>{"use strict";r(39961),r(82965),r(33302),r(85715),r(88672),r(74528),r(7806),r(32587),r(12358),r(84144),r(25137),r(74433),r(78032),r(4428),r(86483),r(73450),r(29836),r(45013),r(33835),r(53570),r(17276),r(40175),r(53950),r(29006),r(94328),r(72129),r(61185),r(24193),r(54215),r(53989),r(5374),r(13329),r(66219),r(24213),r(67543),r(12822),r(46064),r(34354),r(30423),r(39172),r(6996),r(130),r(85472),r(44954),r(12429),r(18270),r(92199),r(75398),r(51157),r(26889),r(93738),r(80366),r(50360),r(3991),r(86854),r(3925),r(60890),r(10881),r(26148),r(87741),r(5668),r(95168),r(9775),r(34538),r(87800),r(53717),r(57162),r(99932),r(17819),r(18030),r(40610),r(46559),r(96375),r(4337),r(31553),r(66676),r(21471),r(57939),r(74553),r(56830),r(87400),r(67538),r(72026),r(66613),r(51350),r(82514),r(95275),r(82151),r(20357),r(1657),r(63970),r(48560),r(94884),r(4807),r(57148),r(30818),r(74374),r(17138),r(20884),r(34638),r(16391),r(34526),r(56668),r(27026),r(73491),r(46235),r(80239),r(2242),r(62816),r(82181),r(21117),r(500),r(41063),r(16130),r(26268),r(89281),r(34266),r(32421),r(91001),r(86200),r(45255),r(55653),r(85620),r(69352),r(78841),r(84380),r(12933),r(83242),r(4552),r(55857),r(92188),r(4159),r(67038),r(63234),r(71826),r(74290),r(60081),r(58534),r(25207),r(68854),r(97836),r(69735),r(11975),r(30715),r(39285),r(7461),r(54153),r(36391),r(48038),r(60123),r(14835),r(54139),r(35009),r(48557),r(98311),r(63356),r(84400),r(23430),r(58387),r(43514),r(5855),r(54838),r(93902),r(41355),r(66329),r(86556),r(7370),r(72068),r(58053),r(65078),r(36555),r(44939),r(66120),r(17522),r(82086),r(31916),r(59973),r(65874),r(26389),r(81035),r(80217),r(51892),r(62278),r(41118),r(71576),r(39751),r(9479),r(98544),r(62251),r(99075),r(47888),r(76066),r(56933),r(40487),r(974),r(90961),r(53785),r(98740),r(94361),r(60240),r(7919),r(85044),r(17128),r(87458),r(66854),r(56940),r(6261),r(38154),r(35477),r(76294),r(41351),r(56884),r(73594),r(69997),r(34942),r(30947),r(19794),r(67023),r(12773),r(33390),r(4607),r(5147),r(93396),r(86565),r(47813),r(1943),r(13499),r(12133),r(74493),r(90367),r(52359),r(10476),r(12689),r(29849),r(27453),r(17795),r(43438),r(11621),r(87313),r(70990),r(17054),r(35628),r(48534),r(33726),r(73140),r(83424),r(41943),r(85486),r(33306),r(84800),r(80416),r(45724),r(30330),r(65527),r(18209),r(79869),r(69240),r(21144),r(36764),r(24573),r(43660),r(58267),r(92323),r(52250),r(5441),r(50054),r(50297),r(36676),r(7978),r(55649),r(9683),r(69105),r(26615),r(31305),r(247),r(9354),r(81816),r(6243),r(2062),r(77896),r(75355),r(72436),r(89275),r(86345),r(99071),r(82228),r(15101),r(60425),r(42959),r(28177),r(78593),r(6501),r(58391),r(96457),r(1178),r(44752),r(40537),r(90270),r(76369),r(7423),r(9527),r(68910),r(40815),r(21323),r(6564),r(98534),r(26261),r(7798),r(54395),r(2629),r(82910),r(24847),r(18674),r(25700),r(85683),r(59076),r(63937),r(44638),r(92339),r(71542),r(17963),r(88660),r(34138),r(77493),r(30874),r(49455),r(74084),r(90999),r(7199),r(50792),r(72853),r(54577),r(15181),r(30093),r(27785),r(64612),r(32492),r(19027),r(25440),r(47258),r(3650),r(67109),r(62765),r(30270),r(29945),r(75794),r(7934),r(66559),r(50303),r(74345),r(22165),r(43576),r(69432),r(66703),r(32108),r(8746),r(83385),r(55586),r(54133),r(65405),r(74352),r(61953),r(4945),r(82026),r(83275),r(37140),r(64247),r(90843),r(9495),r(18991),r(56040),r(17189),e.exports=r(94108)},98490:(e,t,r)=>{"use strict";e.exports=r(64191)},1823:(e,t,r)=>{"use strict";var n=r(16487),o=r(78197);e.exports=function(e){if(n(e))return e;throw TypeError(o(e)+" is not a function")}},7418:(e,t,r)=>{"use strict";var n=r(83787),o=r(78197);e.exports=function(e){if(n(e))return e;throw TypeError(o(e)+" is not a constructor")}},35523:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=r(16487);e.exports=function(e){if("object"===n(e)||o(e))return e;throw TypeError("Can't set "+String(e)+" as a prototype")}},42711:(e,t,r)=>{"use strict";var n=r(61219),o=r(85276),i=r(19090),a=n("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},87637:(e,t,r)=>{"use strict";var n=r(54409).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},4827:e=>{"use strict";e.exports=function(e,t,r){if(e instanceof t)return e;throw TypeError("Incorrect "+(r?r+" ":"")+"invocation")}},5847:(e,t,r)=>{"use strict";var n=r(32176);e.exports=function(e){if(n(e))return e;throw TypeError(String(e)+" is not an object")}},21735:e=>{"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},15290:(e,t,r)=>{"use strict";var n,o,i,a=r(21735),s=r(5857),u=r(85326),c=r(16487),l=r(32176),f=r(56896),d=r(40281),p=r(78197),h=r(28474),v=r(14387),y=r(19090).f,g=r(80715),m=r(15885),w=r(61219),O=r(46848),x=u.Int8Array,E=x&&x.prototype,b=u.Uint8ClampedArray,N=b&&b.prototype,U=x&&g(x),T=E&&g(E),D=Object.prototype,C=D.isPrototypeOf,_=w("toStringTag"),S=O("TYPED_ARRAY_TAG"),A=O("TYPED_ARRAY_CONSTRUCTOR"),M=a&&!!m&&"Opera"!==d(u.opera),F=!1,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},k={BigInt64Array:8,BigUint64Array:8},L=function(e){if(!l(e))return!1;var t=d(e);return f(j,t)||f(k,t)};for(n in j)(i=(o=u[n])&&o.prototype)?h(i,A,o):M=!1;for(n in k)(i=(o=u[n])&&o.prototype)&&h(i,A,o);if((!M||!c(U)||U===Function.prototype)&&(U=function(){throw TypeError("Incorrect invocation")},M))for(n in j)u[n]&&m(u[n],U);if((!M||!T||T===D)&&(T=U.prototype,M))for(n in j)u[n]&&m(u[n].prototype,T);if(M&&g(N)!==T&&m(N,T),s&&!f(T,_))for(n in F=!0,y(T,_,{get:function(){return l(this)?this[S]:void 0}}),j)u[n]&&h(u[n],S,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_CONSTRUCTOR:A,TYPED_ARRAY_TAG:F&&S,aTypedArray:function(e){if(L(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!m||C.call(U,e)))return e;throw TypeError(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r){if(s){if(r)for(var n in j){var o=u[n];if(o&&f(o.prototype,e))try{delete o.prototype[e]}catch(e){}}T[e]&&!r||v(T,e,r?t:M&&E[e]||t)}},exportTypedArrayStaticMethod:function(e,t,r){var n,o;if(s){if(m){if(r)for(n in j)if((o=u[n])&&f(o,e))try{delete o[e]}catch(e){}if(U[e]&&!r)return;try{return v(U,e,r?t:M&&U[e]||t)}catch(e){}}for(n in j)!(o=u[n])||o[e]&&!r||v(o,e,t)}},isView:function(e){if(!l(e))return!1;var t=d(e);return"DataView"===t||f(j,t)||f(k,t)},isTypedArray:L,TypedArray:U,TypedArrayPrototype:T}},3077:(e,t,r)=>{"use strict";var n=r(85326),o=r(5857),i=r(21735),a=r(8599),s=r(28474),u=r(29906),c=r(48126),l=r(4827),f=r(49289),d=r(80624),p=r(48983),h=r(83568),v=r(80715),y=r(15885),g=r(43622).f,m=r(19090).f,w=r(34150),O=r(4005),x=r(74148),E=a.PROPER,b=a.CONFIGURABLE,N=x.get,U=x.set,T="ArrayBuffer",D="DataView",C="Wrong index",_=n.ArrayBuffer,S=_,A=n.DataView,M=A&&A.prototype,F=Object.prototype,j=n.RangeError,k=h.pack,L=h.unpack,R=function(e){return[255&e]},I=function(e){return[255&e,e>>8&255]},P=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},B=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},q=function(e){return k(e,23,4)},G=function(e){return k(e,52,8)},H=function(e,t){m(e.prototype,t,{get:function(){return N(this)[t]}})},W=function(e,t,r,n){var o=p(r),i=N(e);if(o+t>i.byteLength)throw j(C);var a=N(i.buffer).bytes,s=o+i.byteOffset,u=a.slice(s,s+t);return n?u:u.reverse()},V=function(e,t,r,n,o,i){var a=p(r),s=N(e);if(a+t>s.byteLength)throw j(C);for(var u=N(s.buffer).bytes,c=a+s.byteOffset,l=n(+o),f=0;f<t;f++)u[c+f]=l[i?f:t-f-1]};if(i){var $=E&&_.name!==T;if(c((function(){_(1)}))&&c((function(){new _(-1)}))&&!c((function(){return new _,new _(1.5),new _(NaN),$&&!b})))$&&b&&s(_,"name",T);else{for(var z,Y=(S=function(e){return l(this,S),new _(p(e))}).prototype=_.prototype,X=g(_),K=0;X.length>K;)(z=X[K++])in S||s(S,z,_[z]);Y.constructor=S}y&&v(M)!==F&&y(M,F);var J=new A(new S(2)),Q=M.setInt8;J.setInt8(0,2147483648),J.setInt8(1,2147483649),!J.getInt8(0)&&J.getInt8(1)||u(M,{setInt8:function(e,t){Q.call(this,e,t<<24>>24)},setUint8:function(e,t){Q.call(this,e,t<<24>>24)}},{unsafe:!0})}else S=function(e){l(this,S,T);var t=p(e);U(this,{bytes:w.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},A=function(e,t,r){l(this,A,D),l(e,S,D);var n=N(e).byteLength,i=f(t);if(i<0||i>n)throw j("Wrong offset");if(i+(r=void 0===r?n-i:d(r))>n)throw j("Wrong length");U(this,{buffer:e,byteLength:r,byteOffset:i}),o||(this.buffer=e,this.byteLength=r,this.byteOffset=i)},o&&(H(S,"byteLength"),H(A,"buffer"),H(A,"byteLength"),H(A,"byteOffset")),u(A.prototype,{getInt8:function(e){return W(this,1,e)[0]<<24>>24},getUint8:function(e){return W(this,1,e)[0]},getInt16:function(e){var t=W(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=W(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return B(W(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return B(W(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return L(W(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return L(W(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){V(this,1,e,R,t)},setUint8:function(e,t){V(this,1,e,R,t)},setInt16:function(e,t){V(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){V(this,2,e,I,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){V(this,4,e,P,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){V(this,4,e,P,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){V(this,4,e,q,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){V(this,8,e,G,t,arguments.length>2?arguments[2]:void 0)}});O(S,T),O(A,D),e.exports={ArrayBuffer:S,DataView:A}},1448:(e,t,r)=>{"use strict";var n=r(40120),o=r(20618),i=r(80624),a=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),s=i(r.length),u=o(e,s),c=o(t,s),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?s:o(l,s))-c,s-u),d=1;for(c<u&&u<c+f&&(d=-1,c+=f-1,u+=f-1);f-- >0;)c in r?r[u]=r[c]:delete r[u],u+=d,c+=d;return r}},34150:(e,t,r)=>{"use strict";var n=r(40120),o=r(20618),i=r(80624);e.exports=function(e){for(var t=n(this),r=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,r),u=a>2?arguments[2]:void 0,c=void 0===u?r:o(u,r);c>s;)t[s++]=e;return t}},85713:(e,t,r)=>{"use strict";var n=r(16443).forEach,o=r(7037)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},16364:(e,t,r)=>{"use strict";var n=r(97571),o=r(40120),i=r(83787),a=r(27563),s=r(43948),u=r(60675),c=r(65109),l=r(19643),f=r(61219),d=r(8988),p=r(74850).toArray,h=f("asyncIterator"),v=l("Array").values;e.exports=function(e){var t=o(e),r=arguments.length,l=r>1?arguments[1]:void 0;void 0!==l&&(l=n(l,r>2?arguments[2]:void 0,2));var f,y=c(t,h);y||(f=u(t));var g=i(this)?new this:[],m=y?a(t,y):new d(s(t,f||v));return p(m,l,g)}},12674:e=>{"use strict";e.exports=function(e,t){for(var r=0,n=t.length,o=new e(n);n>r;)o[r]=t[r++];return o}},15202:(e,t,r)=>{"use strict";var n=r(97571),o=r(40120),i=r(65174),a=r(54e3),s=r(83787),u=r(80624),c=r(71119),l=r(43948),f=r(60675);e.exports=function(e){var t=o(e),r=s(this),d=arguments.length,p=d>1?arguments[1]:void 0,h=void 0!==p;h&&(p=n(p,d>2?arguments[2]:void 0,2));var v,y,g,m,w,O,x=f(t),E=0;if(!x||this==Array&&a(x))for(v=u(t.length),y=r?new this(v):Array(v);v>E;E++)O=h?p(t[E],E):t[E],c(y,E,O);else for(w=(m=l(t,x)).next,y=r?new this:[];!(g=w.call(m)).done;E++)O=h?i(m,p,[g.value,E],!0):g.value,c(y,E,O);return y.length=E,y}},19878:(e,t,r)=>{"use strict";var n=r(97571),o=r(44809),i=r(40120),a=r(80624),s=r(58255),u=r(85276),c=r(12674),l=[].push;e.exports=function(e,t,r,f){for(var d,p,h,v=i(e),y=o(v),g=n(t,r,3),m=u(null),w=a(y.length),O=0;w>O;O++)h=y[O],(p=s(g(h,O,v)))in m?l.call(m[p],h):m[p]=[h];if(f&&(d=f(v))!==Array)for(p in m)m[p]=c(d,m[p]);return m}},47858:(e,t,r)=>{"use strict";var n=r(24563),o=r(80624),i=r(20618),a=function(e){return function(t,r,a){var s,u=n(t),c=o(u.length),l=i(a,c);if(e&&r!=r){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},40321:(e,t,r)=>{"use strict";var n=r(97571),o=r(44809),i=r(40120),a=r(80624),s=function(e){var t=1==e;return function(r,s,u){for(var c,l=i(r),f=o(l),d=n(s,u,3),p=a(f.length);p-- >0;)if(d(c=f[p],p,l))switch(e){case 0:return c;case 1:return p}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},16443:(e,t,r)=>{"use strict";var n=r(97571),o=r(44809),i=r(40120),a=r(80624),s=r(23903),u=[].push,c=function(e){var t=1==e,r=2==e,c=3==e,l=4==e,f=6==e,d=7==e,p=5==e||f;return function(h,v,y,g){for(var m,w,O=i(h),x=o(O),E=n(v,y,3),b=a(x.length),N=0,U=g||s,T=t?U(h,b):r||d?U(h,0):void 0;b>N;N++)if((p||N in x)&&(w=E(m=x[N],N,O),e))if(t)T[N]=w;else if(w)switch(e){case 3:return!0;case 5:return m;case 6:return N;case 2:u.call(T,m)}else switch(e){case 4:return!1;case 7:u.call(T,m)}return f?-1:c||l?l:T}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},94042:(e,t,r)=>{"use strict";var n=r(24563),o=r(49289),i=r(80624),a=r(7037),s=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf"),f=c||!l;e.exports=f?function(e){if(c)return u.apply(this,arguments)||0;var t=n(this),r=i(t.length),a=r-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=r+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},82838:(e,t,r)=>{"use strict";var n=r(48126),o=r(61219),i=r(91038),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},7037:(e,t,r)=>{"use strict";var n=r(48126);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},96040:(e,t,r)=>{"use strict";var n=r(1823),o=r(40120),i=r(44809),a=r(80624),s=function(e){return function(t,r,s,u){n(r);var c=o(t),l=i(c),f=a(c.length),d=e?f-1:0,p=e?-1:1;if(s<2)for(;;){if(d in l){u=l[d],d+=p;break}if(d+=p,e?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:f>d;d+=p)d in l&&(u=r(u,l[d],d,c));return u}};e.exports={left:s(!1),right:s(!0)}},36384:e=>{"use strict";var t=Math.floor;e.exports=function e(r,n){var o=r.length,i=t(o/2);return o<8?function(e,t){for(var r,n,o=e.length,i=1;i<o;){for(n=i,r=e[i];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==i++&&(e[n]=r)}return e}(r,n):function(e,t,r){for(var n=e.length,o=t.length,i=0,a=0,s=[];i<n||a<o;)i<n&&a<o?s.push(r(e[i],t[a])<=0?e[i++]:t[a++]):s.push(i<n?e[i++]:t[a++]);return s}(e(r.slice(0,i),n),e(r.slice(i),n),n)}},35997:(e,t,r)=>{"use strict";var n=r(17512),o=r(83787),i=r(32176),a=r(61219)("species");e.exports=function(e){var t;return n(e)&&(t=e.constructor,(o(t)&&(t===Array||n(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?Array:t}},23903:(e,t,r)=>{"use strict";var n=r(35997);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},39537:(e,t,r)=>{"use strict";var n=r(1823),o=r(80624),i=r(40120),a=r(73683),s=r(23903),u=[].push;e.exports=function(e){var t,r,c,l,f=i(this),d=o(f.length),p=s(f,0),h=new(a("Map"));for(t=null!=e?n(e):function(e){return e},r=0;r<d;r++)l=t(c=f[r]),h.has(l)||h.set(l,c);return h.forEach((function(e){u.call(p,e)})),p}},8988:(e,t,r)=>{"use strict";var n=r(5847),o=r(85276),i=r(65109),a=r(29906),s=r(74148),u=r(73683),c=r(11193),l=u("Promise"),f=s.set,d=s.get,p=function(e,t,r){var n=e.done;l.resolve(e.value).then((function(e){t({done:n,value:e})}),r)},h=function(e){f(this,{iterator:n(e),next:e.next})};h.prototype=a(o(c),{next:function(e){var t=d(this),r=!!arguments.length;return new l((function(o,i){var a=n(t.next.apply(t.iterator,r?[e]:[]));p(a,o,i)}))},return:function(e){var t=d(this).iterator,r=!!arguments.length;return new l((function(o,a){var s=i(t,"return");if(void 0===s)return o({done:!0,value:e});var u=n(s.apply(t,r?[e]:[]));p(u,o,a)}))},throw:function(e){var t=d(this).iterator,r=!!arguments.length;return new l((function(o,a){var s=i(t,"throw");if(void 0===s)return a(e);var u=n(s.apply(t,r?[e]:[]));p(u,o,a)}))}}),e.exports=h},36678:(e,t,r)=>{"use strict";var n=r(1823),o=r(5847),i=r(85276),a=r(28474),s=r(29906),u=r(61219),c=r(74148),l=r(73683),f=r(65109),d=r(11193),p=l("Promise"),h=c.set,v=c.get,y=u("toStringTag");e.exports=function(e,t){var r=function(e){e.next=n(e.iterator.next),e.done=!1,e.ignoreArgument=!t,h(this,e)};return r.prototype=s(i(d),{next:function(r){var n=this,i=!!arguments.length;return new p((function(a){var s=v(n),u=i?[s.ignoreArgument?void 0:r]:t?[]:[void 0];s.ignoreArgument=!1,a(s.done?{done:!0,value:void 0}:o(e.call(s,p,u)))}))},return:function(e){var t=this;return new p((function(r,n){var i=v(t),a=i.iterator;i.done=!0;var s=f(a,"return");if(void 0===s)return r({done:!0,value:e});p.resolve(s.call(a,e)).then((function(t){o(t),r({done:!0,value:e})}),n)}))},throw:function(e){var t=this;return new p((function(r,n){var o=v(t),i=o.iterator;o.done=!0;var a=f(i,"throw");if(void 0===a)return n(e);r(a.call(i,e))}))}}),t||a(r.prototype,y,"Generator"),r}},74850:(e,t,r)=>{"use strict";var n=r(1823),o=r(5847),i=r(73683),a=r(65109),s=function(e){var t=0==e,r=1==e,s=2==e,u=3==e;return function(e,c,l){o(e);var f=i("Promise"),d=n(e.next),p=0,h=void 0!==c;return!h&&t||n(c),new f((function(n,i){var v=function(t,r){try{var n=a(e,"return");if(n)return f.resolve(n.call(e)).then((function(){t(r)}),(function(e){i(e)}))}catch(e){return i(e)}t(r)},y=function(e){v(i,e)};!function i(){try{if(t&&p>9007199254740991&&h)throw TypeError("The allowed number of iterations has been exceeded");f.resolve(o(d.call(e))).then((function(e){try{if(o(e).done)t?(l.length=p,n(l)):n(!u&&(s||void 0));else{var a=e.value;h?f.resolve(t?c(a,p):c(a)).then((function(e){r?i():s?e?i():v(n,!1):t?(l[p++]=e,i()):e?v(n,u||a):i()}),y):(l[p++]=a,i())}}catch(e){y(e)}}),y)}catch(e){y(e)}}()}))}};e.exports={toArray:s(0),forEach:s(1),every:s(2),some:s(3),find:s(4)}},11193:(e,t,r)=>{"use strict";var n,o,i=r(85326),a=r(51857),s=r(16487),u=r(85276),c=r(80715),l=r(14387),f=r(61219),d=r(37312),p=f("asyncIterator"),h=i.AsyncIterator,v=a.AsyncIteratorPrototype;if(v)n=v;else if(s(h))n=h.prototype;else if(a.USE_FUNCTION_CONSTRUCTOR||i.USE_FUNCTION_CONSTRUCTOR)try{o=c(c(c(Function("return async function*(){}()")()))),c(o)===Object.prototype&&(n=o)}catch(e){}n?d&&(n=u(n)):n={},s(n[p])||l(n,p,(function(){return this})),e.exports=n},65174:(e,t,r)=>{"use strict";var n=r(5847),o=r(75065);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},85512:(e,t,r)=>{"use strict";var n=r(61219)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},22619:e=>{"use strict";var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},40281:(e,t,r)=>{"use strict";var n=r(74254),o=r(16487),i=r(22619),a=r(61219)("toStringTag"),s="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),a))?r:s?i(t):"Object"==(n=i(t))&&o(t.callee)?"Arguments":n}},16188:(e,t,r)=>{"use strict";var n=r(1823),o=r(5847);e.exports=function(){for(var e=o(this),t=n(e.add),r=0,i=arguments.length;r<i;r++)t.call(e,arguments[r]);return e}},73994:(e,t,r)=>{"use strict";var n=r(1823),o=r(5847);e.exports=function(){for(var e,t=o(this),r=n(t.delete),i=!0,a=0,s=arguments.length;a<s;a++)e=r.call(t,arguments[a]),i=i&&e;return!!i}},23057:(e,t,r)=>{"use strict";var n=r(1823),o=r(7418),i=r(97571),a=r(95046);e.exports=function(e){var t,r,s,u,c=arguments.length,l=c>1?arguments[1]:void 0;return o(this),(t=void 0!==l)&&n(l),null==e?new this:(r=[],t?(s=0,u=i(l,c>2?arguments[2]:void 0,2),a(e,(function(e){r.push(u(e,s++))}))):a(e,r.push,{that:r}),new this(r))}},21226:e=>{"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},84110:(e,t,r)=>{"use strict";var n=r(19090).f,o=r(85276),i=r(29906),a=r(97571),s=r(4827),u=r(95046),c=r(71394),l=r(48342),f=r(5857),d=r(84395).fastKey,p=r(74148),h=p.set,v=p.getterFor;e.exports={getConstructor:function(e,t,r,c){var l=e((function(e,n){s(e,l,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=n&&u(n,e[c],{that:e,AS_ENTRIES:r})})),p=v(t),y=function(e,t,r){var n,o,i=p(e),a=g(e,t);return a?a.value=r:(i.last=a={index:o=d(t,!0),key:t,value:r,previous:n=i.last,next:void 0,removed:!1},i.first||(i.first=a),n&&(n.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},g=function(e,t){var r,n=p(e),o=d(t);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key==t)return r};return i(l.prototype,{clear:function(){for(var e=p(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=this,r=p(t),n=g(t,e);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first==n&&(r.first=o),r.last==n&&(r.last=i),f?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=p(this),n=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(l.prototype,r?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return y(this,0===e?0:e,t)}}:{add:function(e){return y(this,e=0===e?0:e,e)}}),f&&n(l.prototype,"size",{get:function(){return p(this).size}}),l},setStrong:function(e,t,r){var n=t+" Iterator",o=v(t),i=v(n);c(e,t,(function(e,t){h(this,{type:n,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),l(t)}}},8223:(e,t,r)=>{"use strict";var n=r(29906),o=r(84395).getWeakData,i=r(5847),a=r(32176),s=r(4827),u=r(95046),c=r(16443),l=r(56896),f=r(74148),d=f.set,p=f.getterFor,h=c.find,v=c.findIndex,y=0,g=function(e){return e.frozen||(e.frozen=new m)},m=function(){this.entries=[]},w=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};m.prototype={get:function(e){var t=w(this,e);if(t)return t[1]},has:function(e){return!!w(this,e)},set:function(e,t){var r=w(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,r,c){var f=e((function(e,n){s(e,f,t),d(e,{type:t,id:y++,frozen:void 0}),null!=n&&u(n,e[c],{that:e,AS_ENTRIES:r})})),h=p(t),v=function(e,t,r){var n=h(e),a=o(i(t),!0);return!0===a?g(n).set(t,r):a[n.id]=r,e};return n(f.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var r=o(e);return!0===r?g(t).delete(e):r&&l(r,t.id)&&delete r[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var r=o(e);return!0===r?g(t).has(e):r&&l(r,t.id)}}),n(f.prototype,r?{get:function(e){var t=h(this);if(a(e)){var r=o(e);return!0===r?g(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),f}}},14701:(e,t,r)=>{"use strict";var n=r(70351),o=r(85326),i=r(72491),a=r(14387),s=r(84395),u=r(95046),c=r(4827),l=r(16487),f=r(32176),d=r(48126),p=r(85512),h=r(4005),v=r(44517);e.exports=function(e,t,r){var y=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),m=y?"set":"add",w=o[e],O=w&&w.prototype,x=w,E={},b=function(e){var t=O[e];a(O,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!f(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!f(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!f(e))&&t.call(this,0===e?0:e)}:function(e,r){return t.call(this,0===e?0:e,r),this})};if(i(e,!l(w)||!(g||O.forEach&&!d((function(){(new w).entries().next()})))))x=r.getConstructor(t,e,y,m),s.enable();else if(i(e,!0)){var N=new x,U=N[m](g?{}:-0,1)!=N,T=d((function(){N.has(1)})),D=p((function(e){new w(e)})),C=!g&&d((function(){for(var e=new w,t=5;t--;)e[m](t,t);return!e.has(-0)}));D||((x=t((function(t,r){c(t,x,e);var n=v(new w,t,x);return null!=r&&u(r,n[m],{that:n,AS_ENTRIES:y}),n}))).prototype=O,O.constructor=x),(T||C)&&(b("delete"),b("has"),y&&b("get")),(C||U)&&b(m),g&&O.clear&&delete O.clear}return E[e]=x,n({global:!0,forced:x!=w},E),h(x,e),g||r.setStrong(x,e,y),x}},92617:(e,t,r)=>{"use strict";var n=r(53717),o=r(4607),i=r(85276),a=r(32176),s=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=i(null)};s.prototype.get=function(e,t){return this[e]||(this[e]=t())},s.prototype.next=function(e,t,r){var i=r?this.objectsByIndex[e]||(this.objectsByIndex[e]=new o):this.primitives||(this.primitives=new n),a=i.get(t);return a||i.set(t,a=new s),a};var u=new s;e.exports=function(){var e,t,r=u,n=arguments.length;for(e=0;e<n;e++)a(t=arguments[e])&&(r=r.next(e,t,!0));if(this===Object&&r===u)throw TypeError("Composite keys must contain a non-primitive component");for(e=0;e<n;e++)a(t=arguments[e])||(r=r.next(e,t,!1));return r}},48734:(e,t,r)=>{"use strict";var n=r(56896),o=r(47234),i=r(9277),a=r(19090);e.exports=function(e,t){for(var r=o(t),s=a.f,u=i.f,c=0;c<r.length;c++){var l=r[c];n(e,l)||s(e,l,u(t,l))}}},46901:(e,t,r)=>{"use strict";var n=r(61219)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},1040:(e,t,r)=>{"use strict";var n=r(48126);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},66901:(e,t,r)=>{"use strict";var n=r(96583),o=r(95683),i=/"/g;e.exports=function(e,t,r,a){var s=o(n(e)),u="<"+t;return""!==r&&(u+=" "+r+'="'+o(a).replace(i,"&quot;")+'"'),u+">"+s+"</"+t+">"}},97719:(e,t,r)=>{"use strict";var n=r(71251).IteratorPrototype,o=r(85276),i=r(61276),a=r(4005),s=r(45842),u=function(){return this};e.exports=function(e,t,r){var c=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),a(e,c,!1,!0),s[c]=u,e}},28474:(e,t,r)=>{"use strict";var n=r(5857),o=r(19090),i=r(61276);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},61276:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},71119:(e,t,r)=>{"use strict";var n=r(58255),o=r(19090),i=r(61276);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},41921:(e,t,r)=>{"use strict";var n=r(48126),o=r(681).start,i=Math.abs,a=Date.prototype,s=a.getTime,u=a.toISOString;e.exports=n((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))}))||!n((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),r=e.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(e.getUTCMonth()+1,2,0)+"-"+o(e.getUTCDate(),2,0)+"T"+o(e.getUTCHours(),2,0)+":"+o(e.getUTCMinutes(),2,0)+":"+o(e.getUTCSeconds(),2,0)+"."+o(r,3,0)+"Z"}:u},33869:(e,t,r)=>{"use strict";var n=r(5847),o=r(13247);e.exports=function(e){if(n(this),"string"===e||"default"===e)e="string";else if("number"!==e)throw TypeError("Incorrect hint");return o(this,e)}},71394:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(8599),a=r(16487),s=r(97719),u=r(80715),c=r(15885),l=r(4005),f=r(28474),d=r(14387),p=r(61219),h=r(45842),v=r(71251),y=i.PROPER,g=i.CONFIGURABLE,m=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,O=p("iterator"),x="keys",E="values",b="entries",N=function(){return this};e.exports=function(e,t,r,i,p,v,U){s(r,t,i);var T,D,C,_=function(e){if(e===p&&j)return j;if(!w&&e in M)return M[e];switch(e){case x:case E:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},S=t+" Iterator",A=!1,M=e.prototype,F=M[O]||M["@@iterator"]||p&&M[p],j=!w&&F||_(p),k="Array"==t&&M.entries||F;if(k&&(T=u(k.call(new e)))!==Object.prototype&&T.next&&(o||u(T)===m||(c?c(T,m):a(T[O])||d(T,O,N)),l(T,S,!0,!0),o&&(h[S]=N)),y&&p==E&&F&&F.name!==E&&(!o&&g?f(M,"name",E):(A=!0,j=function(){return F.call(this)})),p)if(D={values:_(E),keys:v?j:_(x),entries:_(b)},U)for(C in D)(w||A||!(C in M))&&d(M,C,D[C]);else n({target:t,proto:!0,forced:w||A},D);return o&&!U||M[O]===j||d(M,O,j,{name:p}),h[t]=j,D}},21005:(e,t,r)=>{"use strict";var n=r(94108),o=r(56896),i=r(38708),a=r(19090).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},5857:(e,t,r)=>{"use strict";var n=r(48126);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},76986:(e,t,r)=>{"use strict";var n=r(85326),o=r(32176),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},45466:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},54706:(e,t,r)=>{"use strict";var n=r(76986)("span").classList,o=n&&n.constructor&&n.constructor.prototype;e.exports=o===Object.prototype?void 0:o},43956:(e,t,r)=>{"use strict";var n=r(329).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},19257:e=>{"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports="object"==("undefined"==typeof window?"undefined":t(window))},65374:(e,t,r)=>{"use strict";var n=r(329);e.exports=/MSIE|Trident/.test(n)},64456:(e,t,r)=>{"use strict";var n=r(329),o=r(85326);e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==o.Pebble},12874:(e,t,r)=>{"use strict";var n=r(329);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},23961:(e,t,r)=>{"use strict";var n=r(22619),o=r(85326);e.exports="process"==n(o.process)},99648:(e,t,r)=>{"use strict";var n=r(329);e.exports=/web0s(?!.*chrome)/i.test(n)},329:(e,t,r)=>{"use strict";var n=r(73683);e.exports=n("navigator","userAgent")||""},91038:(e,t,r)=>{"use strict";var n,o,i=r(85326),a=r(329),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l?o=(n=l.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},94050:(e,t,r)=>{"use strict";var n=r(329).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},19643:(e,t,r)=>{"use strict";var n=r(85326);e.exports=function(e){return n[e].prototype}},61822:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},70351:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=r(85326),i=r(9277).f,a=r(28474),s=r(14387),u=r(65189),c=r(48734),l=r(72491);e.exports=function(e,t){var r,f,d,p,h,v=e.target,y=e.global,g=e.stat;if(r=y?o:g?o[v]||u(v,{}):(o[v]||{}).prototype)for(f in t){if(p=t[f],d=e.noTargetGet?(h=i(r,f))&&h.value:r[f],!l(y?f:v+(g?".":"#")+f,e.forced)&&void 0!==d){if(n(p)===n(d))continue;c(p,d)}(e.sham||d&&d.sham)&&a(p,"sham",!0),s(r,f,p,e)}}},48126:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},26036:(e,t,r)=>{"use strict";r(39285);var n=r(14387),o=r(38604),i=r(48126),a=r(61219),s=r(28474),u=a("species"),c=RegExp.prototype;e.exports=function(e,t,r,l){var f=a(e),d=!i((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),p=d&&!i((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return t=!0,null},r[f](""),!t}));if(!d||!p||r){var h=/./[f],v=t(f,""[e],(function(e,t,r,n,i){var a=t.exec;return a===o||a===c.exec?d&&!i?{done:!0,value:h.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}));n(String.prototype,e,v[0]),n(c,f,v[1])}l&&s(c[f],"sham",!0)}},3677:(e,t,r)=>{"use strict";var n=r(17512),o=r(80624),i=r(97571);e.exports=function e(t,r,a,s,u,c,l,f){for(var d,p=u,h=0,v=!!l&&i(l,f,3);h<s;){if(h in a){if(d=v?v(a[h],h,r):a[h],c>0&&n(d))p=e(t,r,d,o(d.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[p]=d}p++}h++}return p}},96512:(e,t,r)=>{"use strict";var n=r(48126);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},97571:(e,t,r)=>{"use strict";var n=r(1823);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},49676:(e,t,r)=>{"use strict";var n=r(1823),o=r(32176),i=[].slice,a={},s=function(e,t,r){if(!(t in a)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";a[t]=Function("C,a","return new C("+n.join(",")+")")}return a[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=i.call(arguments,1),a=function(){var n=r.concat(i.call(arguments));return this instanceof a?s(t,n.length,n):t.apply(e,n)};return o(t.prototype)&&(a.prototype=t.prototype),a}},8599:(e,t,r)=>{"use strict";var n=r(5857),o=r(56896),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},27563:(e,t,r)=>{"use strict";var n=r(8988),o=r(5847),i=r(43948),a=r(65109),s=r(61219)("asyncIterator");e.exports=function(e,t){var r=arguments.length<2?a(e,s):t;return r?o(r.call(e)):new n(i(e))}},73683:(e,t,r)=>{"use strict";var n=r(85326),o=r(16487),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e]):n[e]&&n[e][t]}},60675:(e,t,r)=>{"use strict";var n=r(40281),o=r(65109),i=r(45842),a=r(61219)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[n(e)]}},43948:(e,t,r)=>{"use strict";var n=r(1823),o=r(5847),i=r(60675);e.exports=function(e,t){var r=arguments.length<2?i(e):t;if(n(r))return o(r.call(e));throw TypeError(String(e)+" is not iterable")}},52153:e=>{"use strict";e.exports=function(e){return Map.prototype.entries.call(e)}},65109:(e,t,r)=>{"use strict";var n=r(1823);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},3691:e=>{"use strict";e.exports=function(e){return Set.prototype.values.call(e)}},38174:(e,t,r)=>{"use strict";var n=r(40120),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,u,c,l){var f=r+e.length,d=u.length,p=s;return void 0!==c&&(c=n(c),p=a),i.call(l,p,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(f);case"<":a=c[i.slice(1,-1)];break;default:var s=+i;if(0===s)return n;if(s>d){var l=o(s/10);return 0===l?n:l<=d?void 0===u[l-1]?i.charAt(1):u[l-1]+i.charAt(1):n}a=u[s-1]}return void 0===a?"":a}))}},85326:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==("undefined"==typeof globalThis?"undefined":n(globalThis))&&globalThis)||o("object"==("undefined"==typeof window?"undefined":n(window))&&window)||o("object"==("undefined"==typeof self?"undefined":n(self))&&self)||o("object"==(void 0===r.g?"undefined":n(r.g))&&r.g)||function(){return this}()||Function("return this")()},56896:(e,t,r)=>{"use strict";var n=r(40120),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(n(e),t)}},65693:e=>{"use strict";e.exports={}},6138:(e,t,r)=>{"use strict";var n=r(85326);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},66397:(e,t,r)=>{"use strict";var n=r(73683);e.exports=n("document","documentElement")},73054:(e,t,r)=>{"use strict";var n=r(5857),o=r(48126),i=r(76986);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},83568:e=>{"use strict";var t=Math.abs,r=Math.pow,n=Math.floor,o=Math.log,i=Math.LN2;e.exports={pack:function(e,a,s){var u,c,l,f=new Array(s),d=8*s-a-1,p=(1<<d)-1,h=p>>1,v=23===a?r(2,-24)-r(2,-77):0,y=e<0||0===e&&1/e<0?1:0,g=0;for((e=t(e))!=e||e===1/0?(c=e!=e?1:0,u=p):(u=n(o(e)/i),e*(l=r(2,-u))<1&&(u--,l*=2),(e+=u+h>=1?v/l:v*r(2,1-h))*l>=2&&(u++,l/=2),u+h>=p?(c=0,u=p):u+h>=1?(c=(e*l-1)*r(2,a),u+=h):(c=e*r(2,h-1)*r(2,a),u=0));a>=8;f[g++]=255&c,c/=256,a-=8);for(u=u<<a|c,d+=a;d>0;f[g++]=255&u,u/=256,d-=8);return f[--g]|=128*y,f},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,u=i-7,c=o-1,l=e[c--],f=127&l;for(l>>=7;u>0;f=256*f+e[c],c--,u-=8);for(n=f&(1<<-u)-1,f>>=-u,u+=t;u>0;n=256*n+e[c],c--,u-=8);if(0===f)f=1-s;else{if(f===a)return n?NaN:l?-1/0:1/0;n+=r(2,t),f-=s}return(l?-1:1)*n*r(2,f-t)}}},44809:(e,t,r)=>{"use strict";var n=r(48126),o=r(22619),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},44517:(e,t,r)=>{"use strict";var n=r(16487),o=r(32176),i=r(15885);e.exports=function(e,t,r){var a,s;return i&&n(a=t.constructor)&&a!==r&&o(s=a.prototype)&&s!==r.prototype&&i(e,s),e}},60365:(e,t,r)=>{"use strict";var n=r(16487),o=r(51857),i=Function.toString;n(o.inspectSource)||(o.inspectSource=function(e){return i.call(e)}),e.exports=o.inspectSource},84395:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=r(70351),i=r(65693),a=r(32176),s=r(56896),u=r(19090).f,c=r(43622),l=r(14203),f=r(46848),d=r(96512),p=!1,h=f("meta"),v=0,y=Object.isExtensible||function(){return!0},g=function(e){u(e,h,{value:{objectID:"O"+v++,weakData:{}}})},m=e.exports={enable:function(){m.enable=function(){},p=!0;var e=c.f,t=[].splice,r={};r[h]=1,e(r).length&&(c.f=function(r){for(var n=e(r),o=0,i=n.length;o<i;o++)if(n[o]===h){t.call(n,o,1);break}return n},o({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,t){if(!a(e))return"symbol"==n(e)?e:("string"==typeof e?"S":"P")+e;if(!s(e,h)){if(!y(e))return"F";if(!t)return"E";g(e)}return e[h].objectID},getWeakData:function(e,t){if(!s(e,h)){if(!y(e))return!0;if(!t)return!1;g(e)}return e[h].weakData},onFreeze:function(e){return d&&p&&y(e)&&!s(e,h)&&g(e),e}};i[h]=!0},74148:(e,t,r)=>{"use strict";var n,o,i,a=r(85127),s=r(85326),u=r(32176),c=r(28474),l=r(56896),f=r(51857),d=r(71237),p=r(65693),h="Object already initialized",v=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new v),g=y.get,m=y.has,w=y.set;n=function(e,t){if(m.call(y,e))throw new TypeError(h);return t.facade=e,w.call(y,e,t),t},o=function(e){return g.call(y,e)||{}},i=function(e){return m.call(y,e)}}else{var O=d("state");p[O]=!0,n=function(e,t){if(l(e,O))throw new TypeError(h);return t.facade=e,c(e,O,t),t},o=function(e){return l(e,O)?e[O]:{}},i=function(e){return l(e,O)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},54e3:(e,t,r)=>{"use strict";var n=r(61219),o=r(45842),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},17512:(e,t,r)=>{"use strict";var n=r(22619);e.exports=Array.isArray||function(e){return"Array"==n(e)}},16487:e=>{"use strict";e.exports=function(e){return"function"==typeof e}},83787:(e,t,r)=>{"use strict";var n=r(48126),o=r(16487),i=r(40281),a=r(73683),s=r(60365),u=[],c=a("Reflect","construct"),l=/^\s*(?:class|function)\b/,f=l.exec,d=!l.exec((function(){})),p=function(e){if(!o(e))return!1;try{return c(Object,u,e),!0}catch(e){return!1}};e.exports=!c||n((function(){var e;return p(p.call)||!p(Object)||!p((function(){e=!0}))||e}))?function(e){if(!o(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return d||!!f.call(l,s(e))}:p},71758:(e,t,r)=>{"use strict";var n=r(56896);e.exports=function(e){return void 0!==e&&(n(e,"value")||n(e,"writable"))}},72491:(e,t,r)=>{"use strict";var n=r(48126),o=r(16487),i=/#|\.prototype\./,a=function(e,t){var r=u[s(e)];return r==l||r!=c&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},87312:(e,t,r)=>{"use strict";var n=r(32176),o=Math.floor;e.exports=function(e){return!n(e)&&isFinite(e)&&o(e)===e}},32176:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=r(16487);e.exports=function(e){return"object"===n(e)?null!==e:o(e)}},37312:e=>{"use strict";e.exports=!1},40121:(e,t,r)=>{"use strict";var n=r(32176),o=r(22619),i=r(61219)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},57302:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=r(16487),i=r(73683),a=r(46727);e.exports=a?function(e){return"symbol"==n(e)}:function(e){var t=i("Symbol");return o(t)&&Object(e)instanceof t}},95046:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=r(5847),i=r(54e3),a=r(80624),s=r(97571),u=r(43948),c=r(60675),l=r(75065),f=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var d,p,h,v,y,g,m,w=r&&r.that,O=!(!r||!r.AS_ENTRIES),x=!(!r||!r.IS_ITERATOR),E=!(!r||!r.INTERRUPTED),b=s(t,w,1+O+E),N=function(e){return d&&l(d,"normal",e),new f(!0,e)},U=function(e){return O?(o(e),E?b(e[0],e[1],N):b(e[0],e[1])):E?b(e,N):b(e)};if(x)d=e;else{if(!(p=c(e)))throw TypeError(String(e)+" is not iterable");if(i(p)){for(h=0,v=a(e.length);v>h;h++)if((y=U(e[h]))&&y instanceof f)return y;return new f(!1)}d=u(e,p)}for(g=d.next;!(m=g.call(d)).done;){try{y=U(m.value)}catch(e){l(d,"throw",e)}if("object"==n(y)&&y&&y instanceof f)return y}return new f(!1)}},75065:(e,t,r)=>{"use strict";var n=r(5847),o=r(65109);e.exports=function(e,t,r){var i,a;n(e);try{if(!(i=o(e,"return"))){if("throw"===t)throw r;return r}i=i.call(e)}catch(e){a=!0,i=e}if("throw"===t)throw r;if(a)throw i;return n(i),r}},59965:(e,t,r)=>{"use strict";var n=r(1823),o=r(5847),i=r(85276),a=r(28474),s=r(29906),u=r(61219),c=r(74148),l=r(65109),f=r(71251).IteratorPrototype,d=c.set,p=c.get,h=u("toStringTag");e.exports=function(e,t){var r=function(e){e.next=n(e.iterator.next),e.done=!1,e.ignoreArg=!t,d(this,e)};return r.prototype=s(i(f),{next:function(r){var n=p(this),o=arguments.length?[n.ignoreArg?void 0:r]:t?[]:[void 0];n.ignoreArg=!1;var i=n.done?void 0:e.call(n,o);return{done:n.done,value:i}},return:function(e){var t=p(this),r=t.iterator;t.done=!0;var n=l(r,"return");return{done:!0,value:n?o(n.call(r,e)).value:e}},throw:function(e){var t=p(this),r=t.iterator;t.done=!0;var n=l(r,"throw");if(n)return n.call(r,e);throw e}}),t||a(r.prototype,h,"Generator"),r}},71251:(e,t,r)=>{"use strict";var n,o,i,a=r(48126),s=r(16487),u=r(85276),c=r(80715),l=r(14387),f=r(61219),d=r(37312),p=f("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):h=!0),null==n||a((function(){var e={};return n[p].call(e)!==e}))?n={}:d&&(n=u(n)),s(n[p])||l(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},45842:e=>{"use strict";e.exports={}},36993:(e,t,r)=>{"use strict";var n=r(5847);e.exports=function(e,t){var r=n(this),o=r.has(e)&&"update"in t?t.update(r.get(e),e,r):t.insert(e,r);return r.set(e,o),o}},54440:(e,t,r)=>{"use strict";var n=r(16487),o=r(5847);e.exports=function(e,t){var r,i=o(this),a=arguments.length>2?arguments[2]:void 0;if(!n(t)&&!n(a))throw TypeError("At least one callback required");return i.has(e)?(r=i.get(e),n(t)&&(r=t(r),i.set(e,r))):n(a)&&(r=a(),i.set(e,r)),r}},13978:e=>{"use strict";var t=Math.expm1,r=Math.exp;e.exports=!t||t(10)>22025.465794806718||t(10)<22025.465794806718||-2e-17!=t(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:t},18099:(e,t,r)=>{"use strict";var n=r(88617),o=Math.abs,i=Math.pow,a=i(2,-52),s=i(2,-23),u=i(2,127)*(2-s),c=i(2,-126);e.exports=Math.fround||function(e){var t,r,i=o(e),l=n(e);return i<c?l*(i/c/s+1/a-1/a)*c*s:(r=(t=(1+s/a)*i)-(t-i))>u||r!=r?l*(1/0):l*r}},18284:e=>{"use strict";var t=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:t(1+e)}},51697:e=>{"use strict";e.exports=Math.scale||function(e,t,r,n,o){return 0===arguments.length||e!=e||t!=t||r!=r||n!=n||o!=o?NaN:e===1/0||e===-1/0?e:(e-t)*(o-n)/(r-t)+n}},88617:e=>{"use strict";e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},50065:(e,t,r)=>{"use strict";var n,o,i,a,s,u,c,l,f=r(85326),d=r(9277).f,p=r(32973).set,h=r(12874),v=r(64456),y=r(99648),g=r(23961),m=f.MutationObserver||f.WebKitMutationObserver,w=f.document,O=f.process,x=f.Promise,E=d(f,"queueMicrotask"),b=E&&E.value;b||(n=function(){var e,t;for(g&&(e=O.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},h||g||y||!m||!w?!v&&x&&x.resolve?((c=x.resolve(void 0)).constructor=x,l=c.then,a=function(){l.call(c,n)}):a=g?function(){O.nextTick(n)}:function(){p.call(f,n)}:(s=!0,u=w.createTextNode(""),new m(n).observe(u,{characterData:!0}),a=function(){u.data=s=!s})),e.exports=b||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},41556:(e,t,r)=>{"use strict";var n=r(85326);e.exports=n.Promise},65878:(e,t,r)=>{"use strict";var n=r(91038),o=r(48126);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},57166:(e,t,r)=>{"use strict";var n=r(48126),o=r(61219),i=r(37312),a=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},85127:(e,t,r)=>{"use strict";var n=r(85326),o=r(16487),i=r(60365),a=n.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},41658:(e,t,r)=>{"use strict";var n=r(1823),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},70417:(e,t,r)=>{"use strict";var n=r(40121);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},70085:(e,t,r)=>{"use strict";var n=r(85326).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&n(e)}},38112:(e,t,r)=>{"use strict";var n=r(85326),o=r(48126),i=r(95683),a=r(98980).trim,s=r(3158),u=n.parseFloat,c=n.Symbol,l=c&&c.iterator,f=1/u(s+"-0")!=-1/0||l&&!o((function(){u(Object(l))}));e.exports=f?function(e){var t=a(i(e)),r=u(t);return 0===r&&"-"==t.charAt(0)?-0:r}:u},67061:(e,t,r)=>{"use strict";var n=r(85326),o=r(48126),i=r(95683),a=r(98980).trim,s=r(3158),u=n.parseInt,c=n.Symbol,l=c&&c.iterator,f=/^[+-]?0[Xx]/,d=8!==u(s+"08")||22!==u(s+"0x16")||l&&!o((function(){u(Object(l))}));e.exports=d?function(e,t){var r=a(i(e));return u(r,t>>>0||(f.test(r)?16:10))}:u},8704:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=r(74148),i=r(97719),a=r(32176),s=r(784),u=r(5857),c="Incorrect Number.range arguments",l="NumericRangeIterator",f=o.set,d=o.getterFor(l),p=i((function(e,t,r,o,i,s){if(n(e)!=o||t!==1/0&&t!==-1/0&&n(t)!=o)throw new TypeError(c);if(e===1/0||e===-1/0)throw new RangeError(c);var d,p=t>e,h=!1;if(void 0===r)d=void 0;else if(a(r))d=r.step,h=!!r.inclusive;else{if(n(r)!=o)throw new TypeError(c);d=r}if(null==d&&(d=p?s:-s),n(d)!=o)throw new TypeError(c);if(d===1/0||d===-1/0||d===i&&e!==t)throw new RangeError(c);f(this,{type:l,start:e,end:t,step:d,inclusiveEnd:h,hitsEnd:e!=e||t!=t||d!=d||t>e!=d>i,currentCount:i,zero:i}),u||(this.start=e,this.end=t,this.step=d,this.inclusive=h)}),l,(function(){var e=d(this);if(e.hitsEnd)return{value:void 0,done:!0};var t=e.start,r=e.end,n=t+e.step*e.currentCount++;n===r&&(e.hitsEnd=!0);var o=e.inclusiveEnd;return(r>t?o?n>r:n>=r:o?r>n:r>=n)?{value:void 0,done:e.hitsEnd=!0}:{value:n,done:!1}})),h=function(e){return{get:e,set:function(){},configurable:!0,enumerable:!1}};u&&s(p.prototype,{start:h((function(){return d(this).start})),end:h((function(){return d(this).end})),inclusive:h((function(){return d(this).inclusiveEnd})),step:h((function(){return d(this).step}))}),e.exports=p},78890:(e,t,r)=>{"use strict";var n=r(5857),o=r(48126),i=r(46599),a=r(10581),s=r(40011),u=r(40120),c=r(44809),l=Object.assign,f=Object.defineProperty;e.exports=!l||o((function(){if(n&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=l({},e)[r]||i(l({},t)).join("")!=o}))?function(e,t){for(var r=u(e),o=arguments.length,l=1,f=a.f,d=s.f;o>l;)for(var p,h=c(arguments[l++]),v=f?i(h).concat(f(h)):i(h),y=v.length,g=0;y>g;)p=v[g++],n&&!d.call(h,p)||(r[p]=h[p]);return r}:l},85276:(e,t,r)=>{"use strict";var n,o=r(5847),i=r(784),a=r(61822),s=r(65693),u=r(66397),c=r(76986),l=r(71237)("IE_PROTO"),f=function(){},d=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},h=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;h="undefined"!=typeof document?document.domain&&n?p(n):((t=c("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(n);for(var r=a.length;r--;)delete h.prototype[a[r]];return h()};s[l]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(f.prototype=o(e),r=new f,f.prototype=null,r[l]=e):r=h(),void 0===t?r:i(r,t)}},784:(e,t,r)=>{"use strict";var n=r(5857),o=r(19090),i=r(5847),a=r(46599);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),s=n.length,u=0;s>u;)o.f(e,r=n[u++],t[r]);return e}},19090:(e,t,r)=>{"use strict";var n=r(5857),o=r(73054),i=r(5847),a=r(58255),s=Object.defineProperty;t.f=n?s:function(e,t,r){if(i(e),t=a(t),i(r),o)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},9277:(e,t,r)=>{"use strict";var n=r(5857),o=r(40011),i=r(61276),a=r(24563),s=r(58255),u=r(56896),c=r(73054),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=a(e),t=s(t),c)try{return l(e,t)}catch(e){}if(u(e,t))return i(!o.f.call(e,t),e[t])}},14203:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=r(24563),i=r(43622).f,a={}.toString,s="object"==("undefined"==typeof window?"undefined":n(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==a.call(e)?function(e){try{return i(e)}catch(e){return s.slice()}}(e):i(o(e))}},43622:(e,t,r)=>{"use strict";var n=r(32302),o=r(61822).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},10581:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},80715:(e,t,r)=>{"use strict";var n=r(56896),o=r(16487),i=r(40120),a=r(71237),s=r(1040),u=a("IE_PROTO"),c=Object.prototype;e.exports=s?Object.getPrototypeOf:function(e){var t=i(e);if(n(t,u))return t[u];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof Object?c:null}},56688:(e,t,r)=>{"use strict";var n=r(74148),o=r(97719),i=r(56896),a=r(46599),s=r(40120),u="Object Iterator",c=n.set,l=n.getterFor(u);e.exports=o((function(e,t){var r=s(e);c(this,{type:u,mode:t,object:r,keys:a(r),index:0})}),"Object",(function(){for(var e=l(this),t=e.keys;;){if(null===t||e.index>=t.length)return e.object=e.keys=null,{value:void 0,done:!0};var r=t[e.index++],n=e.object;if(i(n,r)){switch(e.mode){case"keys":return{value:r,done:!1};case"values":return{value:n[r],done:!1}}return{value:[r,n[r]],done:!1}}}}))},32302:(e,t,r)=>{"use strict";var n=r(56896),o=r(24563),i=r(47858).indexOf,a=r(65693);e.exports=function(e,t){var r,s=o(e),u=0,c=[];for(r in s)!n(a,r)&&n(s,r)&&c.push(r);for(;t.length>u;)n(s,r=t[u++])&&(~i(c,r)||c.push(r));return c}},46599:(e,t,r)=>{"use strict";var n=r(32302),o=r(61822);e.exports=Object.keys||function(e){return n(e,o)}},40011:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},4358:(e,t,r)=>{"use strict";var n=r(37312),o=r(85326),i=r(48126),a=r(94050);e.exports=n||!i((function(){if(!(a&&a<535)){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete o[e]}}))},15885:(e,t,r)=>{"use strict";var n=r(5847),o=r(35523);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},8841:(e,t,r)=>{"use strict";var n=r(5857),o=r(46599),i=r(24563),a=r(40011).f,s=function(e){return function(t){for(var r,s=i(t),u=o(s),c=u.length,l=0,f=[];c>l;)r=u[l++],n&&!a.call(s,r)||f.push(e?[r,s[r]]:s[r]);return f}};e.exports={entries:s(!0),values:s(!1)}},36349:(e,t,r)=>{"use strict";var n=r(74254),o=r(40281);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},13247:(e,t,r)=>{"use strict";var n=r(16487),o=r(32176);e.exports=function(e,t){var r,i;if("string"===t&&n(r=e.toString)&&!o(i=r.call(e)))return i;if(n(r=e.valueOf)&&!o(i=r.call(e)))return i;if("string"!==t&&n(r=e.toString)&&!o(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},47234:(e,t,r)=>{"use strict";var n=r(73683),o=r(43622),i=r(10581),a=r(5847);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?t.concat(r(e)):t}},94108:(e,t,r)=>{"use strict";var n=r(85326);e.exports=n},6060:e=>{"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},61666:(e,t,r)=>{"use strict";var n=r(5847),o=r(32176),i=r(41658);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},29906:(e,t,r)=>{"use strict";var n=r(14387);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},14387:(e,t,r)=>{"use strict";var n=r(85326),o=r(16487),i=r(56896),a=r(28474),s=r(65189),u=r(60365),c=r(74148),l=r(8599).CONFIGURABLE,f=c.get,d=c.enforce,p=String(String).split("String");(e.exports=function(e,t,r,u){var c,f=!!u&&!!u.unsafe,h=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet,y=u&&void 0!==u.name?u.name:t;o(r)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||l&&r.name!==y)&&a(r,"name",y),(c=d(r)).source||(c.source=p.join("string"==typeof y?y:""))),e!==n?(f?!v&&e[t]&&(h=!0):delete e[t],h?e[t]=r:a(e,t,r)):h?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return o(this)&&f(this).source||u(this)}))},41131:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=r(53717),i=r(4607),a=r(33760)("metadata"),s=a.store||(a.store=new i),u=function(e,t,r){var n=s.get(e);if(!n){if(!r)return;s.set(e,n=new o)}var i=n.get(t);if(!i){if(!r)return;n.set(t,i=new o)}return i};e.exports={store:s,getMap:u,has:function(e,t,r){var n=u(t,r,!1);return void 0!==n&&n.has(e)},get:function(e,t,r){var n=u(t,r,!1);return void 0===n?void 0:n.get(e)},set:function(e,t,r,n){u(r,n,!0).set(e,t)},keys:function(e,t){var r=u(e,t,!1),n=[];return r&&r.forEach((function(e,t){n.push(t)})),n},toKey:function(e){return void 0===e||"symbol"==n(e)?e:String(e)}}},25372:(e,t,r)=>{"use strict";var n=r(5847),o=r(16487),i=r(22619),a=r(38604);e.exports=function(e,t){var r=e.exec;if(o(r)){var s=r.call(e,t);return null!==s&&n(s),s}if("RegExp"===i(e))return a.call(e,t);throw TypeError("RegExp#exec called on incompatible receiver")}},38604:(e,t,r)=>{"use strict";var n,o,i=r(95683),a=r(73845),s=r(64672),u=r(33760),c=r(85276),l=r(74148).get,f=r(18292),d=r(163),p=RegExp.prototype.exec,h=u("native-string-replace",String.prototype.replace),v=p,y=(n=/a/,o=/b*/g,p.call(n,"a"),p.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),g=s.UNSUPPORTED_Y||s.BROKEN_CARET,m=void 0!==/()??/.exec("")[1];(y||m||g||f||d)&&(v=function(e){var t,r,n,o,s,u,f,d=this,w=l(d),O=i(e),x=w.raw;if(x)return x.lastIndex=d.lastIndex,t=v.call(x,O),d.lastIndex=x.lastIndex,t;var E=w.groups,b=g&&d.sticky,N=a.call(d),U=d.source,T=0,D=O;if(b&&(-1===(N=N.replace("y","")).indexOf("g")&&(N+="g"),D=O.slice(d.lastIndex),d.lastIndex>0&&(!d.multiline||d.multiline&&"\n"!==O.charAt(d.lastIndex-1))&&(U="(?: "+U+")",D=" "+D,T++),r=new RegExp("^(?:"+U+")",N)),m&&(r=new RegExp("^"+U+"$(?!\\s)",N)),y&&(n=d.lastIndex),o=p.call(b?r:d,D),b?o?(o.input=o.input.slice(T),o[0]=o[0].slice(T),o.index=d.lastIndex,d.lastIndex+=o[0].length):d.lastIndex=0:y&&o&&(d.lastIndex=d.global?o.index+o[0].length:n),m&&o&&o.length>1&&h.call(o[0],r,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o&&E)for(o.groups=u=c(null),s=0;s<E.length;s++)u[(f=E[s])[0]]=o[f[1]];return o}),e.exports=v},73845:(e,t,r)=>{"use strict";var n=r(5847);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},64672:(e,t,r)=>{"use strict";var n=r(48126),o=r(85326).RegExp;t.UNSUPPORTED_Y=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},18292:(e,t,r)=>{"use strict";var n=r(48126),o=r(85326).RegExp;e.exports=n((function(){var e=o(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},163:(e,t,r)=>{"use strict";var n=r(48126),o=r(85326).RegExp;e.exports=n((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},96583:e=>{"use strict";e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},66869:e=>{"use strict";e.exports=function(e,t){return e===t||e!=e&&t!=t}},99803:e=>{"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},65189:(e,t,r)=>{"use strict";var n=r(85326);e.exports=function(e,t){try{Object.defineProperty(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},48342:(e,t,r)=>{"use strict";var n=r(73683),o=r(19090),i=r(61219),a=r(5857),s=i("species");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},4005:(e,t,r)=>{"use strict";var n=r(19090).f,o=r(56896),i=r(61219)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},71237:(e,t,r)=>{"use strict";var n=r(33760),o=r(46848),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},51857:(e,t,r)=>{"use strict";var n=r(85326),o=r(65189),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},33760:(e,t,r)=>{"use strict";var n=r(37312),o=r(51857);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.18.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},44847:(e,t,r)=>{"use strict";var n=r(5847),o=r(7418),i=r(61219)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[i])?t:o(r)}},49531:(e,t,r)=>{"use strict";var n=r(48126);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},54409:(e,t,r)=>{"use strict";var n=r(49289),o=r(95683),i=r(96583),a=function(e){return function(t,r){var a,s,u=o(i(t)),c=n(r),l=u.length;return c<0||c>=l?e?"":void 0:(a=u.charCodeAt(c))<55296||a>56319||c+1===l||(s=u.charCodeAt(c+1))<56320||s>57343?e?u.charAt(c):a:e?u.slice(c,c+2):s-56320+(a-55296<<10)+65536}};e.exports={codeAt:a(!1),charAt:a(!0)}},89627:(e,t,r)=>{"use strict";var n=r(329);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},681:(e,t,r)=>{"use strict";var n=r(80624),o=r(95683),i=r(65102),a=r(96583),s=Math.ceil,u=function(e){return function(t,r,u){var c,l,f=o(a(t)),d=f.length,p=void 0===u?" ":o(u),h=n(r);return h<=d||""==p?f:(c=h-d,(l=i.call(p,s(c/p.length))).length>c&&(l=l.slice(0,c)),e?f+l:l+f)}};e.exports={start:u(!1),end:u(!0)}},13312:e=>{"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,a=String.fromCharCode,s=function(e){return e+22+75*(e<26)},u=function(e,t,r){var n=0;for(e=r?i(e/700):e>>1,e+=i(e/t);e>455;n+=36)e=i(e/35);return i(n+36*e/(e+38))},c=function(e){var r,n,c=[],l=(e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}(e)).length,f=128,d=0,p=72;for(r=0;r<e.length;r++)(n=e[r])<128&&c.push(a(n));var h=c.length,v=h;for(h&&c.push("-");v<l;){var y=t;for(r=0;r<e.length;r++)(n=e[r])>=f&&n<y&&(y=n);var g=v+1;if(y-f>i((t-d)/g))throw RangeError(o);for(d+=(y-f)*g,f=y,r=0;r<e.length;r++){if((n=e[r])<f&&++d>t)throw RangeError(o);if(n==f){for(var m=d,w=36;;w+=36){var O=w<=p?1:w>=p+26?26:w-p;if(m<O)break;var x=m-O,E=36-O;c.push(a(s(O+x%E))),m=i(x/E)}c.push(a(s(m))),p=u(d,g,v==h),d=0,++v}}++d,++f}return c.join("")};e.exports=function(e){var t,o,i=[],a=e.toLowerCase().replace(n,".").split(".");for(t=0;t<a.length;t++)o=a[t],i.push(r.test(o)?"xn--"+c(o):o);return i.join(".")}},65102:(e,t,r)=>{"use strict";var n=r(49289),o=r(95683),i=r(96583);e.exports=function(e){var t=o(i(this)),r="",a=n(e);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(r+=t);return r}},8072:(e,t,r)=>{"use strict";var n=r(8599).PROPER,o=r(48126),i=r(3158);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||n&&i[e].name!==e}))}},98980:(e,t,r)=>{"use strict";var n=r(96583),o=r(95683),i="["+r(3158)+"]",a=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),u=function(e){return function(t){var r=o(n(t));return 1&e&&(r=r.replace(a,"")),2&e&&(r=r.replace(s,"")),r}};e.exports={start:u(1),end:u(2),trim:u(3)}},32973:(e,t,r)=>{"use strict";var n,o,i,a,s=r(85326),u=r(16487),c=r(48126),l=r(97571),f=r(66397),d=r(76986),p=r(12874),h=r(23961),v=s.setImmediate,y=s.clearImmediate,g=s.process,m=s.MessageChannel,w=s.Dispatch,O=0,x={};try{n=s.location}catch(e){}var E=function(e){if(x.hasOwnProperty(e)){var t=x[e];delete x[e],t()}},b=function(e){return function(){E(e)}},N=function(e){E(e.data)},U=function(e){s.postMessage(String(e),n.protocol+"//"+n.host)};v&&y||(v=function(e){for(var t=[],r=arguments.length,n=1;r>n;)t.push(arguments[n++]);return x[++O]=function(){(u(e)?e:Function(e)).apply(void 0,t)},o(O),O},y=function(e){delete x[e]},h?o=function(e){g.nextTick(b(e))}:w&&w.now?o=function(e){w.now(b(e))}:m&&!p?(a=(i=new m).port2,i.port1.onmessage=N,o=l(a.postMessage,a,1)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!c(U)?(o=U,s.addEventListener("message",N,!1)):o="onreadystatechange"in d("script")?function(e){f.appendChild(d("script")).onreadystatechange=function(){f.removeChild(this),E(e)}}:function(e){setTimeout(b(e),0)}),e.exports={set:v,clear:y}},38300:e=>{"use strict";var t=1..valueOf;e.exports=function(e){return t.call(e)}},20618:(e,t,r)=>{"use strict";var n=r(49289),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},48983:(e,t,r)=>{"use strict";var n=r(49289),o=r(80624);e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=o(t);if(t!==r)throw RangeError("Wrong length or index");return r}},24563:(e,t,r)=>{"use strict";var n=r(44809),o=r(96583);e.exports=function(e){return n(o(e))}},49289:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},80624:(e,t,r)=>{"use strict";var n=r(49289),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},40120:(e,t,r)=>{"use strict";var n=r(96583);e.exports=function(e){return Object(n(e))}},68794:(e,t,r)=>{"use strict";var n=r(48737);e.exports=function(e,t){var r=n(e);if(r%t)throw RangeError("Wrong offset");return r}},48737:(e,t,r)=>{"use strict";var n=r(49289);e.exports=function(e){var t=n(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},18503:(e,t,r)=>{"use strict";var n=r(32176),o=r(57302),i=r(65109),a=r(13247),s=r(61219)("toPrimitive");e.exports=function(e,t){if(!n(e)||o(e))return e;var r,u=i(e,s);if(u){if(void 0===t&&(t="default"),r=u.call(e,t),!n(r)||o(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},58255:(e,t,r)=>{"use strict";var n=r(18503),o=r(57302);e.exports=function(e){var t=n(e,"string");return o(t)?t:String(t)}},74254:(e,t,r)=>{"use strict";var n={};n[r(61219)("toStringTag")]="z",e.exports="[object z]"===String(n)},95683:(e,t,r)=>{"use strict";var n=r(40281);e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)}},78197:e=>{"use strict";e.exports=function(e){try{return String(e)}catch(e){return"Object"}}},65230:(e,t,r)=>{"use strict";var n=r(70351),o=r(85326),i=r(5857),a=r(97361),s=r(15290),u=r(3077),c=r(4827),l=r(61276),f=r(28474),d=r(87312),p=r(80624),h=r(48983),v=r(68794),y=r(58255),g=r(56896),m=r(40281),w=r(32176),O=r(57302),x=r(85276),E=r(15885),b=r(43622).f,N=r(65704),U=r(16443).forEach,T=r(48342),D=r(19090),C=r(9277),_=r(74148),S=r(44517),A=_.get,M=_.set,F=D.f,j=C.f,k=Math.round,L=o.RangeError,R=u.ArrayBuffer,I=u.DataView,P=s.NATIVE_ARRAY_BUFFER_VIEWS,B=s.TYPED_ARRAY_CONSTRUCTOR,q=s.TYPED_ARRAY_TAG,G=s.TypedArray,H=s.TypedArrayPrototype,W=s.aTypedArrayConstructor,V=s.isTypedArray,$="BYTES_PER_ELEMENT",z="Wrong length",Y=function(e,t){for(var r=0,n=t.length,o=new(W(e))(n);n>r;)o[r]=t[r++];return o},X=function(e,t){F(e,t,{get:function(){return A(this)[t]}})},K=function(e){var t;return e instanceof R||"ArrayBuffer"==(t=m(e))||"SharedArrayBuffer"==t},J=function(e,t){return V(e)&&!O(t)&&t in e&&d(+t)&&t>=0},Q=function(e,t){return t=y(t),J(e,t)?l(2,e[t]):j(e,t)},Z=function(e,t,r){return t=y(t),!(J(e,t)&&w(r)&&g(r,"value"))||g(r,"get")||g(r,"set")||r.configurable||g(r,"writable")&&!r.writable||g(r,"enumerable")&&!r.enumerable?F(e,t,r):(e[t]=r.value,e)};i?(P||(C.f=Q,D.f=Z,X(H,"buffer"),X(H,"byteOffset"),X(H,"byteLength"),X(H,"length")),n({target:"Object",stat:!0,forced:!P},{getOwnPropertyDescriptor:Q,defineProperty:Z}),e.exports=function(e,t,r){var i=e.match(/\d+$/)[0]/8,s=e+(r?"Clamped":"")+"Array",u="get"+e,l="set"+e,d=o[s],y=d,g=y&&y.prototype,m={},O=function(e,t){F(e,t,{get:function(){return function(e,t){var r=A(e);return r.view[u](t*i+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var o=A(e);r&&(n=(n=k(n))<0?0:n>255?255:255&n),o.view[l](t*i+o.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};P?a&&(y=t((function(e,t,r,n){return c(e,y,s),S(w(t)?K(t)?void 0!==n?new d(t,v(r,i),n):void 0!==r?new d(t,v(r,i)):new d(t):V(t)?Y(y,t):N.call(y,t):new d(h(t)),e,y)})),E&&E(y,G),U(b(d),(function(e){e in y||f(y,e,d[e])})),y.prototype=g):(y=t((function(e,t,r,n){c(e,y,s);var o,a,u,l=0,f=0;if(w(t)){if(!K(t))return V(t)?Y(y,t):N.call(y,t);o=t,f=v(r,i);var d=t.byteLength;if(void 0===n){if(d%i)throw L(z);if((a=d-f)<0)throw L(z)}else if((a=p(n)*i)+f>d)throw L(z);u=a/i}else u=h(t),o=new R(a=u*i);for(M(e,{buffer:o,byteOffset:f,byteLength:a,length:u,view:new I(o)});l<u;)O(e,l++)})),E&&E(y,G),g=y.prototype=x(H)),g.constructor!==y&&f(g,"constructor",y),f(g,B,y),q&&f(g,q,s),m[s]=y,n({global:!0,forced:y!=d,sham:!P},m),$ in y||f(y,$,i),$ in g||f(g,$,i),T(s)}):e.exports=function(){}},97361:(e,t,r)=>{"use strict";var n=r(85326),o=r(48126),i=r(85512),a=r(15290).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,u=n.Int8Array;e.exports=!a||!o((function(){u(1)}))||!o((function(){new u(-1)}))||!i((function(e){new u,new u(null),new u(1.5),new u(e)}),!0)||o((function(){return 1!==new u(new s(2),1,void 0).length}))},57660:(e,t,r)=>{"use strict";var n=r(12674),o=r(12079);e.exports=function(e,t){return n(o(e),t)}},65704:(e,t,r)=>{"use strict";var n=r(7418),o=r(40120),i=r(80624),a=r(43948),s=r(60675),u=r(54e3),c=r(97571),l=r(15290).aTypedArrayConstructor;e.exports=function(e){var t,r,f,d,p,h,v=n(this),y=o(e),g=arguments.length,m=g>1?arguments[1]:void 0,w=void 0!==m,O=s(y);if(O&&!u(O))for(h=(p=a(y,O)).next,y=[];!(d=h.call(p)).done;)y.push(d.value);for(w&&g>2&&(m=c(m,arguments[2],2)),r=i(y.length),f=new(l(v))(r),t=0;r>t;t++)f[t]=w?m(y[t],t):y[t];return f}},12079:(e,t,r)=>{"use strict";var n=r(15290),o=r(44847),i=n.TYPED_ARRAY_CONSTRUCTOR,a=n.aTypedArrayConstructor;e.exports=function(e){return a(o(e,e[i]))}},46848:e=>{"use strict";var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},46727:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=r(65878);e.exports=o&&!Symbol.sham&&"symbol"==n(Symbol.iterator)},38708:(e,t,r)=>{"use strict";var n=r(61219);t.f=n},61219:(e,t,r)=>{"use strict";var n=r(85326),o=r(33760),i=r(56896),a=r(46848),s=r(65878),u=r(46727),c=o("wks"),l=n.Symbol,f=u?l:l&&l.withoutSetter||a;e.exports=function(e){return i(c,e)&&(s||"string"==typeof c[e])||(s&&i(l,e)?c[e]=l[e]:c[e]=f("Symbol."+e)),c[e]}},3158:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},73450:(e,t,r)=>{"use strict";var n=r(70351),o=r(80715),i=r(15885),a=r(85276),s=r(28474),u=r(61276),c=r(95046),l=r(95683),f=function(e,t){var r=this;if(!(r instanceof f))return new f(e,t);i&&(r=i(new Error(void 0),o(r))),void 0!==t&&s(r,"message",l(t));var n=[];return c(e,n.push,{that:n}),s(r,"errors",n),r};f.prototype=a(Error.prototype,{constructor:u(5,f),message:u(5,""),name:u(5,"AggregateError")}),n({global:!0},{AggregateError:f})},92199:(e,t,r)=>{"use strict";var n=r(70351),o=r(85326),i=r(3077),a=r(48342),s=i.ArrayBuffer;n({global:!0,forced:o.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},75398:(e,t,r)=>{"use strict";var n=r(70351),o=r(15290);n({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},51157:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(3077),a=r(5847),s=r(20618),u=r(80624),c=r(44847),l=i.ArrayBuffer,f=i.DataView,d=l.prototype.slice;n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(void 0!==d&&void 0===t)return d.call(a(this),e);for(var r=a(this).byteLength,n=s(e,r),o=s(void 0===t?r:t,r),i=new(c(this,l))(u(o-n)),p=new f(this),h=new f(i),v=0;n<o;)h.setUint8(v++,p.getUint8(n++));return i}})},29836:(e,t,r)=>{"use strict";var n=r(70351),o=r(40120),i=r(80624),a=r(49289),s=r(42711);n({target:"Array",proto:!0},{at:function(e){var t=o(this),r=i(t.length),n=a(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}}),s("at")},45013:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(17512),a=r(32176),s=r(40120),u=r(80624),c=r(71119),l=r(23903),f=r(82838),d=r(61219),p=r(91038),h=d("isConcatSpreadable"),v=9007199254740991,y="Maximum allowed index exceeded",g=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),m=f("concat"),w=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!g||!m},{concat:function(e){var t,r,n,o,i,a=s(this),f=l(a,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(w(i=-1===t?a:arguments[t])){if(d+(o=u(i.length))>v)throw TypeError(y);for(r=0;r<o;r++,d++)r in i&&c(f,d,i[r])}else{if(d>=v)throw TypeError(y);c(f,d++,i)}return f.length=d,f}})},33835:(e,t,r)=>{"use strict";var n=r(70351),o=r(1448),i=r(42711);n({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},53570:(e,t,r)=>{"use strict";var n=r(70351),o=r(16443).every;n({target:"Array",proto:!0,forced:!r(7037)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},17276:(e,t,r)=>{"use strict";var n=r(70351),o=r(34150),i=r(42711);n({target:"Array",proto:!0},{fill:o}),i("fill")},40175:(e,t,r)=>{"use strict";var n=r(70351),o=r(16443).filter;n({target:"Array",proto:!0,forced:!r(82838)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},29006:(e,t,r)=>{"use strict";var n=r(70351),o=r(16443).findIndex,i=r(42711),a="findIndex",s=!0;a in[]&&Array(1).findIndex((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},53950:(e,t,r)=>{"use strict";var n=r(70351),o=r(16443).find,i=r(42711),a="find",s=!0;a in[]&&Array(1).find((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},72129:(e,t,r)=>{"use strict";var n=r(70351),o=r(3677),i=r(1823),a=r(40120),s=r(80624),u=r(23903);n({target:"Array",proto:!0},{flatMap:function(e){var t,r=a(this),n=s(r.length);return i(e),(t=u(r,0)).length=o(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},94328:(e,t,r)=>{"use strict";var n=r(70351),o=r(3677),i=r(40120),a=r(80624),s=r(49289),u=r(23903);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),r=a(t.length),n=u(t,0);return n.length=o(n,t,t,r,0,void 0===e?1:s(e)),n}})},61185:(e,t,r)=>{"use strict";var n=r(70351),o=r(85713);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},24193:(e,t,r)=>{"use strict";var n=r(70351),o=r(15202);n({target:"Array",stat:!0,forced:!r(85512)((function(e){Array.from(e)}))},{from:o})},54215:(e,t,r)=>{"use strict";var n=r(70351),o=r(47858).includes,i=r(42711);n({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},53989:(e,t,r)=>{"use strict";var n=r(70351),o=r(47858).indexOf,i=r(7037),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,u=i("indexOf");n({target:"Array",proto:!0,forced:s||!u},{indexOf:function(e){return s?a.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},5374:(e,t,r)=>{"use strict";r(70351)({target:"Array",stat:!0},{isArray:r(17512)})},13329:(e,t,r)=>{"use strict";var n=r(24563),o=r(42711),i=r(45842),a=r(74148),s=r(71394),u="Array Iterator",c=a.set,l=a.getterFor(u);e.exports=s(Array,"Array",(function(e,t){c(this,{type:u,target:n(e),index:0,kind:t})}),(function(){var e=l(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},66219:(e,t,r)=>{"use strict";var n=r(70351),o=r(44809),i=r(24563),a=r(7037),s=[].join,u=o!=Object,c=a("join",",");n({target:"Array",proto:!0,forced:u||!c},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},24213:(e,t,r)=>{"use strict";var n=r(70351),o=r(94042);n({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},67543:(e,t,r)=>{"use strict";var n=r(70351),o=r(16443).map;n({target:"Array",proto:!0,forced:!r(82838)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},12822:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(83787),a=r(71119);n({target:"Array",stat:!0,forced:o((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,r=new(i(this)?this:Array)(t);t>e;)a(r,e,arguments[e++]);return r.length=t,r}})},34354:(e,t,r)=>{"use strict";var n=r(70351),o=r(96040).right,i=r(7037),a=r(91038),s=r(23961);n({target:"Array",proto:!0,forced:!i("reduceRight")||!s&&a>79&&a<83},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},46064:(e,t,r)=>{"use strict";var n=r(70351),o=r(96040).left,i=r(7037),a=r(91038),s=r(23961);n({target:"Array",proto:!0,forced:!i("reduce")||!s&&a>79&&a<83},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},30423:(e,t,r)=>{"use strict";var n=r(70351),o=r(17512),i=[].reverse,a=[1,2];n({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},39172:(e,t,r)=>{"use strict";var n=r(70351),o=r(17512),i=r(83787),a=r(32176),s=r(20618),u=r(80624),c=r(24563),l=r(71119),f=r(61219),d=r(82838)("slice"),p=f("species"),h=[].slice,v=Math.max;n({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var r,n,f,d=c(this),y=u(d.length),g=s(e,y),m=s(void 0===t?y:t,y);if(o(d)&&(r=d.constructor,(i(r)&&(r===Array||o(r.prototype))||a(r)&&null===(r=r[p]))&&(r=void 0),r===Array||void 0===r))return h.call(d,g,m);for(n=new(void 0===r?Array:r)(v(m-g,0)),f=0;g<m;g++,f++)g in d&&l(n,f,d[g]);return n.length=f,n}})},6996:(e,t,r)=>{"use strict";var n=r(70351),o=r(16443).some;n({target:"Array",proto:!0,forced:!r(7037)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},130:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(40120),a=r(80624),s=r(95683),u=r(48126),c=r(36384),l=r(7037),f=r(43956),d=r(65374),p=r(91038),h=r(94050),v=[],y=v.sort,g=u((function(){v.sort(void 0)})),m=u((function(){v.sort(null)})),w=l("sort"),O=!u((function(){if(p)return p<70;if(!(f&&f>3)){if(d)return!0;if(h)return h<603;var e,t,r,n,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:t+n,v:r})}for(v.sort((function(e,t){return t.v-e.v})),n=0;n<v.length;n++)t=v[n].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));n({target:"Array",proto:!0,forced:g||!m||!w||!O},{sort:function(e){void 0!==e&&o(e);var t=i(this);if(O)return void 0===e?y.call(t):y.call(t,e);var r,n,u=[],l=a(t.length);for(n=0;n<l;n++)n in t&&u.push(t[n]);for(r=(u=c(u,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:s(t)>s(r)?1:-1}}(e))).length,n=0;n<r;)t[n]=u[n++];for(;n<l;)delete t[n++];return t}})},85472:(e,t,r)=>{"use strict";r(48342)("Array")},44954:(e,t,r)=>{"use strict";var n=r(70351),o=r(20618),i=r(49289),a=r(80624),s=r(40120),u=r(23903),c=r(71119),l=r(82838)("splice"),f=Math.max,d=Math.min,p=9007199254740991,h="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!l},{splice:function(e,t){var r,n,l,v,y,g,m=s(this),w=a(m.length),O=o(e,w),x=arguments.length;if(0===x?r=n=0:1===x?(r=0,n=w-O):(r=x-2,n=d(f(i(t),0),w-O)),w+r-n>p)throw TypeError(h);for(l=u(m,n),v=0;v<n;v++)(y=O+v)in m&&c(l,v,m[y]);if(l.length=n,r<n){for(v=O;v<w-n;v++)g=v+r,(y=v+n)in m?m[g]=m[y]:delete m[g];for(v=w;v>w-n+r;v--)delete m[v-1]}else if(r>n)for(v=w-n;v>O;v--)g=v+r-1,(y=v+n-1)in m?m[g]=m[y]:delete m[g];for(v=0;v<r;v++)m[v+O]=arguments[v+2];return m.length=w-n+r,l}})},18270:(e,t,r)=>{"use strict";r(42711)("flatMap")},12429:(e,t,r)=>{"use strict";r(42711)("flat")},26889:(e,t,r)=>{"use strict";var n=r(70351),o=r(3077);n({global:!0,forced:!r(21735)},{DataView:o.DataView})},93738:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126)((function(){return 120!==new Date(16e11).getYear()})),i=Date.prototype.getFullYear;n({target:"Date",proto:!0,forced:o},{getYear:function(){return i.call(this)-1900}})},80366:(e,t,r)=>{"use strict";r(70351)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},50360:(e,t,r)=>{"use strict";var n=r(70351),o=r(49289),i=Date.prototype.getTime,a=Date.prototype.setFullYear;n({target:"Date",proto:!0},{setYear:function(e){i.call(this);var t=o(e),r=0<=t&&t<=99?t+1900:t;return a.call(this,r)}})},3991:(e,t,r)=>{"use strict";r(70351)({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString})},86854:(e,t,r)=>{"use strict";var n=r(70351),o=r(41921);n({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},3925:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(40120),a=r(18503);n({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),r=a(t,"number");return"number"!=typeof r||isFinite(r)?t.toISOString():null}})},60890:(e,t,r)=>{"use strict";var n=r(14387),o=r(33869),i=r(61219)("toPrimitive"),a=Date.prototype;i in a||n(a,i,o)},10881:(e,t,r)=>{"use strict";var n=r(14387),o=Date.prototype,i="Invalid Date",a=o.toString,s=o.getTime;String(new Date(NaN))!=i&&n(o,"toString",(function(){var e=s.call(this);return e==e?a.call(this):i}))},26148:(e,t,r)=>{"use strict";var n=r(70351),o=r(95683),i=/[\w*+\-./@]/,a=function(e,t){for(var r=e.toString(16);r.length<t;)r="0"+r;return r};n({global:!0},{escape:function(e){for(var t,r,n=o(e),s="",u=n.length,c=0;c<u;)t=n.charAt(c++),i.test(t)?s+=t:s+=(r=t.charCodeAt(0))<256?"%"+a(r,2):"%u"+a(r,4).toUpperCase();return s}})},87741:(e,t,r)=>{"use strict";r(70351)({target:"Function",proto:!0},{bind:r(49676)})},5668:(e,t,r)=>{"use strict";var n=r(16487),o=r(32176),i=r(19090),a=r(80715),s=r(61219)("hasInstance"),u=Function.prototype;s in u||i.f(u,s,{value:function(e){if(!n(this)||!o(e))return!1;if(!o(this.prototype))return e instanceof this;for(;e=a(e);)if(this.prototype===e)return!0;return!1}})},95168:(e,t,r)=>{"use strict";var n=r(5857),o=r(8599).EXISTS,i=r(19090).f,a=Function.prototype,s=a.toString,u=/^\s*function ([^ (]*)/;n&&!o&&i(a,"name",{configurable:!0,get:function(){try{return s.call(this).match(u)[1]}catch(e){return""}}})},9775:(e,t,r)=>{"use strict";r(70351)({global:!0},{globalThis:r(85326)})},34538:(e,t,r)=>{"use strict";var n=r(70351),o=r(73683),i=r(48126),a=o("JSON","stringify"),s=/[\uD800-\uDFFF]/g,u=/^[\uD800-\uDBFF]$/,c=/^[\uDC00-\uDFFF]$/,l=function(e,t,r){var n=r.charAt(t-1),o=r.charAt(t+1);return u.test(e)&&!c.test(o)||c.test(e)&&!u.test(n)?"\\u"+e.charCodeAt(0).toString(16):e},f=i((function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")}));a&&n({target:"JSON",stat:!0,forced:f},{stringify:function(e,t,r){var n=a.apply(null,arguments);return"string"==typeof n?n.replace(s,l):n}})},87800:(e,t,r)=>{"use strict";var n=r(85326);r(4005)(n.JSON,"JSON",!0)},53717:(e,t,r)=>{"use strict";var n=r(14701),o=r(84110);e.exports=n("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},57162:(e,t,r)=>{"use strict";var n=r(70351),o=r(18284),i=Math.acosh,a=Math.log,s=Math.sqrt,u=Math.LN2;n({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+u:o(e-1+s(e-1)*s(e+1))}})},99932:(e,t,r)=>{"use strict";var n=r(70351),o=Math.asinh,i=Math.log,a=Math.sqrt;n({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+a(t*t+1)):t}})},17819:(e,t,r)=>{"use strict";var n=r(70351),o=Math.atanh,i=Math.log;n({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},18030:(e,t,r)=>{"use strict";var n=r(70351),o=r(88617),i=Math.abs,a=Math.pow;n({target:"Math",stat:!0},{cbrt:function(e){return o(e=+e)*a(i(e),1/3)}})},40610:(e,t,r)=>{"use strict";var n=r(70351),o=Math.floor,i=Math.log,a=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-o(i(e+.5)*a):32}})},46559:(e,t,r)=>{"use strict";var n=r(70351),o=r(13978),i=Math.cosh,a=Math.abs,s=Math.E;n({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=o(a(e)-1)+1;return(t+1/(t*s*s))*(s/2)}})},96375:(e,t,r)=>{"use strict";var n=r(70351),o=r(13978);n({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},4337:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{fround:r(18099)})},31553:(e,t,r)=>{"use strict";var n=r(70351),o=Math.hypot,i=Math.abs,a=Math.sqrt;n({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var r,n,o=0,s=0,u=arguments.length,c=0;s<u;)c<(r=i(arguments[s++]))?(o=o*(n=c/r)*n+1,c=r):o+=r>0?(n=r/c)*n:r;return c===1/0?1/0:c*a(o)}})},66676:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=Math.imul;n({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var r=65535,n=+e,o=+t,i=r&n,a=r&o;return 0|i*a+((r&n>>>16)*a+i*(r&o>>>16)<<16>>>0)}})},21471:(e,t,r)=>{"use strict";var n=r(70351),o=Math.log,i=Math.LOG10E;n({target:"Math",stat:!0},{log10:function(e){return o(e)*i}})},57939:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{log1p:r(18284)})},74553:(e,t,r)=>{"use strict";var n=r(70351),o=Math.log,i=Math.LN2;n({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},56830:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{sign:r(88617)})},87400:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(13978),a=Math.abs,s=Math.exp,u=Math.E;n({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(s(e-1)-s(-e-1))*(u/2)}})},67538:(e,t,r)=>{"use strict";var n=r(70351),o=r(13978),i=Math.exp;n({target:"Math",stat:!0},{tanh:function(e){var t=o(e=+e),r=o(-e);return t==1/0?1:r==1/0?-1:(t-r)/(i(e)+i(-e))}})},72026:(e,t,r)=>{"use strict";r(4005)(Math,"Math",!0)},66613:(e,t,r)=>{"use strict";var n=r(70351),o=Math.ceil,i=Math.floor;n({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},51350:(e,t,r)=>{"use strict";var n=r(5857),o=r(85326),i=r(72491),a=r(14387),s=r(56896),u=r(22619),c=r(44517),l=r(57302),f=r(18503),d=r(48126),p=r(85276),h=r(43622).f,v=r(9277).f,y=r(19090).f,g=r(98980).trim,m="Number",w=o.Number,O=w.prototype,x=u(p(O))==m,E=function(e){if(l(e))throw TypeError("Cannot convert a Symbol value to a number");var t,r,n,o,i,a,s,u,c=f(e,"number");if("string"==typeof c&&c.length>2)if(43===(t=(c=g(c)).charCodeAt(0))||45===t){if(88===(r=c.charCodeAt(2))||120===r)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((u=i.charCodeAt(s))<48||u>o)return NaN;return parseInt(i,n)}return+c};if(i(m,!w(" 0o1")||!w("0b1")||w("+0x1"))){for(var b,N=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof N&&(x?d((function(){O.valueOf.call(r)})):u(r)!=m)?c(new w(E(t)),r,N):E(t)},U=n?h(w):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),T=0;U.length>T;T++)s(w,b=U[T])&&!s(N,b)&&y(N,b,v(w,b));N.prototype=O,O.constructor=N,a(o,m,N)}},82514:(e,t,r)=>{"use strict";r(70351)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},95275:(e,t,r)=>{"use strict";r(70351)({target:"Number",stat:!0},{isFinite:r(70085)})},82151:(e,t,r)=>{"use strict";r(70351)({target:"Number",stat:!0},{isInteger:r(87312)})},20357:(e,t,r)=>{"use strict";r(70351)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},1657:(e,t,r)=>{"use strict";var n=r(70351),o=r(87312),i=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},63970:(e,t,r)=>{"use strict";r(70351)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},48560:(e,t,r)=>{"use strict";r(70351)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},94884:(e,t,r)=>{"use strict";var n=r(70351),o=r(38112);n({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},4807:(e,t,r)=>{"use strict";var n=r(70351),o=r(67061);n({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},57148:(e,t,r)=>{"use strict";var n=r(70351),o=r(49289),i=r(38300),a=r(65102),s=r(48126),u=1..toFixed,c=Math.floor,l=function e(t,r,n){return 0===r?n:r%2==1?e(t,r-1,n*t):e(t*t,r/2,n)},f=function(e,t,r){for(var n=-1,o=r;++n<6;)o+=t*e[n],e[n]=o%1e7,o=c(o/1e7)},d=function(e,t){for(var r=6,n=0;--r>=0;)n+=e[r],e[r]=c(n/t),n=n%t*1e7},p=function(e){for(var t=6,r="";--t>=0;)if(""!==r||0===t||0!==e[t]){var n=String(e[t]);r=""===r?n:r+a.call("0",7-n.length)+n}return r};n({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){u.call({})}))},{toFixed:function(e){var t,r,n,s,u=i(this),c=o(e),h=[0,0,0,0,0,0],v="",y="0";if(c<0||c>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(v="-",u=-u),u>1e-21)if(r=(t=function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}(u*l(2,69,1))-69)<0?u*l(2,-t,1):u/l(2,t,1),r*=4503599627370496,(t=52-t)>0){for(f(h,0,r),n=c;n>=7;)f(h,1e7,0),n-=7;for(f(h,l(10,n,1),0),n=t-1;n>=23;)d(h,1<<23),n-=23;d(h,1<<n),f(h,1,1),d(h,2),y=p(h)}else f(h,0,r),f(h,1<<-t,0),y=p(h)+a.call("0",c);return c>0?v+((s=y.length)<=c?"0."+a.call("0",c-s)+y:y.slice(0,s-c)+"."+y.slice(s-c)):v+y}})},30818:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(38300),a=1..toPrecision;n({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(e){return void 0===e?a.call(i(this)):a.call(i(this),e)}})},74374:(e,t,r)=>{"use strict";var n=r(70351),o=r(78890);n({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},17138:(e,t,r)=>{"use strict";r(70351)({target:"Object",stat:!0,sham:!r(5857)},{create:r(85276)})},20884:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857),i=r(4358),a=r(1823),s=r(40120),u=r(19090);o&&n({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){u.f(s(this),e,{get:a(t),enumerable:!0,configurable:!0})}})},34638:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(784)})},16391:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(19090).f})},34526:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857),i=r(4358),a=r(1823),s=r(40120),u=r(19090);o&&n({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){u.f(s(this),e,{set:a(t),enumerable:!0,configurable:!0})}})},56668:(e,t,r)=>{"use strict";var n=r(70351),o=r(8841).entries;n({target:"Object",stat:!0},{entries:function(e){return o(e)}})},27026:(e,t,r)=>{"use strict";var n=r(70351),o=r(96512),i=r(48126),a=r(32176),s=r(84395).onFreeze,u=Object.freeze;n({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(e){return u&&a(e)?u(s(e)):e}})},73491:(e,t,r)=>{"use strict";var n=r(70351),o=r(95046),i=r(71119);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,r){i(t,e,r)}),{AS_ENTRIES:!0}),t}})},46235:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(24563),a=r(9277).f,s=r(5857),u=o((function(){a(1)}));n({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},80239:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857),i=r(47234),a=r(24563),s=r(9277),u=r(71119);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=s.f,c=i(n),l={},f=0;c.length>f;)void 0!==(r=o(n,t=c[f++]))&&u(l,t,r);return l}})},2242:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(14203).f;n({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},62816:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(40120),a=r(80715),s=r(1040);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},82181:(e,t,r)=>{"use strict";r(70351)({target:"Object",stat:!0},{hasOwn:r(56896)})},500:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(32176),a=Object.isExtensible;n({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},41063:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(32176),a=Object.isFrozen;n({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},16130:(e,t,r)=>{"use strict";var n=r(70351),o=r(48126),i=r(32176),a=Object.isSealed;n({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},21117:(e,t,r)=>{"use strict";r(70351)({target:"Object",stat:!0},{is:r(99803)})},26268:(e,t,r)=>{"use strict";var n=r(70351),o=r(40120),i=r(46599);n({target:"Object",stat:!0,forced:r(48126)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},89281:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857),i=r(4358),a=r(40120),s=r(58255),u=r(80715),c=r(9277).f;o&&n({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,r=a(this),n=s(e);do{if(t=c(r,n))return t.get}while(r=u(r))}})},34266:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857),i=r(4358),a=r(40120),s=r(58255),u=r(80715),c=r(9277).f;o&&n({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,r=a(this),n=s(e);do{if(t=c(r,n))return t.set}while(r=u(r))}})},32421:(e,t,r)=>{"use strict";var n=r(70351),o=r(32176),i=r(84395).onFreeze,a=r(96512),s=r(48126),u=Object.preventExtensions;n({target:"Object",stat:!0,forced:s((function(){u(1)})),sham:!a},{preventExtensions:function(e){return u&&o(e)?u(i(e)):e}})},91001:(e,t,r)=>{"use strict";var n=r(70351),o=r(32176),i=r(84395).onFreeze,a=r(96512),s=r(48126),u=Object.seal;n({target:"Object",stat:!0,forced:s((function(){u(1)})),sham:!a},{seal:function(e){return u&&o(e)?u(i(e)):e}})},86200:(e,t,r)=>{"use strict";r(70351)({target:"Object",stat:!0},{setPrototypeOf:r(15885)})},45255:(e,t,r)=>{"use strict";var n=r(74254),o=r(14387),i=r(36349);n||o(Object.prototype,"toString",i,{unsafe:!0})},55653:(e,t,r)=>{"use strict";var n=r(70351),o=r(8841).values;n({target:"Object",stat:!0},{values:function(e){return o(e)}})},85620:(e,t,r)=>{"use strict";var n=r(70351),o=r(38112);n({global:!0,forced:parseFloat!=o},{parseFloat:o})},69352:(e,t,r)=>{"use strict";var n=r(70351),o=r(67061);n({global:!0,forced:parseInt!=o},{parseInt:o})},84380:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(41658),a=r(6060),s=r(95046);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=i.f(t),n=r.resolve,u=r.reject,c=a((function(){var r=o(t.resolve),i=[],a=0,u=1;s(e,(function(e){var o=a++,s=!1;i.push(void 0),u++,r.call(t,e).then((function(e){s||(s=!0,i[o]={status:"fulfilled",value:e},--u||n(i))}),(function(e){s||(s=!0,i[o]={status:"rejected",reason:e},--u||n(i))}))})),--u||n(i)}));return c.error&&u(c.value),r.promise}})},12933:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(73683),a=r(41658),s=r(6060),u=r(95046),c="No one promise resolved";n({target:"Promise",stat:!0},{any:function(e){var t=this,r=a.f(t),n=r.resolve,l=r.reject,f=s((function(){var r=o(t.resolve),a=[],s=0,f=1,d=!1;u(e,(function(e){var o=s++,u=!1;a.push(void 0),f++,r.call(t,e).then((function(e){u||d||(d=!0,n(e))}),(function(e){u||d||(u=!0,a[o]=e,--f||l(new(i("AggregateError"))(a,c)))}))})),--f||l(new(i("AggregateError"))(a,c))}));return f.error&&l(f.value),r.promise}})},83242:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(41556),a=r(48126),s=r(73683),u=r(16487),c=r(44847),l=r(61666),f=r(14387);if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),r=u(e);return this.then(r?function(r){return l(t,e()).then((function(){return r}))}:e,r?function(r){return l(t,e()).then((function(){throw r}))}:e)}}),!o&&u(i)){var d=s("Promise").prototype.finally;i.prototype.finally!==d&&f(i.prototype,"finally",d,{unsafe:!0})}},78841:(e,t,r)=>{"use strict";var n,o,i,a,s=r(70351),u=r(37312),c=r(85326),l=r(73683),f=r(41556),d=r(14387),p=r(29906),h=r(15885),v=r(4005),y=r(48342),g=r(1823),m=r(16487),w=r(32176),O=r(4827),x=r(60365),E=r(95046),b=r(85512),N=r(44847),U=r(32973).set,T=r(50065),D=r(61666),C=r(6138),_=r(41658),S=r(6060),A=r(74148),M=r(72491),F=r(61219),j=r(19257),k=r(23961),L=r(91038),R=F("species"),I="Promise",P=A.get,B=A.set,q=A.getterFor(I),G=f&&f.prototype,H=f,W=G,V=c.TypeError,$=c.document,z=c.process,Y=_.f,X=Y,K=!!($&&$.createEvent&&c.dispatchEvent),J=m(c.PromiseRejectionEvent),Q="unhandledrejection",Z=!1,ee=M(I,(function(){var e=x(H),t=e!==String(H);if(!t&&66===L)return!0;if(u&&!W.finally)return!0;if(L>=51&&/native code/.test(e))return!1;var r=new H((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(r.constructor={})[R]=n,!(Z=r.then((function(){}))instanceof n)||!t&&j&&!J})),te=ee||!b((function(e){H.all(e).catch((function(){}))})),re=function(e){var t;return!(!w(e)||!m(t=e.then))&&t},ne=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;T((function(){for(var n=e.value,o=1==e.state,i=0;r.length>i;){var a,s,u,c=r[i++],l=o?c.ok:c.fail,f=c.resolve,d=c.reject,p=c.domain;try{l?(o||(2===e.rejection&&se(e),e.rejection=1),!0===l?a=n:(p&&p.enter(),a=l(n),p&&(p.exit(),u=!0)),a===c.promise?d(V("Promise-chain cycle")):(s=re(a))?s.call(a,f,d):f(a)):d(n)}catch(e){p&&!u&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ie(e)}))}},oe=function(e,t,r){var n,o;K?((n=$.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!J&&(o=c["on"+e])?o(n):e===Q&&C("Unhandled promise rejection",r)},ie=function(e){U.call(c,(function(){var t,r=e.facade,n=e.value;if(ae(e)&&(t=S((function(){k?z.emit("unhandledRejection",n,r):oe(Q,r,n)})),e.rejection=k||ae(e)?2:1,t.error))throw t.value}))},ae=function(e){return 1!==e.rejection&&!e.parent},se=function(e){U.call(c,(function(){var t=e.facade;k?z.emit("rejectionHandled",t):oe("rejectionhandled",t,e.value)}))},ue=function(e,t,r){return function(n){e(t,n,r)}},ce=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,ne(e,!0))},le=function e(t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===r)throw V("Promise can't be resolved itself");var o=re(r);o?T((function(){var n={done:!1};try{o.call(r,ue(e,n,t),ue(ce,n,t))}catch(e){ce(n,e,t)}})):(t.value=r,t.state=1,ne(t,!1))}catch(e){ce({done:!1},e,t)}}};if(ee&&(W=(H=function(e){O(this,H,I),g(e),n.call(this);var t=P(this);try{e(ue(le,t),ue(ce,t))}catch(e){ce(t,e)}}).prototype,(n=function(e){B(this,{type:I,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(W,{then:function(e,t){var r=q(this),n=Y(N(this,H));return n.ok=!m(e)||e,n.fail=m(t)&&t,n.domain=k?z.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&ne(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=P(e);this.promise=e,this.resolve=ue(le,t),this.reject=ue(ce,t)},_.f=Y=function(e){return e===H||e===i?new o(e):X(e)},!u&&m(f)&&G!==Object.prototype)){a=G.then,Z||(d(G,"then",(function(e,t){var r=this;return new H((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),d(G,"catch",W.catch,{unsafe:!0}));try{delete G.constructor}catch(e){}h&&h(G,W)}s({global:!0,wrap:!0,forced:ee},{Promise:H}),v(H,I,!1,!0),y(I),i=l(I),s({target:I,stat:!0,forced:ee},{reject:function(e){var t=Y(this);return t.reject.call(void 0,e),t.promise}}),s({target:I,stat:!0,forced:u||ee},{resolve:function(e){return D(u&&this===i?H:this,e)}}),s({target:I,stat:!0,forced:te},{all:function(e){var t=this,r=Y(t),n=r.resolve,o=r.reject,i=S((function(){var r=g(t.resolve),i=[],a=0,s=1;E(e,(function(e){var u=a++,c=!1;i.push(void 0),s++,r.call(t,e).then((function(e){c||(c=!0,i[u]=e,--s||n(i))}),o)})),--s||n(i)}));return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=Y(t),n=r.reject,o=S((function(){var o=g(t.resolve);E(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},4552:(e,t,r)=>{"use strict";var n=r(70351),o=r(73683),i=r(1823),a=r(5847),s=r(48126),u=o("Reflect","apply"),c=Function.apply;n({target:"Reflect",stat:!0,forced:!s((function(){u((function(){}))}))},{apply:function(e,t,r){return i(e),a(r),u?u(e,t,r):c.call(e,t,r)}})},55857:(e,t,r)=>{"use strict";var n=r(70351),o=r(73683),i=r(7418),a=r(5847),s=r(32176),u=r(85276),c=r(49676),l=r(48126),f=o("Reflect","construct"),d=l((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),p=!l((function(){f((function(){}))})),h=d||p;n({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var r=arguments.length<3?e:i(arguments[2]);if(p&&!d)return f(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(c.apply(e,n))}var o=r.prototype,l=u(s(o)?o:Object.prototype),h=Function.apply.call(e,l,t);return s(h)?h:l}})},92188:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857),i=r(5847),a=r(58255),s=r(19090);n({target:"Reflect",stat:!0,forced:r(48126)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(e,t,r){i(e);var n=a(t);i(r);try{return s.f(e,n,r),!0}catch(e){return!1}}})},4159:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(9277).f;n({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var r=i(o(e),t);return!(r&&!r.configurable)&&delete e[t]}})},63234:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857),i=r(5847),a=r(9277);n({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},71826:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(80715);n({target:"Reflect",stat:!0,sham:!r(1040)},{getPrototypeOf:function(e){return i(o(e))}})},67038:(e,t,r)=>{"use strict";var n=r(70351),o=r(32176),i=r(5847),a=r(71758),s=r(9277),u=r(80715);n({target:"Reflect",stat:!0},{get:function e(t,r){var n,c,l=arguments.length<3?t:arguments[2];return i(t)===l?t[r]:(n=s.f(t,r))?a(n)?n.value:void 0===n.get?void 0:n.get.call(l):o(c=u(t))?e(c,r,l):void 0}})},74290:(e,t,r)=>{"use strict";r(70351)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},60081:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=Object.isExtensible;n({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),!i||i(e)}})},58534:(e,t,r)=>{"use strict";r(70351)({target:"Reflect",stat:!0},{ownKeys:r(47234)})},25207:(e,t,r)=>{"use strict";var n=r(70351),o=r(73683),i=r(5847);n({target:"Reflect",stat:!0,sham:!r(96512)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},97836:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(35523),a=r(15885);a&&n({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(e){return!1}}})},68854:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(32176),a=r(71758),s=r(48126),u=r(19090),c=r(9277),l=r(80715),f=r(61276);n({target:"Reflect",stat:!0,forced:s((function(){var e=function(){},t=u.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)}))},{set:function e(t,r,n){var s,d,p,h=arguments.length<4?t:arguments[3],v=c.f(o(t),r);if(!v){if(i(d=l(t)))return e(d,r,n,h);v=f(0)}if(a(v)){if(!1===v.writable||!i(h))return!1;if(s=c.f(h,r)){if(s.get||s.set||!1===s.writable)return!1;s.value=n,u.f(h,r,s)}else u.f(h,r,f(0,n))}else{if(void 0===(p=v.set))return!1;p.call(h,n)}return!0}})},69735:(e,t,r)=>{"use strict";var n=r(70351),o=r(85326),i=r(4005);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},11975:(e,t,r)=>{"use strict";var n=r(5857),o=r(85326),i=r(72491),a=r(44517),s=r(28474),u=r(19090).f,c=r(43622).f,l=r(40121),f=r(95683),d=r(73845),p=r(64672),h=r(14387),v=r(48126),y=r(56896),g=r(74148).enforce,m=r(48342),w=r(61219),O=r(18292),x=r(163),E=w("match"),b=o.RegExp,N=b.prototype,U=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,T=/a/g,D=/a/g,C=new b(T)!==T,_=p.UNSUPPORTED_Y;if(i("RegExp",n&&(!C||_||O||x||v((function(){return D[E]=!1,b(T)!=T||b(D)==D||"/a/i"!=b(T,"i")}))))){for(var S=function(e,t){var r,n,o,i,u,c,p=this instanceof S,h=l(e),v=void 0===t,m=[],w=e;if(!p&&h&&v&&e.constructor===S)return e;if((h||e instanceof S)&&(e=e.source,v&&(t="flags"in w?w.flags:d.call(w))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),w=e,O&&"dotAll"in T&&(n=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),r=t,_&&"sticky"in T&&(o=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),x&&(e=(i=function(e){for(var t,r=e.length,n=0,o="",i=[],a={},s=!1,u=!1,c=0,l="";n<=r;n++){if("\\"===(t=e.charAt(n)))t+=e.charAt(++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:U.test(e.slice(n+1))&&(n+=2,u=!0),o+=t,c++;continue;case">"===t&&u:if(""===l||y(a,l))throw new SyntaxError("Invalid capture group name");a[l]=!0,i.push([l,c]),u=!1,l="";continue}u?l+=t:o+=t}return[o,i]}(e))[0],m=i[1]),u=a(b(e,t),p?this:N,S),(n||o||m.length)&&(c=g(u),n&&(c.dotAll=!0,c.raw=S(function(e){for(var t,r=e.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(t=e.charAt(n))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+e.charAt(++n);return o}(e),r)),o&&(c.sticky=!0),m.length&&(c.groups=m)),e!==w)try{s(u,"source",""===w?"(?:)":w)}catch(e){}return u},A=function(e){e in S||u(S,e,{configurable:!0,get:function(){return b[e]},set:function(t){b[e]=t}})},M=c(b),F=0;M.length>F;)A(M[F++]);N.constructor=S,S.prototype=N,h(o,"RegExp",S)}m("RegExp")},30715:(e,t,r)=>{"use strict";var n=r(5857),o=r(18292),i=r(19090).f,a=r(74148).get,s=RegExp.prototype;n&&o&&i(s,"dotAll",{configurable:!0,get:function(){if(this!==s){if(this instanceof RegExp)return!!a(this).dotAll;throw TypeError("Incompatible receiver, RegExp required")}}})},39285:(e,t,r)=>{"use strict";var n=r(70351),o=r(38604);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},7461:(e,t,r)=>{"use strict";var n=r(5857),o=r(19090),i=r(73845),a=r(48126);n&&a((function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})}))&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},54153:(e,t,r)=>{"use strict";var n=r(5857),o=r(64672).UNSUPPORTED_Y,i=r(19090).f,a=r(74148).get,s=RegExp.prototype;n&&o&&i(s,"sticky",{configurable:!0,get:function(){if(this!==s){if(this instanceof RegExp)return!!a(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},36391:(e,t,r)=>{"use strict";r(39285);var n,o,i=r(70351),a=r(16487),s=r(32176),u=(n=!1,(o=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&n),c=/./.test;i({target:"RegExp",proto:!0,forced:!u},{test:function(e){var t=this.exec;if(!a(t))return c.call(this,e);var r=t.call(this,e);if(null!==r&&!s(r))throw new Error("RegExp exec method returned something other than an Object or null");return!!r}})},48038:(e,t,r)=>{"use strict";var n=r(8599).PROPER,o=r(14387),i=r(5847),a=r(95683),s=r(48126),u=r(73845),c="toString",l=RegExp.prototype,f=l.toString,d=s((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),p=n&&f.name!=c;(d||p)&&o(RegExp.prototype,c,(function(){var e=i(this),t=a(e.source),r=e.flags;return"/"+t+"/"+a(void 0===r&&e instanceof RegExp&&!("flags"in l)?u.call(e):r)}),{unsafe:!0})},60123:(e,t,r)=>{"use strict";var n=r(14701),o=r(84110);e.exports=n("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},44939:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},14835:(e,t,r)=>{"use strict";var n=r(70351),o=r(96583),i=r(49289),a=r(80624),s=r(95683);n({target:"String",proto:!0,forced:r(48126)((function(){return"\ud842"!=="𠮷".at(0)}))},{at:function(e){var t=s(o(this)),r=a(t.length),n=i(e),u=n>=0?n:r+n;return u<0||u>=r?void 0:t.charAt(u)}})},66120:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("big")},{big:function(){return o(this,"big","","")}})},17522:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("blink")},{blink:function(){return o(this,"blink","","")}})},82086:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("bold")},{bold:function(){return o(this,"b","","")}})},54139:(e,t,r)=>{"use strict";var n=r(70351),o=r(54409).codeAt;n({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},35009:(e,t,r)=>{"use strict";var n,o=r(70351),i=r(9277).f,a=r(80624),s=r(95683),u=r(70417),c=r(96583),l=r(46901),f=r(37312),d="".endsWith,p=Math.min,h=l("endsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(n=i(String.prototype,"endsWith"),n&&!n.writable)||h)},{endsWith:function(e){var t=s(c(this));u(e);var r=arguments.length>1?arguments[1]:void 0,n=a(t.length),o=void 0===r?n:p(a(r),n),i=s(e);return d?d.call(t,i,o):t.slice(o-i.length,o)===i}})},31916:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("fixed")},{fixed:function(){return o(this,"tt","","")}})},59973:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},65874:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},48557:(e,t,r)=>{"use strict";var n=r(70351),o=r(20618),i=String.fromCharCode,a=String.fromCodePoint;n({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,a=0;n>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");r.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return r.join("")}})},98311:(e,t,r)=>{"use strict";var n=r(70351),o=r(70417),i=r(96583),a=r(95683);n({target:"String",proto:!0,forced:!r(46901)("includes")},{includes:function(e){return!!~a(i(this)).indexOf(a(o(e)),arguments.length>1?arguments[1]:void 0)}})},26389:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("italics")},{italics:function(){return o(this,"i","","")}})},63356:(e,t,r)=>{"use strict";var n=r(54409).charAt,o=r(95683),i=r(74148),a=r(71394),s="String Iterator",u=i.set,c=i.getterFor(s);a(String,"String",(function(e){u(this,{type:s,string:o(e),index:0})}),(function(){var e,t=c(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},81035:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("link")},{link:function(e){return o(this,"a","href",e)}})},23430:(e,t,r)=>{"use strict";var n=r(70351),o=r(97719),i=r(96583),a=r(80624),s=r(95683),u=r(5847),c=r(22619),l=r(40121),f=r(73845),d=r(65109),p=r(14387),h=r(48126),v=r(61219),y=r(44847),g=r(87637),m=r(25372),w=r(74148),O=r(37312),x=v("matchAll"),E="RegExp String Iterator",b=w.set,N=w.getterFor(E),U=RegExp.prototype,T="".matchAll,D=!!T&&!h((function(){"a".matchAll(/./)})),C=o((function(e,t,r,n){b(this,{type:E,regexp:e,string:t,global:r,unicode:n,done:!1})}),"RegExp String",(function(){var e=N(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,r=e.string,n=m(t,r);return null===n?{value:void 0,done:e.done=!0}:e.global?(""===s(n[0])&&(t.lastIndex=g(r,a(t.lastIndex),e.unicode)),{value:n,done:!1}):(e.done=!0,{value:n,done:!1})})),_=function(e){var t,r,n,o,i,c,l=u(this),d=s(e);return t=y(l,RegExp),void 0===(r=l.flags)&&l instanceof RegExp&&!("flags"in U)&&(r=f.call(l)),n=void 0===r?"":s(r),o=new t(t===RegExp?l.source:l,n),i=!!~n.indexOf("g"),c=!!~n.indexOf("u"),o.lastIndex=a(l.lastIndex),new C(o,d,i,c)};n({target:"String",proto:!0,forced:D},{matchAll:function(e){var t,r,n,o=i(this);if(null!=e){if(l(e)&&!~s(i("flags"in U?e.flags:f.call(e))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(D)return T.apply(o,arguments);if(void 0===(r=d(e,x))&&O&&"RegExp"==c(e)&&(r=_),r)return r.call(e,o)}else if(D)return T.apply(o,arguments);return t=s(o),n=new RegExp(e,"g"),O?_.call(n,t):n[x](t)}}),O||x in U||p(U,x,_)},84400:(e,t,r)=>{"use strict";var n=r(26036),o=r(5847),i=r(80624),a=r(95683),s=r(96583),u=r(65109),c=r(87637),l=r(25372);n("match",(function(e,t,r){return[function(t){var r=s(this),n=null==t?void 0:u(t,e);return n?n.call(t,r):new RegExp(t)[e](a(r))},function(e){var n=o(this),s=a(e),u=r(t,n,s);if(u.done)return u.value;if(!n.global)return l(n,s);var f=n.unicode;n.lastIndex=0;for(var d,p=[],h=0;null!==(d=l(n,s));){var v=a(d[0]);p[h]=v,""===v&&(n.lastIndex=c(s,i(n.lastIndex),f)),h++}return 0===h?null:p}]}))},58387:(e,t,r)=>{"use strict";var n=r(70351),o=r(681).end;n({target:"String",proto:!0,forced:r(89627)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},43514:(e,t,r)=>{"use strict";var n=r(70351),o=r(681).start;n({target:"String",proto:!0,forced:r(89627)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},5855:(e,t,r)=>{"use strict";var n=r(70351),o=r(24563),i=r(40120),a=r(80624),s=r(95683),u=Array.prototype,c=u.push,l=u.join;n({target:"String",stat:!0},{raw:function(e){for(var t=o(i(e).raw),r=a(t.length),n=arguments.length,u=[],f=0;r>f;)c.call(u,s(t[f++])),f<n&&c.call(u,s(arguments[f]));return l.call(u,"")}})},54838:(e,t,r)=>{"use strict";r(70351)({target:"String",proto:!0},{repeat:r(65102)})},41355:(e,t,r)=>{"use strict";var n=r(70351),o=r(96583),i=r(16487),a=r(40121),s=r(95683),u=r(65109),c=r(73845),l=r(38174),f=r(61219),d=r(37312),p=f("replace"),h=RegExp.prototype,v=Math.max,y=function(e,t,r){return r>e.length?-1:""===t?r:e.indexOf(t,r)};n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,f,g,m,w,O,x,E=o(this),b=0,N=0,U="";if(null!=e){if((r=a(e))&&!~s(o("flags"in h?e.flags:c.call(e))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(n=u(e,p))return n.call(e,E,t);if(d&&r)return s(E).replace(e,t)}for(f=s(E),g=s(e),(m=i(t))||(t=s(t)),w=g.length,O=v(1,w),b=y(f,g,0);-1!==b;)x=m?s(t(g,b,f)):l(g,f,b,[],void 0,t),U+=f.slice(N,b)+x,N=b+w,b=y(f,g,b+O);return N<f.length&&(U+=f.slice(N)),U}})},93902:(e,t,r)=>{"use strict";var n=r(26036),o=r(48126),i=r(5847),a=r(16487),s=r(49289),u=r(80624),c=r(95683),l=r(96583),f=r(87637),d=r(65109),p=r(38174),h=r(25372),v=r(61219)("replace"),y=Math.max,g=Math.min,m="$0"==="a".replace(/./,"$0"),w=!!/./[v]&&""===/./[v]("a","$0");n("replace",(function(e,t,r){var n=w?"$":"$0";return[function(e,r){var n=l(this),o=null==e?void 0:d(e,v);return o?o.call(e,n,r):t.call(c(n),e,r)},function(e,o){var l=i(this),d=c(e);if("string"==typeof o&&-1===o.indexOf(n)&&-1===o.indexOf("$<")){var v=r(t,l,d,o);if(v.done)return v.value}var m=a(o);m||(o=c(o));var w=l.global;if(w){var O=l.unicode;l.lastIndex=0}for(var x=[];;){var E=h(l,d);if(null===E)break;if(x.push(E),!w)break;""===c(E[0])&&(l.lastIndex=f(d,u(l.lastIndex),O))}for(var b,N="",U=0,T=0;T<x.length;T++){E=x[T];for(var D=c(E[0]),C=y(g(s(E.index),d.length),0),_=[],S=1;S<E.length;S++)_.push(void 0===(b=E[S])?b:String(b));var A=E.groups;if(m){var M=[D].concat(_,C,d);void 0!==A&&M.push(A);var F=c(o.apply(void 0,M))}else F=p(D,d,C,_,A,o);C>=U&&(N+=d.slice(U,C)+F,U=C+D.length)}return N+d.slice(U)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!m||w)},66329:(e,t,r)=>{"use strict";var n=r(26036),o=r(5847),i=r(96583),a=r(99803),s=r(95683),u=r(65109),c=r(25372);n("search",(function(e,t,r){return[function(t){var r=i(this),n=null==t?void 0:u(t,e);return n?n.call(t,r):new RegExp(t)[e](s(r))},function(e){var n=o(this),i=s(e),u=r(t,n,i);if(u.done)return u.value;var l=n.lastIndex;a(l,0)||(n.lastIndex=0);var f=c(n,i);return a(n.lastIndex,l)||(n.lastIndex=l),null===f?-1:f.index}]}))},80217:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("small")},{small:function(){return o(this,"small","","")}})},86556:(e,t,r)=>{"use strict";var n=r(26036),o=r(40121),i=r(5847),a=r(96583),s=r(44847),u=r(87637),c=r(80624),l=r(95683),f=r(65109),d=r(25372),p=r(38604),h=r(64672),v=r(48126),y=h.UNSUPPORTED_Y,g=[].push,m=Math.min,w=4294967295;n("split",(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=l(a(this)),i=void 0===r?w:r>>>0;if(0===i)return[];if(void 0===e)return[n];if(!o(e))return t.call(n,e,i);for(var s,u,c,f=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,d+"g");(s=p.call(v,n))&&!((u=v.lastIndex)>h&&(f.push(n.slice(h,s.index)),s.length>1&&s.index<n.length&&g.apply(f,s.slice(1)),c=s[0].length,h=u,f.length>=i));)v.lastIndex===s.index&&v.lastIndex++;return h===n.length?!c&&v.test("")||f.push(""):f.push(n.slice(h)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var o=a(this),i=null==t?void 0:f(t,e);return i?i.call(t,o,r):n.call(l(o),t,r)},function(e,o){var a=i(this),f=l(e),p=r(n,a,f,o,n!==t);if(p.done)return p.value;var h=s(a,RegExp),v=a.unicode,g=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(y?"g":"y"),O=new h(y?"^(?:"+a.source+")":a,g),x=void 0===o?w:o>>>0;if(0===x)return[];if(0===f.length)return null===d(O,f)?[f]:[];for(var E=0,b=0,N=[];b<f.length;){O.lastIndex=y?0:b;var U,T=d(O,y?f.slice(b):f);if(null===T||(U=m(c(O.lastIndex+(y?b:0)),f.length))===E)b=u(f,b,v);else{if(N.push(f.slice(E,b)),N.length===x)return N;for(var D=1;D<=T.length-1;D++)if(N.push(T[D]),N.length===x)return N;b=E=U}}return N.push(f.slice(E)),N}]}),!!v((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),y)},7370:(e,t,r)=>{"use strict";var n,o=r(70351),i=r(9277).f,a=r(80624),s=r(95683),u=r(70417),c=r(96583),l=r(46901),f=r(37312),d="".startsWith,p=Math.min,h=l("startsWith");o({target:"String",proto:!0,forced:!(!f&&!h&&(n=i(String.prototype,"startsWith"),n&&!n.writable)||h)},{startsWith:function(e){var t=s(c(this));u(e);var r=a(p(arguments.length>1?arguments[1]:void 0,t.length)),n=s(e);return d?d.call(t,n,r):t.slice(r,r+n.length)===n}})},51892:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("strike")},{strike:function(){return o(this,"strike","","")}})},62278:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("sub")},{sub:function(){return o(this,"sub","","")}})},72068:(e,t,r)=>{"use strict";var n=r(70351),o=r(96583),i=r(49289),a=r(95683),s="".slice,u=Math.max,c=Math.min;n({target:"String",proto:!0},{substr:function(e,t){var r,n,l=a(o(this)),f=l.length,d=i(e);return d===1/0&&(d=0),d<0&&(d=u(f+d,0)),(r=void 0===t?f:i(t))<=0||r===1/0||d>=(n=c(d+r,f))?"":s.call(l,d,n)}})},41118:(e,t,r)=>{"use strict";var n=r(70351),o=r(66901);n({target:"String",proto:!0,forced:r(49531)("sup")},{sup:function(){return o(this,"sup","","")}})},65078:(e,t,r)=>{"use strict";var n=r(70351),o=r(98980).end,i=r(8072)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;n({target:"String",proto:!0,name:"trimEnd",forced:i},{trimEnd:a,trimRight:a})},36555:(e,t,r)=>{"use strict";var n=r(70351),o=r(98980).start,i=r(8072)("trimStart"),a=i?function(){return o(this)}:"".trimStart;n({target:"String",proto:!0,name:"trimStart",forced:i},{trimStart:a,trimLeft:a})},58053:(e,t,r)=>{"use strict";var n=r(70351),o=r(98980).trim;n({target:"String",proto:!0,forced:r(8072)("trim")},{trim:function(){return o(this)}})},33302:(e,t,r)=>{"use strict";r(21005)("asyncIterator")},82965:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857),i=r(85326),a=r(56896),s=r(16487),u=r(32176),c=r(19090).f,l=r(48734),f=i.Symbol;if(o&&s(f)&&(!("description"in f.prototype)||void 0!==f().description)){var d={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new f(e):void 0===e?f():f(e);return""===e&&(d[t]=!0),t};l(p,f);var h=p.prototype=f.prototype;h.constructor=p;var v=h.toString,y="Symbol(test)"==String(f("test")),g=/^Symbol\((.*)\)[^)]+$/;c(h,"description",{configurable:!0,get:function(){var e=u(this)?this.valueOf():this,t=v.call(e);if(a(d,e))return"";var r=y?t.slice(7,-1):t.replace(g,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:p})}},85715:(e,t,r)=>{"use strict";r(21005)("hasInstance")},88672:(e,t,r)=>{"use strict";r(21005)("isConcatSpreadable")},74528:(e,t,r)=>{"use strict";r(21005)("iterator")},39961:(e,t,r)=>{"use strict";var n=r(70351),o=r(85326),i=r(73683),a=r(37312),s=r(5857),u=r(65878),c=r(48126),l=r(56896),f=r(17512),d=r(16487),p=r(32176),h=r(57302),v=r(5847),y=r(40120),g=r(24563),m=r(58255),w=r(95683),O=r(61276),x=r(85276),E=r(46599),b=r(43622),N=r(14203),U=r(10581),T=r(9277),D=r(19090),C=r(40011),_=r(14387),S=r(33760),A=r(71237),M=r(65693),F=r(46848),j=r(61219),k=r(38708),L=r(21005),R=r(4005),I=r(74148),P=r(16443).forEach,B=A("hidden"),q="Symbol",G=j("toPrimitive"),H=I.set,W=I.getterFor(q),V=Object.prototype,$=o.Symbol,z=i("JSON","stringify"),Y=T.f,X=D.f,K=N.f,J=C.f,Q=S("symbols"),Z=S("op-symbols"),ee=S("string-to-symbol-registry"),te=S("symbol-to-string-registry"),re=S("wks"),ne=o.QObject,oe=!ne||!ne.prototype||!ne.prototype.findChild,ie=s&&c((function(){return 7!=x(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=Y(V,t);n&&delete V[t],X(e,t,r),n&&e!==V&&X(V,t,n)}:X,ae=function(e,t){var r=Q[e]=x($.prototype);return H(r,{type:q,tag:e,description:t}),s||(r.description=t),r},se=function(e,t,r){e===V&&se(Z,t,r),v(e);var n=m(t);return v(r),l(Q,n)?(r.enumerable?(l(e,B)&&e[B][n]&&(e[B][n]=!1),r=x(r,{enumerable:O(0,!1)})):(l(e,B)||X(e,B,O(1,{})),e[B][n]=!0),ie(e,n,r)):X(e,n,r)},ue=function(e,t){v(e);var r=g(t),n=E(r).concat(de(r));return P(n,(function(t){s&&!ce.call(r,t)||se(e,t,r[t])})),e},ce=function(e){var t=m(e),r=J.call(this,t);return!(this===V&&l(Q,t)&&!l(Z,t))&&(!(r||!l(this,t)||!l(Q,t)||l(this,B)&&this[B][t])||r)},le=function(e,t){var r=g(e),n=m(t);if(r!==V||!l(Q,n)||l(Z,n)){var o=Y(r,n);return!o||!l(Q,n)||l(r,B)&&r[B][n]||(o.enumerable=!0),o}},fe=function(e){var t=K(g(e)),r=[];return P(t,(function(e){l(Q,e)||l(M,e)||r.push(e)})),r},de=function(e){var t=e===V,r=K(t?Z:g(e)),n=[];return P(r,(function(e){!l(Q,e)||t&&!l(V,e)||n.push(Q[e])})),n};if(u||(_(($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?w(arguments[0]):void 0,t=F(e),r=function e(r){this===V&&e.call(Z,r),l(this,B)&&l(this[B],t)&&(this[B][t]=!1),ie(this,t,O(1,r))};return s&&oe&&ie(V,t,{configurable:!0,set:r}),ae(t,e)}).prototype,"toString",(function(){return W(this).tag})),_($,"withoutSetter",(function(e){return ae(F(e),e)})),C.f=ce,D.f=se,T.f=le,b.f=N.f=fe,U.f=de,k.f=function(e){return ae(j(e),e)},s&&(X($.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),a||_(V,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:$}),P(E(re),(function(e){L(e)})),n({target:q,stat:!0,forced:!u},{for:function(e){var t=w(e);if(l(ee,t))return ee[t];var r=$(t);return ee[t]=r,te[r]=t,r},keyFor:function(e){if(!h(e))throw TypeError(e+" is not a symbol");if(l(te,e))return te[e]},useSetter:function(){oe=!0},useSimple:function(){oe=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(e,t){return void 0===t?x(e):ue(x(e),t)},defineProperty:se,defineProperties:ue,getOwnPropertyDescriptor:le}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:fe,getOwnPropertySymbols:de}),n({target:"Object",stat:!0,forced:c((function(){U.f(1)}))},{getOwnPropertySymbols:function(e){return U.f(y(e))}}),z&&n({target:"JSON",stat:!0,forced:!u||c((function(){var e=$();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))}))},{stringify:function(e,t,r){for(var n,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=t,(p(t)||void 0!==e)&&!h(e))return f(t)||(t=function(e,t){if(d(n)&&(t=n.call(this,e,t)),!h(t))return t}),o[1]=t,z.apply(null,o)}}),!$.prototype[G]){var pe=$.prototype.valueOf;_($.prototype,G,(function(){return pe.apply(this,arguments)}))}R($,q),M[B]=!0},32587:(e,t,r)=>{"use strict";r(21005)("matchAll")},7806:(e,t,r)=>{"use strict";r(21005)("match")},12358:(e,t,r)=>{"use strict";r(21005)("replace")},84144:(e,t,r)=>{"use strict";r(21005)("search")},25137:(e,t,r)=>{"use strict";r(21005)("species")},74433:(e,t,r)=>{"use strict";r(21005)("split")},78032:(e,t,r)=>{"use strict";r(21005)("toPrimitive")},4428:(e,t,r)=>{"use strict";r(21005)("toStringTag")},86483:(e,t,r)=>{"use strict";r(21005)("unscopables")},40487:(e,t,r)=>{"use strict";var n=r(15290),o=r(80624),i=r(49289),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",(function(e){var t=a(this),r=o(t.length),n=i(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}))},974:(e,t,r)=>{"use strict";var n=r(15290),o=r(1448),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},90961:(e,t,r)=>{"use strict";var n=r(15290),o=r(16443).every,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},53785:(e,t,r)=>{"use strict";var n=r(15290),o=r(34150),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},98740:(e,t,r)=>{"use strict";var n=r(15290),o=r(16443).filter,i=r(57660),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},60240:(e,t,r)=>{"use strict";var n=r(15290),o=r(16443).findIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},94361:(e,t,r)=>{"use strict";var n=r(15290),o=r(16443).find,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},71576:(e,t,r)=>{"use strict";r(65230)("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},39751:(e,t,r)=>{"use strict";r(65230)("Float64",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},7919:(e,t,r)=>{"use strict";var n=r(15290),o=r(16443).forEach,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},85044:(e,t,r)=>{"use strict";var n=r(97361);(0,r(15290).exportTypedArrayStaticMethod)("from",r(65704),n)},17128:(e,t,r)=>{"use strict";var n=r(15290),o=r(47858).includes,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},87458:(e,t,r)=>{"use strict";var n=r(15290),o=r(47858).indexOf,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},98544:(e,t,r)=>{"use strict";r(65230)("Int16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},62251:(e,t,r)=>{"use strict";r(65230)("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},9479:(e,t,r)=>{"use strict";r(65230)("Int8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},66854:(e,t,r)=>{"use strict";var n=r(85326),o=r(8599).PROPER,i=r(15290),a=r(13329),s=r(61219)("iterator"),u=n.Uint8Array,c=a.values,l=a.keys,f=a.entries,d=i.aTypedArray,p=i.exportTypedArrayMethod,h=u&&u.prototype[s],v=!!h&&"values"===h.name,y=function(){return c.call(d(this))};p("entries",(function(){return f.call(d(this))})),p("keys",(function(){return l.call(d(this))})),p("values",y,o&&!v),p(s,y,o&&!v)},56940:(e,t,r)=>{"use strict";var n=r(15290),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},6261:(e,t,r)=>{"use strict";var n=r(15290),o=r(94042),i=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},38154:(e,t,r)=>{"use strict";var n=r(15290),o=r(16443).map,i=r(12079),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(i(e))(t)}))}))},35477:(e,t,r)=>{"use strict";var n=r(15290),o=r(97361),i=n.aTypedArrayConstructor;(0,n.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,r=new(i(this))(t);t>e;)r[e]=arguments[e++];return r}),o)},41351:(e,t,r)=>{"use strict";var n=r(15290),o=r(96040).right,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},76294:(e,t,r)=>{"use strict";var n=r(15290),o=r(96040).left,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},56884:(e,t,r)=>{"use strict";var n=r(15290),o=n.aTypedArray,i=n.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,r=o(t).length,n=a(r/2),i=0;i<n;)e=t[i],t[i++]=t[--r],t[r]=e;return t}))},73594:(e,t,r)=>{"use strict";var n=r(15290),o=r(80624),i=r(68794),a=r(40120),s=r(48126),u=n.aTypedArray;(0,n.exportTypedArrayMethod)("set",(function(e){u(this);var t=i(arguments.length>1?arguments[1]:void 0,1),r=this.length,n=a(e),s=o(n.length),c=0;if(s+t>r)throw RangeError("Wrong length");for(;c<s;)this[t+c]=n[c++]}),s((function(){new Int8Array(1).set({})})))},69997:(e,t,r)=>{"use strict";var n=r(15290),o=r(12079),i=r(48126),a=n.aTypedArray,s=n.exportTypedArrayMethod,u=[].slice;s("slice",(function(e,t){for(var r=u.call(a(this),e,t),n=o(this),i=0,s=r.length,c=new n(s);s>i;)c[i]=r[i++];return c}),i((function(){new Int8Array(1).slice()})))},34942:(e,t,r)=>{"use strict";var n=r(15290),o=r(16443).some,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},30947:(e,t,r)=>{"use strict";var n=r(15290),o=r(85326),i=r(48126),a=r(1823),s=r(80624),u=r(36384),c=r(43956),l=r(65374),f=r(91038),d=r(94050),p=n.aTypedArray,h=n.exportTypedArrayMethod,v=o.Uint16Array,y=v&&v.prototype.sort,g=!!y&&!i((function(){var e=new v(2);e.sort(null),e.sort({})})),m=!!y&&!i((function(){if(f)return f<74;if(c)return c<67;if(l)return!0;if(d)return d<602;var e,t,r=new v(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(r.sort((function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));h("sort",(function(e){var t=this;if(void 0!==e&&a(e),m)return y.call(t,e);p(t);var r,n=s(t.length),o=Array(n);for(r=0;r<n;r++)o[r]=t[r];for(o=u(t,function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e)),r=0;r<n;r++)t[r]=o[r];return t}),!m||g)},19794:(e,t,r)=>{"use strict";var n=r(15290),o=r(80624),i=r(20618),a=r(12079),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(e,t){var r=s(this),n=r.length,u=i(e,n);return new(a(r))(r.buffer,r.byteOffset+u*r.BYTES_PER_ELEMENT,o((void 0===t?n:i(t,n))-u))}))},67023:(e,t,r)=>{"use strict";var n=r(85326),o=r(15290),i=r(48126),a=n.Int8Array,s=o.aTypedArray,u=o.exportTypedArrayMethod,c=[].toLocaleString,l=[].slice,f=!!a&&i((function(){c.call(new a(1))}));u("toLocaleString",(function(){return c.apply(f?l.call(s(this)):s(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},12773:(e,t,r)=>{"use strict";var n=r(15290).exportTypedArrayMethod,o=r(48126),i=r(85326).Uint8Array,a=i&&i.prototype||{},s=[].toString,u=[].join;o((function(){s.call({})}))&&(s=function(){return u.call(this)});var c=a.toString!=s;n("toString",s,c)},76066:(e,t,r)=>{"use strict";r(65230)("Uint16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},56933:(e,t,r)=>{"use strict";r(65230)("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},99075:(e,t,r)=>{"use strict";r(65230)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},47888:(e,t,r)=>{"use strict";r(65230)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}),!0)},33390:(e,t,r)=>{"use strict";var n=r(70351),o=r(95683),i=String.fromCharCode,a=/^[\da-f]{2}$/i,s=/^[\da-f]{4}$/i;n({global:!0},{unescape:function(e){for(var t,r,n=o(e),u="",c=n.length,l=0;l<c;){if("%"===(t=n.charAt(l++)))if("u"===n.charAt(l)){if(r=n.slice(l+1,l+5),s.test(r)){u+=i(parseInt(r,16)),l+=5;continue}}else if(r=n.slice(l,l+2),a.test(r)){u+=i(parseInt(r,16)),l+=2;continue}u+=t}return u}})},4607:(e,t,r)=>{"use strict";var n,o=r(85326),i=r(29906),a=r(84395),s=r(14701),u=r(8223),c=r(32176),l=r(74148).enforce,f=r(85127),d=!o.ActiveXObject&&"ActiveXObject"in o,p=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=s("WeakMap",h,u);if(f&&d){n=u.getConstructor(h,"WeakMap",!0),a.enable();var y=v.prototype,g=y.delete,m=y.has,w=y.get,O=y.set;i(y,{delete:function(e){if(c(e)&&!p(e)){var t=l(this);return t.frozen||(t.frozen=new n),g.call(this,e)||t.frozen.delete(e)}return g.call(this,e)},has:function(e){if(c(e)&&!p(e)){var t=l(this);return t.frozen||(t.frozen=new n),m.call(this,e)||t.frozen.has(e)}return m.call(this,e)},get:function(e){if(c(e)&&!p(e)){var t=l(this);return t.frozen||(t.frozen=new n),m.call(this,e)?w.call(this,e):t.frozen.get(e)}return w.call(this,e)},set:function(e,t){if(c(e)&&!p(e)){var r=l(this);r.frozen||(r.frozen=new n),m.call(this,e)?O.call(this,e,t):r.frozen.set(e,t)}else O.call(this,e,t);return this}})}},5147:(e,t,r)=>{"use strict";r(14701)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(8223))},93396:(e,t,r)=>{"use strict";r(73450)},47813:(e,t,r)=>{"use strict";r(29836)},1943:(e,t,r)=>{"use strict";var n=r(70351),o=r(16443).filterReject,i=r(42711);n({target:"Array",proto:!0},{filterOut:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("filterOut")},13499:(e,t,r)=>{"use strict";var n=r(70351),o=r(16443).filterReject,i=r(42711);n({target:"Array",proto:!0},{filterReject:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("filterReject")},74493:(e,t,r)=>{"use strict";var n=r(70351),o=r(40321).findLastIndex,i=r(42711);n({target:"Array",proto:!0},{findLastIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findLastIndex")},12133:(e,t,r)=>{"use strict";var n=r(70351),o=r(40321).findLast,i=r(42711);n({target:"Array",proto:!0},{findLast:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findLast")},86565:(e,t,r)=>{"use strict";r(70351)({target:"Array",stat:!0},{fromAsync:r(16364)})},90367:(e,t,r)=>{"use strict";var n=r(70351),o=r(19878),i=r(35997),a=r(42711);n({target:"Array",proto:!0},{groupBy:function(e){var t=arguments.length>1?arguments[1]:void 0;return o(this,e,t,i)}}),a("groupBy")},52359:(e,t,r)=>{"use strict";var n=r(70351),o=r(17512),i=Object.isFrozen,a=function(e,t){if(!i||!o(e)||!i(e))return!1;for(var r,n=0,a=e.length;n<a;)if(!("string"==typeof(r=e[n++])||t&&void 0===r))return!1;return 0!==a};n({target:"Array",stat:!0},{isTemplateObject:function(e){if(!a(e,!0))return!1;var t=e.raw;return!(t.length!==e.length||!a(t,!1))}})},10476:(e,t,r)=>{"use strict";var n=r(5857),o=r(42711),i=r(40120),a=r(80624),s=r(19090).f;n&&!("lastIndex"in[])&&(s(Array.prototype,"lastIndex",{configurable:!0,get:function(){var e=i(this),t=a(e.length);return 0==t?0:t-1}}),o("lastIndex"))},12689:(e,t,r)=>{"use strict";var n=r(5857),o=r(42711),i=r(40120),a=r(80624),s=r(19090).f;n&&!("lastItem"in[])&&(s(Array.prototype,"lastItem",{configurable:!0,get:function(){var e=i(this),t=a(e.length);return 0==t?void 0:e[t-1]},set:function(e){var t=i(this),r=a(t.length);return t[0==r?0:r-1]=e}}),o("lastItem"))},29849:(e,t,r)=>{"use strict";var n=r(70351),o=r(42711);n({target:"Array",proto:!0},{uniqueBy:r(39537)}),o("uniqueBy")},17795:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(36678)((function(e,t){var r=this,n=r.iterator;return e.resolve(o(r.next.apply(n,t))).then((function(e){return o(e).done?(r.done=!0,{done:!0,value:void 0}):{done:!1,value:[r.index++,e.value]}}))}));n({target:"AsyncIterator",proto:!0,real:!0},{asIndexedPairs:function(){return new i({iterator:o(this),index:0})}})},27453:(e,t,r)=>{"use strict";var n=r(70351),o=r(4827),i=r(28474),a=r(56896),s=r(61219),u=r(11193),c=r(37312),l=s("toStringTag"),f=function(){o(this,f)};f.prototype=u,a(u,l)||i(u,l,"AsyncIterator"),!c&&a(u,"constructor")&&u.constructor!==Object||i(u,"constructor",f),n({global:!0,forced:c},{AsyncIterator:f})},43438:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(48737),a=r(36678)((function(e,t){var r=this;return new e((function(n,i){!function a(){try{e.resolve(o(r.next.apply(r.iterator,r.remaining?[]:t))).then((function(e){try{o(e).done?(r.done=!0,n({done:!0,value:void 0})):r.remaining?(r.remaining--,a()):n({done:!1,value:e.value})}catch(e){i(e)}}),i)}catch(e){i(e)}}()}))}));n({target:"AsyncIterator",proto:!0,real:!0},{drop:function(e){return new a({iterator:o(this),remaining:i(e)})}})},11621:(e,t,r)=>{"use strict";var n=r(70351),o=r(74850).every;n({target:"AsyncIterator",proto:!0,real:!0},{every:function(e){return o(this,e)}})},87313:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(5847),a=r(36678)((function(e,t){var r=this,n=r.filterer;return new e((function(o,a){!function s(){try{e.resolve(i(r.next.apply(r.iterator,t))).then((function(t){try{if(i(t).done)r.done=!0,o({done:!0,value:void 0});else{var u=t.value;e.resolve(n(u)).then((function(e){e?o({done:!1,value:u}):s()}),a)}}catch(e){a(e)}}),a)}catch(e){a(e)}}()}))}));n({target:"AsyncIterator",proto:!0,real:!0},{filter:function(e){return new a({iterator:i(this),filterer:o(e)})}})},70990:(e,t,r)=>{"use strict";var n=r(70351),o=r(74850).find;n({target:"AsyncIterator",proto:!0,real:!0},{find:function(e){return o(this,e)}})},17054:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(5847),a=r(36678),s=r(27563),u=a((function(e){var t,r=this,n=r.mapper;return new e((function(a,u){var c=function(){try{e.resolve(i(r.next.call(r.iterator))).then((function(c){try{i(c).done?(r.done=!0,a({done:!0,value:void 0})):e.resolve(n(c.value)).then((function(e){try{return r.innerIterator=t=s(e),r.innerNext=o(t.next),l()}catch(e){u(e)}}),u)}catch(e){u(e)}}),u)}catch(e){u(e)}},l=function(){if(t=r.innerIterator)try{e.resolve(i(r.innerNext.call(t))).then((function(e){try{i(e).done?(r.innerIterator=r.innerNext=null,c()):a({done:!1,value:e.value})}catch(e){u(e)}}),u)}catch(e){u(e)}else c()};l()}))}));n({target:"AsyncIterator",proto:!0,real:!0},{flatMap:function(e){return new u({iterator:i(this),mapper:o(e),innerIterator:null,innerNext:null})}})},35628:(e,t,r)=>{"use strict";var n=r(70351),o=r(74850).forEach;n({target:"AsyncIterator",proto:!0,real:!0},{forEach:function(e){return o(this,e)}})},48534:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(40120),a=r(11193),s=r(36678),u=r(27563),c=r(43948),l=r(60675),f=r(65109),d=r(61219),p=r(8988),h=d("asyncIterator"),v={}.isPrototypeOf,y=s((function(e,t){return o(this.next.apply(this.iterator,t))}),!0);n({target:"AsyncIterator",stat:!0},{from:function(e){var t,r=i(e),n=f(r,h);return n&&(t=u(r,n),v.call(a,t))?t:void 0===t&&(n=l(r))?new p(c(r,n)):new y({iterator:void 0!==t?t:r})}})},33726:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(5847),a=r(36678)((function(e,t){var r=this,n=r.mapper;return e.resolve(i(r.next.apply(r.iterator,t))).then((function(t){return i(t).done?(r.done=!0,{done:!0,value:void 0}):e.resolve(n(t.value)).then((function(e){return{done:!1,value:e}}))}))}));n({target:"AsyncIterator",proto:!0,real:!0},{map:function(e){return new a({iterator:i(this),mapper:o(e)})}})},73140:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(5847),a=r(73683)("Promise");n({target:"AsyncIterator",proto:!0,real:!0},{reduce:function(e){var t=i(this),r=o(t.next),n=arguments.length<2,s=n?void 0:arguments[1];return o(e),new a((function(o,u){!function c(){try{a.resolve(i(r.call(t))).then((function(t){try{if(i(t).done)n?u(TypeError("Reduce of empty iterator with no initial value")):o(s);else{var r=t.value;n?(n=!1,s=r,c()):a.resolve(e(s,r)).then((function(e){s=e,c()}),u)}}catch(e){u(e)}}),u)}catch(e){u(e)}}()}))}})},83424:(e,t,r)=>{"use strict";var n=r(70351),o=r(74850).some;n({target:"AsyncIterator",proto:!0,real:!0},{some:function(e){return o(this,e)}})},41943:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(48737),a=r(36678)((function(e,t){var r,n,o=this.iterator;return this.remaining--?this.next.apply(o,t):(n={done:!0,value:void 0},this.done=!0,void 0!==(r=o.return)?e.resolve(r.call(o)).then((function(){return n})):n)}));n({target:"AsyncIterator",proto:!0,real:!0},{take:function(e){return new a({iterator:o(this),remaining:i(e)})}})},85486:(e,t,r)=>{"use strict";var n=r(70351),o=r(74850).toArray;n({target:"AsyncIterator",proto:!0,real:!0},{toArray:function(){return o(this,void 0,[])}})},33306:(e,t,r)=>{"use strict";var n=r(70351),o=r(8704);"function"==typeof BigInt&&n({target:"BigInt",stat:!0},{range:function(e,t,r){return new o(e,t,r,"bigint",BigInt(0),BigInt(1))}})},84800:(e,t,r)=>{"use strict";var n=r(70351),o=r(92617),i=r(73683),a=r(85276),s=function(){var e=i("Object","freeze");return e?e(a(null)):a(null)};n({global:!0},{compositeKey:function(){return o.apply(Object,arguments).get("object",s)}})},80416:(e,t,r)=>{"use strict";var n=r(70351),o=r(92617),i=r(73683);n({global:!0},{compositeSymbol:function(){return 1===arguments.length&&"string"==typeof arguments[0]?i("Symbol").for(arguments[0]):o.apply(null,arguments).get("symbol",i("Symbol"))}})},45724:(e,t,r)=>{"use strict";r(9775)},65527:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(59965)((function(e){var t=o(this.next.apply(this.iterator,e));if(!(this.done=!!t.done))return[this.index++,t.value]}));n({target:"Iterator",proto:!0,real:!0},{asIndexedPairs:function(){return new i({iterator:o(this),index:0})}})},30330:(e,t,r)=>{"use strict";var n=r(70351),o=r(85326),i=r(4827),a=r(16487),s=r(28474),u=r(48126),c=r(56896),l=r(61219),f=r(71251).IteratorPrototype,d=r(37312),p=l("toStringTag"),h=o.Iterator,v=d||!a(h)||h.prototype!==f||!u((function(){h({})})),y=function(){i(this,y)};c(f,p)||s(f,p,"Iterator"),!v&&c(f,"constructor")&&f.constructor!==Object||s(f,"constructor",y),y.prototype=f,n({global:!0,forced:v},{Iterator:y})},18209:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(48737),a=r(59965)((function(e){for(var t,r=this.iterator,n=this.next;this.remaining;)if(this.remaining--,t=o(n.call(r)),this.done=!!t.done)return;if(t=o(n.apply(r,e)),!(this.done=!!t.done))return t.value}));n({target:"Iterator",proto:!0,real:!0},{drop:function(e){return new a({iterator:o(this),remaining:i(e)})}})},79869:(e,t,r)=>{"use strict";var n=r(70351),o=r(95046),i=r(1823),a=r(5847);n({target:"Iterator",proto:!0,real:!0},{every:function(e){return a(this),i(e),!o(this,(function(t,r){if(!e(t))return r()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},69240:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(5847),a=r(59965),s=r(65174),u=a((function(e){for(var t,r,n=this.iterator,o=this.filterer,a=this.next;;){if(t=i(a.apply(n,e)),this.done=!!t.done)return;if(r=t.value,s(n,o,r))return r}}));n({target:"Iterator",proto:!0,real:!0},{filter:function(e){return new u({iterator:i(this),filterer:o(e)})}})},21144:(e,t,r)=>{"use strict";var n=r(70351),o=r(95046),i=r(1823),a=r(5847);n({target:"Iterator",proto:!0,real:!0},{find:function(e){return a(this),i(e),o(this,(function(t,r){if(e(t))return r(t)}),{IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},36764:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(5847),a=r(60675),s=r(59965),u=r(75065),c=s((function(){for(var e,t,r,n,s=this.iterator,c=this.mapper;;)try{if(n=this.innerIterator){if(!(e=i(this.innerNext.call(n))).done)return e.value;this.innerIterator=this.innerNext=null}if(e=i(this.next.call(s)),this.done=!!e.done)return;if(t=c(e.value),!(r=a(t)))throw TypeError(".flatMap callback should return an iterable object");this.innerIterator=n=i(r.call(t)),this.innerNext=o(n.next)}catch(e){u(s,"throw",e)}}));n({target:"Iterator",proto:!0,real:!0},{flatMap:function(e){return new c({iterator:i(this),mapper:o(e),innerIterator:null,innerNext:null})}})},24573:(e,t,r)=>{"use strict";var n=r(70351),o=r(95046),i=r(5847);n({target:"Iterator",proto:!0,real:!0},{forEach:function(e){o(i(this),e,{IS_ITERATOR:!0})}})},43660:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(40120),a=r(71251).IteratorPrototype,s=r(59965),u=r(43948),c=r(60675),l={}.isPrototypeOf,f=s((function(e){var t=o(this.next.apply(this.iterator,e));if(!(this.done=!!t.done))return t.value}),!0);n({target:"Iterator",stat:!0},{from:function(e){var t,r=i(e),n=c(r);if(n){if(t=u(r,n),l.call(a,t))return t}else t=r;return new f({iterator:t})}})},58267:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(5847),a=r(59965),s=r(65174),u=a((function(e){var t=this.iterator,r=i(this.next.apply(t,e));if(!(this.done=!!r.done))return s(t,this.mapper,r.value)}));n({target:"Iterator",proto:!0,real:!0},{map:function(e){return new u({iterator:i(this),mapper:o(e)})}})},92323:(e,t,r)=>{"use strict";var n=r(70351),o=r(95046),i=r(1823),a=r(5847);n({target:"Iterator",proto:!0,real:!0},{reduce:function(e){a(this),i(e);var t=arguments.length<2,r=t?void 0:arguments[1];if(o(this,(function(n){t?(t=!1,r=n):r=e(r,n)}),{IS_ITERATOR:!0}),t)throw TypeError("Reduce of empty iterator with no initial value");return r}})},52250:(e,t,r)=>{"use strict";var n=r(70351),o=r(95046),i=r(1823),a=r(5847);n({target:"Iterator",proto:!0,real:!0},{some:function(e){return a(this),i(e),o(this,(function(t,r){if(e(t))return r()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},5441:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(48737),a=r(59965),s=r(75065),u=a((function(e){var t=this.iterator;if(!this.remaining--)return this.done=!0,s(t,"normal",void 0);var r=o(this.next.apply(t,e));return(this.done=!!r.done)?void 0:r.value}));n({target:"Iterator",proto:!0,real:!0},{take:function(e){return new u({iterator:o(this),remaining:i(e)})}})},50054:(e,t,r)=>{"use strict";var n=r(70351),o=r(95046),i=r(5847),a=[].push;n({target:"Iterator",proto:!0,real:!0},{toArray:function(){var e=[];return o(i(this),a,{that:e,IS_ITERATOR:!0}),e}})},50297:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73994);n({target:"Map",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},36676:(e,t,r)=>{"use strict";r(70351)({target:"Map",proto:!0,real:!0,forced:r(37312)},{emplace:r(36993)})},7978:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(97571),s=r(52153),u=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{every:function(e){var t=i(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return!u(r,(function(e,r,o){if(!n(r,e,t))return o()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},55649:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73683),a=r(1823),s=r(5847),u=r(97571),c=r(44847),l=r(52153),f=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{filter:function(e){var t=s(this),r=l(t),n=u(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Map"))),d=a(o.set);return f(r,(function(e,r){n(r,e,t)&&d.call(o,e,r)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),o}})},69105:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(97571),s=r(52153),u=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{findKey:function(e){var t=i(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return u(r,(function(e,r,o){if(n(r,e,t))return o(e)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},9683:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(97571),s=r(52153),u=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{find:function(e){var t=i(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return u(r,(function(e,r,o){if(n(r,e,t))return o(r)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},26615:(e,t,r)=>{"use strict";r(70351)({target:"Map",stat:!0},{from:r(23057)})},31305:(e,t,r)=>{"use strict";var n=r(70351),o=r(1823),i=r(43948),a=r(95046);n({target:"Map",stat:!0},{groupBy:function(e,t){o(t);var r=i(e),n=new this,s=o(n.has),u=o(n.get),c=o(n.set);return a(r,(function(e){var r=t(e);s.call(n,r)?u.call(n,r).push(e):c.call(n,r,[e])}),{IS_ITERATOR:!0}),n}})},247:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(52153),s=r(66869),u=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{includes:function(e){return u(a(i(this)),(function(t,r,n){if(s(r,e))return n()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},9354:(e,t,r)=>{"use strict";var n=r(70351),o=r(95046),i=r(1823);n({target:"Map",stat:!0},{keyBy:function(e,t){var r=new this;i(t);var n=i(r.set);return o(e,(function(e){n.call(r,t(e),e)})),r}})},81816:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(52153),s=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{keyOf:function(e){return s(a(i(this)),(function(t,r,n){if(r===e)return n(t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},6243:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73683),a=r(1823),s=r(5847),u=r(97571),c=r(44847),l=r(52153),f=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{mapKeys:function(e){var t=s(this),r=l(t),n=u(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Map"))),d=a(o.set);return f(r,(function(e,r){d.call(o,n(r,e,t),r)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),o}})},2062:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73683),a=r(1823),s=r(5847),u=r(97571),c=r(44847),l=r(52153),f=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{mapValues:function(e){var t=s(this),r=l(t),n=u(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Map"))),d=a(o.set);return f(r,(function(e,r){d.call(o,e,n(r,e,t))}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),o}})},77896:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(1823),a=r(5847),s=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{merge:function(e){for(var t=a(this),r=i(t.set),n=arguments.length,o=0;o<n;)s(arguments[o++],r,{that:t,AS_ENTRIES:!0});return t}})},75355:(e,t,r)=>{"use strict";r(70351)({target:"Map",stat:!0},{of:r(21226)})},72436:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(1823),s=r(52153),u=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{reduce:function(e){var t=i(this),r=s(t),n=arguments.length<2,o=n?void 0:arguments[1];if(a(e),u(r,(function(r,i){n?(n=!1,o=i):o=e(o,i,r,t)}),{AS_ENTRIES:!0,IS_ITERATOR:!0}),n)throw TypeError("Reduce of empty map with no initial value");return o}})},89275:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(97571),s=r(52153),u=r(95046);n({target:"Map",proto:!0,real:!0,forced:o},{some:function(e){var t=i(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return u(r,(function(e,r,o){if(n(r,e,t))return o()}),{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},99071:(e,t,r)=>{"use strict";r(70351)({target:"Map",proto:!0,real:!0,name:"upsert",forced:r(37312)},{updateOrInsert:r(54440)})},86345:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(1823);n({target:"Map",proto:!0,real:!0,forced:o},{update:function(e,t){var r=i(this),n=arguments.length;a(t);var o=r.has(e);if(!o&&n<3)throw TypeError("Updating absent value");var s=o?r.get(e):a(n>2?arguments[2]:void 0)(e,r);return r.set(e,t(s,e,r)),r}})},82228:(e,t,r)=>{"use strict";r(70351)({target:"Map",proto:!0,real:!0,forced:r(37312)},{upsert:r(54440)})},15101:(e,t,r)=>{"use strict";var n=r(70351),o=Math.min,i=Math.max;n({target:"Math",stat:!0},{clamp:function(e,t,r){return o(r,i(t,e))}})},60425:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{DEG_PER_RAD:Math.PI/180})},42959:(e,t,r)=>{"use strict";var n=r(70351),o=180/Math.PI;n({target:"Math",stat:!0},{degrees:function(e){return e*o}})},28177:(e,t,r)=>{"use strict";var n=r(70351),o=r(51697),i=r(18099);n({target:"Math",stat:!0},{fscale:function(e,t,r,n,a){return i(o(e,t,r,n,a))}})},78593:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{iaddh:function(e,t,r,n){var o=e>>>0,i=r>>>0;return(t>>>0)+(n>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},6501:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{imulh:function(e,t){var r=65535,n=+e,o=+t,i=n&r,a=o&r,s=n>>16,u=o>>16,c=(s*a>>>0)+(i*a>>>16);return s*u+(c>>16)+((i*u>>>0)+(c&r)>>16)}})},58391:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{isubh:function(e,t,r,n){var o=e>>>0,i=r>>>0;return(t>>>0)-(n>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},96457:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{RAD_PER_DEG:180/Math.PI})},1178:(e,t,r)=>{"use strict";var n=r(70351),o=Math.PI/180;n({target:"Math",stat:!0},{radians:function(e){return e*o}})},44752:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{scale:r(51697)})},40537:(e,t,r)=>{"use strict";var n=r(70351),o=r(5847),i=r(70085),a=r(97719),s=r(74148),u="Seeded Random Generator",c=s.set,l=s.getterFor(u),f=a((function(e){c(this,{type:u,seed:e%2147483647})}),"Seeded Random",(function(){var e=l(this);return{value:(1073741823&(e.seed=(1103515245*e.seed+12345)%2147483647))/1073741823,done:!1}}));n({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var t=o(e).seed;if(!i(t))throw TypeError('Math.seededPRNG() argument should have a "seed" field with a finite value.');return new f(t)}})},90270:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{signbit:function(e){return(e=+e)==e&&0==e?1/e==-1/0:e<0}})},76369:(e,t,r)=>{"use strict";r(70351)({target:"Math",stat:!0},{umulh:function(e,t){var r=65535,n=+e,o=+t,i=n&r,a=o&r,s=n>>>16,u=o>>>16,c=(s*a>>>0)+(i*a>>>16);return s*u+(c>>>16)+((i*u>>>0)+(c&r)>>>16)}})},7423:(e,t,r)=>{"use strict";var n=r(70351),o=r(49289),i=r(67061),a="Invalid number representation",s=/^[\da-z]+$/;n({target:"Number",stat:!0},{fromString:function(e,t){var r,n,u=1;if("string"!=typeof e)throw TypeError(a);if(!e.length)throw SyntaxError(a);if("-"==e.charAt(0)&&(u=-1,!(e=e.slice(1)).length))throw SyntaxError(a);if((r=void 0===t?10:o(t))<2||r>36)throw RangeError("Invalid radix");if(!s.test(e)||(n=i(e,r)).toString(r)!==e)throw SyntaxError(a);return u*n}})},9527:(e,t,r)=>{"use strict";var n=r(70351),o=r(8704);n({target:"Number",stat:!0},{range:function(e,t,r){return new o(e,t,r,"number",0,1)}})},68910:(e,t,r)=>{"use strict";r(82181)},40815:(e,t,r)=>{"use strict";var n=r(70351),o=r(56688);n({target:"Object",stat:!0},{iterateEntries:function(e){return new o(e,"entries")}})},21323:(e,t,r)=>{"use strict";var n=r(70351),o=r(56688);n({target:"Object",stat:!0},{iterateKeys:function(e){return new o(e,"keys")}})},6564:(e,t,r)=>{"use strict";var n=r(70351),o=r(56688);n({target:"Object",stat:!0},{iterateValues:function(e){return new o(e,"values")}})},98534:(e,t,r)=>{"use strict";var n=r(70351),o=r(5857),i=r(48342),a=r(1823),s=r(16487),u=r(83787),c=r(5847),l=r(32176),f=r(4827),d=r(19090).f,p=r(14387),h=r(29906),v=r(43948),y=r(65109),g=r(95046),m=r(6138),w=r(61219),O=r(74148),x=w("observable"),E=O.get,b=O.set,N=function(e){var t=e.cleanup;if(t){e.cleanup=void 0;try{t()}catch(e){m(e)}}},U=function(e){return void 0===e.observer},T=function(e){var t=e.facade;if(!o){t.closed=!0;var r=e.subscriptionObserver;r&&(r.closed=!0)}e.observer=void 0},D=function(e,t){var r,n=b(this,{cleanup:void 0,observer:c(e),subscriptionObserver:void 0});o||(this.closed=!1);try{(r=y(e,"start"))&&r.call(e,this)}catch(e){m(e)}if(!U(n)){var i=n.subscriptionObserver=new C(this);try{var u=t(i),l=u;null!=u&&(n.cleanup=s(u.unsubscribe)?function(){l.unsubscribe()}:a(u))}catch(e){return void i.error(e)}U(n)&&N(n)}};D.prototype=h({},{unsubscribe:function(){var e=E(this);U(e)||(T(e),N(e))}}),o&&d(D.prototype,"closed",{configurable:!0,get:function(){return U(E(this))}});var C=function(e){b(this,{subscription:e}),o||(this.closed=!1)};C.prototype=h({},{next:function(e){var t=E(E(this).subscription);if(!U(t)){var r=t.observer;try{var n=y(r,"next");n&&n.call(r,e)}catch(e){m(e)}}},error:function(e){var t=E(E(this).subscription);if(!U(t)){var r=t.observer;T(t);try{var n=y(r,"error");n?n.call(r,e):m(e)}catch(e){m(e)}N(t)}},complete:function(){var e=E(E(this).subscription);if(!U(e)){var t=e.observer;T(e);try{var r=y(t,"complete");r&&r.call(t)}catch(e){m(e)}N(e)}}}),o&&d(C.prototype,"closed",{configurable:!0,get:function(){return U(E(E(this).subscription))}});var _=function(e){f(this,_,"Observable"),b(this,{subscriber:a(e)})};h(_.prototype,{subscribe:function(e){var t=arguments.length;return new D(s(e)?{next:e,error:t>1?arguments[1]:void 0,complete:t>2?arguments[2]:void 0}:l(e)?e:{},E(this).subscriber)}}),h(_,{from:function(e){var t=u(this)?this:_,r=y(c(e),x);if(r){var n=c(r.call(e));return n.constructor===t?n:new t((function(e){return n.subscribe(e)}))}var o=v(e);return new t((function(e){g(o,(function(t,r){if(e.next(t),e.closed)return r()}),{IS_ITERATOR:!0,INTERRUPTED:!0}),e.complete()}))},of:function(){for(var e=u(this)?this:_,t=arguments.length,r=new Array(t),n=0;n<t;)r[n]=arguments[n++];return new e((function(e){for(var n=0;n<t;n++)if(e.next(r[n]),e.closed)return;e.complete()}))}}),p(_.prototype,x,(function(){return this})),n({global:!0},{Observable:_}),i("Observable")},26261:(e,t,r)=>{"use strict";r(84380)},7798:(e,t,r)=>{"use strict";r(12933)},54395:(e,t,r)=>{"use strict";var n=r(70351),o=r(41658),i=r(6060);n({target:"Promise",stat:!0},{try:function(e){var t=o.f(this),r=i(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},2629:(e,t,r)=>{"use strict";var n=r(70351),o=r(41131),i=r(5847),a=o.toKey,s=o.set;n({target:"Reflect",stat:!0},{defineMetadata:function(e,t,r){var n=arguments.length<4?void 0:a(arguments[3]);s(e,t,i(r),n)}})},82910:(e,t,r)=>{"use strict";var n=r(70351),o=r(41131),i=r(5847),a=o.toKey,s=o.getMap,u=o.store;n({target:"Reflect",stat:!0},{deleteMetadata:function(e,t){var r=arguments.length<3?void 0:a(arguments[2]),n=s(i(t),r,!1);if(void 0===n||!n.delete(e))return!1;if(n.size)return!0;var o=u.get(t);return o.delete(r),!!o.size||u.delete(t)}})},18674:(e,t,r)=>{"use strict";var n=r(70351),o=r(60123),i=r(41131),a=r(5847),s=r(80715),u=r(95046),c=i.keys,l=i.toKey,f=function e(t,r){var n=c(t,r),i=s(t);if(null===i)return n;var a,l,f=e(i,r);return f.length?n.length?(a=new o(n.concat(f)),u(a,(l=[]).push,{that:l}),l):f:n};n({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var t=arguments.length<2?void 0:l(arguments[1]);return f(a(e),t)}})},24847:(e,t,r)=>{"use strict";var n=r(70351),o=r(41131),i=r(5847),a=r(80715),s=o.has,u=o.get,c=o.toKey,l=function e(t,r,n){if(s(t,r,n))return u(t,r,n);var o=a(r);return null!==o?e(t,o,n):void 0};n({target:"Reflect",stat:!0},{getMetadata:function(e,t){var r=arguments.length<3?void 0:c(arguments[2]);return l(e,i(t),r)}})},85683:(e,t,r)=>{"use strict";var n=r(70351),o=r(41131),i=r(5847),a=o.keys,s=o.toKey;n({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var t=arguments.length<2?void 0:s(arguments[1]);return a(i(e),t)}})},25700:(e,t,r)=>{"use strict";var n=r(70351),o=r(41131),i=r(5847),a=o.get,s=o.toKey;n({target:"Reflect",stat:!0},{getOwnMetadata:function(e,t){var r=arguments.length<3?void 0:s(arguments[2]);return a(e,i(t),r)}})},59076:(e,t,r)=>{"use strict";var n=r(70351),o=r(41131),i=r(5847),a=r(80715),s=o.has,u=o.toKey,c=function e(t,r,n){if(s(t,r,n))return!0;var o=a(r);return null!==o&&e(t,o,n)};n({target:"Reflect",stat:!0},{hasMetadata:function(e,t){var r=arguments.length<3?void 0:u(arguments[2]);return c(e,i(t),r)}})},63937:(e,t,r)=>{"use strict";var n=r(70351),o=r(41131),i=r(5847),a=o.has,s=o.toKey;n({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,t){var r=arguments.length<3?void 0:s(arguments[2]);return a(e,i(t),r)}})},44638:(e,t,r)=>{"use strict";var n=r(70351),o=r(41131),i=r(5847),a=o.toKey,s=o.set;n({target:"Reflect",stat:!0},{metadata:function(e,t){return function(r,n){s(e,t,i(r),a(n))}}})},92339:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(16188);n({target:"Set",proto:!0,real:!0,forced:o},{addAll:function(){return i.apply(this,arguments)}})},71542:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73994);n({target:"Set",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},17963:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73683),a=r(1823),s=r(5847),u=r(44847),c=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{difference:function(e){var t=s(this),r=new(u(t,i("Set")))(t),n=a(r.delete);return c(e,(function(e){n.call(r,e)})),r}})},88660:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(97571),s=r(3691),u=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{every:function(e){var t=i(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return!u(r,(function(e,r){if(!n(e,e,t))return r()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},34138:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73683),a=r(1823),s=r(5847),u=r(97571),c=r(44847),l=r(3691),f=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{filter:function(e){var t=s(this),r=l(t),n=u(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Set"))),d=a(o.add);return f(r,(function(e){n(e,e,t)&&d.call(o,e)}),{IS_ITERATOR:!0}),o}})},77493:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(97571),s=r(3691),u=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{find:function(e){var t=i(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return u(r,(function(e,r){if(n(e,e,t))return r(e)}),{IS_ITERATOR:!0,INTERRUPTED:!0}).result}})},30874:(e,t,r)=>{"use strict";r(70351)({target:"Set",stat:!0},{from:r(23057)})},49455:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73683),a=r(1823),s=r(5847),u=r(44847),c=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{intersection:function(e){var t=s(this),r=new(u(t,i("Set"))),n=a(t.has),o=a(r.add);return c(e,(function(e){n.call(t,e)&&o.call(r,e)})),r}})},74084:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(1823),a=r(5847),s=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{isDisjointFrom:function(e){var t=a(this),r=i(t.has);return!s(e,(function(e,n){if(!0===r.call(t,e))return n()}),{INTERRUPTED:!0}).stopped}})},90999:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73683),a=r(1823),s=r(16487),u=r(5847),c=r(43948),l=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{isSubsetOf:function(e){var t=c(this),r=u(e),n=r.has;return s(n)||(r=new(i("Set"))(e),n=a(r.has)),!l(t,(function(e,t){if(!1===n.call(r,e))return t()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},7199:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(1823),a=r(5847),s=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{isSupersetOf:function(e){var t=a(this),r=i(t.has);return!s(e,(function(e,n){if(!1===r.call(t,e))return n()}),{INTERRUPTED:!0}).stopped}})},50792:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(3691),s=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{join:function(e){var t=i(this),r=a(t),n=void 0===e?",":String(e),o=[];return s(r,o.push,{that:o,IS_ITERATOR:!0}),o.join(n)}})},72853:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73683),a=r(1823),s=r(5847),u=r(97571),c=r(44847),l=r(3691),f=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{map:function(e){var t=s(this),r=l(t),n=u(e,arguments.length>1?arguments[1]:void 0,3),o=new(c(t,i("Set"))),d=a(o.add);return f(r,(function(e){d.call(o,n(e,e,t))}),{IS_ITERATOR:!0}),o}})},54577:(e,t,r)=>{"use strict";r(70351)({target:"Set",stat:!0},{of:r(21226)})},15181:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(1823),a=r(5847),s=r(3691),u=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{reduce:function(e){var t=a(this),r=s(t),n=arguments.length<2,o=n?void 0:arguments[1];if(i(e),u(r,(function(r){n?(n=!1,o=r):o=e(o,r,r,t)}),{IS_ITERATOR:!0}),n)throw TypeError("Reduce of empty set with no initial value");return o}})},30093:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(5847),a=r(97571),s=r(3691),u=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{some:function(e){var t=i(this),r=s(t),n=a(e,arguments.length>1?arguments[1]:void 0,3);return u(r,(function(e,r){if(n(e,e,t))return r()}),{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}})},27785:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73683),a=r(1823),s=r(5847),u=r(44847),c=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{symmetricDifference:function(e){var t=s(this),r=new(u(t,i("Set")))(t),n=a(r.delete),o=a(r.add);return c(e,(function(e){n.call(r,e)||o.call(r,e)})),r}})},64612:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73683),a=r(1823),s=r(5847),u=r(44847),c=r(95046);n({target:"Set",proto:!0,real:!0,forced:o},{union:function(e){var t=s(this),r=new(u(t,i("Set")))(t);return c(e,a(r.add),{that:r}),r}})},32492:(e,t,r)=>{"use strict";var n=r(70351),o=r(54409).charAt;n({target:"String",proto:!0,forced:r(48126)((function(){return"𠮷"!=="𠮷".at(0)}))},{at:function(e){return o(this,e)}})},19027:(e,t,r)=>{"use strict";var n=r(70351),o=r(97719),i=r(96583),a=r(95683),s=r(74148),u=r(54409),c=u.codeAt,l=u.charAt,f="String Iterator",d=s.set,p=s.getterFor(f),h=o((function(e){d(this,{type:f,string:e,index:0})}),"String",(function(){var e,t=p(this),r=t.string,n=t.index;return n>=r.length?{value:void 0,done:!0}:(e=l(r,n),t.index+=e.length,{value:{codePoint:c(e,0),position:n},done:!1})}));n({target:"String",proto:!0},{codePoints:function(){return new h(a(i(this)))}})},25440:(e,t,r)=>{"use strict";r(23430)},47258:(e,t,r)=>{"use strict";r(41355)},3650:(e,t,r)=>{"use strict";r(21005)("asyncDispose")},67109:(e,t,r)=>{"use strict";r(21005)("dispose")},62765:(e,t,r)=>{"use strict";r(21005)("matcher")},30270:(e,t,r)=>{"use strict";r(21005)("metadata")},29945:(e,t,r)=>{"use strict";r(21005)("observable")},75794:(e,t,r)=>{"use strict";r(21005)("patternMatch")},7934:(e,t,r)=>{"use strict";r(21005)("replaceAll")},50303:(e,t,r)=>{"use strict";r(40487)},74345:(e,t,r)=>{"use strict";var n=r(15290),o=r(16443).filterReject,i=r(57660),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("filterOut",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},22165:(e,t,r)=>{"use strict";var n=r(15290),o=r(16443).filterReject,i=r(57660),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("filterReject",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},69432:(e,t,r)=>{"use strict";var n=r(15290),o=r(40321).findLastIndex,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},43576:(e,t,r)=>{"use strict";var n=r(15290),o=r(40321).findLast,i=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},66559:(e,t,r)=>{"use strict";var n=r(7418),o=r(16364),i=r(97361),a=r(15290),s=r(12674),u=a.aTypedArrayConstructor;(0,a.exportTypedArrayStaticMethod)("fromAsync",(function(e){var t=n(this);return o.apply(Array,arguments).then((function(e){return s(u(t),e)}))}),i)},66703:(e,t,r)=>{"use strict";var n=r(15290),o=r(19878),i=r(12079),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("groupBy",(function(e){var t=arguments.length>1?arguments[1]:void 0;return o(a(this),e,t,i)}))},32108:(e,t,r)=>{"use strict";var n=r(15290),o=r(39537),i=r(57660),a=n.aTypedArray;(0,n.exportTypedArrayMethod)("uniqueBy",(function(e){return i(this,o.call(a(this),e))}))},8746:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73994);n({target:"WeakMap",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},54133:(e,t,r)=>{"use strict";r(70351)({target:"WeakMap",proto:!0,real:!0,forced:r(37312)},{emplace:r(36993)})},83385:(e,t,r)=>{"use strict";r(70351)({target:"WeakMap",stat:!0},{from:r(23057)})},55586:(e,t,r)=>{"use strict";r(70351)({target:"WeakMap",stat:!0},{of:r(21226)})},65405:(e,t,r)=>{"use strict";r(70351)({target:"WeakMap",proto:!0,real:!0,forced:r(37312)},{upsert:r(54440)})},74352:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(16188);n({target:"WeakSet",proto:!0,real:!0,forced:o},{addAll:function(){return i.apply(this,arguments)}})},61953:(e,t,r)=>{"use strict";var n=r(70351),o=r(37312),i=r(73994);n({target:"WeakSet",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},4945:(e,t,r)=>{"use strict";r(70351)({target:"WeakSet",stat:!0},{from:r(23057)})},82026:(e,t,r)=>{"use strict";r(70351)({target:"WeakSet",stat:!0},{of:r(21226)})},83275:(e,t,r)=>{"use strict";var n=r(85326),o=r(45466),i=r(54706),a=r(85713),s=r(28474),u=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var c in o)u(n[c]&&n[c].prototype);u(i)},37140:(e,t,r)=>{"use strict";var n=r(85326),o=r(45466),i=r(54706),a=r(13329),s=r(28474),u=r(61219),c=u("iterator"),l=u("toStringTag"),f=a.values,d=function(e,t){if(e){if(e[c]!==f)try{s(e,c,f)}catch(t){e[c]=f}if(e[l]||s(e,l,t),o[t])for(var r in a)if(e[r]!==a[r])try{s(e,r,a[r])}catch(t){e[r]=a[r]}}};for(var p in o)d(n[p]&&n[p].prototype,p);d(i,"DOMTokenList")},64247:(e,t,r)=>{"use strict";var n=r(70351),o=r(85326),i=r(32973);n({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},90843:(e,t,r)=>{"use strict";var n=r(70351),o=r(85326),i=r(50065),a=r(23961),s=o.process;n({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=a&&s.domain;i(t?t.bind(e):e)}})},9495:(e,t,r)=>{"use strict";var n=r(70351),o=r(85326),i=r(16487),a=r(329),s=[].slice,u=function(e){return function(t,r){var n=arguments.length>2,o=n?s.call(arguments,2):void 0;return e(n?function(){(i(t)?t:Function(t)).apply(this,o)}:t,r)}};n({global:!0,bind:!0,forced:/MSIE .\./.test(a)},{setTimeout:u(o.setTimeout),setInterval:u(o.setInterval)})},17189:(e,t,r)=>{"use strict";r(13329);var n=r(70351),o=r(73683),i=r(57166),a=r(14387),s=r(29906),u=r(4005),c=r(97719),l=r(74148),f=r(4827),d=r(16487),p=r(56896),h=r(97571),v=r(40281),y=r(5847),g=r(32176),m=r(95683),w=r(85276),O=r(61276),x=r(43948),E=r(60675),b=r(61219),N=o("fetch"),U=o("Request"),T=U&&U.prototype,D=o("Headers"),C=b("iterator"),_="URLSearchParams",S="URLSearchParamsIterator",A=l.set,M=l.getterFor(_),F=l.getterFor(S),j=/\+/g,k=Array(4),L=function(e){return k[e-1]||(k[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},R=function(e){try{return decodeURIComponent(e)}catch(t){return e}},I=function(e){var t=e.replace(j," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(L(r--),R);return t}},P=/[!'()~]|%20/g,B={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},q=function(e){return B[e]},G=function(e){return encodeURIComponent(e).replace(P,q)},H=function(e,t){if(t)for(var r,n,o=t.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),e.push({key:I(n.shift()),value:I(n.join("="))}))},W=function(e){this.entries.length=0,H(this.entries,e)},V=function(e,t){if(e<t)throw TypeError("Not enough arguments")},$=c((function(e,t){A(this,{type:S,iterator:x(M(e).entries),kind:t})}),"Iterator",(function(){var e=F(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),z=function(){f(this,z,_);var e,t,r,n,o,i,a,s,u,c=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(A(l,{type:_,entries:d,updateURL:function(){},updateSearchParams:W}),void 0!==c)if(g(c))if(e=E(c))for(r=(t=x(c,e)).next;!(n=r.call(t)).done;){if((a=(i=(o=x(y(n.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:m(a.value),value:m(s.value)})}else for(u in c)p(c,u)&&d.push({key:u,value:m(c[u])});else H(d,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:m(c))},Y=z.prototype;if(s(Y,{append:function(e,t){V(arguments.length,2);var r=M(this);r.entries.push({key:m(e),value:m(t)}),r.updateURL()},delete:function(e){V(arguments.length,1);for(var t=M(this),r=t.entries,n=m(e),o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;t.updateURL()},get:function(e){V(arguments.length,1);for(var t=M(this).entries,r=m(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){V(arguments.length,1);for(var t=M(this).entries,r=m(e),n=[],o=0;o<t.length;o++)t[o].key===r&&n.push(t[o].value);return n},has:function(e){V(arguments.length,1);for(var t=M(this).entries,r=m(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){V(arguments.length,1);for(var r,n=M(this),o=n.entries,i=!1,a=m(e),s=m(t),u=0;u<o.length;u++)(r=o[u]).key===a&&(i?o.splice(u--,1):(i=!0,r.value=s));i||o.push({key:a,value:s}),n.updateURL()},sort:function(){var e,t,r,n=M(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(e=i[r],t=0;t<r;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===r&&o.push(e)}n.updateURL()},forEach:function(e){for(var t,r=M(this).entries,n=h(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new $(this,"keys")},values:function(){return new $(this,"values")},entries:function(){return new $(this,"entries")}},{enumerable:!0}),a(Y,C,Y.entries,{name:"entries"}),a(Y,"toString",(function(){for(var e,t=M(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(G(e.key)+"="+G(e.value));return r.join("&")}),{enumerable:!0}),u(z,_),n({global:!0,forced:!i},{URLSearchParams:z}),!i&&d(D)){var X=function(e){if(g(e)){var t,r=e.body;if(v(r)===_)return(t=e.headers?new D(e.headers):new D).has("content-type")||t.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),w(e,{body:O(0,String(r)),headers:O(0,t)})}return e};if(d(N)&&n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return N(e,arguments.length>1?X(arguments[1]):{})}}),d(U)){var K=function(e){return f(this,K,"Request"),new U(e,arguments.length>1?X(arguments[1]):{})};T.constructor=K,K.prototype=T,n({global:!0,forced:!0},{Request:K})}}e.exports={URLSearchParams:z,getState:M}},18991:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}r(63356);var o,i=r(70351),a=r(5857),s=r(57166),u=r(85326),c=r(784),l=r(14387),f=r(4827),d=r(56896),p=r(78890),h=r(15202),v=r(54409).codeAt,y=r(13312),g=r(95683),m=r(4005),w=r(17189),O=r(74148),x=u.URL,E=w.URLSearchParams,b=w.getState,N=O.set,U=O.getterFor("URL"),T=Math.floor,D=Math.pow,C="Invalid scheme",_="Invalid host",S="Invalid port",A=/[A-Za-z]/,M=/[\d+-.A-Za-z]/,F=/\d/,j=/^0x/i,k=/^[0-7]+$/,L=/^\d+$/,R=/^[\dA-Fa-f]+$/,I=/[\0\t\n\r #%/:<>?@[\\\]^|]/,P=/[\0\t\n\r #/:<>?@[\\\]^|]/,B=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,q=/[\t\n\r]/g,G=function(e,t){var r,n,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return _;if(!(r=W(t.slice(1,-1))))return _;e.host=r}else if(Q(e)){if(t=y(t),I.test(t))return _;if(null===(r=H(t)))return _;e.host=r}else{if(P.test(t))return _;for(r="",n=h(t),o=0;o<n.length;o++)r+=K(n[o],$);e.host=r}},H=function(e){var t,r,n,o,i,a,s,u=e.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(t=u.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=u[n]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=j.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?L:8==i?k:R).test(o))return e;a=parseInt(o,i)}r.push(a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=D(256,5-t))return null}else if(a>255)return null;for(s=r.pop(),n=0;n<r.length;n++)s+=r[n]*D(256,3-n);return s},W=function(e){var t,r,n,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,d=function(){return e.charAt(f)};if(":"==d()){if(":"!=e.charAt(1))return;f+=2,l=++c}for(;d();){if(8==c)return;if(":"!=d()){for(t=r=0;r<4&&R.test(d());)t=16*t+parseInt(d(),16),f++,r++;if("."==d()){if(0==r)return;if(f-=r,c>6)return;for(n=0;d();){if(o=null,n>0){if(!("."==d()&&n<4))return;f++}if(!F.test(d()))return;for(;F.test(d());){if(i=parseInt(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}u[c]=256*u[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;u[c++]=t}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u},V=function(e){var t,r,o,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=T(e/256);return t.join(".")}if("object"==n(e)){for(t="",o=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),o===r?(t+=r?":":"::",i=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},$={},z=p({},$,{" ":1,'"':1,"<":1,">":1,"`":1}),Y=p({},z,{"#":1,"?":1,"{":1,"}":1}),X=p({},Y,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var r=v(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Q=function(e){return d(J,e.scheme)},Z=function(e){return""!=e.username||""!=e.password},ee=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},te=function(e,t){var r;return 2==e.length&&A.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},re=function(e){var t;return e.length>1&&te(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ne=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&te(t[0],!0)||t.pop()},oe=function(e){return"."===e||"%2e"===e.toLowerCase()},ie={},ae={},se={},ue={},ce={},le={},fe={},de={},pe={},he={},ve={},ye={},ge={},me={},we={},Oe={},xe={},Ee={},be={},Ne={},Ue={},Te=function(e,t,r,n){var i,a,s,u,c,l=r||ie,f=0,p="",v=!1,y=!1,g=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(B,"")),t=t.replace(q,""),i=h(t);f<=i.length;){switch(a=i[f],l){case ie:if(!a||!A.test(a)){if(r)return C;l=se;continue}p+=a.toLowerCase(),l=ae;break;case ae:if(a&&(M.test(a)||"+"==a||"-"==a||"."==a))p+=a.toLowerCase();else{if(":"!=a){if(r)return C;p="",l=se,f=0;continue}if(r&&(Q(e)!=d(J,p)||"file"==p&&(Z(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=p,r)return void(Q(e)&&J[e.scheme]==e.port&&(e.port=null));p="","file"==e.scheme?l=me:Q(e)&&n&&n.scheme==e.scheme?l=ue:Q(e)?l=de:"/"==i[f+1]?(l=ce,f++):(e.cannotBeABaseURL=!0,e.path.push(""),l=be)}break;case se:if(!n||n.cannotBeABaseURL&&"#"!=a)return C;if(n.cannotBeABaseURL&&"#"==a){e.scheme=n.scheme,e.path=n.path.slice(),e.query=n.query,e.fragment="",e.cannotBeABaseURL=!0,l=Ue;break}l="file"==n.scheme?me:le;continue;case ue:if("/"!=a||"/"!=i[f+1]){l=le;continue}l=pe,f++;break;case ce:if("/"==a){l=he;break}l=Ee;continue;case le:if(e.scheme=n.scheme,a==o)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query;else if("/"==a||"\\"==a&&Q(e))l=fe;else if("?"==a)e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query="",l=Ne;else{if("#"!=a){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.path.pop(),l=Ee;continue}e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,e.path=n.path.slice(),e.query=n.query,e.fragment="",l=Ue}break;case fe:if(!Q(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=n.username,e.password=n.password,e.host=n.host,e.port=n.port,l=Ee;continue}l=he}else l=pe;break;case de:if(l=pe,"/"!=a||"/"!=p.charAt(f+1))continue;f++;break;case pe:if("/"!=a&&"\\"!=a){l=he;continue}break;case he:if("@"==a){v&&(p="%40"+p),v=!0,s=h(p);for(var m=0;m<s.length;m++){var w=s[m];if(":"!=w||g){var O=K(w,X);g?e.password+=O:e.username+=O}else g=!0}p=""}else if(a==o||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(e)){if(v&&""==p)return"Invalid authority";f-=h(p).length+1,p="",l=ve}else p+=a;break;case ve:case ye:if(r&&"file"==e.scheme){l=Oe;continue}if(":"!=a||y){if(a==o||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(e)){if(Q(e)&&""==p)return _;if(r&&""==p&&(Z(e)||null!==e.port))return;if(u=G(e,p))return u;if(p="",l=xe,r)return;continue}"["==a?y=!0:"]"==a&&(y=!1),p+=a}else{if(""==p)return _;if(u=G(e,p))return u;if(p="",l=ge,r==ye)return}break;case ge:if(!F.test(a)){if(a==o||"/"==a||"?"==a||"#"==a||"\\"==a&&Q(e)||r){if(""!=p){var x=parseInt(p,10);if(x>65535)return S;e.port=Q(e)&&x===J[e.scheme]?null:x,p=""}if(r)return;l=xe;continue}return S}p+=a;break;case me:if(e.scheme="file","/"==a||"\\"==a)l=we;else{if(!n||"file"!=n.scheme){l=Ee;continue}if(a==o)e.host=n.host,e.path=n.path.slice(),e.query=n.query;else if("?"==a)e.host=n.host,e.path=n.path.slice(),e.query="",l=Ne;else{if("#"!=a){re(i.slice(f).join(""))||(e.host=n.host,e.path=n.path.slice(),ne(e)),l=Ee;continue}e.host=n.host,e.path=n.path.slice(),e.query=n.query,e.fragment="",l=Ue}}break;case we:if("/"==a||"\\"==a){l=Oe;break}n&&"file"==n.scheme&&!re(i.slice(f).join(""))&&(te(n.path[0],!0)?e.path.push(n.path[0]):e.host=n.host),l=Ee;continue;case Oe:if(a==o||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&te(p))l=Ee;else if(""==p){if(e.host="",r)return;l=xe}else{if(u=G(e,p))return u;if("localhost"==e.host&&(e.host=""),r)return;p="",l=xe}continue}p+=a;break;case xe:if(Q(e)){if(l=Ee,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=o&&(l=Ee,"/"!=a))continue}else e.fragment="",l=Ue;else e.query="",l=Ne;break;case Ee:if(a==o||"/"==a||"\\"==a&&Q(e)||!r&&("?"==a||"#"==a)){if(".."===(c=(c=p).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(ne(e),"/"==a||"\\"==a&&Q(e)||e.path.push("")):oe(p)?"/"==a||"\\"==a&&Q(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&te(p)&&(e.host&&(e.host=""),p=p.charAt(0)+":"),e.path.push(p)),p="","file"==e.scheme&&(a==o||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=Ne):"#"==a&&(e.fragment="",l=Ue)}else p+=K(a,Y);break;case be:"?"==a?(e.query="",l=Ne):"#"==a?(e.fragment="",l=Ue):a!=o&&(e.path[0]+=K(a,$));break;case Ne:r||"#"!=a?a!=o&&("'"==a&&Q(e)?e.query+="%27":e.query+="#"==a?"%23":K(a,$)):(e.fragment="",l=Ue);break;case Ue:a!=o&&(e.fragment+=K(a,z))}f++}},De=function(e){var t,r,n=f(this,De,"URL"),o=arguments.length>1?arguments[1]:void 0,i=g(e),s=N(n,{type:"URL"});if(void 0!==o)if(o instanceof De)t=U(o);else if(r=Te(t={},g(o)))throw TypeError(r);if(r=Te(s,i,null,t))throw TypeError(r);var u=s.searchParams=new E,c=b(u);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(u)||null},a||(n.href=_e.call(n),n.origin=Se.call(n),n.protocol=Ae.call(n),n.username=Me.call(n),n.password=Fe.call(n),n.host=je.call(n),n.hostname=ke.call(n),n.port=Le.call(n),n.pathname=Re.call(n),n.search=Ie.call(n),n.searchParams=Pe.call(n),n.hash=Be.call(n))},Ce=De.prototype,_e=function(){var e=U(this),t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,s=e.query,u=e.fragment,c=t+":";return null!==o?(c+="//",Z(e)&&(c+=r+(n?":"+n:"")+"@"),c+=V(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},Se=function(){var e=U(this),t=e.scheme,r=e.port;if("blob"==t)try{return new De(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Q(e)?t+"://"+V(e.host)+(null!==r?":"+r:""):"null"},Ae=function(){return U(this).scheme+":"},Me=function(){return U(this).username},Fe=function(){return U(this).password},je=function(){var e=U(this),t=e.host,r=e.port;return null===t?"":null===r?V(t):V(t)+":"+r},ke=function(){var e=U(this).host;return null===e?"":V(e)},Le=function(){var e=U(this).port;return null===e?"":String(e)},Re=function(){var e=U(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ie=function(){var e=U(this).query;return e?"?"+e:""},Pe=function(){return U(this).searchParams},Be=function(){var e=U(this).fragment;return e?"#"+e:""},qe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(a&&c(Ce,{href:qe(_e,(function(e){var t=U(this),r=g(e),n=Te(t,r);if(n)throw TypeError(n);b(t.searchParams).updateSearchParams(t.query)})),origin:qe(Se),protocol:qe(Ae,(function(e){var t=U(this);Te(t,g(e)+":",ie)})),username:qe(Me,(function(e){var t=U(this),r=h(g(e));if(!ee(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=K(r[n],X)}})),password:qe(Fe,(function(e){var t=U(this),r=h(g(e));if(!ee(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=K(r[n],X)}})),host:qe(je,(function(e){var t=U(this);t.cannotBeABaseURL||Te(t,g(e),ve)})),hostname:qe(ke,(function(e){var t=U(this);t.cannotBeABaseURL||Te(t,g(e),ye)})),port:qe(Le,(function(e){var t=U(this);ee(t)||(""==(e=g(e))?t.port=null:Te(t,e,ge))})),pathname:qe(Re,(function(e){var t=U(this);t.cannotBeABaseURL||(t.path=[],Te(t,g(e),xe))})),search:qe(Ie,(function(e){var t=U(this);""==(e=g(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Te(t,e,Ne)),b(t.searchParams).updateSearchParams(t.query)})),searchParams:qe(Pe),hash:qe(Be,(function(e){var t=U(this);""!=(e=g(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Te(t,e,Ue)):t.fragment=null}))}),l(Ce,"toJSON",(function(){return _e.call(this)}),{enumerable:!0}),l(Ce,"toString",(function(){return _e.call(this)}),{enumerable:!0}),x){var Ge=x.createObjectURL,He=x.revokeObjectURL;Ge&&l(De,"createObjectURL",(function(e){return Ge.apply(x,arguments)})),He&&l(De,"revokeObjectURL",(function(e){return He.apply(x,arguments)}))}m(De,"URL"),i({global:!0,forced:!s,sham:!a},{URL:De})},56040:(e,t,r)=>{"use strict";r(70351)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},94453:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(){if("object"===("undefined"==typeof globalThis?"undefined":n(globalThis)))return globalThis;var e;try{e=this||new Function("return this")()}catch(e){if("object"===("undefined"==typeof window?"undefined":n(window)))return window;if("object"===("undefined"==typeof self?"undefined":n(self)))return self;if(void 0!==r.g)return r.g}return e}()},69275:(e,t,r)=>{"use strict";var n,o,i;function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e=r.nmd(e),o="undefined"!=typeof window?window:void 0,i=function(r,o){var i=[],s=Object.getPrototypeOf,u=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},l=i.push,f=i.indexOf,d={},p=d.toString,h=d.hasOwnProperty,v=h.toString,y=v.call(Object),g={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},w=function(e){return null!=e&&e===e.window},O=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function E(e,t,r){var n,o,i=(r=r||O).createElement("script");if(i.text=e,t)for(n in x)(o=t[n]||t.getAttribute&&t.getAttribute(n))&&i.setAttribute(n,o);r.head.appendChild(i).parentNode.removeChild(i)}function b(e){return null==e?e+"":"object"===a(e)||"function"==typeof e?d[p.call(e)]||"object":a(e)}var N="3.5.1",U=function e(t,r){return new e.fn.init(t,r)};function T(e){var t=!!e&&"length"in e&&e.length,r=b(e);return!m(e)&&!w(e)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}U.fn=U.prototype={jquery:N,constructor:U,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=U.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return U.each(this,e)},map:function(e){return this.pushStack(U.map(this,(function(t,r){return e.call(t,r,t)})))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(U.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(U.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:i.sort,splice:i.splice},U.extend=U.fn.extend=function(){var e,t,r,n,o,i,s=arguments[0]||{},u=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[u]||{},u++),"object"===a(s)||m(s)||(s={}),u===c&&(s=this,u--);u<c;u++)if(null!=(e=arguments[u]))for(t in e)n=e[t],"__proto__"!==t&&s!==n&&(l&&n&&(U.isPlainObject(n)||(o=Array.isArray(n)))?(r=s[t],i=o&&!Array.isArray(r)?[]:o||U.isPlainObject(r)?r:{},o=!1,s[t]=U.extend(l,i,n)):void 0!==n&&(s[t]=n));return s},U.extend({expando:"jQuery"+(N+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,r;return!(!e||"[object Object]"!==p.call(e)||(t=s(e))&&("function"!=typeof(r=h.call(t,"constructor")&&t.constructor)||v.call(r)!==y))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,r){E(e,{nonce:t&&t.nonce},r)},each:function(e,t){var r,n=0;if(T(e))for(r=e.length;n<r&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},makeArray:function(e,t){var r=t||[];return null!=e&&(T(Object(e))?U.merge(r,"string"==typeof e?[e]:e):l.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:f.call(t,e,r)},merge:function(e,t){for(var r=+t.length,n=0,o=e.length;n<r;n++)e[o++]=t[n];return e.length=o,e},grep:function(e,t,r){for(var n=[],o=0,i=e.length,a=!r;o<i;o++)!t(e[o],o)!==a&&n.push(e[o]);return n},map:function(e,t,r){var n,o,i=0,a=[];if(T(e))for(n=e.length;i<n;i++)null!=(o=t(e[i],i,r))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,r))&&a.push(o);return c(a)},guid:1,support:g}),"function"==typeof Symbol&&(U.fn[Symbol.iterator]=i[Symbol.iterator]),U.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var D=function(e){var t,r,n,o,i,a,s,u,c,l,f,d,p,h,v,y,g,m,w,O="sizzle"+1*new Date,x=e.document,E=0,b=0,N=ue(),U=ue(),T=ue(),D=ue(),C=function(e,t){return e===t&&(f=!0),0},_={}.hasOwnProperty,S=[],A=S.pop,M=S.push,F=S.push,j=S.slice,k=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",P="\\[[\\x20\\t\\r\\n\\f]*("+I+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+R+"*\\]",B=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",q=new RegExp(R+"+","g"),G=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),H=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),W=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),V=new RegExp(R+"|>"),$=new RegExp(B),z=new RegExp("^"+I+"$"),Y={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,K=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),re=function(e,t){var r="0x"+e.slice(1)-65536;return t||(r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320))},ne=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){d()},ae=Oe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{F.apply(S=j.call(x.childNodes),x.childNodes),S[x.childNodes.length].nodeType}catch(e){F={apply:S.length?function(e,t){M.apply(e,j.call(t))}:function(e,t){for(var r=e.length,n=0;e[r++]=t[n++];);e.length=r-1}}}function se(e,t,n,o){var i,s,c,l,f,h,g,m=t&&t.ownerDocument,x=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return n;if(!o&&(d(t),t=t||p,v)){if(11!==x&&(f=Z.exec(e)))if(i=f[1]){if(9===x){if(!(c=t.getElementById(i)))return n;if(c.id===i)return n.push(c),n}else if(m&&(c=m.getElementById(i))&&w(t,c)&&c.id===i)return n.push(c),n}else{if(f[2])return F.apply(n,t.getElementsByTagName(e)),n;if((i=f[3])&&r.getElementsByClassName&&t.getElementsByClassName)return F.apply(n,t.getElementsByClassName(i)),n}if(r.qsa&&!D[e+" "]&&(!y||!y.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(g=e,m=t,1===x&&(V.test(e)||W.test(e))){for((m=ee.test(e)&&ge(t.parentNode)||t)===t&&r.scope||((l=t.getAttribute("id"))?l=l.replace(ne,oe):t.setAttribute("id",l=O)),s=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+we(h[s]);g=h.join(",")}try{return F.apply(n,m.querySelectorAll(g)),n}catch(t){D(e,!0)}finally{l===O&&t.removeAttribute("id")}}}return u(e.replace(G,"$1"),t,n,o)}function ue(){var e=[];return function t(r,o){return e.push(r+" ")>n.cacheLength&&delete t[e.shift()],t[r+" "]=o}}function ce(e){return e[O]=!0,e}function le(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var r=e.split("|"),o=r.length;o--;)n.attrHandle[r[o]]=t}function de(e,t){var r=t&&e,n=r&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(n)return n;if(r)for(;r=r.nextSibling;)if(r===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var r=t.nodeName.toLowerCase();return("input"===r||"button"===r)&&t.type===e}}function ve(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ye(e){return ce((function(t){return t=+t,ce((function(r,n){for(var o,i=e([],r.length,t),a=i.length;a--;)r[o=i[a]]&&(r[o]=!(n[o]=r[o]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in r=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,r=(e.ownerDocument||e).documentElement;return!X.test(t||r&&r.nodeName||"HTML")},d=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:x;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,v=!i(p),x!=p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),r.scope=le((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),r.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),r.getElementsByTagName=le((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),r.getElementsByClassName=Q.test(p.getElementsByClassName),r.getById=le((function(e){return h.appendChild(e).id=O,!p.getElementsByName||!p.getElementsByName(O).length})),r.getById?(n.filter.ID=function(e){var t=e.replace(te,re);return function(e){return e.getAttribute("id")===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var r=t.getElementById(e);return r?[r]:[]}}):(n.filter.ID=function(e){var t=e.replace(te,re);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}},n.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var r,n,o,i=t.getElementById(e);if(i){if((r=i.getAttributeNode("id"))&&r.value===e)return[i];for(o=t.getElementsByName(e),n=0;i=o[n++];)if((r=i.getAttributeNode("id"))&&r.value===e)return[i]}return[]}}),n.find.TAG=r.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):r.qsa?t.querySelectorAll(e):void 0}:function(e,t){var r,n=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;r=i[o++];)1===r.nodeType&&n.push(r);return n}return i},n.find.CLASS=r.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&v)return t.getElementsByClassName(e)},g=[],y=[],(r.qsa=Q.test(p.querySelectorAll))&&(le((function(e){var t;h.appendChild(e).innerHTML="<a id='"+O+"'></a><select id='"+O+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+L+")"),e.querySelectorAll("[id~="+O+"-]").length||y.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||y.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+O+"+*").length||y.push(".#.+[+~]"),e.querySelectorAll("\\\f"),y.push("[\\r\\n\\f]")})),le((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")}))),(r.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){r.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),g.push("!=",B)})),y=y.length&&new RegExp(y.join("|")),g=g.length&&new RegExp(g.join("|")),t=Q.test(h.compareDocumentPosition),w=t||Q.test(h.contains)?function(e,t){var r=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(r.contains?r.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},C=t?function(e,t){if(e===t)return f=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!r.sortDetached&&t.compareDocumentPosition(e)===n?e==p||e.ownerDocument==x&&w(x,e)?-1:t==p||t.ownerDocument==x&&w(x,t)?1:l?k(l,e)-k(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return f=!0,0;var r,n=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==p?-1:t==p?1:o?-1:i?1:l?k(l,e)-k(l,t):0;if(o===i)return de(e,t);for(r=e;r=r.parentNode;)a.unshift(r);for(r=t;r=r.parentNode;)s.unshift(r);for(;a[n]===s[n];)n++;return n?de(a[n],s[n]):a[n]==x?-1:s[n]==x?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),r.matchesSelector&&v&&!D[t+" "]&&(!g||!g.test(t))&&(!y||!y.test(t)))try{var n=m.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){D(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&d(e),w(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&d(e);var o=n.attrHandle[t.toLowerCase()],i=o&&_.call(n.attrHandle,t.toLowerCase())?o(e,t,!v):void 0;return void 0!==i?i:r.attributes||!v?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(ne,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],o=0,i=0;if(f=!r.detectDuplicates,l=!r.sortStable&&e.slice(0),e.sort(C),f){for(;t=e[i++];)t===e[i]&&(o=n.push(i));for(;o--;)e.splice(n[o],1)}return l=null,e},o=se.getText=function(e){var t,r="",n=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)r+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[n++];)r+=o(t);return r},(n=se.selectors={cacheLength:50,createPseudo:ce,match:Y,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,re),e[3]=(e[3]||e[4]||e[5]||"").replace(te,re),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&$.test(r)&&(t=a(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,re).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=N[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+R+"|$)"))&&N(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,r){return function(n){var o=se.attr(n,e);return null==o?"!="===t:!t||(o+="","="===t?o===r:"!="===t?o!==r:"^="===t?r&&0===o.indexOf(r):"*="===t?r&&o.indexOf(r)>-1:"$="===t?r&&o.slice(-r.length)===r:"~="===t?(" "+o.replace(q," ")+" ").indexOf(r)>-1:"|="===t&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===o?function(e){return!!e.parentNode}:function(t,r,u){var c,l,f,d,p,h,v=i!==a?"nextSibling":"previousSibling",y=t.parentNode,g=s&&t.nodeName.toLowerCase(),m=!u&&!s,w=!1;if(y){if(i){for(;v;){for(d=t;d=d[v];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){for(w=(p=(c=(l=(f=(d=y)[O]||(d[O]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===E&&c[1])&&c[2],d=p&&y.childNodes[p];d=++p&&d&&d[v]||(w=p=0)||h.pop();)if(1===d.nodeType&&++w&&d===t){l[e]=[E,p,w];break}}else if(m&&(w=p=(c=(l=(f=(d=t)[O]||(d[O]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===E&&c[1]),!1===w)for(;(d=++p&&d&&d[v]||(w=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++w||(m&&((l=(f=d[O]||(d[O]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[E,w]),d!==t)););return(w-=o)===n||w%n==0&&w/n>=0}}},PSEUDO:function(e,t){var r,o=n.pseudos[e]||n.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[O]?o(t):o.length>1?(r=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,r){for(var n,i=o(e,t),a=i.length;a--;)e[n=k(e,i[a])]=!(r[n]=i[a])})):function(e){return o(e,0,r)}):o}},pseudos:{not:ce((function(e){var t=[],r=[],n=s(e.replace(G,"$1"));return n[O]?ce((function(e,t,r,o){for(var i,a=n(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,n(t,null,i,r),t[0]=null,!r.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,re),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ce((function(e){return z.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,re).toLowerCase(),function(t){var r;do{if(r=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var r=e.location&&e.location.hash;return r&&r.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ve(!1),disabled:ve(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ye((function(){return[0]})),last:ye((function(e,t){return[t-1]})),eq:ye((function(e,t,r){return[r<0?r+t:r]})),even:ye((function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e})),odd:ye((function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e})),lt:ye((function(e,t,r){for(var n=r<0?r+t:r>t?t:r;--n>=0;)e.push(n);return e})),gt:ye((function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e}))}}).pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=he(t);function me(){}function we(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function Oe(e,t,r){var n=t.dir,o=t.next,i=o||n,a=r&&"parentNode"===i,s=b++;return t.first?function(t,r,o){for(;t=t[n];)if(1===t.nodeType||a)return e(t,r,o);return!1}:function(t,r,u){var c,l,f,d=[E,s];if(u){for(;t=t[n];)if((1===t.nodeType||a)&&e(t,r,u))return!0}else for(;t=t[n];)if(1===t.nodeType||a)if(l=(f=t[O]||(t[O]={}))[t.uniqueID]||(f[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[n]||t;else{if((c=l[i])&&c[0]===E&&c[1]===s)return d[2]=c[2];if(l[i]=d,d[2]=e(t,r,u))return!0}return!1}}function xe(e){return e.length>1?function(t,r,n){for(var o=e.length;o--;)if(!e[o](t,r,n))return!1;return!0}:e[0]}function Ee(e,t,r,n,o){for(var i,a=[],s=0,u=e.length,c=null!=t;s<u;s++)(i=e[s])&&(r&&!r(i,n,o)||(a.push(i),c&&t.push(s)));return a}function be(e,t,r,n,o,i){return n&&!n[O]&&(n=be(n)),o&&!o[O]&&(o=be(o,i)),ce((function(i,a,s,u){var c,l,f,d=[],p=[],h=a.length,v=i||function(e,t,r){for(var n=0,o=t.length;n<o;n++)se(e,t[n],r);return r}(t||"*",s.nodeType?[s]:s,[]),y=!e||!i&&t?v:Ee(v,d,e,s,u),g=r?o||(i?e:h||n)?[]:a:y;if(r&&r(y,g,s,u),n)for(c=Ee(g,p),n(c,[],s,u),l=c.length;l--;)(f=c[l])&&(g[p[l]]=!(y[p[l]]=f));if(i){if(o||e){if(o){for(c=[],l=g.length;l--;)(f=g[l])&&c.push(y[l]=f);o(null,g=[],c,u)}for(l=g.length;l--;)(f=g[l])&&(c=o?k(i,f):d[l])>-1&&(i[c]=!(a[c]=f))}}else g=Ee(g===a?g.splice(h,g.length):g),o?o(null,a,g,u):F.apply(a,g)}))}function Ne(e){for(var t,r,o,i=e.length,a=n.relative[e[0].type],s=a||n.relative[" "],u=a?1:0,l=Oe((function(e){return e===t}),s,!0),f=Oe((function(e){return k(t,e)>-1}),s,!0),d=[function(e,r,n){var o=!a&&(n||r!==c)||((t=r).nodeType?l(e,r,n):f(e,r,n));return t=null,o}];u<i;u++)if(r=n.relative[e[u].type])d=[Oe(xe(d),r)];else{if((r=n.filter[e[u].type].apply(null,e[u].matches))[O]){for(o=++u;o<i&&!n.relative[e[o].type];o++);return be(u>1&&xe(d),u>1&&we(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(G,"$1"),r,u<o&&Ne(e.slice(u,o)),o<i&&Ne(e=e.slice(o)),o<i&&we(e))}d.push(r)}return xe(d)}return me.prototype=n.filters=n.pseudos,n.setFilters=new me,a=se.tokenize=function(e,t){var r,o,i,a,s,u,c,l=U[e+" "];if(l)return t?0:l.slice(0);for(s=e,u=[],c=n.preFilter;s;){for(a in r&&!(o=H.exec(s))||(o&&(s=s.slice(o[0].length)||s),u.push(i=[])),r=!1,(o=W.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(G," ")}),s=s.slice(r.length)),n.filter)!(o=Y[a].exec(s))||c[a]&&!(o=c[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return t?s.length:s?se.error(e):U(e,u).slice(0)},s=se.compile=function(e,t){var r,o=[],i=[],s=T[e+" "];if(!s){for(t||(t=a(e)),r=t.length;r--;)(s=Ne(t[r]))[O]?o.push(s):i.push(s);(s=T(e,function(e,t){var r=t.length>0,o=e.length>0,i=function(i,a,s,u,l){var f,h,y,g=0,m="0",w=i&&[],O=[],x=c,b=i||o&&n.find.TAG("*",l),N=E+=null==x?1:Math.random()||.1,U=b.length;for(l&&(c=a==p||a||l);m!==U&&null!=(f=b[m]);m++){if(o&&f){for(h=0,a||f.ownerDocument==p||(d(f),s=!v);y=e[h++];)if(y(f,a||p,s)){u.push(f);break}l&&(E=N)}r&&((f=!y&&f)&&g--,i&&w.push(f))}if(g+=m,r&&m!==g){for(h=0;y=t[h++];)y(w,O,a,s);if(i){if(g>0)for(;m--;)w[m]||O[m]||(O[m]=A.call(u));O=Ee(O)}F.apply(u,O),l&&!i&&O.length>0&&g+t.length>1&&se.uniqueSort(u)}return l&&(E=N,c=x),w};return r?ce(i):i}(i,o))).selector=e}return s},u=se.select=function(e,t,r,o){var i,u,c,l,f,d="function"==typeof e&&e,p=!o&&a(e=d.selector||e);if(r=r||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===t.nodeType&&v&&n.relative[u[1].type]){if(!(t=(n.find.ID(c.matches[0].replace(te,re),t)||[])[0]))return r;d&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(i=Y.needsContext.test(e)?0:u.length;i--&&(c=u[i],!n.relative[l=c.type]);)if((f=n.find[l])&&(o=f(c.matches[0].replace(te,re),ee.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(i,1),!(e=o.length&&we(u)))return F.apply(r,o),r;break}}return(d||s(e,p))(o,t,!v,r,!t||ee.test(e)&&ge(t.parentNode)||t),r},r.sortStable=O.split("").sort(C).join("")===O,r.detectDuplicates=!!f,d(),r.sortDetached=le((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),le((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||fe("type|href|height|width",(function(e,t,r){if(!r)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),r.attributes&&le((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||fe("value",(function(e,t,r){if(!r&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||fe(L,(function(e,t,r){var n;if(!r)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null})),se}(r);U.find=D,(U.expr=D.selectors)[":"]=U.expr.pseudos,U.uniqueSort=U.unique=D.uniqueSort,U.text=D.getText,U.isXMLDoc=D.isXML,U.contains=D.contains,U.escapeSelector=D.escape;var C=function(e,t,r){for(var n=[],o=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&U(e).is(r))break;n.push(e)}return n},_=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},S=U.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var M=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,r){return m(t)?U.grep(e,(function(e,n){return!!t.call(e,n,e)!==r})):t.nodeType?U.grep(e,(function(e){return e===t!==r})):"string"!=typeof t?U.grep(e,(function(e){return f.call(t,e)>-1!==r})):U.filter(t,e,r)}U.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?U.find.matchesSelector(n,e)?[n]:[]:U.find.matches(e,U.grep(t,(function(e){return 1===e.nodeType})))},U.fn.extend({find:function(e){var t,r,n=this.length,o=this;if("string"!=typeof e)return this.pushStack(U(e).filter((function(){for(t=0;t<n;t++)if(U.contains(o[t],this))return!0})));for(r=this.pushStack([]),t=0;t<n;t++)U.find(e,o[t],r);return n>1?U.uniqueSort(r):r},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&S.test(e)?U(e):e||[],!1).length}});var j,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(U.fn.init=function(e,t,r){var n,o;if(!e)return this;if(r=r||j,"string"==typeof e){if(!(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:k.exec(e))||!n[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof U?t[0]:t,U.merge(this,U.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:O,!0)),M.test(n[1])&&U.isPlainObject(t))for(n in t)m(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return(o=O.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==r.ready?r.ready(e):e(U):U.makeArray(e,this)}).prototype=U.fn,j=U(O);var L=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}U.fn.extend({has:function(e){var t=U(e,this),r=t.length;return this.filter((function(){for(var e=0;e<r;e++)if(U.contains(this,t[e]))return!0}))},closest:function(e,t){var r,n=0,o=this.length,i=[],a="string"!=typeof e&&U(e);if(!S.test(e))for(;n<o;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(a?a.index(r)>-1:1===r.nodeType&&U.find.matchesSelector(r,e))){i.push(r);break}return this.pushStack(i.length>1?U.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?f.call(U(e),this[0]):f.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(U.uniqueSort(U.merge(this.get(),U(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),U.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return C(e,"parentNode")},parentsUntil:function(e,t,r){return C(e,"parentNode",r)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return C(e,"nextSibling")},prevAll:function(e){return C(e,"previousSibling")},nextUntil:function(e,t,r){return C(e,"nextSibling",r)},prevUntil:function(e,t,r){return C(e,"previousSibling",r)},siblings:function(e){return _((e.parentNode||{}).firstChild,e)},children:function(e){return _(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),U.merge([],e.childNodes))}},(function(e,t){U.fn[e]=function(r,n){var o=U.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(o=U.filter(n,o)),this.length>1&&(R[e]||U.uniqueSort(o),L.test(e)&&o.reverse()),this.pushStack(o)}}));var P=/[^\x20\t\r\n\f]+/g;function B(e){return e}function q(e){throw e}function G(e,t,r,n){var o;try{e&&m(o=e.promise)?o.call(e).done(t).fail(r):e&&m(o=e.then)?o.call(e,t,r):t.apply(void 0,[e].slice(n))}catch(e){r.apply(void 0,[e])}}U.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return U.each(e.match(P)||[],(function(e,r){t[r]=!0})),t}(e):U.extend({},e);var t,r,n,o,i=[],a=[],s=-1,u=function(){for(o=o||e.once,n=t=!0;a.length;s=-1)for(r=a.shift();++s<i.length;)!1===i[s].apply(r[0],r[1])&&e.stopOnFalse&&(s=i.length,r=!1);e.memory||(r=!1),t=!1,o&&(i=r?[]:"")},c={add:function(){return i&&(r&&!t&&(s=i.length-1,a.push(r)),function t(r){U.each(r,(function(r,n){m(n)?e.unique&&c.has(n)||i.push(n):n&&n.length&&"string"!==b(n)&&t(n)}))}(arguments),r&&!t&&u()),this},remove:function(){return U.each(arguments,(function(e,t){for(var r;(r=U.inArray(t,i,r))>-1;)i.splice(r,1),r<=s&&s--})),this},has:function(e){return e?U.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=r="",this},disabled:function(){return!i},lock:function(){return o=a=[],r||t||(i=r=""),this},locked:function(){return!!o},fireWith:function(e,r){return o||(r=[e,(r=r||[]).slice?r.slice():r],a.push(r),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},U.extend({Deferred:function(e){var t=[["notify","progress",U.Callbacks("memory"),U.Callbacks("memory"),2],["resolve","done",U.Callbacks("once memory"),U.Callbacks("once memory"),0,"resolved"],["reject","fail",U.Callbacks("once memory"),U.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return U.Deferred((function(r){U.each(t,(function(t,n){var o=m(e[n[4]])&&e[n[4]];i[n[1]]((function(){var e=o&&o.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[n[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function s(e,t,n,o){return function(){var u=this,c=arguments,l=function(){var r,l;if(!(e<i)){if((r=n.apply(u,c))===t.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"===a(r)||"function"==typeof r)&&r.then,m(l)?o?l.call(r,s(i,t,B,o),s(i,t,q,o)):(i++,l.call(r,s(i,t,B,o),s(i,t,q,o),s(i,t,B,t.notifyWith))):(n!==B&&(u=void 0,c=[r]),(o||t.resolveWith)(u,c))}},f=o?l:function(){try{l()}catch(r){U.Deferred.exceptionHook&&U.Deferred.exceptionHook(r,f.stackTrace),e+1>=i&&(n!==q&&(u=void 0,c=[r]),t.rejectWith(u,c))}};e?f():(U.Deferred.getStackHook&&(f.stackTrace=U.Deferred.getStackHook()),r.setTimeout(f))}}return U.Deferred((function(r){t[0][3].add(s(0,r,m(o)?o:B,r.notifyWith)),t[1][3].add(s(0,r,m(e)?e:B)),t[2][3].add(s(0,r,m(n)?n:q))})).promise()},promise:function(e){return null!=e?U.extend(e,o):o}},i={};return U.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,r=t,n=Array(r),o=u.call(arguments),i=U.Deferred(),a=function(e){return function(r){n[e]=this,o[e]=arguments.length>1?u.call(arguments):r,--t||i.resolveWith(n,o)}};if(t<=1&&(G(e,i.done(a(r)).resolve,i.reject,!t),"pending"===i.state()||m(o[r]&&o[r].then)))return i.then();for(;r--;)G(o[r],a(r),i.reject);return i.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;U.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&H.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},U.readyException=function(e){r.setTimeout((function(){throw e}))};var W=U.Deferred();function V(){O.removeEventListener("DOMContentLoaded",V),r.removeEventListener("load",V),U.ready()}U.fn.ready=function(e){return W.then(e).catch((function(e){U.readyException(e)})),this},U.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--U.readyWait:U.isReady)||(U.isReady=!0,!0!==e&&--U.readyWait>0||W.resolveWith(O,[U]))}}),U.ready.then=W.then,"complete"===O.readyState||"loading"!==O.readyState&&!O.documentElement.doScroll?r.setTimeout(U.ready):(O.addEventListener("DOMContentLoaded",V),r.addEventListener("load",V));var $=function e(t,r,n,o,i,a,s){var u=0,c=t.length,l=null==n;if("object"===b(n))for(u in i=!0,n)e(t,r,u,n[u],!0,a,s);else if(void 0!==o&&(i=!0,m(o)||(s=!0),l&&(s?(r.call(t,o),r=null):(l=r,r=function(e,t,r){return l.call(U(e),r)})),r))for(;u<c;u++)r(t[u],n,s?o:o.call(t[u],u,r(t[u],n)));return i?t:l?r.call(t):c?r(t[0],n):a},z=/^-ms-/,Y=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function K(e){return e.replace(z,"ms-").replace(Y,X)}var J=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=U.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},J(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,r){var n,o=this.cache(e);if("string"==typeof t)o[K(t)]=r;else for(n in t)o[K(n)]=t[n];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][K(t)]},access:function(e,t,r){return void 0===t||t&&"string"==typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n=e[this.expando];if(void 0!==n){if(void 0!==t){r=(t=Array.isArray(t)?t.map(K):(t=K(t))in n?[t]:t.match(P)||[]).length;for(;r--;)delete n[t[r]]}(void 0===t||U.isEmptyObject(n))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!U.isEmptyObject(t)}};var Z=new Q,ee=new Q,te=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,re=/[A-Z]/g;function ne(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(re,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(n))){try{r=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:te.test(e)?JSON.parse(e):e)}(r)}catch(e){}ee.set(e,t,r)}else r=void 0;return r}U.extend({hasData:function(e){return ee.hasData(e)||Z.hasData(e)},data:function(e,t,r){return ee.access(e,t,r)},removeData:function(e,t){ee.remove(e,t)},_data:function(e,t,r){return Z.access(e,t,r)},_removeData:function(e,t){Z.remove(e,t)}}),U.fn.extend({data:function(e,t){var r,n,o,i=this[0],s=i&&i.attributes;if(void 0===e){if(this.length&&(o=ee.get(i),1===i.nodeType&&!Z.get(i,"hasDataAttrs"))){for(r=s.length;r--;)s[r]&&0===(n=s[r].name).indexOf("data-")&&(n=K(n.slice(5)),ne(i,n,o[n]));Z.set(i,"hasDataAttrs",!0)}return o}return"object"===a(e)?this.each((function(){ee.set(this,e)})):$(this,(function(t){var r;if(i&&void 0===t)return void 0!==(r=ee.get(i,e))||void 0!==(r=ne(i,e))?r:void 0;this.each((function(){ee.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){ee.remove(this,e)}))}}),U.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=Z.get(e,t),r&&(!n||Array.isArray(r)?n=Z.access(e,t,U.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){var r=U.queue(e,t=t||"fx"),n=r.length,o=r.shift(),i=U._queueHooks(e,t);"inprogress"===o&&(o=r.shift(),n--),o&&("fx"===t&&r.unshift("inprogress"),delete i.stop,o.call(e,(function(){U.dequeue(e,t)}),i)),!n&&i&&i.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return Z.get(e,r)||Z.access(e,r,{empty:U.Callbacks("once memory").add((function(){Z.remove(e,[t+"queue",r])}))})}}),U.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length<r?U.queue(this[0],e):void 0===t?this:this.each((function(){var r=U.queue(this,e,t);U._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&U.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){U.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,o=U.Deferred(),i=this,a=this.length,s=function(){--n||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(r=Z.get(i[a],e+"queueHooks"))&&r.empty&&(n++,r.empty.add(s));return s(),o.promise(t)}});var oe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+oe+")([a-z%]*)$","i"),ae=["Top","Right","Bottom","Left"],se=O.documentElement,ue=function(e){return U.contains(e.ownerDocument,e)},ce={composed:!0};se.getRootNode&&(ue=function(e){return U.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ue(e)&&"none"===U.css(e,"display")};function fe(e,t,r,n){var o,i,a=20,s=n?function(){return n.cur()}:function(){return U.css(e,t,"")},u=s(),c=r&&r[3]||(U.cssNumber[t]?"":"px"),l=e.nodeType&&(U.cssNumber[t]||"px"!==c&&+u)&&ie.exec(U.css(e,t));if(l&&l[3]!==c){for(u/=2,c=c||l[3],l=+u||1;a--;)U.style(e,t,l+c),(1-i)*(1-(i=s()/u||.5))<=0&&(a=0),l/=i;U.style(e,t,(l*=2)+c),r=r||[]}return r&&(l=+l||+u||0,o=r[1]?l+(r[1]+1)*r[2]:+r[2],n&&(n.unit=c,n.start=l,n.end=o)),o}var de={};function pe(e){var t,r=e.ownerDocument,n=e.nodeName,o=de[n];return o||(t=r.body.appendChild(r.createElement(n)),o=U.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),de[n]=o,o)}function he(e,t){for(var r,n,o=[],i=0,a=e.length;i<a;i++)(n=e[i]).style&&(r=n.style.display,t?("none"===r&&(o[i]=Z.get(n,"display")||null,o[i]||(n.style.display="")),""===n.style.display&&le(n)&&(o[i]=pe(n))):"none"!==r&&(o[i]="none",Z.set(n,"display",r)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}U.fn.extend({show:function(){return he(this,!0)},hide:function(){return he(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?U(this).show():U(this).hide()}))}});var ve,ye,ge=/^(?:checkbox|radio)$/i,me=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,we=/^$|^module$|\/(?:java|ecma)script/i;ve=O.createDocumentFragment().appendChild(O.createElement("div")),(ye=O.createElement("input")).setAttribute("type","radio"),ye.setAttribute("checked","checked"),ye.setAttribute("name","t"),ve.appendChild(ye),g.checkClone=ve.cloneNode(!0).cloneNode(!0).lastChild.checked,ve.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!ve.cloneNode(!0).lastChild.defaultValue,ve.innerHTML="<option></option>",g.option=!!ve.lastChild;var Oe={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function xe(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?U.merge([e],r):r}function Ee(e,t){for(var r=0,n=e.length;r<n;r++)Z.set(e[r],"globalEval",!t||Z.get(t[r],"globalEval"))}Oe.tbody=Oe.tfoot=Oe.colgroup=Oe.caption=Oe.thead,Oe.th=Oe.td,g.option||(Oe.optgroup=Oe.option=[1,"<select multiple='multiple'>","</select>"]);var be=/<|&#?\w+;/;function Ne(e,t,r,n,o){for(var i,a,s,u,c,l,f=t.createDocumentFragment(),d=[],p=0,h=e.length;p<h;p++)if((i=e[p])||0===i)if("object"===b(i))U.merge(d,i.nodeType?[i]:i);else if(be.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(me.exec(i)||["",""])[1].toLowerCase(),u=Oe[s]||Oe._default,a.innerHTML=u[1]+U.htmlPrefilter(i)+u[2],l=u[0];l--;)a=a.lastChild;U.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(i));for(f.textContent="",p=0;i=d[p++];)if(n&&U.inArray(i,n)>-1)o&&o.push(i);else if(c=ue(i),a=xe(f.appendChild(i),"script"),c&&Ee(a),r)for(l=0;i=a[l++];)we.test(i.type||"")&&r.push(i);return f}var Ue=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,De=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function _e(){return!1}function Se(e,t){return e===function(){try{return O.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,r,n,o,i){var s,u;if("object"===a(t)){for(u in"string"!=typeof r&&(n=n||r,r=void 0),t)Ae(e,u,r,n,t[u],i);return e}if(null==n&&null==o?(o=r,n=r=void 0):null==o&&("string"==typeof r?(o=n,n=void 0):(o=n,n=r,r=void 0)),!1===o)o=_e;else if(!o)return e;return 1===i&&(s=o,(o=function(e){return U().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=U.guid++)),e.each((function(){U.event.add(this,t,o,n,r)}))}function Me(e,t,r){r?(Z.set(e,t,!1),U.event.add(e,t,{namespace:!1,handler:function(e){var n,o,i=Z.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(U.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=u.call(arguments),Z.set(this,t,i),n=r(this,t),this[t](),i!==(o=Z.get(this,t))||n?Z.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o.value}else i.length&&(Z.set(this,t,{value:U.event.trigger(U.extend(i[0],U.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Z.get(e,t)&&U.event.add(e,t,Ce)}U.event={global:{},add:function(e,t,r,n,o){var i,a,s,u,c,l,f,d,p,h,v,y=Z.get(e);if(J(e))for(r.handler&&(r=(i=r).handler,o=i.selector),o&&U.find.matchesSelector(se,o),r.guid||(r.guid=U.guid++),(u=y.events)||(u=y.events=Object.create(null)),(a=y.handle)||(a=y.handle=function(t){return U.event.triggered!==t.type?U.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(P)||[""]).length;c--;)p=v=(s=De.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(f=U.event.special[p]||{},p=(o?f.delegateType:f.bindType)||p,f=U.event.special[p]||{},l=U.extend({type:p,origType:v,data:n,handler:r,guid:r.guid,selector:o,needsContext:o&&U.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=u[p])||((d=u[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,n,h,a)||e.addEventListener&&e.addEventListener(p,a)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=r.guid)),o?d.splice(d.delegateCount++,0,l):d.push(l),U.event.global[p]=!0)},remove:function(e,t,r,n,o){var i,a,s,u,c,l,f,d,p,h,v,y=Z.hasData(e)&&Z.get(e);if(y&&(u=y.events)){for(c=(t=(t||"").match(P)||[""]).length;c--;)if(p=v=(s=De.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=U.event.special[p]||{},d=u[p=(n?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)l=d[i],!o&&v!==l.origType||r&&r.guid!==l.guid||s&&!s.test(l.namespace)||n&&n!==l.selector&&("**"!==n||!l.selector)||(d.splice(i,1),l.selector&&d.delegateCount--,f.remove&&f.remove.call(e,l));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||U.removeEvent(e,p,y.handle),delete u[p])}else for(p in u)U.event.remove(e,p+t[c],r,n,!0);U.isEmptyObject(u)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,r,n,o,i,a,s=new Array(arguments.length),u=U.event.fix(e),c=(Z.get(this,"events")||Object.create(null))[u.type]||[],l=U.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,u)){for(a=U.event.handlers.call(this,u,c),t=0;(o=a[t++])&&!u.isPropagationStopped();)for(u.currentTarget=o.elem,r=0;(i=o.handlers[r++])&&!u.isImmediatePropagationStopped();)u.rnamespace&&!1!==i.namespace&&!u.rnamespace.test(i.namespace)||(u.handleObj=i,u.data=i.data,void 0!==(n=((U.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(u.result=n)&&(u.preventDefault(),u.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,u),u.result}},handlers:function(e,t){var r,n,o,i,a,s=[],u=t.delegateCount,c=e.target;if(u&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},r=0;r<u;r++)void 0===a[o=(n=t[r]).selector+" "]&&(a[o]=n.needsContext?U(o,this).index(c)>-1:U.find(o,this,null,[c]).length),a[o]&&i.push(n);i.length&&s.push({elem:c,handlers:i})}return c=this,u<t.length&&s.push({elem:c,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(U.Event.prototype,e,{enumerable:!0,configurable:!0,get:m(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[U.expando]?e:new U.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&A(t,"input")&&Me(t,"click",Ce),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&A(t,"input")&&Me(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&A(t,"input")&&Z.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},U.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},(U.Event=function(e,t){if(!(this instanceof U.Event))return new U.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:_e,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&U.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[U.expando]=!0}).prototype={constructor:U.Event,isDefaultPrevented:_e,isPropagationStopped:_e,isImmediatePropagationStopped:_e,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},U.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Ue.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},U.event.addProp),U.each({focus:"focusin",blur:"focusout"},(function(e,t){U.event.special[e]={setup:function(){return Me(this,e,Se),!1},trigger:function(){return Me(this,e),!0},delegateType:t}})),U.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){U.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===n||U.contains(n,o))||(e.type=i.origType,r=i.handler.apply(this,arguments),e.type=t),r}}})),U.fn.extend({on:function(e,t,r,n){return Ae(this,e,t,r,n)},one:function(e,t,r,n){return Ae(this,e,t,r,n,1)},off:function(e,t,r){var n,o;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,U(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"===a(e)){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=_e),this.each((function(){U.event.remove(this,e,r,t)}))}});var Fe=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,ke=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&U(e).children("tbody")[0]||e}function Re(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var r,n,o,i,a,s;if(1===t.nodeType){if(Z.hasData(e)&&(s=Z.get(e).events))for(o in Z.remove(t,"handle events"),s)for(r=0,n=s[o].length;r<n;r++)U.event.add(t,o,s[o][r]);ee.hasData(e)&&(i=ee.access(e),a=U.extend({},i),ee.set(t,a))}}function Be(e,t){var r=t.nodeName.toLowerCase();"input"===r&&ge.test(e.type)?t.checked=e.checked:"input"!==r&&"textarea"!==r||(t.defaultValue=e.defaultValue)}function qe(e,t,r,n){t=c(t);var o,i,a,s,u,l,f=0,d=e.length,p=d-1,h=t[0],v=m(h);if(v||d>1&&"string"==typeof h&&!g.checkClone&&je.test(h))return e.each((function(o){var i=e.eq(o);v&&(t[0]=h.call(this,o,i.html())),qe(i,t,r,n)}));if(d&&(i=(o=Ne(t,e[0].ownerDocument,!1,e,n)).firstChild,1===o.childNodes.length&&(o=i),i||n)){for(s=(a=U.map(xe(o,"script"),Re)).length;f<d;f++)u=o,f!==p&&(u=U.clone(u,!0,!0),s&&U.merge(a,xe(u,"script"))),r.call(e[f],u,f);if(s)for(l=a[a.length-1].ownerDocument,U.map(a,Ie),f=0;f<s;f++)u=a[f],we.test(u.type||"")&&!Z.access(u,"globalEval")&&U.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?U._evalUrl&&!u.noModule&&U._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):E(u.textContent.replace(ke,""),u,l))}return e}function Ge(e,t,r){for(var n,o=t?U.filter(t,e):e,i=0;null!=(n=o[i]);i++)r||1!==n.nodeType||U.cleanData(xe(n)),n.parentNode&&(r&&ue(n)&&Ee(xe(n,"script")),n.parentNode.removeChild(n));return e}U.extend({htmlPrefilter:function(e){return e},clone:function(e,t,r){var n,o,i,a,s=e.cloneNode(!0),u=ue(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||U.isXMLDoc(e)))for(a=xe(s),n=0,o=(i=xe(e)).length;n<o;n++)Be(i[n],a[n]);if(t)if(r)for(i=i||xe(e),a=a||xe(s),n=0,o=i.length;n<o;n++)Pe(i[n],a[n]);else Pe(e,s);return(a=xe(s,"script")).length>0&&Ee(a,!u&&xe(e,"script")),s},cleanData:function(e){for(var t,r,n,o=U.event.special,i=0;void 0!==(r=e[i]);i++)if(J(r)){if(t=r[Z.expando]){if(t.events)for(n in t.events)o[n]?U.event.remove(r,n):U.removeEvent(r,n,t.handle);r[Z.expando]=void 0}r[ee.expando]&&(r[ee.expando]=void 0)}}}),U.fn.extend({detach:function(e){return Ge(this,e,!0)},remove:function(e){return Ge(this,e)},text:function(e){return $(this,(function(e){return void 0===e?U.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return qe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)}))},prepend:function(){return qe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(U.cleanData(xe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return U.clone(this,e,t)}))},html:function(e){return $(this,(function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Fe.test(e)&&!Oe[(me.exec(e)||["",""])[1].toLowerCase()]){e=U.htmlPrefilter(e);try{for(;r<n;r++)1===(t=this[r]||{}).nodeType&&(U.cleanData(xe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return qe(this,arguments,(function(t){var r=this.parentNode;U.inArray(this,e)<0&&(U.cleanData(xe(this)),r&&r.replaceChild(t,this))}),e)}}),U.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){U.fn[e]=function(e){for(var r,n=[],o=U(e),i=o.length-1,a=0;a<=i;a++)r=a===i?this:this.clone(!0),U(o[a])[t](r),l.apply(n,r.get());return this.pushStack(n)}}));var He=new RegExp("^("+oe+")(?!px)[a-z%]+$","i"),We=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Ve=function(e,t,r){var n,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in n=r.call(e),t)e.style[o]=i[o];return n},$e=new RegExp(ae.join("|"),"i");function ze(e,t,r){var n,o,i,a,s=e.style;return(r=r||We(e))&&(""!==(a=r.getPropertyValue(t)||r[t])||ue(e)||(a=U.style(e,t)),!g.pixelBoxStyles()&&He.test(a)&&$e.test(t)&&(n=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=r.width,s.width=n,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ye(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",se.appendChild(c).appendChild(l);var e=r.getComputedStyle(l);n="1%"!==e.top,u=12===t(e.marginLeft),l.style.right="60%",a=36===t(e.right),o=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),se.removeChild(c),l=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,u,c=O.createElement("div"),l=O.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===l.style.backgroundClip,U.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=O.createElement("table"),t=O.createElement("tr"),n=O.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",n.style.height="9px",se.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height)>3,se.removeChild(e)),s}}))}();var Xe=["Webkit","Moz","ms"],Ke=O.createElement("div").style,Je={};function Qe(e){return U.cssProps[e]||Je[e]||(e in Ke?e:Je[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),r=Xe.length;r--;)if((e=Xe[r]+t)in Ke)return e}(e)||e)}var Ze=/^(none|table(?!-c[ea]).+)/,et=/^--/,tt={position:"absolute",visibility:"hidden",display:"block"},rt={letterSpacing:"0",fontWeight:"400"};function nt(e,t,r){var n=ie.exec(t);return n?Math.max(0,n[2]-(r||0))+(n[3]||"px"):t}function ot(e,t,r,n,o,i){var a="width"===t?1:0,s=0,u=0;if(r===(n?"border":"content"))return 0;for(;a<4;a+=2)"margin"===r&&(u+=U.css(e,r+ae[a],!0,o)),n?("content"===r&&(u-=U.css(e,"padding"+ae[a],!0,o)),"margin"!==r&&(u-=U.css(e,"border"+ae[a]+"Width",!0,o))):(u+=U.css(e,"padding"+ae[a],!0,o),"padding"!==r?u+=U.css(e,"border"+ae[a]+"Width",!0,o):s+=U.css(e,"border"+ae[a]+"Width",!0,o));return!n&&i>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-u-s-.5))||0),u}function it(e,t,r){var n=We(e),o=(!g.boxSizingReliable()||r)&&"border-box"===U.css(e,"boxSizing",!1,n),i=o,a=ze(e,t,n),s="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(a)){if(!r)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===U.css(e,"display",!1,n))&&e.getClientRects().length&&(o="border-box"===U.css(e,"boxSizing",!1,n),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ot(e,t,r||(o?"border":"content"),i,n,a)+"px"}function at(e,t,r,n,o){return new at.prototype.init(e,t,r,n,o)}U.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=ze(e,"opacity");return""===r?"1":r}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,s,u=K(t),c=et.test(t),l=e.style;if(c||(t=Qe(u)),s=U.cssHooks[t]||U.cssHooks[u],void 0===r)return s&&"get"in s&&void 0!==(o=s.get(e,!1,n))?o:l[t];"string"===(i=a(r))&&(o=ie.exec(r))&&o[1]&&(r=fe(e,t,o),i="number"),null!=r&&r==r&&("number"!==i||c||(r+=o&&o[3]||(U.cssNumber[u]?"":"px")),g.clearCloneStyle||""!==r||0!==t.indexOf("background")||(l[t]="inherit"),s&&"set"in s&&void 0===(r=s.set(e,r,n))||(c?l.setProperty(t,r):l[t]=r))}},css:function(e,t,r,n){var o,i,a,s=K(t);return et.test(t)||(t=Qe(s)),(a=U.cssHooks[t]||U.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,r)),void 0===o&&(o=ze(e,t,n)),"normal"===o&&t in rt&&(o=rt[t]),""===r||r?(i=parseFloat(o),!0===r||isFinite(i)?i||0:o):o}}),U.each(["height","width"],(function(e,t){U.cssHooks[t]={get:function(e,r,n){if(r)return!Ze.test(U.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?it(e,t,n):Ve(e,tt,(function(){return it(e,t,n)}))},set:function(e,r,n){var o,i=We(e),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||n)&&"border-box"===U.css(e,"boxSizing",!1,i),u=n?ot(e,t,n,s,i):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-ot(e,t,"border",!1,i)-.5)),u&&(o=ie.exec(r))&&"px"!==(o[3]||"px")&&(e.style[t]=r,r=U.css(e,t)),nt(0,r,u)}}})),U.cssHooks.marginLeft=Ye(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),U.each({margin:"",padding:"",border:"Width"},(function(e,t){U.cssHooks[e+t]={expand:function(r){for(var n=0,o={},i="string"==typeof r?r.split(" "):[r];n<4;n++)o[e+ae[n]+t]=i[n]||i[n-2]||i[0];return o}},"margin"!==e&&(U.cssHooks[e+t].set=nt)})),U.fn.extend({css:function(e,t){return $(this,(function(e,t,r){var n,o,i={},a=0;if(Array.isArray(t)){for(n=We(e),o=t.length;a<o;a++)i[t[a]]=U.css(e,t[a],!1,n);return i}return void 0!==r?U.style(e,t,r):U.css(e,t)}),e,t,arguments.length>1)}}),U.Tween=at,at.prototype={constructor:at,init:function(e,t,r,n,o,i){this.elem=e,this.prop=r,this.easing=o||U.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=i||(U.cssNumber[r]?"":"px")},cur:function(){var e=at.propHooks[this.prop];return e&&e.get?e.get(this):at.propHooks._default.get(this)},run:function(e){var t,r=at.propHooks[this.prop];return this.options.duration?this.pos=t=U.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):at.propHooks._default.set(this),this}},at.prototype.init.prototype=at.prototype,at.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=U.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){U.fx.step[e.prop]?U.fx.step[e.prop](e):1!==e.elem.nodeType||!U.cssHooks[e.prop]&&null==e.elem.style[Qe(e.prop)]?e.elem[e.prop]=e.now:U.style(e.elem,e.prop,e.now+e.unit)}}},at.propHooks.scrollTop=at.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},U.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},(U.fx=at.prototype.init).step={};var st,ut,ct=/^(?:toggle|show|hide)$/,lt=/queueHooks$/;function ft(){ut&&(!1===O.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ft):r.setTimeout(ft,U.fx.interval),U.fx.tick())}function dt(){return r.setTimeout((function(){st=void 0})),st=Date.now()}function pt(e,t){var r,n=0,o={height:e};for(t=t?1:0;n<4;n+=2-t)o["margin"+(r=ae[n])]=o["padding"+r]=e;return t&&(o.opacity=o.width=e),o}function ht(e,t,r){for(var n,o=(vt.tweeners[t]||[]).concat(vt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(n=o[i].call(r,t,e))return n}function vt(e,t,r){var n,o,i=0,a=vt.prefilters.length,s=U.Deferred().always((function(){delete u.elem})),u=function(){if(o)return!1;for(var t=st||dt(),r=Math.max(0,c.startTime+c.duration-t),n=1-(r/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(n);return s.notifyWith(e,[c,n,r]),n<1&&a?r:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:U.extend({},t),opts:U.extend(!0,{specialEasing:{},easing:U.easing._default},r),originalProperties:t,originalOptions:r,startTime:st||dt(),duration:r.duration,tweens:[],createTween:function(t,r){var n=U.Tween(e,c.opts,t,r,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var r=0,n=t?c.tweens.length:0;if(o)return this;for(o=!0;r<n;r++)c.tweens[r].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),l=c.props;for(function(e,t){var r,n,o,i,a;for(r in e)if(o=t[n=K(r)],i=e[r],Array.isArray(i)&&(o=i[1],i=e[r]=i[0]),r!==n&&(e[n]=i,delete e[r]),(a=U.cssHooks[n])&&"expand"in a)for(r in i=a.expand(i),delete e[n],i)r in e||(e[r]=i[r],t[r]=o);else t[n]=o}(l,c.opts.specialEasing);i<a;i++)if(n=vt.prefilters[i].call(c,e,l,c.opts))return m(n.stop)&&(U._queueHooks(c.elem,c.opts.queue).stop=n.stop.bind(n)),n;return U.map(l,ht,c),m(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),U.fx.timer(U.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c}U.Animation=U.extend(vt,{tweeners:{"*":[function(e,t){var r=this.createTween(e,t);return fe(r.elem,e,ie.exec(t),r),r}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var r,n=0,o=e.length;n<o;n++)r=e[n],vt.tweeners[r]=vt.tweeners[r]||[],vt.tweeners[r].unshift(t)},prefilters:[function(e,t,r){var n,o,i,a,s,u,c,l,f="width"in t||"height"in t,d=this,p={},h=e.style,v=e.nodeType&&le(e),y=Z.get(e,"fxshow");for(n in r.queue||(null==(a=U._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,U.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[n],ct.test(o)){if(delete t[n],i=i||"toggle"===o,o===(v?"hide":"show")){if("show"!==o||!y||void 0===y[n])continue;v=!0}p[n]=y&&y[n]||U.style(e,n)}if((u=!U.isEmptyObject(t))||!U.isEmptyObject(p))for(n in f&&1===e.nodeType&&(r.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=y&&y.display)&&(c=Z.get(e,"display")),"none"===(l=U.css(e,"display"))&&(c?l=c:(he([e],!0),c=e.style.display||c,l=U.css(e,"display"),he([e]))),("inline"===l||"inline-block"===l&&null!=c)&&"none"===U.css(e,"float")&&(u||(d.done((function(){h.display=c})),null==c&&(l=h.display,c="none"===l?"":l)),h.display="inline-block")),r.overflow&&(h.overflow="hidden",d.always((function(){h.overflow=r.overflow[0],h.overflowX=r.overflow[1],h.overflowY=r.overflow[2]}))),u=!1,p)u||(y?"hidden"in y&&(v=y.hidden):y=Z.access(e,"fxshow",{display:c}),i&&(y.hidden=!v),v&&he([e],!0),d.done((function(){for(n in v||he([e]),Z.remove(e,"fxshow"),p)U.style(e,n,p[n])}))),u=ht(v?y[n]:0,n,d),n in y||(y[n]=u.start,v&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?vt.prefilters.unshift(e):vt.prefilters.push(e)}}),U.speed=function(e,t,r){var n=e&&"object"===a(e)?U.extend({},e):{complete:r||!r&&t||m(e)&&e,duration:e,easing:r&&t||t&&!m(t)&&t};return U.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in U.fx.speeds?n.duration=U.fx.speeds[n.duration]:n.duration=U.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){m(n.old)&&n.old.call(this),n.queue&&U.dequeue(this,n.queue)},n},U.fn.extend({fadeTo:function(e,t,r,n){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var o=U.isEmptyObject(e),i=U.speed(t,r,n),a=function(){var t=vt(this,U.extend({},e),i);(o||Z.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=U.timers,a=Z.get(this);if(o)a[o]&&a[o].stop&&n(a[o]);else for(o in a)a[o]&&a[o].stop&&lt.test(o)&&n(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(r),t=!1,i.splice(o,1));!t&&r||U.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,r=Z.get(this),n=r[e+"queue"],o=r[e+"queueHooks"],i=U.timers,a=n?n.length:0;for(r.finish=!0,U.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish}))}}),U.each(["toggle","show","hide"],(function(e,t){var r=U.fn[t];U.fn[t]=function(e,n,o){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(pt(t,!0),e,n,o)}})),U.each({slideDown:pt("show"),slideUp:pt("hide"),slideToggle:pt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){U.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}})),U.timers=[],U.fx.tick=function(){var e,t=0,r=U.timers;for(st=Date.now();t<r.length;t++)(e=r[t])()||r[t]!==e||r.splice(t--,1);r.length||U.fx.stop(),st=void 0},U.fx.timer=function(e){U.timers.push(e),U.fx.start()},U.fx.interval=13,U.fx.start=function(){ut||(ut=!0,ft())},U.fx.stop=function(){ut=null},U.fx.speeds={slow:600,fast:200,_default:400},U.fn.delay=function(e,t){return e=U.fx&&U.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=O.createElement("input"),t=O.createElement("select").appendChild(O.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=O.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var yt,gt=U.expr.attrHandle;U.fn.extend({attr:function(e,t){return $(this,U.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){U.removeAttr(this,e)}))}}),U.extend({attr:function(e,t,r){var n,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?U.prop(e,t,r):(1===i&&U.isXMLDoc(e)||(o=U.attrHooks[t.toLowerCase()]||(U.expr.match.bool.test(t)?yt:void 0)),void 0!==r?null===r?void U.removeAttr(e,t):o&&"set"in o&&void 0!==(n=o.set(e,r,t))?n:(e.setAttribute(t,r+""),r):o&&"get"in o&&null!==(n=o.get(e,t))?n:null==(n=U.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&A(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}},removeAttr:function(e,t){var r,n=0,o=t&&t.match(P);if(o&&1===e.nodeType)for(;r=o[n++];)e.removeAttribute(r)}}),yt={set:function(e,t,r){return!1===t?U.removeAttr(e,r):e.setAttribute(r,r),r}},U.each(U.expr.match.bool.source.match(/\w+/g),(function(e,t){var r=gt[t]||U.find.attr;gt[t]=function(e,t,n){var o,i,a=t.toLowerCase();return n||(i=gt[a],gt[a]=o,o=null!=r(e,t,n)?a:null,gt[a]=i),o}}));var mt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Ot(e){return(e.match(P)||[]).join(" ")}function xt(e){return e.getAttribute&&e.getAttribute("class")||""}function Et(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}U.fn.extend({prop:function(e,t){return $(this,U.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[U.propFix[e]||e]}))}}),U.extend({prop:function(e,t,r){var n,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&U.isXMLDoc(e)||(t=U.propFix[t]||t,o=U.propHooks[t]),void 0!==r?o&&"set"in o&&void 0!==(n=o.set(e,r,t))?n:e[t]=r:o&&"get"in o&&null!==(n=o.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=U.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||wt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(U.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),U.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){U.propFix[this.toLowerCase()]=this})),U.fn.extend({addClass:function(e){var t,r,n,o,i,a,s,u=0;if(m(e))return this.each((function(t){U(this).addClass(e.call(this,t,xt(this)))}));if((t=Et(e)).length)for(;r=this[u++];)if(o=xt(r),n=1===r.nodeType&&" "+Ot(o)+" "){for(a=0;i=t[a++];)n.indexOf(" "+i+" ")<0&&(n+=i+" ");o!==(s=Ot(n))&&r.setAttribute("class",s)}return this},removeClass:function(e){var t,r,n,o,i,a,s,u=0;if(m(e))return this.each((function(t){U(this).removeClass(e.call(this,t,xt(this)))}));if(!arguments.length)return this.attr("class","");if((t=Et(e)).length)for(;r=this[u++];)if(o=xt(r),n=1===r.nodeType&&" "+Ot(o)+" "){for(a=0;i=t[a++];)for(;n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");o!==(s=Ot(n))&&r.setAttribute("class",s)}return this},toggleClass:function(e,t){var r=a(e),n="string"===r||Array.isArray(e);return"boolean"==typeof t&&n?t?this.addClass(e):this.removeClass(e):m(e)?this.each((function(r){U(this).toggleClass(e.call(this,r,xt(this),t),t)})):this.each((function(){var t,o,i,a;if(n)for(o=0,i=U(this),a=Et(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==r||((t=xt(this))&&Z.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Z.get(this,"__className__")||""))}))},hasClass:function(e){var t,r,n=0;for(t=" "+e+" ";r=this[n++];)if(1===r.nodeType&&(" "+Ot(xt(r))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;U.fn.extend({val:function(e){var t,r,n,o=this[0];return arguments.length?(n=m(e),this.each((function(r){var o;1===this.nodeType&&(null==(o=n?e.call(this,r,U(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=U.map(o,(function(e){return null==e?"":e+""}))),(t=U.valHooks[this.type]||U.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=U.valHooks[o.type]||U.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(o,"value"))?r:"string"==typeof(r=o.value)?r.replace(bt,""):null==r?"":r:void 0}}),U.extend({valHooks:{option:{get:function(e){var t=U.find.attr(e,"value");return null!=t?t:Ot(U.text(e))}},select:{get:function(e){var t,r,n,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?i+1:o.length;for(n=i<0?u:a?i:0;n<u;n++)if(((r=o[n]).selected||n===i)&&!r.disabled&&(!r.parentNode.disabled||!A(r.parentNode,"optgroup"))){if(t=U(r).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var r,n,o=e.options,i=U.makeArray(t),a=o.length;a--;)((n=o[a]).selected=U.inArray(U.valHooks.option.get(n),i)>-1)&&(r=!0);return r||(e.selectedIndex=-1),i}}}}),U.each(["radio","checkbox"],(function(){U.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=U.inArray(U(e).val(),t)>-1}},g.checkOn||(U.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in r;var Nt=/^(?:focusinfocus|focusoutblur)$/,Ut=function(e){e.stopPropagation()};U.extend(U.event,{trigger:function(e,t,n,o){var i,s,u,c,l,f,d,p,v=[n||O],y=h.call(e,"type")?e.type:e,g=h.call(e,"namespace")?e.namespace.split("."):[];if(s=p=u=n=n||O,3!==n.nodeType&&8!==n.nodeType&&!Nt.test(y+U.event.triggered)&&(y.indexOf(".")>-1&&(g=y.split("."),y=g.shift(),g.sort()),l=y.indexOf(":")<0&&"on"+y,(e=e[U.expando]?e:new U.Event(y,"object"===a(e)&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:U.makeArray(t,[e]),d=U.event.special[y]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!w(n)){for(c=d.delegateType||y,Nt.test(c+y)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(n.ownerDocument||O)&&v.push(u.defaultView||u.parentWindow||r)}for(i=0;(s=v[i++])&&!e.isPropagationStopped();)p=s,e.type=i>1?c:d.bindType||y,(f=(Z.get(s,"events")||Object.create(null))[e.type]&&Z.get(s,"handle"))&&f.apply(s,t),(f=l&&s[l])&&f.apply&&J(s)&&(e.result=f.apply(s,t),!1===e.result&&e.preventDefault());return e.type=y,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),t)||!J(n)||l&&m(n[y])&&!w(n)&&((u=n[l])&&(n[l]=null),U.event.triggered=y,e.isPropagationStopped()&&p.addEventListener(y,Ut),n[y](),e.isPropagationStopped()&&p.removeEventListener(y,Ut),U.event.triggered=void 0,u&&(n[l]=u)),e.result}},simulate:function(e,t,r){var n=U.extend(new U.Event,r,{type:e,isSimulated:!0});U.event.trigger(n,null,t)}}),U.fn.extend({trigger:function(e,t){return this.each((function(){U.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var r=this[0];if(r)return U.event.trigger(e,t,r,!0)}}),g.focusin||U.each({focus:"focusin",blur:"focusout"},(function(e,t){var r=function(e){U.event.simulate(t,e.target,U.event.fix(e))};U.event.special[t]={setup:function(){var n=this.ownerDocument||this.document||this,o=Z.access(n,t);o||n.addEventListener(e,r,!0),Z.access(n,t,(o||0)+1)},teardown:function(){var n=this.ownerDocument||this.document||this,o=Z.access(n,t)-1;o?Z.access(n,t,o):(n.removeEventListener(e,r,!0),Z.remove(n,t))}}}));var Tt=r.location,Dt={guid:Date.now()},Ct=/\?/;U.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||U.error("Invalid XML: "+e),t};var _t=/\[\]$/,St=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Mt=/^(?:input|select|textarea|keygen)/i;function Ft(e,t,r,n){var o;if(Array.isArray(t))U.each(t,(function(t,o){r||_t.test(e)?n(e,o):Ft(e+"["+("object"===a(o)&&null!=o?t:"")+"]",o,r,n)}));else if(r||"object"!==b(t))n(e,t);else for(o in t)Ft(e+"["+o+"]",t[o],r,n)}U.param=function(e,t){var r,n=[],o=function(e,t){var r=m(t)?t():t;n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==r?"":r)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!U.isPlainObject(e))U.each(e,(function(){o(this.name,this.value)}));else for(r in e)Ft(r,e[r],t,o);return n.join("&")},U.fn.extend({serialize:function(){return U.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=U.prop(this,"elements");return e?U.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!U(this).is(":disabled")&&Mt.test(this.nodeName)&&!At.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var r=U(this).val();return null==r?null:Array.isArray(r)?U.map(r,(function(e){return{name:t.name,value:e.replace(St,"\r\n")}})):{name:t.name,value:r.replace(St,"\r\n")}})).get()}});var jt=/%20/g,kt=/#.*$/,Lt=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:GET|HEAD)$/,Pt=/^\/\//,Bt={},qt={},Gt="*/".concat("*"),Ht=O.createElement("a");function Wt(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,o=0,i=t.toLowerCase().match(P)||[];if(m(r))for(;n=i[o++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function Vt(e,t,r,n){var o={},i=e===qt;function a(s){var u;return o[s]=!0,U.each(e[s]||[],(function(e,s){var c=s(t,r,n);return"string"!=typeof c||i||o[c]?i?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),u}return a(t.dataTypes[0])||!o["*"]&&a("*")}function $t(e,t){var r,n,o=U.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((o[r]?e:n||(n={}))[r]=t[r]);return n&&U.extend(!0,e,n),e}Ht.href=Tt.href,U.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Gt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":U.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,U.ajaxSettings),t):$t(U.ajaxSettings,e)},ajaxPrefilter:Wt(Bt),ajaxTransport:Wt(qt),ajax:function(e,t){"object"===a(e)&&(t=e,e=void 0);var n,o,i,s,u,c,l,f,d,p,h=U.ajaxSetup({},t=t||{}),v=h.context||h,y=h.context&&(v.nodeType||v.jquery)?U(v):U.event,g=U.Deferred(),m=U.Callbacks("once memory"),w=h.statusCode||{},x={},E={},b="canceled",N={readyState:0,getResponseHeader:function(e){var t;if(l){if(!s)for(s={};t=Rt.exec(i);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?i:null},setRequestHeader:function(e,t){return null==l&&(e=E[e.toLowerCase()]=E[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==l&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)N.always(e[N.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||b;return n&&n.abort(t),T(0,t),this}};if(g.promise(N),h.url=((e||h.url||Tt.href)+"").replace(Pt,Tt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(P)||[""],null==h.crossDomain){c=O.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Ht.protocol+"//"+Ht.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=U.param(h.data,h.traditional)),Vt(Bt,h,t,N),l)return N;for(d in(f=U.event&&h.global)&&0==U.active++&&U.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!It.test(h.type),o=h.url.replace(kt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(jt,"+")):(p=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Ct.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Lt,"$1"),p=(Ct.test(o)?"&":"?")+"_="+Dt.guid+++p),h.url=o+p),h.ifModified&&(U.lastModified[o]&&N.setRequestHeader("If-Modified-Since",U.lastModified[o]),U.etag[o]&&N.setRequestHeader("If-None-Match",U.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&N.setRequestHeader("Content-Type",h.contentType),N.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Gt+"; q=0.01":""):h.accepts["*"]),h.headers)N.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(v,N,h)||l))return N.abort();if(b="abort",m.add(h.complete),N.done(h.success),N.fail(h.error),n=Vt(qt,h,t,N)){if(N.readyState=1,f&&y.trigger("ajaxSend",[N,h]),l)return N;h.async&&h.timeout>0&&(u=r.setTimeout((function(){N.abort("timeout")}),h.timeout));try{l=!1,n.send(x,T)}catch(e){if(l)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,a,s){var c,d,p,O,x,E=t;l||(l=!0,u&&r.clearTimeout(u),n=void 0,i=s||"",N.readyState=e>0?4:0,c=e>=200&&e<300||304===e,a&&(O=function(e,t,r){for(var n,o,i,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(o in s)if(s[o]&&s[o].test(n)){u.unshift(o);break}if(u[0]in r)i=u[0];else{for(o in r){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),r[i]}(h,N,a)),!c&&U.inArray("script",h.dataTypes)>-1&&(h.converters["text script"]=function(){}),O=function(e,t,r,n){var o,i,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(r[e.responseFields[i]]=t),!u&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=l.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=c[u+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}(h,O,N,c),c?(h.ifModified&&((x=N.getResponseHeader("Last-Modified"))&&(U.lastModified[o]=x),(x=N.getResponseHeader("etag"))&&(U.etag[o]=x)),204===e||"HEAD"===h.type?E="nocontent":304===e?E="notmodified":(E=O.state,d=O.data,c=!(p=O.error))):(p=E,!e&&E||(E="error",e<0&&(e=0))),N.status=e,N.statusText=(t||E)+"",c?g.resolveWith(v,[d,E,N]):g.rejectWith(v,[N,E,p]),N.statusCode(w),w=void 0,f&&y.trigger(c?"ajaxSuccess":"ajaxError",[N,h,c?d:p]),m.fireWith(v,[N,E]),f&&(y.trigger("ajaxComplete",[N,h]),--U.active||U.event.trigger("ajaxStop")))}return N},getJSON:function(e,t,r){return U.get(e,t,r,"json")},getScript:function(e,t){return U.get(e,void 0,t,"script")}}),U.each(["get","post"],(function(e,t){U[t]=function(e,r,n,o){return m(r)&&(o=o||n,n=r,r=void 0),U.ajax(U.extend({url:e,type:t,dataType:o,data:r,success:n},U.isPlainObject(e)&&e))}})),U.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),U._evalUrl=function(e,t,r){return U.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){U.globalEval(e,t,r)}})},U.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=U(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return m(e)?this.each((function(t){U(this).wrapInner(e.call(this,t))})):this.each((function(){var t=U(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)}))},wrap:function(e){var t=m(e);return this.each((function(r){U(this).wrapAll(t?e.call(this,r):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){U(this).replaceWith(this.childNodes)})),this}}),U.expr.pseudos.hidden=function(e){return!U.expr.pseudos.visible(e)},U.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},U.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Yt=U.ajaxSettings.xhr();g.cors=!!Yt&&"withCredentials"in Yt,g.ajax=Yt=!!Yt,U.ajaxTransport((function(e){var t,n;if(g.cors||Yt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),U.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),U.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return U.globalEval(e),e}}}),U.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),U.ajaxTransport("script",(function(e){var t,r;if(e.crossDomain||e.scriptAttrs)return{send:function(n,o){t=U("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&o("error"===e.type?404:200,e.type)}),O.head.appendChild(t[0])},abort:function(){r&&r()}}}));var Xt,Kt=[],Jt=/(=)\?(?=&|$)|\?\?/;U.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||U.expando+"_"+Dt.guid++;return this[e]=!0,e}}),U.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Jt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Jt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Jt,"$1"+o):!1!==e.jsonp&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||U.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?U(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(o)),a&&m(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=((Xt=O.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Xt.childNodes.length),U.parseHTML=function(e,t,r){return"string"!=typeof e?[]:("boolean"==typeof t&&(r=t,t=!1),t||(g.createHTMLDocument?((n=(t=O.implementation.createHTMLDocument("")).createElement("base")).href=O.location.href,t.head.appendChild(n)):t=O),i=!r&&[],(o=M.exec(e))?[t.createElement(o[1])]:(o=Ne([e],t,i),i&&i.length&&U(i).remove(),U.merge([],o.childNodes)));var n,o,i},U.fn.load=function(e,t,r){var n,o,i,s=this,u=e.indexOf(" ");return u>-1&&(n=Ot(e.slice(u)),e=e.slice(0,u)),m(t)?(r=t,t=void 0):t&&"object"===a(t)&&(o="POST"),s.length>0&&U.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,s.html(n?U("<div>").append(U.parseHTML(e)).find(n):e)})).always(r&&function(e,t){s.each((function(){r.apply(this,i||[e.responseText,t,e])}))}),this},U.expr.pseudos.animated=function(e){return U.grep(U.timers,(function(t){return e===t.elem})).length},U.offset={setOffset:function(e,t,r){var n,o,i,a,s,u,c=U.css(e,"position"),l=U(e),f={};"static"===c&&(e.style.position="relative"),s=l.offset(),i=U.css(e,"top"),u=U.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+u).indexOf("auto")>-1?(a=(n=l.position()).top,o=n.left):(a=parseFloat(i)||0,o=parseFloat(u)||0),m(t)&&(t=t.call(e,r,U.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),l.css(f))}},U.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){U.offset.setOffset(this,e,t)}));var t,r,n=this[0];return n?n.getClientRects().length?(t=n.getBoundingClientRect(),r=n.ownerDocument.defaultView,{top:t.top+r.pageYOffset,left:t.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,r,n=this[0],o={top:0,left:0};if("fixed"===U.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),r=n.ownerDocument,e=n.offsetParent||r.documentElement;e&&(e===r.body||e===r.documentElement)&&"static"===U.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((o=U(e).offset()).top+=U.css(e,"borderTopWidth",!0),o.left+=U.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-U.css(n,"marginTop",!0),left:t.left-o.left-U.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===U.css(e,"position");)e=e.offsetParent;return e||se}))}}),U.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var r="pageYOffset"===t;U.fn[e]=function(n){return $(this,(function(e,n,o){var i;if(w(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[n];i?i.scrollTo(r?i.pageXOffset:o,r?o:i.pageYOffset):e[n]=o}),e,n,arguments.length)}})),U.each(["top","left"],(function(e,t){U.cssHooks[t]=Ye(g.pixelPosition,(function(e,r){if(r)return r=ze(e,t),He.test(r)?U(e).position()[t]+"px":r}))})),U.each({Height:"height",Width:"width"},(function(e,t){U.each({padding:"inner"+e,content:t,"":"outer"+e},(function(r,n){U.fn[n]=function(o,i){var a=arguments.length&&(r||"boolean"!=typeof o),s=r||(!0===o||!0===i?"margin":"border");return $(this,(function(t,r,o){var i;return w(t)?0===n.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?U.css(t,r,s):U.style(t,r,o,s)}),t,a?o:void 0,a)}}))})),U.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){U.fn[t]=function(e){return this.on(t,e)}})),U.fn.extend({bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),U.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){U.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}}));var Qt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;U.proxy=function(e,t){var r,n,o;if("string"==typeof t&&(r=e[t],t=e,e=r),m(e))return n=u.call(arguments,2),(o=function(){return e.apply(t||this,n.concat(u.call(arguments)))}).guid=e.guid=e.guid||U.guid++,o},U.holdReady=function(e){e?U.readyWait++:U.ready(!0)},U.isArray=Array.isArray,U.parseJSON=JSON.parse,U.nodeName=A,U.isFunction=m,U.isWindow=w,U.camelCase=K,U.type=b,U.now=Date.now,U.isNumeric=function(e){var t=U.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},U.trim=function(e){return null==e?"":(e+"").replace(Qt,"")},void 0===(n=function(){return U}.apply(t,[]))||(e.exports=n);var Zt=r.jQuery,er=r.$;return U.noConflict=function(e){return r.$===U&&(r.$=er),e&&r.jQuery===U&&(r.jQuery=Zt),U},void 0===o&&(r.jQuery=r.$=U),U},"object"===a(e)&&"object"===a(e.exports)?e.exports=o.document?i(o,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return i(e)}:i(o)},1822:(e,t,r)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function l(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new _(n||[]);return i._invoke=function(e,t,r){var n=d;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=T(a,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===d)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var u=f(e,t,r);if("normal"===u.type){if(n=r.done?v:p,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=v,r.method="throw",r.arg=u.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var d="suspendedStart",p="suspendedYield",h="executing",v="completed",y={};function g(){}function m(){}function w(){}var O={};c(O,a,(function(){return this}));var x=Object.getPrototypeOf,E=x&&x(x(S([])));E&&E!==r&&o.call(E,a)&&(O=E);var b=w.prototype=g.prototype=Object.create(O);function N(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function U(e,t){function r(i,a,s,u){var c=f(e[i],e,a);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"===n(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,s,u)}),(function(e){r("throw",e,s,u)})):t.resolve(d).then((function(e){l.value=e,s(l)}),(function(e){return r("throw",e,s,u)}))}u(c.arg)}var i;this._invoke=function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}}function T(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,T(e,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=f(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function D(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}function S(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:A}}function A(){return{value:t,done:!0}}return m.prototype=w,c(b,"constructor",w),c(w,"constructor",m),m.displayName=c(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,c(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},N(U.prototype),c(U.prototype,s,(function(){return this})),e.AsyncIterator=U,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new U(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},N(b),c(b,u,"Generator"),c(b,a,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=S,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:S(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}("object"===n(e=r.nmd(e))?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":n(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},76992:(e,t,r)=>{var n="../../Barsa.Web.Ui/API/";r(52310)(n+"Bw.js"),r(58765)(n+"FORM.js"),r(50488)(n+"FIELD.js"),r(34051)(n+"MO.js"),r(85945)(n+"MSG.js"),r(42713)(n+"REPORT.js"),r(35844)(n+"App.js"),r(79558)(n+"SYSTEM.js")},43272:(e,t,r)=>{var n="../../Barsa.Web.Ui/Lib/";r(83002),r(79306),r(98490),r(1822),r(49332),r(66845),r(17941)(n+"head.load.min.js"),r(92064)(n+"ext-3.4.1/adapter/jquery/ext-jquery-adapter-debug.js"),r(37737)(n+"Json/json2.min.js"),r(26328)(n+"focusable/focus-element-overlay.js")},78637:(e,t,r)=>{var n="../../Barsa.Web.Ui/";r(22166)(n+"Util.js/Augments/Array.js"),r(70503)(n+"Util.js/Augments/Function.js"),r(94810)(n+"Util.js/Augments/String.js"),r(71894)(n+"Util.js/Augments/Object.js"),r(5189)(n+"Util.js/New/[Keyboard].js"),r(51740)(n+"Util.js/New/ClassSystem.js"),r(5019)(n+"Util.js/New/UtilUi.js"),r(90821)(n+"Util.js/New/ContextStore.js"),r(69874)(n+"Util.js/Log/LogManager.js"),r(62687)(n+"Util.js/Log/LogSettingsManager.js"),r(88677)(n+"Tea/JsonEncryptor.js"),r(73425)(n+"Util.js/New/HashTable.js"),r(682)(n+"Util.js/New/Enums.js"),r(2203)(n+"Util.js/New/Merger.js"),r(20064)(n+"Util.js/New/Util.js"),r(40253)(n+"Util.js/New/File.js"),r(60233)(n+"Util.js/New/AsyncEx.js"),r(48942)(n+"Util.js/New/AsyncResult.js"),r(42087)(n+"Util.js/New/Exception.js"),r(13027)(n+"Util.js/New/Observable.js"),r(82128)(n+"Util.js/New/Ajax.js"),r(14010)(n+"login/LoginFormUtil.js"),r(13154)(n+"login/LoginForm.js"),r(6436)(n+"Agent/AgentHelper.js"),r(66986)(n+"Notification/Notification.js"),r(7648)(n+"Notification/NotifyPopup.js"),r(24127)(n+"MetaObject/MetaObjectWeb.js"),r(90040)(n+"MetaObject/MetaObjectListWeb.js"),r(42118)(n+"MetaObject/MetaObjectCheckListWeb.js"),r(18787)(n+"FormPanel/LoadingMask/CustomLoadingMaskUi.js"),r(20322)(n+"FormPanel/LoadingMask/LoadingMaskAdapter.js"),r(423)(n+"FormPanel/LoadingMask/LoadingMask.js"),r(37893)(n+"Lib/Overrides/Lang-fa.js"),r(59380)(n+"Util.js/Debug/DebugSettings.js"),r(95024)(n+"Util.js/Debug/Debug.js"),r(67658)(n+"Module/Notification/NotificationManagerClient.js"),r(90263)(n+"Util.js/Util.js"),r(90597)(n+"Modules2/Progress/ProgressHelper.js"),r(29950)(n+"Lib/Utf8.js"),r(54363)(n+"Util.js/Data.js"),r(10572)(n+"Util.js/new/Data.js"),r(39289)(n+"Ui/General/CustomExceptionForm.js"),r(52049)(n+"Util.js/New/BRule.js"),r(59906)(n+"Util.js/New/BarsaScanner.js"),r(54579)(n+"Lib/ImagePrint/ImagePrint.js"),r(54196)(n+"Lib/signature_pad.umd.js"),r(97133)(n+"Ui/Fields/Others/CustomField_Ui.js"),r(29853)(n+"Ui/General/CustomContainerWithButton.js"),r(53003)(n+"Ui/Fields/DateRange/DateRangeData.js"),r(55433)(n+"Main2/Application/CustomApplicationUi.js"),r(70608)(n+"Main2/System/CustomSystemUi.js"),r(12709)(n+"Main2/SystemContianer/CustomSystemContainerUi.js"),r(76603)(n+"Main2/NavigatorPage/SizeSaver.js"),r(79763)(n+"Main2/SystemNavigator/CustomSystemNavUi.js"),r(4594)(n+"Report94/BaseListViewerAdapter.js"),r(88322)(n+"Report94/UlvMainCtrlr.js"),r(17510)(n+"Report94/UlvMainAdapter.js"),r(57175)(n+"Report94/CustomUlvMainUi.js"),r(79123)(n+"Report94/UlvDataCtrlr.js"),r(76704)(n+"Report94/Grid/CustomUlvDataGridRowEditorCtrlr.js"),r(77952)(n+"Report94/Grid/UlvDataGridRowEditorCtrlr.js"),r(98661)(n+"Report94/Blank/ViewerAdapter_Blank.js"),r(61371)(n+"Report94/Blank/SelectionAdapter_Blank.js"),r(68565)(n+"Report94/Grid/GridSelectionAdapter.js"),r(67548)(n+"Report94/Grid/GridSelectionAdapter_CellSelection.js"),r(28102)(n+"Report94/Grid/GridCheckListSelectionAdapter_CellSelection.js"),r(31872)(n+"Report94/Grid/GridViewerAdapter.js"),r(14344)(n+"Report94/Grid/GridCheckListViewerAdapter.js"),r(67866)(n+"Report94/Grid/GridCheckListViewerAdapter_InlineEdit.js"),r(83618)(n+"Report94/Grid/GridCheckListSelectionAdapter.js"),r(96391)(n+"Report94/Grid/CustomGridUi.js"),r(55243)(n+"Report94/Grid/GridExporter.js"),r(994)(n+"Report94/Matrix/CustomEditableGridUi.js"),r(9830)(n+"Report94/Matrix/UlvDataMatrixCtrlr.js"),r(39369)(n+"Report94/Matrix/MatrixViewerAdapter.js"),r(55174)(n+"Report94/UlvCommands/UlvCommandsBaseCtrlr.js"),r(89166)(n+"Report94/UlvCommands/UlvCommandsEmptyCtrlr.js"),r(91983)(n+"Report94/UlvCommands/UlvRibbonCtrlr.js"),r(72556)(n+"Report94/UlvCommands/UlvToolbarCtrlr.js"),r(68585)(n+"Report94/Tree/UlvRibbonCtrlr_Tree.js"),r(75315)(n+"Report94/Forum/ForumSelectionAdapter.js"),r(82301)(n+"Report94/Forum/ForumUlvDataCtrlr.js"),r(71086)(n+"Report94/Forum/ForumViewerAdapter.js"),r(72298)(n+"Report94/DataView/DataViewDataCtrlr.js"),r(3258)(n+"Report94/DataView/DataViewViewerAdapter.js"),r(64633)(n+"Report94/DataView/DataViewSelectionAdapter.js"),r(63466)(n+"Report94/DataView/DataViewTemplateManager.js"),r(2495)(n+"BarsaHelpDeskNew/HelpDeskTicket.js"),r(87867)(n+"BarsaHelpDeskNew/HelpDeskPost.js"),r(92966)(n+"Report94/UlvCommands/UlvCommandsBaseAdapter.js"),r(50549)(n+"Report94/UlvCommands/UlvMenuAdapter.js"),r(59782)(n+"Report94/UlvCommands/UlvRibbonAdapter.js"),r(97605)(n+"Report94/UlvCommands/UlvToolbarAdapter.js"),r(85645)(n+"Report94/Gantt/UlvRibbonCtrlr_Gantt.js"),r(81424)(n+"Report94/Gantt/UlvRibbonAdapter_Gantt.js"),r(38476)(n+"Report94/Gantt/UlvToolbarCtrlr_Gantt.js"),r(84995)(n+"Report94/Gantt/UlvToolbarAdapter_Gantt.js"),r(84894)(n+"Report94/Gantt/ViewerAdapter_Gantt.js"),r(13897)(n+"Report94/Gantt/GanttSelectionAdapter.js"),r(7160)(n+"Report94/Gantt/GanttChartHelper.js"),r(47143)(n+"Report94/Gantt/CustomGanttChartUi.js"),r(88874)(n+"Report94/Tree/UlvRibbonAdapter_Tree.js"),r(78685)(n+"Report94/Tree/TreeSelectionAdapter.js"),r(84611)(n+"Report94/Tree/TreeUlvDataCtrlr.js"),r(46785)(n+"Report94/Tree/TreeViewerAdapter.js"),r(71074)(n+"Report94/Tree/CustomTreeUi.js"),r(6798)(n+"FormPanel/FormSelectFromList/FormSelectFromListAdapter.js"),r(88098)(n+"FormPanel/FormSelectFromList/FormSelectFromListCtrlr.js"),r(60109)(n+"Report94/Map/MapSelectionAdapter.js"),r(78839)(n+"Report94/Map/MapDataCtrlr.js"),r(3422)(n+"Report94/Map/MapViewerAdapter.js"),r(70441)(n+"Report94/Chart/ChartViewerAdapter.js"),r(45369)(n+"Report94/HTree/HetroTreeSelectionAdapter.js"),r(55422)(n+"Report94/HTree/HetroTreeSelectionAdapter_Graph.js"),r(63043)(n+"Report94/HTree/HetroTreeUlvDataCtrlr.js"),r(52140)(n+"Report94/HTree/HetroTreeUlvDataCtrlr_Graph.js"),r(61725)(n+"Report94/HTree/HetroTreeViewerAdapter.js"),r(89661)(n+"Report94/HTree/GojsWrapper"),r(31173)(n+"Report94/HTree/CustomGraphUi"),r(43254)(n+"Report94/HTree/HetroTreeViewerAdapter_Graph.js"),r(21211)(n+"Report94/HTree/UlvRibbonCtrlr_Tree_Graph.js"),r(91055)(n+"Report94/HTree/UlvRibbonAdapter_Tree_Graph.js"),r(93552)(n+"Report94/HTree/UlvToolbarAdapter_Tree_Graph.js"),r(31465)(n+"Report94/HTree/UlvToolbarCtrlr_Tree_Graph.js"),r(8801)(n+"Report94/Form/FormUlvDataCtrlr.js"),r(24123)(n+"Report94/Form/FormViewerAdapter.js"),r(9172)(n+"Report94/AspViewer/CustomAspReportViewerUi.js"),r(97627)(n+"Report94/AspViewer/ViewerAdapter_Stimul.js"),r(12484)(n+"Report94/AspViewer/ViewerAdapter_PivotChart.js"),r(70554)(n+"Report94/AspViewer/Dashboard/ViewerAdapter_Dashboard.js"),r(16817)(n+"Report94/Calendar/CalendarSelectionAdapter.js"),r(66050)(n+"Report94/Calendar/CalendarUlvDataCtrlr.js"),r(48911)(n+"Report94/Calendar/CalendarViewerAdapter.js"),r(38833)(n+"Report94/Calendar/CustomCalendarUi.js"),r(90707)(n+"Report94/UlvForm/UlvFormCtrlr.js"),r(96229)(n+"Report94/UlvForm/UlvFormAdapter.js"),r(23282)(n+"Report94/UlvForm/UlvFormMultiSelectCtrlr.js"),r(26673)(n+"Report94/UlvForm/UlvFormMultiSelectAdapter.js"),r(92126)(n+"Report94/UlvForm/CustomUlvFormMultiSelectAdapter.js"),r(92196)(n+"Report94/UlvDropDown/UlvDropDownAdapter.js"),r(36551)(n+"Report94/UlvDropDown/CustomUlvDropDownAdapter.js"),r(45906)(n+"Report94/UlvDropDown/UlvDropDownCtrlr.js"),r(42685)(n+"Report94/UlvDropDownEx/UlvDropDownExAdapter.js"),r(15782)(n+"Report94/UlvDropDownEx/UlvDropDownExCtrlr.js"),r(25042)(n+"Report94/UlvDropDownEx/CustomUlvDropDownExCtrlr.js"),r(15482)(n+"FormPanel/Focus/[Focusable].js"),r(32668)(n+"FormPanel/Focus/[FocusContext].js"),r(15691)(n+"FormPanel/FormPanelCtrlr.js"),r(15704)(n+"FormPanel/FormPanelAdapter.js"),r(38733)(n+"FormPanel/CustomFormPanelUi.js"),r(75276)(n+"FormPanel/ToolbarUtil.js"),r(71126)(n+"FormPanel/CustomFormPanelToolbarUi.js"),r(90193)(n+"FormPanel/FormPanelWindowAdapter.js"),r(16680)(n+"FormPanel/FormRequestParams.js"),r(13468)(n+"FormPanel/SearchPanel/SearchPanelCtrlr.js"),r(55125)(n+"FormPanel/SearchPanel/SearchPanelAdapter.js"),r(27831)(n+"FormPanel/Workflow/CustomWorkflowPanelUi.js"),r(9023)(n+"FormPanel/Workflow/WorkflowPanelCtrlr.js"),r(56121)(n+"FormPanel/Workflow/WorkflowPanelAdapter.js"),r(8512)(n+"FormPanel/Layout/94/[OtherLayoutItems].js"),r(83543)(n+"FormPanel/GridRowEditor/GridRowEditorAdapter.js"),r(23471)(n+"FormPanel/GridRowEditor/GridRowEditorCtrlr.js"),r(95375)(n+"Main2/SystemNavigator/NavItem.js"),r(68033)(n+"Main2/System/SystemData.js"),r(59971)(n+"Main2/CustomCodeManager.js"),r(58626)(n+"Main2/Application/ApplicationCtrlr.js"),r(34585)(n+"FormPanel/MsgBox/BaseMsgBoxAdapter.js"),r(81002)(n+"FormPanel/MsgBox/CustomMsgBoxAdapter.js"),r(24972)(n+"FormPanel/MsgBox/BaseMsgBox.js"),r(34368)(n+"FormPanel/MsgBox/BaseToastAdapter.js"),r(45698)(n+"FormPanel/MsgBox/CustomToastAdapter.js"),r(65322)(n+"FormPanel/MsgBox/BaseToast.js"),r(40817)(n+"Main2/Application/ReportCountExtensionManager.js"),r(54741)(n+"Main2/System/SystemCtrlr.js"),r(28273)(n+"Main2/Application/ApplicationAdapter.js"),r(10574)(n+"Main2/NavigatorPanel/NavAdapterBase.js"),r(18315)(n+"Main2/System/SystemAdapter.js"),r(50603)(n+"Main2/SystemContianer/SystemContainerCtrlr.js"),r(62187)(n+"Main2/SystemNavigator/SystemNavCtrlr.js"),r(28611)(n+"Main2/NavigatorGroup/NavGroupAdapterBase.js"),r(1990)(n+"Main2/NavigatorGroup/NavGroupAdapter.js"),r(46001)(n+"Main2/NavigatorGroup/NavGroupUlvAdapter.js"),r(10634)(n+"Main2/SystemNavigator/SystemNavAdapter.js"),r(8322)(n+"Main2/NavigatorPanel/NavTabPanelAdapter.js"),r(90714)(n+"Main2/NavigatorPage/NavPageAccordionAdapter.js"),r(47766)(n+"Main2/NavigatorPage/NavPageNormalAdapter.js"),r(72094)(n+"Main2/NavigatorPage/NavPageVerticalTabAdapter.js"),r(19408)(n+"Main2/SystemContianer/SystemContainerAdapter.js"),r(81087)(n+"Main2/NavigatorPanel/NavAccordionPanelAdapter.js"),r(31754)(n+"Main2/SystemTreeNavigator/SystemTreeNavAdapter.js"),r(40669)(n+"Main2/SystemTreeNavigator/SystemTreeNavCtrlr.js"),r(39462)(n+"Main2/ChangePasswordForm/ChangePasswordAdapter.js"),r(69573)(n+"Main2/ChangePasswordForm/ChangePasswordCtrlr.js"),r(85168)(n+"Main2/ForgetPasswordForm/ForgetPasswordCtrlr.js"),r(61033)(n+"Main2/Global.js"),r(47913)(n+"Fields/Base/FieldInfoBaseCtrlr.js"),r(90653)(n+"Fields/Base/FieldInfoBaseAdapter.js"),r(33629)(n+"Fields/Base/TextBoxBaseAdapter.js"),r(49792)(n+"Fields/Base/ComboBoxBaseAdapter.js"),r(15266)(n+"Fields/Base/ValuelessFieldInfoCtrlr.js"),r(87918)(n+"Fields/Simple/StringInfoCtrlr.js"),r(18142)(n+"Fields/Simple/StringInfoAdapter.js"),r(88272)(n+"Fields/Simple/StringAutoComplete/StringInfoCtrlr_AutoComplete.js"),r(21573)(n+"Fields/Simple/StringAutoComplete/StringInfoAdapter_AutoComplete.js"),r(23842)(n+"Fields/Simple/UserInfoCtrlr.js"),r(44501)(n+"Fields/Simple/UserInfoAdapter.js"),r(93480)(n+"Fields/Simple/IntInfoCtrlr.js"),r(40605)(n+"Fields/Simple/IntInfoAdapter.js"),r(92821)(n+"Fields/Simple/IntInfoCtrlr_Slider.js"),r(63132)(n+"Fields/Simple/IntInfoAdapter_Slider.js"),r(54162)(n+"Fields/Simple/IntInfoCtrlr_MultiSlider.js"),r(33581)(n+"Fields/Simple/IntInfoAdapter_MultiSlider.js"),r(81536)(n+"Fields/Simple/CurrencyInfoCtrlr.js"),r(7842)(n+"Fields/Simple/CurrencyInfoAdapter.js"),r(25017)(n+"Fields/Simple/EnumInfoCtrlr.js"),r(20646)(n+"Fields/Simple/EnumInfoAdapter.js"),r(39798)(n+"Fields/Simple/EnumInfoCtrlr_MultiSelect.js"),r(62553)(n+"Fields/Simple/EnumInfoAdapter_MultiSelect.js"),r(318)(n+"Fields/Simple/EnumInfoAdapter_RadioButton.js"),r(19162)(n+"Fields/Simple/ReadOnlyFieldCtrlr.js"),r(35593)(n+"Fields/Simple/ReadOnlyFieldAdapter.js"),r(66730)(n+"Fields/Simple/ReadOnlyFieldAdapter_Borderless.js"),r(68806)(n+"Fields/Simple/RichStringInfoCtrlr.js"),r(47723)(n+"Fields/Simple/RichStringInfoAdapter.js"),r(21387)(n+"Fields/Simple/RichStringInfoViewerCtrlr.js"),r(49643)(n+"Fields/Simple/RichStringInfoViewerAdapter.js"),r(29510)(n+"Fields/Simple/BoolInfoCtrlr.js"),r(26182)(n+"Fields/Simple/BoolInfoAdapter_CheckBox.js"),r(40284)(n+"Fields/Simple/BoolInfoAdapter_Combo.js"),r(16753)(n+"Fields/Simple/BoolInfoAdapter_Radio.js"),r(39255)(n+"Fields/Others/LogicalDeleteCtrlr.js"),r(3116)(n+"Fields/Simple/TimeSpanInfoCtrlr.js"),r(93706)(n+"Fields/Simple/TimeSpanInfoAdapter.js"),r(49610)(n+"Fields/Simple/DateInfoCtrlr.js"),r(59888)(n+"Fields/Simple/DateInfoAdapter.js"),r(82297)(n+"Fields/Automatic/CreatorUserInfoCtrlr.js"),r(10680)(n+"Fields/Automatic/CreatorUserInfoAdapter.js"),r(3777)(n+"Fields/Automatic/CreationDateInfoCtrlr.js"),r(82220)(n+"Fields/Automatic/CreationDateInfoAdapter.js"),r(1239)(n+"Fields/Automatic/LastUpdateDateInfoCtrlr.js"),r(16593)(n+"Fields/Automatic/RowNumberInfoCtrlr.js"),r(82839)(n+"Fields/Automatic/SequenceInfoAdapter.js"),r(35659)(n+"Fields/Automatic/SequenceInfoCtrlr.js"),r(27403)(n+"Fields/Simple/DateRangeInfoAdapter.js"),r(54480)(n+"Fields/Simple/DateRangeInfoCtrlr.js"),r(54098)(n+"Fields/RelationSingle/MoInfoBaseCtrlr.js"),r(62550)(n+"Fields/RelationSingle/MoInfoCombo/MoInfoComboAdapter.js"),r(29307)(n+"Fields/RelationSingle/MoInfoCombo/MoInfoComboAdapter_Viewer.js"),r(4626)(n+"Fields/RelationSingle/MoInfoCombo/MoInfoComboCtrlr.js"),r(78479)(n+"Fields/RelationSingle/MoInfoCombo/MoInfoComboCtrlr_Viewer.js"),r(889)(n+"Fields/RelationSingle/MoInfoUlvCombo/MoInfoUlvComboAdapter.js"),r(40929)(n+"Fields/RelationSingle/MoInfoUlvCombo/MoInfoUlvComboCtrlr.js"),r(29723)(n+"Fields/RelationSingle/MoInfoUlvCombo/MoInfoUlvComboExCtrlr.js"),r(3468)(n+"Fields/RelationSingle/MoInfoUlvCombo/MoInfoUlvComboExAdapter.js"),r(18531)(n+"Fields/RelationSingle/MoInfoUlvCombo/MoInfoUlvComboCtrlr_RadioButton.js"),r(93566)(n+"Fields/RelationSingle/MoInfoUlvCombo/MoInfoUlvComboAdapter_RadioButton.js"),r(19096)(n+"Fields/RelationSingle/MoInfoUlvCombo/MoInfoUlvComboCtrlr_Selection.js"),r(81134)(n+"Fields/RelationSingle/MoInfoUlvCombo/MoInfoUlvComboAdapter_Selection.js"),r(86880)(n+"Fields/RelationSingle/HierarchicalInfo/HierarchicalInfoCtrlr.js"),r(2108)(n+"Fields/RelationSingle/MoInfoSubForm/MoInfoSubFormCtrlr.js"),r(22023)(n+"Fields/RelationSingle/MoInfoSubForm/MoInfoSubFormAdapter.js"),r(58742)(n+"Fields/RelationSingle/MoInfoSubForm/MoInfoSubFormPreviewCtrlr.js"),r(62)(n+"Fields/RelationSingle/MoInfoSubForm/MoInfoGeneralObjectSubFormCtrlr.js"),r(24708)(n+"Fields/RelationSingle/GeneralObject/MoInfoGeneralObjectCtrlr.js"),r(44376)(n+"Fields/RelationSingle/GeneralObject/MoInfoGeneralObjectAdapter.js"),r(92506)(n+"Fields/Relation/LinearList/RelationInfoCtrlr_LinearList.js"),r(36659)(n+"Fields/Relation/LinearList/CustomRelationInfoAdapter_LinearList.js"),r(18120)(n+"Fields/Relation/LinearList/Ui/CustomLinearList_Ui.js"),r(46033)(n+"Fields/Relation/LinearList/RelationInfoAdapter_LinearList.js"),r(20827)(n+"Fields/File/SinglePictureInfoAdapter.js"),r(89434)(n+"Fields/File/SinglePictureInfoCtrlr.js"),r(53120)(n+"Fields/File/PictureFileInfoAdapter.js"),r(6920)(n+"Fields/File/PictureFileInfoCtrlr.js"),r(25514)(n+"Fields/File/IconInfoAdapter.js"),r(5886)(n+"Fields/File/IconInfoCtrlr.js"),r(66993)(n+"Fields/File/FileInfoAdapter.js"),r(74153)(n+"Fields/File/FileInfoCtrlr.js"),r(23511)(n+"Fields/File/PicturesInfoAdapter.js"),r(19631)(n+"Fields/File/PicturesInfoCtrlr.js"),r(61627)(n+"Fields/File/PictureFileInfoAdapter_Signature.js"),r(14915)(n+"Fields/File/PictureFileInfoCtrlr_Signature.js"),r(12934)(n+"Fields/File/FileViewerInfoCtrlr.js"),r(36154)(n+"Fields/File/FileViewerInfoAdapter.js"),r(51015)(n+"Fields/File/UploadWindowCtrlr.js"),r(97794)(n+"Fields/File/UploadWindowAdapter.js"),r(17241)(n+"Fields/File/WordFileInfoCtrlr.js"),r(92800)(n+"Fields/Relation/UlvFieldBaseCtrlr.js"),r(46341)(n+"Fields/Relation/ReportInfoCtrlr.js"),r(4355)(n+"Fields/Relation/RelationInfoCtrlr.js"),r(19231)(n+"Fields/Relation/RelationInfoCtrlr_CheckList.js"),r(49831)(n+"Fields/Relation/RelationInfoSingleReverseCtrlr.js"),r(67379)(n+"Fields/Relation/RelationCombo/RelationInfoComboCtrlr.js"),r(37313)(n+"Fields/Relation/RelationCombo/RelationInfoComboAdapter.js"),r(86569)(n+"Fields/Others/CalculationInfoCtrlr.js"),r(52108)(n+"Fields/Others/CalculationInfoAdapter.js"),r(29044)(n+"Fields/Others/ColorInfoCtrlr.js"),r(48794)(n+"Fields/Others/ColorInfoAdapter.js"),r(13010)(n+"Fields/Others/GaugeInfoCtrlr.js"),r(53577)(n+"Fields/Others/GaugeInfoAdapter.js"),r(31663)(n+"Fields/Command/CommandInfoCtrlr.js"),r(33545)(n+"Fields/Command/CommandInfoAdapter.js"),r(24632)(n+"Fields/Command/CommandInfoCtrlr_Toolbar.js"),r(27958)(n+"Fields/Command/CommandInfoAdapter_Toolbar.js"),r(12316)(n+"Fields/Command/CommandInfoAdapter_Metro.js"),r(27202)(n+"Fields/Command/SearchCommandInfoCtrlr.js"),r(4559)(n+"Fields/Command/SearchCommandInfoAdapter.js"),r(87933)(n+"Fields/Others/CodeEditorCtrlr.js"),r(37629)(n+"Fields/Others/CodeEditorAdapter.js"),r(35241)(n+"Fields/Others/UndefinedFieldInfoCtrlr.js"),r(88492)(n+"Fields/Others/UndefinedFieldInfoAdapter.js"),r(75166)(n+"Report94/UlvDropDown/CustomUlvDropDownMenu.js"),r(81729)(n+"Ui/Fields/Combo/CustomSimpleCombo_Ui.js"),r(54386)(n+"Ui/Fields/File/CustomFile_LinearListBox_Ui.js"),r(74806)(n+"Ui/Fields/File/CustomSinglePicture_Ui.js"),r(20845)(n+"Ui/Fields/File/CustomPictureFile_Ui.js"),r(71572)(n+"Ui/Fields/Combo/CustomMultiSelectCombo_Ui.js"),r(59023)(n+"Fields/RelationSingle/MoInfoSubForm/CustomMoInfoSubFormUi.js"),r(24390)(n+"Fields/RelationSingle/MoInfoUlvCombo/CustomMoInfoUlvCombo_Ui.js"),r(89040)(n+"Ui/Fields/CheckBox/CustomRadioGroup_Ui.js"),r(1108)(n+"Ui/Fields/DateTime/CustomDateTime_Ui.js"),r(50953)(n+"Ui/Fields/Number/CustomNumDecimal_Ui.js"),r(67151)(n+"Ui/Fields/Number/CustomNumInt_Ui.js"),r(68298)(n+"Ui/Fields/DateTime/CustomTimeSpan_Ui.js"),r(99521)(n+"Ui/Fields/File/CustomPicturesInfo_Ui.js"),r(17726)(n+"Util.js/ControlProxy.js"),r(98329)(n+"Module/MetaCalendar/calendarLang-fa.js"),r(82383)(n+"Module/ReportFinder/ReportFinder.js"),r(66627)(n+"Lib/Messenger/Darkoob/MessengerHelper.js"),r(29372)(n+"Lib/UserPretend/bililite/bililiteRange.js"),r(85191)(n+"Lib/UserPretend/bililite/jquery.sendkeys.js"),r(28917)(n+"Login/FirstInline.js"),r(29185)(n+"Main2/CustomCodeManagerExt.js"),r(72492)(n+"Main2/CaptchaPopupForm/CaptchaPopupFormCtrlr"),r(185)},66845:()=>{},49332:function(e,t){var r,n,o,i;function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function h(e){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}i=function(e){"use strict";function t(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.apply(void 0,r.concat(n))}}function r(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r.pop();return e.call(this,r,o)}}function n(e){setTimeout(e,0)}function o(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e((function(){return t.apply(void 0,n)}))}}function i(e){return p(e)?function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r.pop(),i=e.apply(this,r);return s(i,o)}:r((function(t,r){var n;try{n=e.apply(this,t)}catch(t){return r(t)}return n&&"function"==typeof n.then?s(n,r):void r(null,n)}))}function s(e,t){return e.then((function(e){d(t,null,e)}),(function(e){d(t,e&&e.message?e:new Error(e))}))}function d(e,t,r){try{e(t,r)}catch(e){Oe((function(e){throw e}),e)}}function p(e){return"AsyncFunction"===e[Symbol.toStringTag]}function v(e){if("function"!=typeof e)throw new Error("expected a function");return p(e)?i(e):e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length;if(!t)throw new Error("arity is undefined");return function(){for(var r=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return"function"==typeof o[t-1]?e.apply(this,o):new Promise((function(n,i){o[t-1]=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return e?i(e):void n(1<r.length?r:r[0])},e.apply(r,o)}))}}function g(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var i=y((function(r){var o=this;return e(t,(function(e,t){v(e).apply(o,n.concat(t))}),r)}));return i}}function m(e,t,r,n){t=t||[];var o=[],i=0,a=v(r);return e(t,(function(e,t,r){var n=i++;a(e,(function(e,t){o[n]=t,r(e)}))}),(function(e){n(e,o)}))}function w(e){return e&&"number"==typeof e.length&&0<=e.length&&0==e.length%1}function O(e){function t(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(null!==e){var o=e;e=null,o.apply(this,r)}}return Object.assign(t,e),t}function x(e){return function(){if(null===e)throw new Error("Callback was already called.");for(var t=e,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];e=null,t.apply(this,n)}}function E(e,t,r,n){function o(){l>=t||c||s||(c=!0,e.next().then((function(e){var t=e.value,a=e.done;if(!u&&!s)return c=!1,a?(s=!0,void(0>=l&&n(null))):(l++,r(t,f,i),f++,void o())})).catch(a))}function i(e,t){return l-=1,u?void 0:e?a(e):!1===e?(s=!0,void(u=!0)):t===xe||s&&0>=l?(s=!0,n(null)):void o()}function a(e){u||(c=!1,s=!0,n(e))}var s=!1,u=!1,c=!1,l=0,f=0;o()}function b(e,t,r){function n(e,t){!1===e&&(s=!0),!0===s||(e?r(e):(++i===a||t===xe)&&r(null))}r=O(r);var o=0,i=0,a=e.length,s=!1;for(0===a&&r(null);o<a;o++)t(e[o],o,x(n))}function N(e,t,r){return be(e,1/0,t,r)}function U(){function e(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];return e?r(e):void t(1<o.length?o:o[0])}var t,r;return e[Se]=new Promise((function(e,n){t=e,r=n})),e}function T(e,t,r){function n(e,t){h.push((function(){return function(e,t){if(!d){var n=x((function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];if(c--,!1!==t)if(2>o.length&&(o=f(o,1)[0]),t){var s={};if(Object.keys(u).forEach((function(e){s[e]=u[e]})),s[e]=o,d=!0,p=Object.create(null),l)return;r(t,s)}else u[e]=o,i(e);else l=!0}));c++;var o=v(t[t.length-1]);1<t.length?o(u,n):o(n)}}(e,t)}))}function o(){if(!l){if(0===h.length&&0===c)return r(null,u);for(;h.length&&c<t;)h.shift()()}}function i(e){(p[e]||[]).forEach((function(e){return e()})),o()}function a(t){var r=[];return Object.keys(e).forEach((function(n){var o=e[n];Array.isArray(o)&&0<=o.indexOf(t)&&r.push(n)})),r}"number"!=typeof t&&(r=t,t=null),r=O(r||U());var s=Object.keys(e).length;if(!s)return r(null);t||(t=s);var u={},c=0,l=!1,d=!1,p=Object.create(null),h=[],y=[],g={};return Object.keys(e).forEach((function(t){var r=e[t];if(!Array.isArray(r))return n(t,[r]),void y.push(t);var o=r.slice(0,r.length-1),i=o.length;return 0===i?(n(t,r),void y.push(t)):(g[t]=i,void o.forEach((function(a){if(!e[a])throw new Error("async.auto task `"+t+"` has a non-existent dependency `"+a+"` in "+o.join(", "));!function(e,t){var r=p[e];r||(r=p[e]=[]),r.push(t)}(a,(function(){0==--i&&n(t,r)}))})))})),function(){for(var e=0;y.length;)e++,a(y.pop()).forEach((function(e){0==--g[e]&&y.push(e)}));if(e!==s)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}(),o(),r[Se]}function D(e,t){var r={};return Object.keys(e).forEach((function(t){function n(e,t){var r=o.map((function(t){return e[t]}));r.push(t),v(i).apply(void 0,l(r))}var o,i=e[t],a=p(i),s=!a&&1===i.length||a&&0===i.length;if(Array.isArray(i))o=l(i),i=o.pop(),r[t]=o.concat(0<o.length?n:i);else if(s)r[t]=i;else{if(o=function(e){var t=e.toString().replace(ke,""),r=t.match(Ae);if(r||(r=t.match(Me)),!r)throw new Error("could not parse args in autoInject\nSource:\n"+t);return f(r,2)[1].replace(/\s/g,"").split(Fe).map((function(e){return e.replace(je,"").trim()}))}(i),0===i.length&&!a&&0===o.length)throw new Error("autoInject task functions require explicit parameters.");a||o.pop(),r[t]=o.concat(n)}})),T(r,t)}function C(e,t){e.length=1,e.head=e.tail=t}function _(e,t,r){var n;function o(e,t){return e?t?void(p[e]=p[e].filter((function(e){return e!==t}))):p[e]=[]:Object.keys(p).forEach((function(e){return p[e]=[]}))}function i(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];p[e].forEach((function(e){return e.apply(void 0,r)}))}function a(e,t,r,n){function o(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return e?r?a(e):i():1>=n.length?i(n[0]):void i(n)}if(null!=n&&"function"!=typeof n)throw new Error("task callback must be a function");m.started=!0;var i,a,s={data:e,callback:r?o:n||o};if(t?m._tasks.unshift(s):m._tasks.push(s),h||(h=!0,Oe((function(){h=!1,m.process()}))),r||!n)return new Promise((function(e,t){i=e,a=t}))}function s(e){return function(t){f-=1;for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];for(var a=0,s=e.length;a<s;a++){var u=e[a],c=d.indexOf(u);0===c?d.shift():0<c&&d.splice(c,1),u.callback.apply(u,[t].concat(n)),null!=t&&i("error",t,u.data)}f<=m.concurrency-m.buffer&&i("unsaturated"),m.idle()&&i("drain"),m.process()}}function u(e){return!(0!==e.length||!m.idle()||(Oe((function(){return i("drain")})),0))}if(null==t)t=1;else if(0===t)throw new RangeError("Concurrency must not be zero");var l=v(e),f=0,d=[],p={error:[],drain:[],saturated:[],unsaturated:[],empty:[]},h=!1,y=function(e){return function(t){return t?(o(e),void function(e,t){p[e].push(t)}(e,t)):new Promise((function(t,r){!function(e,t){p[e].push((function r(){o(e,r),t.apply(void 0,arguments)}))}(e,(function(e,n){return e?r(e):void t(n)}))}))}},g=!1,m=(c(n={_tasks:new Le},Symbol.iterator,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(m._tasks[Symbol.iterator](),"t0",1);case 1:case"end":return e.stop()}}),e)}))),c(n,"concurrency",t),c(n,"payload",r),c(n,"buffer",t/4),c(n,"started",!1),c(n,"paused",!1),c(n,"push",(function(e,t){return Array.isArray(e)?u(e)?void 0:e.map((function(e){return a(e,!1,!1,t)})):a(e,!1,!1,t)})),c(n,"pushAsync",(function(e,t){return Array.isArray(e)?u(e)?void 0:e.map((function(e){return a(e,!1,!0,t)})):a(e,!1,!0,t)})),c(n,"kill",(function(){o(),m._tasks.empty()})),c(n,"unshift",(function(e,t){return Array.isArray(e)?u(e)?void 0:e.map((function(e){return a(e,!0,!1,t)})):a(e,!0,!1,t)})),c(n,"unshiftAsync",(function(e,t){return Array.isArray(e)?u(e)?void 0:e.map((function(e){return a(e,!0,!0,t)})):a(e,!0,!0,t)})),c(n,"remove",(function(e){m._tasks.remove(e)})),c(n,"process",(function(){var e=Math.min;if(!g){for(g=!0;!m.paused&&f<m.concurrency&&m._tasks.length;){var t=[],r=[],n=m._tasks.length;m.payload&&(n=e(n,m.payload));for(var o,a=0;a<n;a++)o=m._tasks.shift(),t.push(o),d.push(o),r.push(o.data);f+=1,0===m._tasks.length&&i("empty"),f===m.concurrency&&i("saturated");var u=x(s(t));l(r,u)}g=!1}})),c(n,"length",(function(){return m._tasks.length})),c(n,"running",(function(){return f})),c(n,"workersList",(function(){return d})),c(n,"idle",(function(){return 0===m._tasks.length+f})),c(n,"pause",(function(){m.paused=!0})),c(n,"resume",(function(){!1===m.paused||(m.paused=!1,Oe(m.process))})),n);return Object.defineProperties(m,{saturated:{writable:!1,value:y("saturated")},unsaturated:{writable:!1,value:y("unsaturated")},empty:{writable:!1,value:y("empty")},drain:{writable:!1,value:y("drain")},error:{writable:!1,value:y("error")}}),m}function S(e,t){return _(e,1,t)}function A(e,t,r){return _(e,t,r)}function M(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.map(v);return function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=this,i=t[t.length-1];return"function"==typeof i?t.pop():i=U(),Re(n,t,(function(e,t,r){t.apply(o,e.concat((function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];r(e,n)})))}),(function(e,t){return i.apply(void 0,[e].concat(l(t)))})),i[Se]}}function F(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return M.apply(void 0,l(t.reverse()))}function j(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=r.pop();return o.apply(void 0,[null].concat(t))}}function k(e,t){return function(r,n,o,i){var a,s=!1,u=v(o);r(n,(function(r,n,o){u(r,(function(n,i){return n||!1===n?o(n):e(i)&&!a?(s=!0,a=t(!0,r),o(null,xe)):void o()}))}),(function(e){return e?i(e):void i(null,s?a:t(!1))}))}}function L(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return v(t).apply(void 0,n.concat([function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];"object"==("undefined"==typeof console?"undefined":h(console))&&(t?console.error&&console.error(t):console[e]&&n.forEach((function(t){return console[e](t)})))}]))}}function R(e,t,r){var n=v(t);return $e(e,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var o=t.pop();n.apply(void 0,t.concat([function(e,t){return o(e,!t)}]))}),r)}function I(e){return function(t,r,n){return e(t,n)}}function P(e){return p(e)?e:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o=r.pop(),i=!0;r.push((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];i?Oe((function(){return o.apply(void 0,t)})):o.apply(void 0,t)})),e.apply(this,r),i=!1}}function B(e,t,r,n){var o=Array(t.length);e(t,(function(e,t,n){r(e,(function(e,r){o[t]=!!r,n(e)}))}),(function(e){if(e)return n(e);for(var r=[],i=0;i<t.length;i++)o[i]&&r.push(t[i]);n(null,r)}))}function q(e,t,r,n){var o=[];e(t,(function(e,t,n){r(e,(function(r,i){return r?n(r):(i&&o.push({index:t,value:e}),void n(r))}))}),(function(e){return e?n(e):void n(null,o.sort((function(e,t){return e.index-t.index})).map((function(e){return e.value})))}))}function G(e,t,r,n){return(w(t)?B:q)(e,t,v(r),n)}function H(e,t,r){return nt(e,1/0,t,r)}function W(e,t,r){return nt(e,1,t,r)}function V(e,t,r){return it(e,1/0,t,r)}function $(e,t,r){return it(e,1,t,r)}function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e},n=Object.create(null),o=Object.create(null),i=v(e),a=r((function(e,r){var a=t.apply(void 0,l(e));a in n?Oe((function(){return r.apply(void 0,[null].concat(l(n[a])))})):a in o?o[a].push(r):(o[a]=[r],i.apply(void 0,l(e).concat([function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];e||(n[a]=r);var s=o[a];delete o[a];for(var u=0,c=s.length;u<c;u++)s[u].apply(s,[e].concat(r))}])))}));return a.memo=n,a.unmemoized=e,a}function Y(e,t){return st(Ne,e,t)}function X(e,t,r){return st(Ee(t),e,r)}function K(e,t){var r=v(e);return _((function(e,t){r(e[0],t)}),t,1)}function J(e){return 1+(e<<1)}function Q(e){return(e+1>>1)-1}function Z(e,t){return e.priority===t.priority?e.pushCount<t.pushCount:e.priority<t.priority}function ee(e,t){var r=K(e,t),n=!1;return r._tasks=new ut,r.push=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"!=typeof o)throw new Error("task callback must be a function");if(r.started=!0,Array.isArray(e)||(e=[e]),0===e.length&&r.idle())return Oe((function(){return r.drain()}));for(var i,a=0,s=e.length;a<s;a++)i={data:e[a],priority:t,callback:o},r._tasks.push(i);n||(n=!0,Oe((function(){n=!1,r.process()})))},delete r.unshift,r}function te(e,t,r,n){var o=l(e).reverse();return Re(o,t,r,n)}function re(e){var t=v(e);return r((function(e,r){return e.push((function(e){for(var t={},n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];if(e&&(t.error=e),0<o.length){var a=o;1>=o.length&&(a=f(o,1)[0]),t.value=a}r(null,t)})),t.apply(this,e)}))}function ne(e){var t,r=this;return Array.isArray(e)?t=e.map(re):(t={},Object.keys(e).forEach((function(n){t[n]=re.call(r,e[n])}))),t}function oe(e,t,r,n){var o=v(r);return G(e,t,(function(e,t){o(e,(function(e,r){t(e,!r)}))}),n)}function ie(e){return function(){return e}}function ae(e,t,r){function n(){i((function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];!1===e||(e&&a++<o.times&&("function"!=typeof o.errorFilter||o.errorFilter(e))?setTimeout(n,o.intervalFunc(a-1)):r.apply(void 0,[e].concat(i)))}))}var o={times:pt,intervalFunc:ie(ht)};if(3>arguments.length&&"function"==typeof e?(r=t||U(),t=e):(se(o,e),r=r||U()),"function"!=typeof t)throw new Error("Invalid arguments for async.retry");var i=v(t),a=1;return n(),r[Se]}function se(e,t){if("object"==h(t))e.times=+t.times||pt,e.intervalFunc="function"==typeof t.interval?t.interval:ie(+t.interval||ht),e.errorFilter=t.errorFilter;else{if("number"!=typeof t&&"string"!=typeof t)throw new Error("Invalid arguments for async.retry");e.times=+t||pt}}function ue(e,t){t||(t=e,e=null);var n=e&&e.arity||t.length;p(t)&&(n+=1);var o=v(t);return r((function(t,r){function i(e){o.apply(void 0,l(t).concat([e]))}return(t.length<n-1||null==r)&&(t.push(r),r=U()),e?ae(e,i,r):ae(i,r),r[Se]}))}function ce(e,t){return st(De,e,t)}function le(e,t,n){var o=v(e);return r((function(r,i){var a,s=!1;r.push((function(){s||(i.apply(void 0,arguments),clearTimeout(a))})),a=setTimeout((function(){var t=e.name||"anonymous",r=new Error('Callback function "'+t+'" timed out.');r.code="ETIMEDOUT",n&&(r.info=n),s=!0,i(r)}),t),o.apply(void 0,l(r))}))}function fe(e,t,r,n){var o=v(r);return Ie(function(e){for(var t=Array(e);e--;)t[e]=e;return t}(e),t,o,n)}function de(e,t,r){return fe(e,1/0,t,r)}function pe(e,t,r){return fe(e,1,t,r)}function he(e,t,r,n){3>=arguments.length&&"function"==typeof t&&(n=r,r=t,t=Array.isArray(e)?[]:{}),n=O(n||U());var o=v(r);return Ne(e,(function(e,r,n){o(t,e,r,n)}),(function(e){return n(e,t)})),n[Se]}function ve(e){return function(){return(e.unmemoized||e).apply(void 0,arguments)}}function ye(e,t,r){var n=v(e);return Ot((function(e){return n((function(t,r){return e(t,!r)}))}),t,r)}var ge="function"==typeof queueMicrotask&&queueMicrotask,me="function"==typeof setImmediate&&setImmediate,we="object"==("undefined"==typeof process?"undefined":h(process))&&"function"==typeof process.nextTick,Oe=o(ge?queueMicrotask:me?setImmediate:we?process.nextTick:n),xe={},Ee=function(e){return function(t,r,n){function o(e,t){if(!u)if(c-=1,e)s=!0,n(e);else if(!1===e)s=!0,u=!0;else{if(t===xe||s&&0>=c)return s=!0,n(null);l||i()}}function i(){for(l=!0;c<e&&!s;){var t=a();if(null===t)return s=!0,void(0>=c&&n(null));c+=1,r(t.value,t.key,x(o))}l=!1}if(n=O(n),0>=e)throw new RangeError("concurrency limit cannot be less than 1");if(!t)return n(null);if(function(e){return"AsyncGenerator"===e[Symbol.toStringTag]}(t))return E(t,e,r,n);if(function(e){return"function"==typeof e[Symbol.asyncIterator]}(t))return E(t[Symbol.asyncIterator](),e,r,n);var a=function(e){if(w(e))return function(e){var t=-1,r=e.length;return function(){return++t<r?{value:e[t],key:t}:null}}(e);var t=function(e){return e[Symbol.iterator]&&e[Symbol.iterator]()}(e);return t?function(e){var t=-1;return function(){var r=e.next();return r.done?null:(t++,{value:r.value,key:t})}}(t):function(e){var t=e?Object.keys(e):[],r=-1,n=t.length;return function(){var o=t[++r];return r<n?{value:e[o],key:o}:null}}(e)}(t),s=!1,u=!1,c=0,l=!1;i()}},be=y((function(e,t,r,n){return Ee(t)(e,v(r),n)}),4),Ne=y((function(e,t,r){return(w(e)?b:N)(e,v(t),r)}),3),Ue=y((function(e,t,r){return m(Ne,e,t,r)}),3),Te=g(Ue),De=y((function(e,t,r){return be(e,1,t,r)}),3),Ce=y((function(e,t,r){return m(De,e,t,r)}),3),_e=g(Ce),Se=Symbol("promiseCallback"),Ae=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,Me=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,Fe=/,/,je=/(=.+)?(\s*)$/,ke=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Le=function(e){function t(){a(this,t),this.head=this.tail=null,this.length=0}return u(t,[{key:"removeLink",value:function(e){return e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev,e.prev=e.next=null,this.length-=1,e}},{key:"empty",value:function(){for(;this.head;)this.shift();return this}},{key:"insertAfter",value:function(e,t){t.prev=e,t.next=e.next,e.next?e.next.prev=t:this.tail=t,e.next=t,this.length+=1}},{key:"insertBefore",value:function(e,t){t.prev=e.prev,t.next=e,e.prev?e.prev.next=t:this.head=t,e.prev=t,this.length+=1}},{key:"unshift",value:function(e){this.head?this.insertBefore(this.head,e):C(this,e)}},{key:"push",value:function(e){this.tail?this.insertAfter(this.tail,e):C(this,e)}},{key:"shift",value:function(){return this.head&&this.removeLink(this.head)}},{key:"pop",value:function(){return this.tail&&this.removeLink(this.tail)}},{key:"toArray",value:function(){return l(this)}},{key:Symbol.iterator,value:regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=this.head;case 1:if(!t){e.next=7;break}return e.next=4,t.data;case 4:t=t.next;case 5:e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))},{key:"remove",value:function(e){for(var t=this.head;t;){var r=t.next;e(t)&&this.removeLink(t),t=r}return this}}]),t}(),Re=y((function(e,t,r,n){n=O(n);var o=v(r);return De(e,(function(e,r,n){o(t,e,(function(e,r){t=r,n(e)}))}),(function(e){return n(e,t)}))}),4),Ie=y((function(e,t,r,n){return m(Ee(t),e,r,n)}),4),Pe=y((function(e,t,r,n){var o=v(r);return Ie(e,t,(function(e,t){o(e,(function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return e?t(e):t(e,n)}))}),(function(e,t){for(var r=[],o=0;o<t.length;o++){var i;t[o]&&(r=(i=r).concat.apply(i,l(t[o])))}return n(e,r)}))}),4),Be=y((function(e,t,r){return Pe(e,1/0,t,r)}),3),qe=y((function(e,t,r){return Pe(e,1,t,r)}),3),Ge=y((function(e,t,r){return k((function(e){return e}),(function(e,t){return t}))(Ne,e,t,r)}),3),He=y((function(e,t,r,n){return k((function(e){return e}),(function(e,t){return t}))(Ee(t),e,r,n)}),4),We=y((function(e,t,r){return k((function(e){return e}),(function(e,t){return t}))(Ee(1),e,t,r)}),3),Ve=L("dir"),$e=y((function(e,t,r){function n(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return e?r(e):void(!1===e||(i=n,s.apply(void 0,n.concat([o]))))}function o(e,t){return e?r(e):!1===e?void 0:t?void a(n):r.apply(void 0,[null].concat(l(i)))}r=x(r);var i,a=v(e),s=v(t);return o(null,!0)}),3),ze=y((function(e,t,r){return Ne(e,I(v(t)),r)}),3),Ye=y((function(e,t,r,n){return Ee(t)(e,I(v(r)),n)}),4),Xe=y((function(e,t,r){return Ye(e,1,t,r)}),3),Ke=y((function(e,t,r){return k((function(e){return!e}),(function(e){return!e}))(Ne,e,t,r)}),3),Je=y((function(e,t,r,n){return k((function(e){return!e}),(function(e){return!e}))(Ee(t),e,r,n)}),4),Qe=y((function(e,t,r){return k((function(e){return!e}),(function(e){return!e}))(De,e,t,r)}),3),Ze=y((function(e,t,r){return G(Ne,e,t,r)}),3),et=y((function(e,t,r,n){return G(Ee(t),e,r,n)}),4),tt=y((function(e,t,r){return G(De,e,t,r)}),3),rt=y((function(e,t){var r=x(t),n=v(P(e));return function e(t){return t?r(t):void(!1===t||n(e))}()}),2),nt=y((function(e,t,r,n){var o=v(r);return Ie(e,t,(function(e,t){o(e,(function(r,n){return r?t(r):t(r,{key:n,val:e})}))}),(function(e,t){for(var r={},o=Object.prototype.hasOwnProperty,i=0;i<t.length;i++)if(t[i]){var a=t[i].key,s=t[i].val;o.call(r,a)?r[a].push(s):r[a]=[s]}return n(e,r)}))}),4),ot=L("log"),it=y((function(e,t,r,n){n=O(n);var o={},i=v(r);return Ee(t)(e,(function(e,t,r){i(e,t,(function(e,n){return e?r(e):(o[t]=n,void r(e))}))}),(function(e){return n(e,o)}))}),4),at=o(we?process.nextTick:me?setImmediate:n),st=y((function(e,t,r){var n=w(t)?[]:{};e(t,(function(e,t,r){v(e)((function(e){for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];2>i.length&&(i=f(i,1)[0]),n[t]=i,r(e)}))}),(function(e){return r(e,n)}))}),3),ut=function(e){function t(){a(this,t),this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}return u(t,[{key:"length",get:function(){return this.heap.length}},{key:"empty",value:function(){return this.heap=[],this}},{key:"percUp",value:function(e){for(var t;0<e&&Z(this.heap[e],this.heap[t=Q(e)]);){var r=this.heap[e];this.heap[e]=this.heap[t],this.heap[t]=r,e=t}}},{key:"percDown",value:function(e){for(var t,r;(t=J(e))<this.heap.length&&(t+1<this.heap.length&&Z(this.heap[t+1],this.heap[t])&&++t,!Z(this.heap[e],this.heap[t]));)r=this.heap[e],this.heap[e]=this.heap[t],this.heap[t]=r,e=t}},{key:"push",value:function(e){e.pushCount=++this.pushCount,this.heap.push(e),this.percUp(this.heap.length-1)}},{key:"unshift",value:function(e){return this.heap.push(e)}},{key:"shift",value:function(){var e=f(this.heap,1)[0];return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),e}},{key:"toArray",value:function(){return l(this)}},{key:Symbol.iterator,value:regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=0;case 1:if(!(t<this.heap.length)){e.next=7;break}return e.next=4,this.heap[t].data;case 4:t++,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))},{key:"remove",value:function(e){for(var t=0,r=0;r<this.heap.length;r++)e(this.heap[r])||(this.heap[t]=this.heap[r],t++);this.heap.splice(t);for(var n=Q(this.heap.length-1);0<=n;n--)this.percDown(n);return this}}]),t}(),ct=y((function(e,t){if(t=O(t),!Array.isArray(e))return t(new TypeError("First argument to race must be an array of functions"));if(!e.length)return t();for(var r=0,n=e.length;r<n;r++)v(e[r])(t)}),2),lt=y((function(e,t,r){return oe(Ne,e,t,r)}),3),ft=y((function(e,t,r,n){return oe(Ee(t),e,r,n)}),4),dt=y((function(e,t,r){return oe(De,e,t,r)}),3),pt=5,ht=0,vt=y((function(e,t,r){return k(Boolean,(function(e){return e}))(Ne,e,t,r)}),3),yt=y((function(e,t,r,n){return k(Boolean,(function(e){return e}))(Ee(t),e,r,n)}),4),gt=y((function(e,t,r){return k(Boolean,(function(e){return e}))(De,e,t,r)}),3),mt=y((function(e,t,r){function n(e,t){var r=e.criteria,n=t.criteria;return r<n?-1:r>n?1:0}var o=v(t);return Ue(e,(function(e,t){o(e,(function(r,n){return r?t(r):void t(r,{value:e,criteria:n})}))}),(function(e,t){return e?r(e):void r(null,t.sort(n).map((function(e){return e.value})))}))}),3),wt=y((function(e,t){var r,n=null;return Xe(e,(function(e,t){v(e)((function(e){for(var o,i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return!1===e?t(e):(2>a.length?(o=f(a,1),r=o[0]):r=a,n=e,void t(e?null:{}))}))}),(function(){return t(n,r)}))})),Ot=y((function(e,t,r){function n(e){if(e)return r(e);for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];s=n,!1===e||a(o)}function o(e,t){return e?r(e):!1===e?void 0:t?void i(n):r.apply(void 0,[null].concat(l(s)))}r=x(r);var i=v(t),a=v(e),s=[];return a(o)}),3),xt=y((function(e,t){function r(t){v(e[o++]).apply(void 0,l(t).concat([x(n)]))}function n(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];return!1===n?void 0:n||o===e.length?t.apply(void 0,[n].concat(a)):void r(a)}if(t=O(t),!Array.isArray(e))return t(new Error("First argument to waterfall must be an array of functions"));if(!e.length)return t();var o=0;r([])}));e.default={apply:t,applyEach:Te,applyEachSeries:_e,asyncify:i,auto:T,autoInject:D,cargo:S,cargoQueue:A,compose:F,concat:Be,concatLimit:Pe,concatSeries:qe,constant:j,detect:Ge,detectLimit:He,detectSeries:We,dir:Ve,doUntil:R,doWhilst:$e,each:ze,eachLimit:Ye,eachOf:Ne,eachOfLimit:be,eachOfSeries:De,eachSeries:Xe,ensureAsync:P,every:Ke,everyLimit:Je,everySeries:Qe,filter:Ze,filterLimit:et,filterSeries:tt,forever:rt,groupBy:H,groupByLimit:nt,groupBySeries:W,log:ot,map:Ue,mapLimit:Ie,mapSeries:Ce,mapValues:V,mapValuesLimit:it,mapValuesSeries:$,memoize:z,nextTick:at,parallel:Y,parallelLimit:X,priorityQueue:ee,queue:K,race:ct,reduce:Re,reduceRight:te,reflect:re,reflectAll:ne,reject:lt,rejectLimit:ft,rejectSeries:dt,retry:ae,retryable:ue,seq:M,series:ce,setImmediate:Oe,some:vt,someLimit:yt,someSeries:gt,sortBy:mt,timeout:le,times:de,timesLimit:fe,timesSeries:pe,transform:he,tryEach:wt,unmemoize:ve,until:ye,waterfall:xt,whilst:Ot,all:Ke,allLimit:Je,allSeries:Qe,any:vt,anyLimit:yt,anySeries:gt,find:Ge,findLimit:He,findSeries:We,flatMap:Be,flatMapLimit:Pe,flatMapSeries:qe,forEach:ze,forEachSeries:Xe,forEachLimit:Ye,forEachOf:Ne,forEachOfSeries:De,forEachOfLimit:be,inject:Re,foldl:Re,foldr:te,select:Ze,selectLimit:et,selectSeries:tt,wrapSync:i,during:Ot,doDuring:$e},e.apply=t,e.applyEach=Te,e.applyEachSeries=_e,e.asyncify=i,e.auto=T,e.autoInject=D,e.cargo=S,e.cargoQueue=A,e.compose=F,e.concat=Be,e.concatLimit=Pe,e.concatSeries=qe,e.constant=j,e.detect=Ge,e.detectLimit=He,e.detectSeries=We,e.dir=Ve,e.doUntil=R,e.doWhilst=$e,e.each=ze,e.eachLimit=Ye,e.eachOf=Ne,e.eachOfLimit=be,e.eachOfSeries=De,e.eachSeries=Xe,e.ensureAsync=P,e.every=Ke,e.everyLimit=Je,e.everySeries=Qe,e.filter=Ze,e.filterLimit=et,e.filterSeries=tt,e.forever=rt,e.groupBy=H,e.groupByLimit=nt,e.groupBySeries=W,e.log=ot,e.map=Ue,e.mapLimit=Ie,e.mapSeries=Ce,e.mapValues=V,e.mapValuesLimit=it,e.mapValuesSeries=$,e.memoize=z,e.nextTick=at,e.parallel=Y,e.parallelLimit=X,e.priorityQueue=ee,e.queue=K,e.race=ct,e.reduce=Re,e.reduceRight=te,e.reflect=re,e.reflectAll=ne,e.reject=lt,e.rejectLimit=ft,e.rejectSeries=dt,e.retry=ae,e.retryable=ue,e.seq=M,e.series=ce,e.setImmediate=Oe,e.some=vt,e.someLimit=yt,e.someSeries=gt,e.sortBy=mt,e.timeout=le,e.times=de,e.timesLimit=fe,e.timesSeries=pe,e.transform=he,e.tryEach=wt,e.unmemoize=ve,e.until=ye,e.waterfall=xt,e.whilst=Ot,e.all=Ke,e.allLimit=Je,e.allSeries=Qe,e.any=vt,e.anyLimit=yt,e.anySeries=gt,e.find=Ge,e.findLimit=He,e.findSeries=We,e.flatMap=Be,e.flatMapLimit=Pe,e.flatMapSeries=qe,e.forEach=ze,e.forEachSeries=Xe,e.forEachLimit=Ye,e.forEachOf=Ne,e.forEachOfSeries=De,e.forEachOfLimit=be,e.inject=Re,e.foldl=Re,e.foldr=te,e.select=Ze,e.selectLimit=et,e.selectSeries=tt,e.wrapSync=i,e.during=Ot,e.doDuring=$e,Object.defineProperty(e,"__esModule",{value:!0})},"object"==h(t)?i(t):(n=[t],void 0===(o="function"==typeof(r=i)?r.apply(t,n):r)||(e.exports=o))},79306:function(){!function(e){"use strict";var t,r;void 0===e.btoa&&(e.btoa=(t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),function(e){var r,n,o,i,a,s,u;for(n=o=0,i=e.length,s=(i-=a=i%3)/3<<2,a>0&&(s+=4),r=new Array(s);n<i;)u=e.charCodeAt(n++)<<16|e.charCodeAt(n++)<<8|e.charCodeAt(n++),r[o++]=t[u>>18]+t[u>>12&63]+t[u>>6&63]+t[63&u];return 1==a?(u=e.charCodeAt(n++),r[o++]=t[u>>2]+t[(3&u)<<4]+"=="):2==a&&(u=e.charCodeAt(n++)<<8|e.charCodeAt(n++),r[o++]=t[u>>10]+t[u>>4&63]+t[(15&u)<<2]+"="),r.join("")})),void 0===e.atob&&(e.atob=(r=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1],function(e){var t,n,o,i,a,s,u,c,l,f;if((u=e.length)%4!=0)return"";if(/[^ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\+\/\=]/.test(e))return"";for(l=u,(c="="==e.charAt(u-2)?1:"="==e.charAt(u-1)?2:0)>0&&(l-=4),l=3*(l>>2)+c,f=new Array(l),a=s=0;a<u&&-1!=(t=r[e.charCodeAt(a++)])&&-1!=(n=r[e.charCodeAt(a++)])&&(f[s++]=String.fromCharCode(t<<2|(48&n)>>4),-1!=(o=r[e.charCodeAt(a++)]))&&(f[s++]=String.fromCharCode((15&n)<<4|(60&o)>>2),-1!=(i=r[e.charCodeAt(a++)]));)f[s++]=String.fromCharCode((3&o)<<6|i);return f.join("")}));var n=2654435769;function o(e,t){var r=e.length,n=r<<2;if(t){var o=e[r-1];if(o<(n-=4)-3||o>n)return null;n=o}for(var i=0;i<r;i++)e[i]=String.fromCharCode(255&e[i],e[i]>>>8&255,e[i]>>>16&255,e[i]>>>24&255);var a=e.join("");return t?a.substring(0,n):a}function i(e,t){var r,n=e.length,o=n>>2;0!=(3&n)&&++o,t?(r=new Array(o+1))[o]=n:r=new Array(o);for(var i=0;i<n;++i)r[i>>2]|=e.charCodeAt(i)<<((3&i)<<3);return r}function a(e){return 4294967295&e}function s(e,t,r,n,o,i){return(r>>>5^t<<2)+(t>>>3^r<<4)^(e^t)+(i[3&n^o]^r)}function u(e){return e.length<4&&(e.length=4),e}function c(e){if(/^[\x00-\x7f]*$/.test(e))return e;for(var t=[],r=e.length,n=0,o=0;n<r;++n,++o){var i=e.charCodeAt(n);if(i<128)t[o]=e.charAt(n);else if(i<2048)t[o]=String.fromCharCode(192|i>>6,128|63&i);else{if(!(i<55296||i>57343)){if(n+1<r){var a=e.charCodeAt(n+1);if(i<56320&&56320<=a&&a<=57343){var s=65536+((1023&i)<<10|1023&a);t[o]=String.fromCharCode(240|s>>18&63,128|s>>12&63,128|s>>6&63,128|63&s),++n;continue}}throw new Error("Malformed string")}t[o]=String.fromCharCode(224|i>>12,128|i>>6&63,128|63&i)}}return t.join("")}function l(e,t){return(null==t||t<0)&&(t=e.length),0===t?"":/^[\x00-\x7f]*$/.test(e)||!/^[\x00-\xff]*$/.test(e)?t===e.length?e:e.substr(0,t):t<65535?function(e,t){for(var r=new Array(t),n=0,o=0,i=e.length;n<t&&o<i;n++){var a=e.charCodeAt(o++);switch(a>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:r[n]=a;break;case 12:case 13:if(!(o<i))throw new Error("Unfinished UTF-8 octet sequence");r[n]=(31&a)<<6|63&e.charCodeAt(o++);break;case 14:if(!(o+1<i))throw new Error("Unfinished UTF-8 octet sequence");r[n]=(15&a)<<12|(63&e.charCodeAt(o++))<<6|63&e.charCodeAt(o++);break;case 15:if(!(o+2<i))throw new Error("Unfinished UTF-8 octet sequence");var s=((7&a)<<18|(63&e.charCodeAt(o++))<<12|(63&e.charCodeAt(o++))<<6|63&e.charCodeAt(o++))-65536;if(!(0<=s&&s<=1048575))throw new Error("Character outside valid Unicode range: 0x"+s.toString(16));r[n++]=s>>10&1023|55296,r[n]=1023&s|56320;break;default:throw new Error("Bad UTF-8 encoding 0x"+a.toString(16))}}return n<t&&(r.length=n),String.fromCharCode.apply(String,r)}(e,t):function(e,t){for(var r=[],n=new Array(32768),o=0,i=0,a=e.length;o<t&&i<a;o++){var s=e.charCodeAt(i++);switch(s>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:n[o]=s;break;case 12:case 13:if(!(i<a))throw new Error("Unfinished UTF-8 octet sequence");n[o]=(31&s)<<6|63&e.charCodeAt(i++);break;case 14:if(!(i+1<a))throw new Error("Unfinished UTF-8 octet sequence");n[o]=(15&s)<<12|(63&e.charCodeAt(i++))<<6|63&e.charCodeAt(i++);break;case 15:if(!(i+2<a))throw new Error("Unfinished UTF-8 octet sequence");var u=((7&s)<<18|(63&e.charCodeAt(i++))<<12|(63&e.charCodeAt(i++))<<6|63&e.charCodeAt(i++))-65536;if(!(0<=u&&u<=1048575))throw new Error("Character outside valid Unicode range: 0x"+u.toString(16));n[o++]=u>>10&1023|55296,n[o]=1023&u|56320;break;default:throw new Error("Bad UTF-8 encoding 0x"+s.toString(16))}if(o>=32766){var c=o+1;n.length=c,r[r.length]=String.fromCharCode.apply(String,n),t-=c,o=-1}}return o>0&&(n.length=o,r[r.length]=String.fromCharCode.apply(String,n)),r.join("")}(e,t)}function f(e,t){return null==e||0===e.length?e:(e=c(e),t=c(t),o(function(e,t){var r,o,i,u,c,l,f=e.length,d=f-1;for(o=e[d],i=0,l=0|Math.floor(6+52/f);l>0;--l){for(u=(i=a(i+n))>>>2&3,c=0;c<d;++c)r=e[c+1],o=e[c]=a(e[c]+s(i,r,o,c,u,t));r=e[0],o=e[d]=a(e[d]+s(i,r,o,d,u,t))}return e}(i(e,!0),u(i(t,!1))),!1))}function d(e,t){return null==e||0===e.length?e:(t=c(t),l(o(function(e,t){var r,o,i,u,c,l=e.length,f=l-1;for(r=e[0],i=a(Math.floor(6+52/l)*n);0!==i;i=a(i-n)){for(u=i>>>2&3,c=f;c>0;--c)o=e[c-1],r=e[c]=a(e[c]-s(i,r,o,c,u,t));o=e[f],r=e[0]=a(e[0]-s(i,r,o,0,u,t))}return e}(i(e,!1),u(i(t,!1))),!0)))}e.XXTEA={utf8Encode:c,utf8Decode:l,encrypt:f,encryptToBase64:function(t,r){return e.btoa(f(t,r))},decrypt:d,decryptFromBase64:function(t,r){return null==t||0===t.length?t:d(e.atob(t),r)}}}(this||[eval][0]("this"))},185:(e,t,r)=>{var n=r(12936),o=r(94453);void 0===o.BigNumber&&(o.BigNumber=n),e.exports=n},83002:(e,t,r)=>{var n=r(69275),o=r(94453);void 0===o.$&&(o.$=n),void 0===o.jQuery&&(o.jQuery=n),e.exports=n},6436:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=6436,e.exports=t},35844:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=35844,e.exports=t},87867:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=87867,e.exports=t},2495:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=2495,e.exports=t},52310:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=52310,e.exports=t},50488:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=50488,e.exports=t},58765:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=58765,e.exports=t},82220:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=82220,e.exports=t},3777:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=3777,e.exports=t},10680:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=10680,e.exports=t},82297:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=82297,e.exports=t},1239:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=1239,e.exports=t},16593:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=16593,e.exports=t},82839:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=82839,e.exports=t},35659:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=35659,e.exports=t},49792:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=49792,e.exports=t},90653:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=90653,e.exports=t},47913:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=47913,e.exports=t},33629:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=33629,e.exports=t},15266:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=15266,e.exports=t},33545:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=33545,e.exports=t},12316:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=12316,e.exports=t},27958:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=27958,e.exports=t},31663:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=31663,e.exports=t},24632:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=24632,e.exports=t},4559:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=4559,e.exports=t},27202:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=27202,e.exports=t},66993:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=66993,e.exports=t},74153:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=74153,e.exports=t},36154:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=36154,e.exports=t},12934:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=12934,e.exports=t},25514:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=25514,e.exports=t},5886:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=5886,e.exports=t},53120:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=53120,e.exports=t},61627:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=61627,e.exports=t},6920:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=6920,e.exports=t},14915:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=14915,e.exports=t},23511:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=23511,e.exports=t},19631:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=19631,e.exports=t},20827:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=20827,e.exports=t},89434:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=89434,e.exports=t},97794:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=97794,e.exports=t},51015:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=51015,e.exports=t},17241:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=17241,e.exports=t},52108:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=52108,e.exports=t},86569:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=86569,e.exports=t},37629:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=37629,e.exports=t},87933:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=87933,e.exports=t},48794:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=48794,e.exports=t},29044:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=29044,e.exports=t},53577:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=53577,e.exports=t},13010:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=13010,e.exports=t},39255:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=39255,e.exports=t},88492:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=88492,e.exports=t},35241:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=35241,e.exports=t},44376:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=44376,e.exports=t},24708:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=24708,e.exports=t},86880:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=86880,e.exports=t},54098:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54098,e.exports=t},62550:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=62550,e.exports=t},29307:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=29307,e.exports=t},4626:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=4626,e.exports=t},78479:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=78479,e.exports=t},59023:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=59023,e.exports=t},62:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=62,e.exports=t},22023:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=22023,e.exports=t},2108:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=2108,e.exports=t},58742:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=58742,e.exports=t},24390:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=24390,e.exports=t},889:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=889,e.exports=t},93566:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=93566,e.exports=t},81134:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=81134,e.exports=t},40929:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=40929,e.exports=t},18531:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=18531,e.exports=t},19096:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=19096,e.exports=t},3468:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=3468,e.exports=t},29723:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=29723,e.exports=t},36659:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=36659,e.exports=t},46033:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=46033,e.exports=t},92506:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=92506,e.exports=t},18120:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=18120,e.exports=t},37313:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=37313,e.exports=t},67379:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=67379,e.exports=t},4355:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=4355,e.exports=t},19231:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=19231,e.exports=t},49831:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=49831,e.exports=t},46341:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=46341,e.exports=t},92800:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=92800,e.exports=t},26182:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=26182,e.exports=t},40284:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=40284,e.exports=t},16753:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=16753,e.exports=t},29510:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=29510,e.exports=t},7842:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=7842,e.exports=t},81536:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=81536,e.exports=t},59888:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=59888,e.exports=t},49610:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=49610,e.exports=t},27403:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=27403,e.exports=t},54480:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54480,e.exports=t},20646:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=20646,e.exports=t},62553:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=62553,e.exports=t},318:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=318,e.exports=t},25017:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=25017,e.exports=t},39798:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=39798,e.exports=t},40605:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=40605,e.exports=t},33581:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=33581,e.exports=t},63132:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=63132,e.exports=t},93480:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=93480,e.exports=t},54162:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54162,e.exports=t},92821:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=92821,e.exports=t},35593:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=35593,e.exports=t},66730:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=66730,e.exports=t},19162:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=19162,e.exports=t},47723:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=47723,e.exports=t},68806:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=68806,e.exports=t},49643:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=49643,e.exports=t},21387:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=21387,e.exports=t},21573:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=21573,e.exports=t},88272:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=88272,e.exports=t},18142:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=18142,e.exports=t},87918:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=87918,e.exports=t},93706:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=93706,e.exports=t},3116:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=3116,e.exports=t},44501:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=44501,e.exports=t},23842:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=23842,e.exports=t},71126:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=71126,e.exports=t},38733:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=38733,e.exports=t},32668:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=32668,e.exports=t},15482:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=15482,e.exports=t},15704:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=15704,e.exports=t},15691:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=15691,e.exports=t},90193:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=90193,e.exports=t},16680:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=16680,e.exports=t},6798:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=6798,e.exports=t},88098:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=88098,e.exports=t},83543:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=83543,e.exports=t},23471:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=23471,e.exports=t},8512:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=8512,e.exports=t},18787:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=18787,e.exports=t},20322:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=20322,e.exports=t},423:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=423,e.exports=t},34585:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=34585,e.exports=t},24972:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=24972,e.exports=t},34368:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=34368,e.exports=t},65322:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=65322,e.exports=t},81002:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=81002,e.exports=t},88765:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=88765,e.exports=t},45698:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=45698,e.exports=t},7699:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=7699,e.exports=t},55125:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=55125,e.exports=t},13468:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=13468,e.exports=t},75276:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=75276,e.exports=t},27831:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=27831,e.exports=t},56121:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=56121,e.exports=t},9023:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=9023,e.exports=t},37737:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=37737,e.exports=t},54579:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54579,e.exports=t},66627:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=66627,e.exports=t},37893:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=37893,e.exports=t},29372:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=29372,e.exports=t},85191:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=85191,e.exports=t},29950:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=29950,e.exports=t},3675:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=3675,e.exports=t},74122:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=74122,e.exports=t},54196:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54196,e.exports=t},28917:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=28917,e.exports=t},34051:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=34051,e.exports=t},85945:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=85945,e.exports=t},28273:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=28273,e.exports=t},58626:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=58626,e.exports=t},55433:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=55433,e.exports=t},40817:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=40817,e.exports=t},72492:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=72492,e.exports=t},39462:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=39462,e.exports=t},69573:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=69573,e.exports=t},29185:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=29185,e.exports=t},59971:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=59971,e.exports=t},85168:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=85168,e.exports=t},61033:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=61033,e.exports=t},28611:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=28611,e.exports=t},1990:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=1990,e.exports=t},46001:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=46001,e.exports=t},90714:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=90714,e.exports=t},47766:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=47766,e.exports=t},72094:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=72094,e.exports=t},76603:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=76603,e.exports=t},81087:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=81087,e.exports=t},10574:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=10574,e.exports=t},8322:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=8322,e.exports=t},12709:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=12709,e.exports=t},19408:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=19408,e.exports=t},50603:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=50603,e.exports=t},79763:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=79763,e.exports=t},95375:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=95375,e.exports=t},10634:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=10634,e.exports=t},62187:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=62187,e.exports=t},31754:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=31754,e.exports=t},40669:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=40669,e.exports=t},70608:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=70608,e.exports=t},18315:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=18315,e.exports=t},54741:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54741,e.exports=t},68033:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=68033,e.exports=t},42118:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=42118,e.exports=t},90040:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=90040,e.exports=t},24127:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=24127,e.exports=t},98329:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=98329,e.exports=t},67658:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=67658,e.exports=t},82383:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=82383,e.exports=t},90597:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=90597,e.exports=t},66986:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=66986,e.exports=t},7648:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=7648,e.exports=t},42713:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=42713,e.exports=t},9172:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=9172,e.exports=t},70554:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=70554,e.exports=t},12484:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=12484,e.exports=t},97627:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=97627,e.exports=t},4594:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=4594,e.exports=t},61371:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=61371,e.exports=t},98661:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=98661,e.exports=t},16817:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=16817,e.exports=t},66050:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=66050,e.exports=t},48911:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=48911,e.exports=t},38833:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=38833,e.exports=t},70441:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=70441,e.exports=t},57175:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=57175,e.exports=t},72298:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=72298,e.exports=t},64633:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=64633,e.exports=t},63466:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=63466,e.exports=t},3258:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=3258,e.exports=t},8801:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=8801,e.exports=t},24123:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=24123,e.exports=t},75315:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=75315,e.exports=t},82301:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=82301,e.exports=t},71086:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=71086,e.exports=t},47143:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=47143,e.exports=t},7160:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=7160,e.exports=t},13897:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=13897,e.exports=t},81424:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=81424,e.exports=t},85645:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=85645,e.exports=t},84995:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=84995,e.exports=t},38476:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=38476,e.exports=t},84894:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=84894,e.exports=t},96391:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=96391,e.exports=t},76704:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=76704,e.exports=t},83618:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=83618,e.exports=t},28102:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=28102,e.exports=t},14344:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=14344,e.exports=t},67866:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=67866,e.exports=t},55243:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=55243,e.exports=t},68565:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=68565,e.exports=t},67548:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=67548,e.exports=t},31872:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=31872,e.exports=t},77952:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=77952,e.exports=t},31173:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=31173,e.exports=t},89661:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=89661,e.exports=t},45369:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=45369,e.exports=t},55422:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=55422,e.exports=t},63043:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=63043,e.exports=t},52140:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=52140,e.exports=t},61725:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=61725,e.exports=t},43254:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=43254,e.exports=t},91055:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=91055,e.exports=t},21211:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=21211,e.exports=t},93552:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=93552,e.exports=t},31465:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=31465,e.exports=t},78839:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=78839,e.exports=t},60109:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=60109,e.exports=t},3422:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=3422,e.exports=t},994:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=994,e.exports=t},39369:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=39369,e.exports=t},9830:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=9830,e.exports=t},71074:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=71074,e.exports=t},78685:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=78685,e.exports=t},84611:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=84611,e.exports=t},46785:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=46785,e.exports=t},88874:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=88874,e.exports=t},68585:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=68585,e.exports=t},92966:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=92966,e.exports=t},55174:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=55174,e.exports=t},89166:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=89166,e.exports=t},50549:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=50549,e.exports=t},59782:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=59782,e.exports=t},91983:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=91983,e.exports=t},97605:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=97605,e.exports=t},72556:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=72556,e.exports=t},79123:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=79123,e.exports=t},25042:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=25042,e.exports=t},42685:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=42685,e.exports=t},15782:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=15782,e.exports=t},36551:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=36551,e.exports=t},75166:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=75166,e.exports=t},92196:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=92196,e.exports=t},45906:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=45906,e.exports=t},92126:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=92126,e.exports=t},96229:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=96229,e.exports=t},90707:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=90707,e.exports=t},26673:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=26673,e.exports=t},23282:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=23282,e.exports=t},17510:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=17510,e.exports=t},88322:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=88322,e.exports=t},79558:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=79558,e.exports=t},88677:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=88677,e.exports=t},89040:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=89040,e.exports=t},71572:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=71572,e.exports=t},81729:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=81729,e.exports=t},53003:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=53003,e.exports=t},1108:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=1108,e.exports=t},68298:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=68298,e.exports=t},54386:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54386,e.exports=t},20845:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=20845,e.exports=t},99521:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=99521,e.exports=t},74806:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=74806,e.exports=t},50953:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=50953,e.exports=t},67151:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=67151,e.exports=t},97133:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=97133,e.exports=t},29853:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=29853,e.exports=t},39289:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=39289,e.exports=t},22166:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=22166,e.exports=t},70503:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=70503,e.exports=t},71894:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=71894,e.exports=t},94810:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=94810,e.exports=t},17726:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=17726,e.exports=t},54363:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=54363,e.exports=t},59380:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=59380,e.exports=t},95024:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=95024,e.exports=t},69874:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=69874,e.exports=t},62687:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=62687,e.exports=t},82128:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=82128,e.exports=t},60233:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=60233,e.exports=t},48942:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=48942,e.exports=t},52049:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=52049,e.exports=t},59906:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=59906,e.exports=t},51740:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=51740,e.exports=t},90821:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=90821,e.exports=t},682:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=682,e.exports=t},42087:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=42087,e.exports=t},40253:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=40253,e.exports=t},73425:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=73425,e.exports=t},2203:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=2203,e.exports=t},13027:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=13027,e.exports=t},5019:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=5019,e.exports=t},20064:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=20064,e.exports=t},5189:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=5189,e.exports=t},90263:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=90263,e.exports=t},10572:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=10572,e.exports=t},92064:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=92064,e.exports=t},26328:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=26328,e.exports=t},17941:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=17941,e.exports=t},14010:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=14010,e.exports=t},13154:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=13154,e.exports=t}},t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var n,o={};n="../../Barsa.Web.Ui/",r(43272),r(74122)(n+"Lib/ext-3.4.1/ext-all-debug-w-comments-portal.js"),r(3675)(n+"Lib/ext-3.4.1/ext-all-debug-w-comments-portal2.js"),r(78637),r(88765)(n+"FormPanel/MsgBox/CustomMsgBox.js"),r(7699)(n+"FormPanel/MsgBox/CustomToast.js"),r(76992);var i=window;for(var a in o)i[a]=o[a];o.__esModule&&Object.defineProperty(i,"__esModule",{value:!0})})();