UNPKG

jspreadsheet

Version:

Jspreadsheet is a lightweight, vanilla javascript data grid plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.

116 lines (112 loc) 310 kB
/** * Jspreadsheet v12.0.4 * * Website: https://jspreadsheet.com * Description: Create amazing web based spreadsheets. * * This software requires a license. Visit: https://jspreadsheet.com/docs */ 'use strict'; if (! formula && typeof(require) === 'function') { var formula = require('@jspreadsheet/formula-pro'); } if (! jSuites && typeof(require) === 'function') { var jSuites = require('jsuites'); } function a0_0x11da(a,wa){const pa=a0_0x5241();return a0_0x11da=function(Sa,wb){return pa[Sa-144]},a0_0x11da(a,wa)}(function(a,wa){const pa=a0_0x11da;for(a=a();;)try{if(-parseInt(pa(777))*(parseInt(pa(1050))/2)+parseInt(pa(1196))/3*(-parseInt(pa(1433))/4)+parseInt(pa(740))/5*(parseInt(pa(401))/6)+parseInt(pa(483))/7+-parseInt(pa(192))/8+-parseInt(pa(1313))/9+parseInt(pa(1166))/10===wa)break;else a.push(a.shift())}catch(Sa){a.push(a.shift())}})(a0_0x5241,739916); (function(a,wa){const pa=a0_0x11da;typeof exports===pa(1303)&&typeof module!==pa(792)?module[pa(1266)]=wa():"function"===typeof define&&define[pa(1367)]?define(wa):a[pa(1279)]=wa()})(this,function(){const a=a0_0x11da,wa=function(){const u=a0_0x11da,q={version:u(549),edition:u(966),host:u(349),license:"Unlicensed",print:function(){return[u(1221)+this[u(1363)]+u(288)+this[u(1169)]+"\r\n"+this[u(1107)]+"\r\n"+this[u(293)]]}};return function(){return q}}(),pa=function(u){const q=a0_0x11da;try{if(u?.[q(246)])return Intl[q(614)](u.locale)[q(1006)](1.1)[q(920)](1, 2)}catch(l){console.log(l)}return q(472)[q(765)]()[q(920)](1,2)},Sa=function(u){return Object[a0_0x11da(931)](this).find(q=>this[q]===u)},wb=function(u){const q=a0_0x11da;if(u){if(typeof u.autoCasting!==q(792))return u[q(772)];if("@"===u[q(1272)])return!1}u=this.options[q(772)];if(typeof u!==q(792))return u;u=this.parent[q(529)][q(772)];if(typeof u!==q(792))return u},Ca=function(u,q){Object[a0_0x11da(380)](this,u,{get:q,configurable:!1,enumerable:!1,extensible:!1})},xb=function(u,q,l,e,b){const c= a0_0x11da;let d=u[c(198)](q);!d&&(d=[],u.set(q,d));d[c(689)]({w:q,x:l,y:e,value:b,force:!0})},yb=function(){const u=a0_0x11da;return 0<=navigator[u(1151)][u(497)]()[u(904)]("MAC")},Tb=function(u){const q=a0_0x11da;return u&&typeof u[q(1129)]===q(595)},Da=function(u){const q=a0_0x11da;return yb()?u[q(1258)]:u.ctrlKey},Ub=function(u,q){const l=a0_0x11da;return u<this[l(1512)][l(768)]&&q<this[l(746)][l(768)]},Ib=function(u){return/^[0-9]|\W/[a0_0x11da(860)](u)&&(u="'"+u+"'"),u},qb=function(u,q){let l= ta(u);return q&&q.forEach(function(e){l[a0_0x11da(802)](e)&&delete l[e]}),l},Vb=function(u,q){const l=a0_0x11da;var e=u[l(534)];if(e){var b=e.expression;e=e[l(1236)];e[0]&&(b[0]=e[0]);e[1]&&(b[1]=e[1]);delete u[l(534)];let d=F[l(665)](u.range,!1),f=[...d],g=!1;if(b=q.movedColumns){let n=new Map,m;b[l(272)]((h,p)=>{!m&&(m=[p,h]);n[l(598)](p,h)});e=m[0];let k=m[1];if(d[0]>=e&&d[2]<=e+n[l(1302)]-1){var c;k<e?c=k-e:c=k-e-n[l(1302)]+1;f[0]+=c;f[2]+=c;g=!0}else n[l(272)]((h,p)=>{h<p?p===f[0]&&f[0]>h&&(f[0]= h,g=!0):p===f[2]&&f[2]<h&&(f[2]=h-n[l(1302)]+1,g=!0)})}!1===g&&(b=q.deletedColumns,b&&b[l(272)](n=>{n<d[0]&&null!==d[0]&&f[0]--;n<=d[2]&&null!==d[2]&&f[2]--}),b=q[l(811)],b&&b.forEach(n=>{n<=f[0]&&null!==f[0]&&f[0]++;n<=f[2]&&null!==f[2]&&f[2]++}));if(c=q.movedRows){let n=new Map,m;c[l(272)]((k,h)=>{!m&&(m=[h,k]);n[l(598)](h,k)});b=m[0];e=m[1];if(f[1]>=b&&f[3]<=b+n[l(1302)]-1){let k;e<b?k=e-b:k=e-b-n[l(1302)]+1;f[1]+=k;f[3]+=k;g=!0}else n[l(272)]((k,h)=>{k<h?h===f[1]&&f[1]>k&&(f[1]=k,g=!0):h===f[3]&& f[3]<k&&(f[3]=k-n.size+1,g=!0)})}!1===g&&(c=q.deletedRows,c&&c[l(272)](n=>{n<d[1]&&null!==d[1]&&f[1]--;n<=d[3]&&null!==d[3]&&f[3]--}),c=q.insertedRows,c&&c.forEach(n=>{n<=f[1]&&null!==f[1]&&f[1]++;n<=f[3]&&null!==f[3]&&f[3]++}));if(0>f[0]||0>f[1]||0>f[2]||0>f[3]||f[0]>f[2]||f[1]>f[3])return"#REF!";f[0]=null===f[0]?"":F[l(1071)](f[0]);f[1]=null===f[1]?"":f[1]+1;f[2]=null===f[2]?"":F[l(1071)](f[2]);f[3]=null===f[3]?"":f[3]+1;q=f[0]+f[1]+":"+f[2]+f[3];return q!==u[l(1219)]?q:null}},Jb=function(u){const q= a0_0x11da;var l=u[q(534)];if(l){let e=!1,b=l.expression;l=l[q(1236)];for(let c=0;c<b[q(768)];c++)"undefined"!==typeof l[c]&&(b[c]=l[c],e=!0);return delete u[q(534)],!0===e?b[q(1410)](""):null}},qa=function(){const u=function(d,f,g){const n=a0_0x11da;let m=this[n(353)][n(1181)],k=m[n(198)](f);return g&&(!k&&(k={w:this,type:"indirect",value:f},e(k),m[n(598)](f,k)),k.record=d),b(d,k,g),k},q=function(d,f,g,n){const m=a0_0x11da;try{if(f){if(!0===n&&g){let h=d[m(331)];!h&&(h=d[m(331)]=new Set);if(h[m(680)](f))return; h[m(1049)](f)}let k=ca[m(155)](f);if(k){let h=this[m(1062)][m(529)].definedNames,p=k[m(768)],r,t,v,w;for(f=0;f<p;f++)if(r=k[f])if(F.tokenIdentifier(r)){t=this;w=r[m(904)]("!");if(-1!==w){let z=fa[m(198)][m(544)](this,r[m(920)](0,w));null!==z&&(t=z);r=r[m(920)](w+1)}if(null===t||typeof t===m(792))throw{error:m(1068),message:m(1040)+k[f]};if(-1===r.indexOf(":")){let [z,y]=F[m(648)](r);t[m(1512)].length>z&&t.rows.length>y&&(v=N[m(318)][m(544)](t,z,y),!0===n&&(v=u[m(544)](this,v,r,g)),b(v,d,g))}else{-1!== r[m(904)]("$")&&(r=r[m(508)](/\$/g,""));let z=t[m(353)][m(1419)];v=z.get(r);!0===g?(!v&&(v={w:t,type:m(1219),range:r},z.set(r,v),e(v),c[m(544)](t,r,v,g)),v.chain.set(d,null)):v&&(v.chain["delete"](d),0===v[m(1121)][m(1302)]&&z[m(265)](r))}}else h&&h[r]&&(v=h[r],typeof v!==m(792)&&b(v,d,g))}}}catch(k){console[m(593)](k),Y[m(1067)].call(this.parent,k.message)}},l=function(d){var f=a0_0x11da;let g=[],n=new Set;const m=[];f=d[f(931)]();for(let h of f){var k=void 0;f=a0_0x11da;let p=[h];for(;k=p[f(768)];){k= p[k-1];if(n.has(k)){p.pop();continue}let r=d[f(198)](k)||m,t=!0;for(let v of r)!n.has(v)&&(p.push(v),t=!1);t&&(n[f(1049)](k),g.push(k),p.pop())}}return g.reverse()},e=function(d){const f=a0_0x11da,g=new Map;return Object.defineProperty(d,f(1121),{enumerable:!1,configurable:!0,value:g}),g},b=function(d,f,g){const n=a0_0x11da;let m=d[n(1121)];g?(typeof m===n(792)&&(m=e(d)),m[n(598)](f,null)):m&&m[n(265)](f)},c=function(d,f,g,n){const m=a0_0x11da;let k;let h;d=ca[m(214)].call(this,d,null,null,!0);let p= d[m(768)];for(let t=0;t<p;t++){var r=d[t];[r,h]=F[m(648)](r);null===h?k=this.cols[r]:null===r?k=this[m(746)][h]:k=N.instance[m(544)](this,r,h);k&&(b(k,f,g),n&&n(k))}};return{get:function(d){const f=a0_0x11da;let g=new Map;const n=[];for(d[f(272)](p=>{var r=p.w,t=p.x;let v=p.y;p=N[f(318)].call(r,t,v);if(p[f(1121)])n[f(689)](p);else(t=r.cols[t])&&t[f(1121)]&&n.push(p),(r=r[f(746)][v])&&r[f(1121)]&&n[f(689)](p);"undefined"!==typeof p[f(177)]&&n[f(689)](p[f(177)])});n[f(768)];){var m=n[f(504)]();if(!g.has(m)){d= [];g[f(598)](m,d);if("cell"===m[f(1397)]){var k=m.w,h=m.x;let p=m.y;(h=k[f(1512)][h])&&h[f(1121)]&&!g.has(h)&&(n[f(689)](h),d[f(689)](h));(k=k[f(746)][p])&&k.chain&&!g[f(680)](k)&&(n.push(k),d[f(689)](k))}if(m=m.chain)for(let [p]of m)!g[f(680)](p)&&(n[f(689)](p),d[f(689)](p))}}return l(g)},set:q,createChainMap:e,applyChain:b,createChainFromRange:c,destroyIndirect:function(d){const f=a0_0x11da;d[f(331)]&&(d[f(331)][f(272)](g=>{q[f(544)](this,d,g,!1,!0)}),delete d[f(331)])},build:function(d){const f= a0_0x11da;d[f(272)](g=>{let n=typeof g.range!==f(792)?g[f(1219)]:g.value;q[f(544)](g.w,g,n,!0)})},getAll:function(d){const f=a0_0x11da;let g=new Map;const n=[];for(d[f(272)](p=>{n[f(689)](p)});n.length;){var m=n.pop();if(!g[f(680)](m)){d=[];g[f(598)](m,d);if("cell"===m[f(1397)]){var k=m.w,h=m.x;let p=m.y;(h=k[f(1512)][h])&&h[f(1121)]&&!g[f(680)](h)&&(n[f(689)](h),d[f(689)](h));(k=k[f(746)][p])&&k[f(1121)]&&!g[f(680)](k)&&(n[f(689)](k),d.push(k))}if(m=m[f(1121)])for(let [p]of m)!g.has(p)&&(n[f(689)](p), d.push(p))}}return l(g)}}}(),Na=function(u){const q=a0_0x11da;let l,e;return u[q(1265)]&&u[q(1265)][0]?(l=u[q(1265)][0][q(167)],e=u[q(1265)][0][q(1207)]):(l=u[q(167)],e=u[q(1207)]),[l,e]},Kb=function(){const u=a0_0x11da,q=function(l){const e=a0_0x11da;if(K){!document.dictionary&&(document[e(520)]={});let b=Object.keys(l);for(let c=0;c<b.length;c++)document[e(520)][b[c]]=l[b[c]]}};return q[u(1460)]=function(l,e){if(K&&(document[u(520)]&&(l=document[u(520)][l]||l),e&&e[u(768)]))for(let b=0;b<e.length;b++)l= l[u(508)]("{"+b+"}",e[b]);return l},q}(),I=Kb.translate,V=function(u,q){u=document[a0_0x11da(1180)](u);return q&&q(u),u},Ea=function(u){var q=a0_0x11da;return(q=this[q(187)][q(1213)])?u*q:u},zb=function(u){const q=a0_0x11da;return V(q(287),l=>{l[q(238)](q(1370),0);l.classList[q(1049)]("jss_dialog");l[q(988)].add("jclose");l.addEventListener(q(1515),function(e){e.target===l&&50>e[q(889)][q(323)]-e[q(687)]&&50>e[q(490)]&&(e.target[q(959)][q(1110)]="",e[q(1342)](),e[q(633)](),e[q(542)](),u&&u(l))}); u&&l[q(857)](q(726),function(e){(!C[q(1088)]||e.relatedTarget&&!l[q(261)](e[q(1457)]))&&u(l)})})},Ta=function(u){return K?u instanceof Element||u instanceof HTMLDocument||u instanceof DocumentFragment:!1},K=typeof window!==a(792)&&typeof window.document!==a(792),Ab=function(){let u=document.activeElement;for(;u&&u[a(311)]&&u.shadowRoot[a(1254)];)u=u[a(311)][a(1254)];return u},Bb=function(u){let q=fa[a(425)][a(544)](u)||0;return u[a(1517)][q]},ta=function(u){return u?JSON.parse(JSON.stringify(u)): null},Wb=function(u){u={...this[a(1512)][u]};return delete u.x,delete u[a(712)],delete u[a(612)],u},rb=function(u){if(Array[a(177)](u))!u[a(768)]&&(u=null);else if(jSuites[a(202)](u)){let q=[];for(let l=0;l<u;l++)q.push(l);return q[a(768)]?q:null}return u},Ua=function(u,q,l){if(u){let e=u.length,b=u[0],c=u[e-1];for(let d=0;d<q[a(768)];d++){let f=q[d];f>=b&&f<=c&&(l?(e++,c++):e--)}if(e!==u[a(768)]){u=[];for(q=0;q<e;q++)u[a(689)](b+q);return u}}return!1},hb=function(u){if(u[a(1006)]||u[a(1272)]||u.locale){let q= {};u[a(1272)]?q[a(1272)]=u[a(1272)]:u[a(1006)]?q.mask=u[a(1006)]:q[a(246)]=u.locale;return u[a(187)]&&(q.options=u.options),u[a(892)]&&(!q[a(187)]&&(q[a(187)]={}),q.options={decimal:u[a(892)]}),q}return null},ib=Symbol(a(338)),Fa=function(u,q){let l=0,e=u[a(768)];for(let b=0;b<e;b++)u[b]!==q&&(b!==l&&(typeof u[b]===a(792)?typeof u[l]!==a(792)&&delete u[l]:u[l]=u[b]),l++);u[a(768)]=l},Lb=function(u){let q=u[a(768)];for(let l=0;l<q;l++)"undefined"===typeof u[l]&&delete u[l]},Ja=function(u,q,l){let e= this.splice(u,q);e[a(768)]<q&&(e[a(768)]=q);u<l?(this[a(768)]<l-(q-1)&&(this[a(768)]=l-(q-1)),this[a(804)](l-(q-1),0,...e)):this[a(804)](l,0,...e)},jb=function(u,q){q=[a(433),this[a(249)][a(216)](0,8),q?q:a(959)];return typeof u!==a(792)&&q[a(689)](u),q[a(1410)]("_")},sb=function(u){if(K){var q=this[a(529)][u];if(q&&q[a(768)]){u=jb[a(544)](this,void 0,u);let l=[];for(let e=0;e<q[a(768)];e++){let b="";typeof q[e]===a(1466)?b=q[e]:q[e]&&q[e][a(1006)]&&(b=Object[a(1464)](q[e][a(1006)]).map(function([c, d]){return"\t"+c+": "+d+a(539)}),b=b[a(1410)](""));b&&l.push(a(1195)+u+"_"+e+a(376)+b+"\n}")}q=this[a(1551)][a(254)]("#"+u);!q&&(q=document[a(1180)]("style"),q.id=u,this[a(529)].nonce&&(q[a(357)]=this[a(529)][a(357)]),this[a(1551)].appendChild(q));q[a(556)]=l[a(1410)]("\n")}}},bb=function(u){return typeof this[a(1062)][a(529)][u]===a(595)},Mb=function(u){return"="===u||"!"===u||">"===u||"<"===u},ha=function(u,q){return u&&typeof u===a(1466)&&"="===u[0]&&(u[1]||q)},ia=function(u){return typeof u=== a(792)||null===u||""===u},Oa=function(u,q){let l="",e=!1;-1!==u[a(904)]("&")&&(u=u.replace(new RegExp(a(320),"g"),"<"),u=u[a(508)](new RegExp(a(501),"g"),">"));for(let b=0;b<u.length;b++){if('"'===u[b]||"'"===u[b])e?e===u[b]&&(e=!1):e=u[b];e?l+=u[b]:!/\s/g[a(860)](u[b])&&(l+=u[b][a(497)](),!0===q&&0<b&&"="===u[b]&&Mb(u[b-1])&&Mb(u[b+1])&&(l+="="))}return l},cb=function(u){let q=this[a(1512)];return q[u]&&q[u][a(249)]?q[u][a(249)]:u},Ka=function(u,q){let l=q;return this[a(173)]&&0<=q&&(l=cb[a(544)](this, q)),typeof l===a(1341)?u[l]:jSuites[a(1422)][a(544)](u,l)},da=function(u,q,l,e){var b=this[a(187)][a(512)];let c=b[q];!c&&"undefined"!==typeof l&&(c=b[q]=this[a(173)]?{}:[]);c&&(b=u,this[a(173)]&&0<=u&&(b=cb[a(544)](this,u)),typeof l===a(792)?"number"===typeof b?l=c[u]:l=jSuites[a(1422)][a(544)](c,b):(typeof b===a(1341)?c[u]=l:jSuites[a(1422)][a(544)](c,b,l,e),u=this[a(1396)][q][u],typeof u!==a(792)&&(ia(l)&&(l=null),u.v=l,ha(l)&&(u.value=l))));return l},ba=function(u){return!1===this[a(529)].editable|| u&&!1===u.options.editable?!1:this[a(683)]?7<=this[a(683)]:!0},db=function(){const u=function(q){const l=a0_0x11da;q[l(413)]=u[l(598)];q[l(938)]=u.is};return u[a(598)]=function(q,l){let e,b,c,d=a(975),f=null;if(typeof q===a(1466)){let [g,n]=F[a(648)](q);(e=N[a(318)].call(this,g,n))&&e[a(712)]&&(f=e[a(712)])}else Ta(q)&&(f=q,b=f[a(573)](a(1472)),c=f[a(573)](a(1521)),q=F[a(393)](b,c),e=this[a(1396)][c][b]);f&&(l?f[a(988)][a(1049)](d):f[a(988)][a(381)](d));!e.options&&(e.options=Wb[a(544)](this,e.x)); e.options[a(975)]=!!l;X[a(544)](this,a(413),[q,l])},u.is=function(q,l,e){if(typeof q===a(1466)&&"undefined"===typeof l){var b=F[a(648)](q);q=b[0];l=b[1]}var c=this[a(746)][l];let d=this[a(1512)][q];if(c&&d){b=null;c=[c.readOnly,c[a(975)],d[a(1020)],d[a(975)]];if((l=this[a(1396)][l])&&l[q]&&((q=l[q][a(187)])&&(c[a(689)](q[a(1020)]),c[a(689)](q[a(975)])),!(e||!0!==this[a(187)][a(489)]||q&&!1===q[a(489)])))return!0;for(e=0;6>e;e++)typeof c[e]===a(677)&&(b=c[e]);return b}},u}(),Ia=function(){let u=a(647); const q=function(e){this[a(1003)]&&(this[a(1003)][a(988)][e](u),S[a(846)][a(544)](this),Q[a(846)][a(544)](this))},l=function(e){e[a(1009)]=l.show;e[a(1509)]=l[a(402)]};return l.state=function(){let e=!0;return this[a(1003)]&&(e=!this[a(1003)][a(988)][a(261)](u)),e},l[a(787)]=function(){return l[a(306)][a(544)](this)?C[a(915)]:0},l[a(1228)]=function(){q.call(this,a(381))},l[a(402)]=function(){q[a(544)](this,"add")},l[a(747)]=function(){},l}(),Xb=function(u){var q;"object"===typeof window&&typeof window[a(1333)]=== a(595)?q=window[a(1333)]:q=function(f){return Buffer[a(1048)](f,a(1243))[a(930)]()};if(typeof u===a(792))return this[a(683)];let l=1,e=[];const b=[74,50,48,50,48,33][a(1410)](""),c=function(f,g){let n=jSuites[a(958)],m="",k="";128<f[a(768)]&&(f=n(f));for(let h=0;128>h;h++){let p=f[h]?f[h][a(437)](0):0;m+=String.fromCharCode(54^p);k+=String[a(487)](92^p)}return n(k+n(m+g))};try{if(u){var d=q(u);d=d[a(1126)](",");if(d[1])if(d[1]=q(d[1]),d[0]!==c(b,d[1]))l=3;else if(d[1]=JSON[a(710)](d[1]),d[1].date){let f= a(226);u=!1;if(typeof window!==a(792)&&window[a(415)][a(1354)])for(f=window[a(415)].hostname,q=0;q<d[1][a(1535)][a(768)];q++)-1===d[1][a(1535)][q][a(904)](".")?f===d[1][a(1535)][q]&&(u=!0):(f===d[1][a(1535)][q]||f.endsWith("."+d[1].domain[q]))&&(u=!0);else C[a(916)]&&d[1][a(916)]===C[a(916)]&&(u=!0);if(!1===u)l=4;else if(d[1][a(751)]&&0<=d[1][a(751)][a(904)](a(926)))if(K||d[1][a(751)]&&0<=d[1][a(751)][a(904)](a(979))){f=new Date;u=parseInt(f[a(342)]()/1E3);let g=wa();if(d[1].date<u)d[1].demo||!d[1][a(962)]|| d[1][a(1445)]+2592E3<u?l=6:l=7,g[a(293)]=d[1][a(249)]+a(1387);else{l=8;let n=parseInt(d[1][a(962)]);g[a(293)]=a(755)+d[1].name;31===n||33===n||34===n||35===n||22===n||23===n?g[a(1363)]=a(1014):g.edition=a(966);e=d[1][a(751)]}}else l=5;else l=5}else l=4;else l=2}}catch(f){}u="";1===l?u="License required":2===l||3===l||4===l?u="A valid license is required":5===l?u=a(1256):6!==l&&7!==l||(u=a(902));Object.defineProperty(this,a(683),{value:l,writable:!1,configurable:!1,enumerable:!1,extensible:!1});Object.defineProperty(this, "edition",{value:wa()[a(1363)]===a(1014)?1:0,writable:!1,configurable:!1,enumerable:!1,extensible:!1});Object[a(380)](this,a(751),{get:function(){return e},configurable:!1,enumerable:!1,extensible:!1});if(K){d=document[a(1180)](a(287));d[a(959)][a(1520)]=a(351);d[a(959)][a(1480)]="10px";d.style[a(1072)]="pointer";d[a(163)]=function(){window.location.href=wa().host+"/v12"};d[a(517)](document[a(1192)](u));if(8>l)try{if(typeof sessionStorage!==a(792)&&!sessionStorage.getItem(a(1279))){sessionStorage.setItem(a(1279), !0);let f=document[a(1180)](a(492));f[a(1095)]=wa()[a(1107)]+"/jspreadsheet/logo.png";f.style[a(1110)]=a(1035);d[a(517)](f)}}catch(f){}return d}},S=function(){const u=function(k){const h=a0_0x11da;typeof k!==h(1341)&&(k=parseInt(k));let p,r=k;for(this[h(314)]&&(k=this[h(314)][h(904)](k));0<k;)if(k--,p=this.results?this[h(314)][k]:k,Z.isVisible[h(544)](this,p)){r=p;break}return r},q=function(k){const h=a0_0x11da;typeof k!==h(1341)&&(k=parseInt(k));let p=k;for(;0<k;)if(k--,aa[h(629)].call(this,k)){p= k;break}return p},l=function(){const k=a0_0x11da;let h,p=this.content.offsetHeight-this[k(1109)][k(1474)]-xa[k(641)][k(544)](this,!0),r=0;for(let t=0;t<this[k(166)][k(562)][k(768)];t++)h=this[k(166)][k(562)][t][k(1474)],p>h&&(r+=h,p-=h);return r},e=function(){const k=a0_0x11da;let h,p=this.content[k(1463)]-va[k(1434)][k(544)](this,!0),r=0;for(let t=0;t<this[k(769)][k(562)].length;t++)h=this.headerContainer[k(562)][t][k(1463)],p>h&&(r+=h,p-=h);return r},b=function(k){const h=a0_0x11da;-1===this[h(904)](k)&& this[h(689)](k)},c=function(k){const h=a0_0x11da;let p;var r;var t=La[h(535)].call(this);k<t&&(this[h(769)][h(959)][h(535)]=t+"px",r=!0);for(k=0;k<this[h(1403)].length;k++)p=this[h(746)][this[h(1403)][k]],p[h(712)]?(t=p.element.offsetHeight,t&&(t>p[h(535)]||!p[h(535)])&&(p[h(712)][h(959)].height=t+"px",p[h(535)]=t,r=!0)):r=!0;r&&(t=this[h(1062)][h(529)][h(895)]||1,r=xa[h(641)][h(544)](this),this[h(535)]=m[h(535)][h(544)](this)+r+3,this.scroll[h(959)][h(535)]=this[h(535)]+t+"px")},d=function(k,h){const p= a0_0x11da;let r=null,t;var v,w,z=0;var y=this[p(1396)];var x=this[p(1512)][p(768)];let A=this.rows[p(768)];for(t=0;t<x;t++)if((!0===h||-1===k[p(904)](t))&&aa[p(518)][p(544)](this,t))for(aa[p(541)][p(544)](this,t),v=0;v<A;v++)(w=y[v])&&(w=w[t],w&&w[p(712)]&&w[p(712)][p(381)]());if(this[p(187)][p(367)])for(v=0;v<this[p(1109)][p(562)].length-1;v++)z+=this[p(1109)][p(562)][v][p(1474)];for(t=0;t<k[p(768)];t++){y=k[t];x=La[p(622)][p(544)](this,y);v=this[p(1512)][y];if(r){if(!x[p(870)]){this.headerContainer[p(1115)](x, this[p(769)][p(562)][r][p(576)]);this.colgroupContainer[p(1115)](v[p(612)],this[p(1043)].children[r][p(576)]);if(this[p(187)].footers)for(v=0;v<this[p(187)][p(610)][p(768)];v++)this[p(431)].children[v][p(1115)](Pa[p(622)][p(544)](this,y,v),this.tfoot.children[v][p(562)][r].nextSibling);z&&(x[p(959)][p(564)]+=z)}for(v=0;v<this[p(1403)][p(768)];v++)w=this[p(1403)][v],w=N[p(622)][p(544)](this,y,w),!w.parentNode&&this.tbody.children[v][p(1115)](w,this[p(166)][p(562)][v].children[r][p(576)])}else{if(!x[p(870)]){this[p(769)][p(1115)](x, this[p(769)][p(562)][1]);this[p(1043)][p(1115)](v[p(612)],this[p(1043)][p(562)][1]);if(this.options[p(610)])for(v=0;v<this[p(187)][p(610)][p(768)];v++)this.tfoot[p(562)][v].insertBefore(Pa[p(622)][p(544)](this,y,v),this[p(431)][p(562)][v][p(562)][1]);z&&(x[p(959)][p(564)]+=z)}for(v=0;v<this[p(1403)][p(768)];v++)w=this[p(1403)][v],w=N.create[p(544)](this,y,w),!w[p(870)]&&this.tbody[p(562)][v][p(1115)](w,this[p(166)][p(562)][v][p(562)][1])}r=Array[p(1449)][p(904)][p(544)](this[p(769)][p(562)],x)}if(this[p(187)][p(367)])for(v= 0;v<this.options[p(367)][p(768)];v++){r=null;z=[];w=Ga.getColumns[p(544)](this,v);for(t=0;t<k[p(768)];t++)typeof w[k[t]]!==p(792)&&-1===z[p(904)](w[k[t]])&&z[p(689)](w[k[t]]);for(t=0;t<this.options[p(367)][v][p(768)];t++)(!0===h||-1===z[p(904)](t))&&this[p(679)].content[v][t]&&this.nested[p(1305)][v][t][p(712)]&&this[p(679)][p(1305)][v][t][p(712)].remove();for(t=w=0;t<z.length;t++)y=Ga[p(622)][p(544)](this,z[t],v),!y.parentNode&&(r?this[p(1109)][p(562)][v][p(562)][r]?this[p(1109)][p(562)][v][p(1115)](y, this.thead.children[v][p(562)][r].nextSibling):this[p(1109)][p(562)][v].appendChild(y):this[p(1109)][p(562)][v][p(1115)](y,this.thead[p(562)][v][p(562)][1]),y[p(959)].top=this[p(679)][p(535)][v]+"px",this[p(187)].freezeColumns&&this[p(187)].nestedHeaders[v][z[t]][p(1089)]&&(y[p(959)][p(297)]=w+(Ia[p(306)][p(544)](this)?C[p(915)]:0)+"px",y[p(988)].add(p(1286)),w+=y[p(1463)])),r=Array[p(1449)][p(904)].call(this[p(1109)][p(562)][v][p(562)],y)}this.visibleCols=k},f=function(k,h){const p=a0_0x11da;let r= [],t=null,v,w;for(v=0;v<this.tbody[p(562)].length;v++)r[p(689)](this.tbody[p(562)][v]);for(v=0;v<r.length;v++)w=parseInt(r[v][p(573)]("data-y")),-1!==k[p(904)](w)&&!0!==h||r[v][p(381)]();for(v=0;v<k[p(768)];v++)h=Z[p(622)][p(544)](this,k[v]),!h[p(870)]&&(t?this[p(166)][p(1115)](h,t[p(576)]):this[p(166)][p(1115)](h,this.tbody[p(335)])),t=h;this[p(1403)]=k},g=function(k){const h=a0_0x11da;var p=[],r=0;let t=this.content[h(1495)];var v=this.content.offsetWidth;var w=this[h(187)][h(964)];let z=S[h(618)][h(544)](this)&& !1!==this[h(187)][h(643)];var y=this.cols[h(768)];var x=null,A=null;if(z){r=t;let D=r+v,G=0;var B=0;if(w){for(v=0;v<w.length;v++)B=w[v],aa[h(629)][h(544)](this,B)&&(x=aa[h(787)].call(this,B),p[h(689)](B),G+=x,x=B),B++;r+=G}for(v=B;v<y;v++)aa[h(629)][h(544)](this,v)&&(B=aa[h(787)][h(544)](this,v),G+B>r&&G<=D&&p[h(689)](v),G+=B);(v=Ba[h(327)][h(544)](this,p,0))&&(p=v);if(this.options[h(367)])for(A=x,v=0;v<p.length;v++)if(r=Ga[h(780)][h(544)](this,p[v])){for(y=0;y<r[h(768)];y++)this[h(1512)][r[y]]&& b.call(p,r[y]);y=Math[h(162)](...r);p[v]<=x&&y>A&&(A=y)}p.sort(function(J,L){return J-L})}else{if(w)for(v=0;v<w[h(768)];v++)r=w[v],aa[h(629)][h(544)](this,r)&&(x=r);for(v=0;v<y;v++)p[h(689)](v)}v=La.height.call(this);!k&&F.compareArray(p,this[h(283)])||(d[h(544)](this,p,k),eb[h(836)][h(544)](this),va[h(846)][h(544)](this),xa[h(846)][h(544)](this));v&&c.call(this,v);this.firstCol=null===x?0:p[h(904)](x)+1;z&&!0!==this[h(1062)][h(529)][h(1154)]&&(k=null,null!==x&&A&&(k=m.width[h(544)](this,A),A=aa.width[h(544)](this, A),w=aa[h(297)][h(544)](this,w[0]),k=-1*(k+A+w)),p=m[h(787)].call(this,p[this[h(199)]])-t,0<p&&(p=0),null!==k&&k>p&&(p=k),this[h(353)].left!==p&&(this[h(353)][h(297)]=p,this[h(681)][h(959)].left=p+"px",this[h(1109)][h(1369)][h(335)].style[h(1041)]="1px",setTimeout(()=>{this[h(1109)][h(1369)][h(335)].style.marginLeft=""},0)))},n=function(k){const h=a0_0x11da;let p=[];var r;let t=null;var v=0;let w=this.content.scrollTop;var z=this[h(1305)][h(1474)];var y=this[h(187)][h(1555)];let x=S.limited[h(544)](this)&& !this[h(187)][h(1350)]&&!1!==this[h(187)][h(967)];var A=null;if(x){var B=w;v=B+z;var D=0;let G=0;this[h(314)]?r=this[h(314)]:r=this.rows;let J=r[h(768)];if(y){for(z=0;z<y[h(768)];z++)G=y[z],Z.isVisible[h(544)](this,G)&&(A=Z[h(535)][h(544)](this,G),p[h(689)](G),D+=A,A=G),G++;B+=D}for(z=G;z<J;z++)this[h(314)]?t=r[z]:t=z,Z[h(629)][h(544)](this,t)&&(y=Z[h(535)][h(544)](this,t),D+y>B&&D<v&&b.call(p,t),D+=y)}else{if(y)for(z=0;z<y.length;z++)D=y[z],Z.isVisible.call(this,D)&&(A=D);this[h(314)]?r=this[h(314)]: r=this[h(746)];(z=this[h(187)][h(1350)])?(B=z*this[h(438)],v=B+z,v>r.length&&(v=r[h(768)])):(B=0,v=r.length);for(z=B;z<v;z++)this[h(314)]?t=r[z]:t=z,p.push(t)}this[h(1516)]&&this[h(1516)][h(746)][h(768)]&&((r=Ba[h(327)][h(544)](this,p,1))&&(p=r),p[h(1037)](function(G,J){return G-J}));(k||!F[h(973)](p,this[h(1403)]))&&(f[h(544)](this,p,k),this[h(283)]=null);this[h(1471)]=null===A?0:p[h(904)](A)+1;x&&!0!==this[h(1062)][h(529)][h(1154)]&&(k=m[h(535)][h(544)](this,p[this.firstRow])-w,0<k&&(k=0),this[h(353)][h(564)]!== k&&(this[h(353)].topt=k,this[h(681)][h(959)][h(564)]=k+"px",this[h(1109)][h(1369)][h(335)][h(959)].marginTop=h(374),setTimeout(()=>{this[h(1109)].lastChild[h(335)][h(959)].marginTop=""},0)))},m={};return m[a(747)]=function(){let k=this;this[a(813)]=V(a(287),h=>{h[a(721)]="jss_scroll";k[a(1305)][a(1115)](h,k[a(1305)][a(335)])});this.content.addEventListener(a(813),function(){!m[a(1353)]&&(m[a(836)].call(k),Q[a(846)][a(544)](k))},{passive:!0});this[a(1305)][a(857)](a(826),function(h){var p=!1;typeof h[a(1343)]!== a(792)?p=0===h[a(1343)]%120:typeof h[a(1297)]!==a(792)&&(p=0===h.detail%3);if(p&&S.limited.call(k)&&!k[a(187)].pagination){p=Math[a(1359)](h.deltaX);let r=Math[a(1359)](h.deltaY);h[a(169)]||p>r?0>h[a(743)]||0>h[a(511)]?m.left[a(544)](k):m[a(351)][a(544)](k):0>h[a(511)]?m.up[a(544)](k):m[a(1011)][a(544)](k)}},{passive:!0})},m[a(302)]=function(){let k=this.scroll[a(959)];if(S.limited[a(544)](this)){let h=this[a(1062)].config[a(895)]||1,p=va.getWidth[a(544)](this),r=xa[a(641)][a(544)](this);this[a(787)]= m[a(787)][a(544)](this)+p+3;this.height=m.height.call(this)+r+3;k[a(787)]=this[a(787)]+h+"px";k[a(535)]=this[a(535)]+h+"px"}else k[a(787)]="",k[a(535)]=""},m.update=function(k){n[a(544)](this,k);g.call(this,k)},m.refresh=function(){K&&(m[a(302)][a(544)](this),m[a(836)][a(544)](this,!0))},m["goto"]=function(k,h){if(null!=k){var p=this[a(187)][a(1555)];let r=0;p&&k<=p[p[a(768)]-1]||(r=m[a(535)].call(this,k));this[a(1305)].scrollTop=r}typeof h!==a(792)&&null!=h&&(k=this[a(187)][a(964)],p=0,k&&h<=k[k[a(768)]- 1]||(p=m.width.call(this,h)),this[a(1305)][a(1495)]=p)},m.up=function(k,h){if(this[a(1471)]){let p=this[a(187)].freezeRows[0];if(h<=p)return}k?this[a(1305)][a(871)]=0:this[a(166)][a(562)][this[a(1471)]+1]&&(k=this.tbody[a(562)][this[a(1471)]+1][a(573)](a(1521)),k=u[a(544)](this,k),h=Z[a(535)][a(544)](this,k),k=this.tbody[a(562)][this[a(1471)]][a(573)](a(1521)),!Z[a(518)][a(544)](this,k)&&(h+=this[a(1305)][a(871)]-this[a(681)].offsetTop),this.content[a(871)]-=h)},m.down=function(k,h){if(this.firstRow){let p= this[a(187)].freezeRows[0];if(h<=p)return}k?this.content[a(871)]=this[a(1305)][a(568)]:(k=this.tbody[a(562)][0+this.firstRow])&&(this[a(1305)][a(871)]+=k[a(1474)])},m[a(297)]=function(k,h){if(this.firstCol){let p=this[a(187)].freezeColumns[0];if(h<=p)return}if(k)this[a(1305)].scrollLeft=0;else if(k=this[a(769)][a(562)][1+this.firstCol])k=k.getAttribute(a(1472)),k=q[a(544)](this,k),h=aa.width.call(this,k),!aa[a(518)][a(544)](this,k)&&(h+=this.content.scrollLeft-this[a(681)][a(1412)]),this[a(1305)][a(1495)]-= h},m[a(351)]=function(k,h){if(this[a(199)]){let p=this[a(187)][a(964)][0];if(h<=p)return}k?this[a(1305)][a(1495)]=this.content[a(776)]:(k=this[a(769)].children[1+this.firstCol])&&(this[a(1305)][a(1495)]+=k[a(1463)])},m[a(851)]=function(){this[a(1305)][a(871)]-=l.call(this)},m[a(1329)]=function(){this[a(1305)][a(871)]+=l[a(544)](this)},m[a(519)]=function(){this[a(1305)][a(1495)]-=e.call(this)},m[a(443)]=function(){this[a(1305)].scrollLeft+=e[a(544)](this)},m.width=function(k,h,p){var r=0;!p&&(r=va[a(1163)].call(this)); p=0;let t=this[a(1512)][a(768)];for(;r<t;r++){if(k===r)return p;aa[a(629)].call(this,r)&&(p+=aa.width[a(544)](this,r));if(p>=h)return r}return h?r:p},m[a(535)]=function(k,h,p){var r=0;!p&&(r=xa[a(1471)][a(544)](this));p=0;let t=this[a(746)];this[a(314)]&&(t=this.results);let v,w=t.length;for(;r<w;r++){v=r;this[a(314)]&&(v=t[r]);if(k===v)return p;Z[a(629)][a(544)](this,v)&&(p+=Z.height[a(544)](this,v));if(p>=h)return v}return h?v:p},m.adjust=function(k,h,p){var r=this[a(1396)][h][k];if(!r||!r[a(1516)])if(r= 0,0===p||2===p)if((h=this[a(1512)][k])&&h.element){var t=this.content.scrollLeft,v=Ia.state[a(544)](this)?C[a(915)]:0,w=this[a(187)].freezeColumns,z;w?(r=va.getWidth[a(544)](this,!0),z=w[w[a(768)]-1]):z=0;r=t+r;w=t+this[a(1305)][a(1463)]-v;v=this[a(681)][a(1412)]+h[a(712)][a(1412)]-v;var y=h[a(712)][a(1463)];if(0===p){if(v+y<w&&k>z&&v<r)if(h[a(712)][a(1474)])p=t+(v-r),m[a(982)][a(544)](this,p);else m[a(441)][a(544)](this,null,k)}else if(k>z)if(v>r)v+y>w&&(p=t+(v+y-w+16),h[a(712)][a(870)]?m[a(982)][a(544)](this, p):m[a(441)].call(this,null,k));else m[a(441)][a(544)](this,null,k)}else m[a(441)][a(544)](this,null,k);else if((k=this[a(746)][h])&&k[a(712)])if(z=this[a(1305)][a(871)],(v=this[a(187)].freezeRows)?(r=xa[a(641)][a(544)](this,!0),t=v[v[a(768)]-1]):t=0,r=z+r,v=z+this[a(1305)][a(1474)]-this[a(1109)].offsetHeight-16,w=this[a(681)][a(840)]+k.element[a(840)]-this.thead.offsetHeight,y=k.element[a(1474)],1===p){if(w+y<v&&h>t&&w<r)if(k[a(712)].offsetHeight)p=z+(w-r),m[a(563)][a(544)](this,p);else m[a(441)][a(544)](this, h)}else{if(h>t)if(w>r){if(w+y>v)if(k[a(712)][a(870)])p=z+(w+y-v),m[a(563)][a(544)](this,p);else m[a(441)][a(544)](this,h)}else m[a(441)][a(544)](this,h,null)}else m[a(441)][a(544)](this,h)},m[a(982)]=function(k){m[a(1353)]=!0;this[a(1305)].scrollLeft=k;m[a(1353)]=!1},m.setY=function(k){m[a(1353)]=!0;this.content.scrollTop=k;m.ignore=!1},m[a(618)]=function(){return!0===this.parent[a(529)][a(1282)]||!0===this[a(1062)][a(529)][a(1452)]},m}(),kb=function(){const u=function(q){q.setViewport=u[a0_0x11da(598)]}; return u[a(598)]=function(q,l){let e=this.parent.config;e[a(1282)]=!0;q=parseInt(q);l=parseInt(l);150<q&&(e[a(475)]=q);150<l&&(e[a(1360)]=l);K&&(u[a(476)].call(this,this[a(1305)]),S[a(836)][a(544)](this),Ha[a(836)][a(544)](this[a(1062)],this));M[a(544)](this[a(1062)],a(1513),q,l)},u[a(1368)]=function(q){if(!ba[a(544)](this.parent,this))return!1;u.e=q;q[a(548)]=u},u.end=function(){u.e=null;let q=this.content;q[a(959)][a(787)]="";q[a(959)][a(535)]=""},u[a(836)]=function(){var q=this[a(1305)];let l= q.offsetWidth,e=this.parent[a(712)][a(1474)]-this[a(712)][a(1474)];q=q[a(1474)]+e;u.e[a(787)]===l&&u.e[a(535)]===q||u.set[a(544)](this,l,q)},u.updateDOM=function(q){this.parent[a(712)][a(988)].add(a(575));let l=this[a(1062)].config[a(475)];l&&(-1===l[a(930)]()[a(904)]("%")&&(l=parseInt(l)+"px"),this.parent[a(712)][a(959)][a(787)]=l);this.options[a(1350)]?(this.parent[a(712)][a(959)][a(535)]="",q[a(988)][a(1049)](a(1371))):(l=this[a(1062)][a(529)][a(1360)],l&&(-1===l[a(930)]()[a(904)]("%")&&(l=parseInt(l)+ "px"),this[a(1062)][a(712)][a(959)][a(535)]=l))},u[a(1307)]=function(){if(K){var q=this[a(1062)].config;if(q&&!0===q.tableOverflow){var l=this[a(1305)];let e=l[a(1463)];l=l[a(1474)]+l[a(840)];let b=q.tableWidth;q=q[a(1360)];e===b&&l===q||u[a(598)][a(544)](this,b,q)}}},u}(),lb=function(){const u=function(b,c,d,f){const g=a0_0x11da;1===b||3===b?!Z[g(518)][g(544)](this,d)&&(0<this[g(187)][g(1350)]?this[g(1402)](this.whichPage(d)):1===b?S.up[g(544)](this,f,d):S[g(1011)][g(544)](this,f,d)):!N[g(518)].call(this, c,d)&&(0===b?S[g(297)][g(544)](this,f,c):S[g(351)].call(this,f,c))},q=[a(522),"Up",a(1306),"Down"],l=function(b,c,d,f){let g=this.selectedCell;ja[a(1500)]()&&(g=ja[a(705)](b));if(g){var n,m;c?(n=parseInt(g[2]),m=parseInt(g[3])):(n=parseInt(g[0]),m=parseInt(g[1]));f=e[q[b]].call(this,n,m,d,f);if(f!==(1===b||3===b?m:n)){1===b||3===b?m=f:n=f;let k,h,p,r;c?(k=g[0],h=g[1],p=n,r=m):(k=n,h=m,p=k,r=h);u[a(544)](this,b,p,r,d);S[a(781)][a(544)](this,p,r,b);T[a(598)][a(544)](this,k,h,p,r)}}},e=function(b){b[a(297)]= l.bind(b,0);b.up=l[a(344)](b,1);b[a(351)]=l[a(344)](b,2);b[a(1011)]=l[a(344)](b,3);b.last=e[a(697)];b[a(1504)]=e.first};return e.first=function(b,c){Array[a(177)](this.selectedCell)&&(c?l[a(544)](this,1,b,!0,!0):l[a(544)](this,0,b,!0,!0))},e[a(697)]=function(b,c){Array[a(177)](this[a(1450)])&&(c?l[a(544)](this,3,b,!0,!0):l[a(544)](this,2,b,!0,!0))},e.state=function(b,c,d){return d?!ia(d.v):!ia(da[a(544)](this,b,c))},e.Up=function(b,c,d,f){let g,n=c,m,k=null;if(this[a(314)]&&(c=this.results[a(904)](c), -1===c))return n;for(;0<c;)if(c--,g=this[a(314)]?this[a(314)][c]:c,Z[a(629)][a(544)](this,g)){let h=this[a(1396)][g][b];m=e.state[a(544)](this,b,g,h);null===k&&(k=m);if(h&&h.element&&h.element[a(988)][a(261)](a(1473))){if(h[a(1516)]){n=h[a(1516)][0].y;if(!d)break;m=!0}}else if(d&&m!==k&&!f)break;else if(d)n=g;else return g;k=m}return n},e.Down=function(b,c,d,f){let g,n=c,m,k=null,h=this[a(746)][a(768)]-1;if(this[a(314)]){c=this[a(314)][a(904)](c);if(-1===c)return n;h=this[a(314)].length-1}for(;c< h;)if(c++,g=this[a(314)]?this.results[c]:c,Z[a(629)][a(544)](this,g)){let p=this[a(1396)][g][b];m=e[a(306)][a(544)](this,b,g,p);null===k&&(k=m);if(p&&p[a(712)]&&p.element.classList[a(261)](a(1473))){if(p[a(1516)]){if(p.y===p[a(1516)][0].y&&(n=g,!d))break;m=!0}}else if(d&&m!==k&&!f)break;else if(d)n=g;else return g;k=m}return n},e.Right=function(b,c,d,f){let g=this.cols[a(768)]-1,n=b,m,k=null;for(;b<g;)if(b++,aa[a(629)][a(544)](this,b)){let h=this[a(1396)][c][b];m=e[a(306)].call(this,b,c,h);null=== k&&(k=m);if(h&&h[a(712)]&&h[a(712)].classList[a(261)](a(1473))){if(h[a(1516)]){if(h.x===h[a(1516)][0].x&&(n=b,!d))break;m=!0}}else if(d&&m!==k&&!f)break;else if(d)n=b;else return b;k=m}return n},e[a(522)]=function(b,c,d,f){let g=b,n,m=null;for(;0<b;)if(b--,aa[a(629)][a(544)](this,b)){let k=this[a(1396)][c][b];n=e[a(306)][a(544)](this,b,c,k);null===m&&(m=n);if(k&&k[a(712)]&&k[a(712)][a(988)][a(261)]("jss_hidden")){if(k[a(1516)]){g=k[a(1516)][0].x;if(!d)break;n=!0}}else if(d&&n!==m&&!f)break;else if(d)g= b;else return b;m=n}return g},e}(),Yb=function(){const u=function(q){const l=a0_0x11da;q[l(898)]=function(e){Qa.call(this[l(1062)],e)};q[l(808)]=function(){return ba[l(544)](q.parent,q)};q.helpers=F;q[l(479)]=C[l(883)].undo;q.redo=C[l(883)][l(322)];q[l(441)]=S[l(441)];q[l(1271)]=function(){C[l(1271)]&&C[l(1271)](q)};q[l(851)]=function(){0<this[l(187)][l(1350)]?eb[l(851)][l(544)](this):S[l(851)][l(544)](this)};q[l(1329)]=function(){0<this[l(187)][l(1350)]?eb[l(1329)].call(this):S[l(1329)][l(544)](this)}; q.rotate=u.rotate};return u.rotate=function(q,l){const e=a0_0x11da;let b,c,d=null,f=[];if(typeof q===e(1466))c=F[e(648)](q),f.push({x:c[0],y:c[1],value:{rotate:l},update:!0});else if(Array.isArray(q))for(b=0;b<q[e(768)];b++)c=F[e(648)](q[b]),f[e(689)]({x:c[0],y:c[1],value:{rotate:l},update:!0});for(b=0;b<f[e(768)];b++)(c=N[e(318)].call(this,f[b].x,f[b].y))&&c.element&&(d=c.element[e(335)],l?(!(d&&d[e(988)]&&d.classList[e(261)]("jss_rotate"))&&(d=document[e(1180)](e(1420)),d[e(988)][e(1049)](e(442)), d[e(1112)]=c[e(712)][e(1112)],c.element[e(1112)]="",c[e(712)].appendChild(d)),d[e(959)][e(534)]="rotate("+parseInt(l)-270+"deg)"):d&&d[e(988)]&&d[e(988)][e(261)](e(442))&&(d[e(988)][e(381)](e(442)),d.style[e(534)]=""));Xa[e(598)].call(this,f)},u}(),Cb=function(){const u=function(q){const l=a0_0x11da;q[l(1365)]=u.get;q[l(1198)]=u[l(598)]};return u[a(527)]=function(q,l){let e=[];q[a(372)]&&"function"===typeof C[a(947)]&&e[a(689)](new Promise(function(c,d){C.client[a(640)](q,function(f){f[a(593)]?d(f): (Object[a(1113)](q,f),c())})}));let b=q[a(1517)];if(b&&b.length){let c={headers:{"Content-Type":a(1047)}};for(let d=0;d<b.length;d++)if(b[d]){if(b[d].csv)e[a(689)](fetch(b[d][a(399)])[a(1129)](f=>f.text())[a(1129)](f=>{var g=b[d];const n=a0_0x11da;var m=g[n(282)]||",";f=F[n(528)](f,m);if(f[n(768)]){if(!0===g[n(252)]){!g[n(1294)]&&(g.columns=[]);m=f[n(819)]();for(let k=0;k<m[n(768)];k++)!g.columns[k]&&(g.columns[k]={}),"undefined"===typeof g[n(1294)][k].title&&(g[n(1294)][k][n(1505)]=m[k])}g[n(512)]= f}}));else b[d][a(1407)]&&e.push(fetch(b[d][a(1407)],c).then(f=>f.json())[a(1129)](f=>b[d][a(512)]=f));if(b[d][a(1294)])for(let f=0;f<b[d][a(1294)].length;f++)b[d][a(1294)][f]&&b[d].columns[f].url&&e[a(689)](fetch(b[d][a(1294)][f][a(1407)],c).then(g=>g[a(914)]())[a(1129)](g=>b[d][a(1294)][f][a(1246)]=g))}}e[a(768)]?Promise[a(1199)](e)[a(1129)](l)["catch"](c=>{typeof q[a(245)]===a(595)?q[a(245)](null,c):console[a(593)](c)}):l()},u[a(198)]=function(q){let l,e;typeof this[a(529)]===a(1303)?(l=this[a(529)], e=this):!0===q?(l=this[a(1062)][a(529)],e=this[a(1062)]):l=this[a(187)];if(e)for(l[a(1517)]=[],q=0;q<e[a(1517)][a(768)];q++)l.worksheets[a(689)](e[a(1517)][q][a(187)]);return l},u[a(598)]=function(q,l){typeof q==a(1466)&&(q=JSON[a(710)](q));let e;this[a(1062)]?e=this:(e=this[a(1517)][0],l=!0);if(l){var b=e.parent,c=Object[a(931)](q);for(let d=0;d<c[a(768)];d++)e[a(1062)][a(529)][c[d]]=q[c[d]];if(K)if(q.resizable?this[a(712)][a(988)][a(1049)]("jss_resizable"):this[a(712)][a(988)][a(381)]("jss_resizable"), !0===q[a(491)])Ha[a(1228)][a(544)](b);else!1===q[a(491)]&&Ha[a(402)][a(544)](b)}else{typeof q[a(538)]!==a(792)&&la[a(402)][a(544)](this);b=Object.keys(q);for(c=0;c<b[a(768)];c++)this.options[b[c]]=q[b[c]];K&&(q.filters&&la[a(1228)][a(544)](this,q[a(538)]),!0===q[a(328)]?Va[a(1228)].call(this):!1===q.search&&Va[a(402)][a(544)](this),q[a(825)]&&q.minDimensions[0]&&(b=parseInt(q[a(825)][0])-this[a(1512)].length,0<b&&this[a(596)](b),b=parseInt(q[a(825)][1])-this.rows[a(768)],0<b&&this[a(383)](b)))}q= JSON[a(1030)](q);M[a(544)](e[a(1062)],a(785),q,l);X[a(544)](e,a(1198),[q,l])},u}(),P=function(){const u=function(e){const b=a0_0x11da;if(typeof e.undo===b(595))e[b(479)]();else{let f=e.worksheet,g;if(e[b(154)]===b(383))f[b(1392)](e[b(620)]);else if(e.action===b(1392))f[b(383)](e[b(620)]),N[b(1238)].call(f,e[b(1318)]);else if(e[b(154)]===b(596))f.deleteColumn(e.changes);else if(e[b(154)]===b(244))f.insertColumn(e[b(620)]),N[b(1238)][b(544)](f,e[b(1318)]);else if(e[b(154)]===b(963))f[b(233)](e[b(1396)]); else if("showRow"===e.action)f[b(963)](e[b(1396)]);else if(e[b(154)]===b(984))f[b(294)](e[b(1396)]);else if(e[b(154)]===b(294))f[b(984)](e.records);else if(e[b(154)]===b(939))Ba[b(381)][b(544)](f,e.newValue),f[b(939)](e[b(1391)]);else if("removeMerge"===e[b(154)])f[b(939)](e[b(1391)]);else if(e[b(154)]===b(445))f[b(445)](e[b(1391)],null,null,1);else if(e[b(154)]===b(1432))f[b(445)](e[b(1391)]);else if(e[b(154)]===b(1172))f[b(1172)](e[b(1470)],e[b(1391)]);else if(e[b(154)]===b(1248))f[b(1248)](e[b(1436)], e[b(1391)]);else if(e.action===b(771))f[b(771)](e.column,e[b(1391)]);else if(e.action===b(220)||e.action===b(345)||e[b(154)]===b(922))f[e[b(154)]](e.oldValue);else if(e[b(154)]===b(908))f.orderBy(e[b(1470)],e[b(611)]?0:1,e[b(1391)],e[b(389)]);else if("setValue"===e[b(154)]||"setProperty"===e[b(154)]){g=[];for(var c=0;c<e[b(1396)][b(768)];c++){var d={x:e[b(1396)][c].x,value:e[b(1396)][c][b(1391)],force:!0};typeof e[b(1396)][c].y!==b(792)&&(d.y=e[b(1396)][c].y);g[b(689)](d)}e[b(154)]===b(1447)?f.setValue(g): f.setProperty(g)}else if(e[b(154)]===b(384))f[b(1061)](e[b(849)]);else if(e[b(154)]===b(1061))f[b(384)](e[b(187)],e.index);else if(e[b(154)]===b(222))f[b(222)](e.index,e[b(1391)]);else if(e[b(154)]===b(153))f.moveWorksheet(e.t,e.f);else if(e[b(154)]===b(206)||e[b(154)]===b(707)){g=[];for(c=0;c<e[b(1396)][b(768)];c++)d=e[b(1396)][c],g[b(689)]({index:d[b(849)],value:d[b(1391)]});f[e[b(154)]](g)}else if(e[b(154)]===b(213))f[b(213)](e[b(849)],e[b(1391)],e.oldState);else if(e.action===b(809))f[b(970)](e[b(849)]); else if("closeRowGroup"===e[b(154)])f[b(809)](e.index);else if(e.action===b(900))f.resetColumnGroup(e[b(849)],e[b(1391)],e[b(1145)]);else if(e.action===b(692))f[b(1506)](e.index);else if(e[b(154)]===b(1506))f[b(692)](e[b(849)]);else if("setNestedCell"===e[b(154)])f[b(989)](e.oldValue);else if(e.action===b(1514))f[b(1514)](e[b(1391)]);else if("setWorksheetState"===e[b(154)])f.setWorksheetState(e[b(849)],!e[b(306)]);else if(e[b(154)]===b(875))f[b(875)](e[b(1391)]);else e.action===b(157)&&ca.batch[b(544)](f, e[b(1396)])}},q=function(e){const b=a0_0x11da;if(typeof e.redo===b(595))e[b(322)]();else{let c=e[b(873)];if("insertRow"===e[b(154)])c.insertRow(e[b(746)]);else if(e.action===b(1392))c[b(1392)](e[b(746)]);else if(e[b(154)]===b(596))c.insertColumn(e[b(1294)]);else if(e[b(154)]===b(244))c[b(244)](e[b(1294)]);else if(e.action===b(939))c[b(939)](e[b(942)]);else if(e.action===b(688))c[b(688)](e[b(942)]);else if(e.action===b(445))c[b(445)](e[b(942)]);else if(e[b(154)]===b(1432))c[b(1432)](e.cells);else if(e[b(154)]=== b(1172))c[b(1172)](e[b(1470)],e.newValue);else if(e[b(154)]===b(1248))c[b(1248)](e[b(1436)],e[b(942)]);else if(e[b(154)]===b(771))c[b(771)](e[b(1470)],e[b(942)]);else if(e.action===b(220)||e[b(154)]===b(345)||e.action===b(922))c[e[b(154)]](e.newValue);else if(e[b(154)]===b(908))c[b(908)](e[b(1470)],e[b(611)],e[b(942)]);else if(e[b(154)]===b(1447)||"setProperty"===e[b(154)]){let d=[];for(let f=0;f<e[b(1396)][b(768)];f++){let g={x:e[b(1396)][f].x,value:e[b(1396)][f].value,force:!0};typeof e[b(1396)][f].y!== b(792)&&(g.y=e.records[f].y);d.push(g)}e.action===b(1447)?c[b(1447)](d):c[b(348)](d)}else if(e[b(154)]===b(963)||e[b(154)]===b(233)||e.action===b(984)||e.action===b(294)||e[b(154)]===b(206)||e[b(154)]===b(707))c[e[b(154)]](e.records);else if("createWorksheet"===e[b(154)])c[b(384)](e[b(187)],e[b(849)]);else if(e[b(154)]===b(1061))c[b(1061)](e[b(849)]);else if(e[b(154)]===b(222))c[b(222)](e[b(849)],e[b(942)]);else if("moveWorksheet"===e[b(154)])c.moveWorksheet(e.f,e.t);else if(e[b(154)]===b(213))c[b(213)](e.index, e[b(370)]);else if(e[b(154)]===b(158))c[b(158)](e.index);else if(e[b(154)]===b(809))c[b(809)](e[b(849)]);else if(e[b(154)]===b(970))c[b(970)](e[b(849)]);else if(e[b(154)]===b(900))c[b(900)](e[b(849)],e.numOfItems);else if(e.action===b(660))c[b(660)](e[b(849)]);else if(e[b(154)]===b(692))c[b(692)](e[b(849)]);else if(e[b(154)]===b(1506))c[b(1506)](e[b(849)]);else if(e[b(154)]===b(989))c[b(989)](e[b(363)]);else if(e[b(154)]===b(1514))c[b(1514)](e.value);else if("setWorksheetState"===e[b(154)])c[b(1320)](e[b(849)], e[b(306)]);else if(e[b(154)]===b(875))c[b(875)](e.newValue);else e[b(154)]===b(157)&&ca[b(1146)].call(c,e[b(1396)])}},l=function(e){const b=a0_0x11da;if(!0!==l[b(1353)]&&!l.progress)if(l[b(1356)])!l[b(1364)][l[b(849)]][b(1356)]&&(l[b(1364)][l[b(849)]].cascade=[]),l.actions[l[b(849)]].cascade[b(689)](e);else{let c=++l.index;l.actions=l[b(1364)]=l[b(1364)][b(315)](0,c+1);l[b(1364)][c]=e}};return l.index=-1,l[a(1364)]=[],l[a(1356)]=!1,l[a(1353)]=!1,l.progress=null,l[a(479)]=function(){if(0<=l[a(849)]){let e= l[a(1364)][l[a(849)]--];if(e){l[a(496)]=a(479);let b=e[a(873)];b&&b!==C[a(1088)]&&b[a(308)]();u(e);if(e[a(1356)]&&e.cascade[a(768)])for(let c=0;c<e[a(1356)].length;c++)u(e.cascade[c]);b&&(e.selection?T.set[a(544)](b,...e.selection):Ha[a(836)][a(544)](b[a(1062)],b));l[a(496)]=null;M.call(b[a(1062)],a(949),b,e)}}},l.redo=function(){if(l[a(849)]<l[a(1364)].length-1){let e=l.actions[++l.index];if(e){l[a(496)]="redo";let b=e.worksheet;b&&b!==C[a(1088)]&&b.openWorksheet();q(e);if(e[a(1356)]&&e[a(1356)][a(768)])for(let c= 0;c<e.cascade[a(768)];c++)q(e[a(1356)][c]);b&&(e[a(301)]?T[a(598)][a(544)](b,...e.selection):Ha[a(836)][a(544)](b.parent,b));l.progress=null;M[a(544)](b[a(1062)],a(435),b,e)}}},l.reset=function(){l[a(849)]=-1;l[a(1364)]=[]},l}(),Qa=function(){const u=function(q){const l=a0_0x11da;let e,b,c,d,f=null;if(Array.isArray(q))f=q;else if("object"==typeof q){f=[];d=Object.keys(q);for(let g=0;g<d[l(768)];g++)f[l(689)]({name:d[g],plugin:q[d[g]],options:{}})}if(f&&f[l(768)])for(q=0;q<f[l(768)];q++)f[q][l(249)]&& f[q][l(1231)]&&(e=f[q].name,b=f[q][l(1231)],c=f[q][l(187)]),typeof b===l(595)&&(!this.plugins&&(this[l(686)]={}),this[l(686)][e]=b[l(544)](C,this,c,this[l(529)]),this[l(558)]=Object[l(931)](this.plugins),"function"==typeof b.license&&C[l(293)]&&b[l(293)](C[l(293)]))};u.execute=function(q,l){const e=a0_0x11da;if(this[e(686)]){let b=Object[e(931)](this.plugins);if(b[e(768)])for(let c=0;c<b[e(768)];c++)if("function"===typeof this.plugins[b[c]][q]){let d=this[e(686)][b[c]][q].apply(this[e(686)][b[c]], l);d&&(q===e(1251)?l[4]=d:q===e(491)&&(l[0]=d))}}return l};u[a(747)]=function(){this[a(898)]=u;this[a(529)][a(686)]&&u[a(544)](this,this[a(529)].plugins)};return u[a(1261)]=function(q){return function(){const l=a0_0x11da;let e,b,c,d,f,g=this.plugins;if(g&&(c=this.listOfPlugins,c[l(768)]))for(d=0;d<c[l(768)];d++)f=g[c[d]],typeof f[q]==l(595)&&(b=f[q].apply(f,arguments),typeof b!==l(792)&&(e=b));return e}}(a(1261)),u}(),ma=function(){const u=function(){const l=a0_0x11da;if(!this[l(1363)]||!this[l(1062)][l(570)][l(803)])return!1; let e=this[l(1512)];var b=this[l(1062)][l(1361)];let c=b[l(570)],d=b.x;b=b.y;let f=0;do{var g=N.instance[l(544)](this,d,b);if(g&&g[l(1516)]){g=g[l(1516)][0][l(1056)][0];for(let n=0;n<g;n++)f+=tb[l(198)].call(this,d),d++}else f+=tb[l(198)][l(544)](this,d),d++;c[l(959)].minWidth=f-1+"px"}while(e[d]&&c[l(1463)]>f)},q=function(l){const e=a0_0x11da;l[e(827)]=q[e(198)];l[e(691)]=q[e(1413)];l.closeEditor=q[e(325)]};return q[a(929)]=function(l){let e;return l&&l[a(1397)]&&(typeof l[a(1397)]===a(1303)?e=l[a(1397)]: e=C[a(366)][l[a(1397)]],!e&&customElements.get(l[a(1397)])&&(e=C[a(366)].webcomponent)),!e&&(e=C.editors[a(1533)]),e},q.get=function(l,e){l=Xa[a(198)][a(544)](this,l,e);return[q.getObject(l),l]},q[a(1413)]=function(l,e,b){if(!ba[a(544)](this[a(1062)],this)||!l)return!1;let c=parseInt(l[a(573)](a(1472))),d=parseInt(l[a(573)](a(1521)));if(db.is[a(544)](this,c,d))b&&(b[a(1342)](),b[a(633)](),b[a(542)]());else{let n=N[a(318)][a(544)](this,c,d);n[a(1516)]&&(l=n[a(1516)][0].element);if(N[a(518)].call(this, c,d))S[a(781)][a(544)](this,c,d,3),S[a(781)][a(544)](this,c,d,2),S[a(781)][a(544)](this,c,d,1),S.adjust[a(544)](this,c,d,0);else{if(this[a(314)]&&0<this[a(314)][a(768)])return Y.notification[a(544)](this[a(1062)],a(152)),!1;var f,g;!aa[a(518)][a(544)](this,c)&&(f=c);!Z[a(518)][a(544)](this,d)&&(g=d);S[a(441)][a(544)](this,g,f)}Q[a(1203)][a(544)](this,"copying",!0);q[a(1133)].call(this,c,d,!1);f=this[a(1062)].editor;if(!1===M.call(this[a(1062)],a(702),this,l,c,d))return!1;e=!0===e?"":da[a(544)](this, c,d);g=q[a(198)][a(544)](this,c,d);f[a(570)][a(556)]="";b&&(113===b[a(1377)]||b.type!==a(337))&&(f[a(1488)]=!0);f.x=c;f.y=d;f.w=this;f.component=g[0];f.options=g[1];let m=!0;typeof g[0].openEditor==a(595)&&(!1===g[0][a(691)](l,e,c,d,this,g[1],b)?m=!1:M[a(544)](this[a(1062)],a(923),this,l,c,d,f[a(570)],g[1]));m&&(!1!==this[a(187)].textOverflow&&(n[a(712)][a(959)][a(944)]=a(754),b=this[a(1396)][d][c-1],0<c&&b&&b[a(712)]&&(b.element.style[a(944)]=a(754))),this[a(1363)]=l,this[a(1062)][a(1361)][a(712)][a(988)][a(1049)](a(194)), !1!==this[a(1062)].config[a(326)]&&ha(e,!0)&&ja[a(1368)].call(this,f[a(570)]),u.call(this))}},q[a(325)]=function(l,e){if(null===l&&(l=this.edition,!l))return;let b=parseInt(l[a(573)]("data-x")),c=parseInt(l[a(573)](a(1521)));var d=N[a(318)].call(this,b,c);!1!==this[a(187)][a(658)]&&d&&d[a(712)]&&(d.element[a(959)][a(944)]="",0<b&&(d=N[a(318)][a(544)](this,b-1,c),d.element&&(d[a(712)][a(959)][a(944)]="")));var f=q.get.call(this,b,c);this.edition=d=null;!0===e?("function"==typeof f[0].closeEditor&& (f=f[0].closeEditor(l,!0,b,c,this,f[1]),"undefined"!==typeof f&&(d=f)),null!==d&&da.call(this,b,c)!==d?na[a(598)][a(544)](this,l,d):Q.refresh[a(544)](this)):(f[0][a(998)](l,!1,b,c,this,f[1]),Q[a(846)][a(544)](this));q.reset[a(544)](this);M[a(544)](this[a(1062)],a(656),this,l,b,c,d,e)},q[a(1133)]=function(l,e,b){var c=this[a(1396)][e][l];if(c&&c[a(712)]){var d=c.element;c=this[a(1062)].element[a(1400)]();d=d[a(1400)]();let f=this[a(1062)].editor;f.x=l;f.y=e;0===d[a(787)]||0===d[a(535)]?f[a(712)][a(959)].opacity= "0":(l=d.y-c.y+1,e=d.x-c.x+1,e-d[a(787)]>c.width&&(e=c.width-d[a(787)]),l-d[a(535)]>c.height&&(l-=d[a(535)]),f[a(712)].style[a(317)]="",f[a(712)][a(959)][a(651)]="",f.element[a(959)][a(564)]=l+"px",f[a(712)].style[a(297)]=e+"px",f[a(570)][a(959)][a(789)]=d[a(787)]-1+"px",f.input.style.minHeight=d[a(535)]-1+"px",b&&!ja[a(818)](!0)&&setTimeout(()=>{!ub[a(1323)][a(544)](this)&&f[a(570)][a(764)]({preventScroll:!0})},0))}},q.reset=function(){var l=this.parent.editor;l.element[a(988)][a(381)]("jss_focus"); l[a(1488)]=!1;l.w=null;l=l.input;l[a(988)][a(261)](a(1162))&&ja[a(997)]();l.className=a(1499);l[a(238)](a(803),!0);l[a(556)]="";l.style[a(1110)]="";l[a(1532)](a(421));l[a(1532)](a(1032));l[a(1272)]=null},q[a(747)]=function(l){let e=V(a(287),function(c){c[a(721)]="jss_input";c.setAttribute(a(803),!0);c[a(238)](a(1370),0);c[a(857)](a(570),function(d){let f=C[a(1088)];f&&(ma[a(1261)].call(f,d),ja[a(570)][a(544)](f,d[a(889)]),u[a(544)](f),M[a(544)](f[a(1062)],a(321),f,d,d.target[a(556)]))});c[a(857)](a(337), function(d){let f=C.current;f&&!1!==M[a(544)](C[a(1088)][a(1062)],a(601),C.current,d)&&(ma.onevent.call(f,d),f[a(1363)]&&ja.keydown(d))});c.addEventListener("click",function(d){let f=C[a(1088)];f&&(ma[a(1261)][a(544)](f,d),f[a(1062)][a(1361)][a(1488)]=!0,ja[a(1515)](d))});c[a(857)](a(669),function(d){let f=C[a(1088)];f&&ma[a(1261)].call(f,d)});c[a(857)](a(239),function(d){let f=C.current;f&&ma[a(1261)][a(544)](f,d)});c[a(857)]("focusout",function(d){let f=C.current;f&&(ma[a(1261)][a(544)](f,d),f[a(1363)]&& !c[a(988)][a(261)](a(1162))&&d[a(1457)]&&!c.parentNode[a(261)](d.relatedTarget)&&f.closeEditor(null,!0))});c[a(602)]=function(d,f){M.call(C.current[a(1062)],a(321),C.current,f,d)}}),b=V(a(287));return b[a(988)][a(1049)](a(1421)),b.appendChild(e),l[a(1361)]={element:b,input:e},l.input=e,V(a(424),c=>{c.onclose=function(d,f){d=a0_0x11da;let g=Bb(l);g&&g[d(998)](null,f!==d(1200))};c.input=e;c[a(646)]=!1;c.type=a(877);l[a(1361)][a(1226)]=c;l[a(1551)].appendChild(c)}),V("lm-color",c=>{c.onclose=function(d, f){d=a0_0x11da;let g=Bb(l);g&&g[d(998)](null,"escape"!==f)};c[a(570)]=e;c[a(646)]=!1;c[a(1397)]=a(877);l.editor.color=c}),V(a(737),c=>{c[a(513)]=function(d,f){(d=Bb(l))&&d[a(998)](null,f!==a(1200))};c[a(570)]=e;c.initInput=!1;l[a(1361)].dropdown=c}),b},q[a(1261)]=function(l){if(this&&this.edition){let e=this.parent[a(1361)],b=e.component?.[a(1261)];typeof b===a(595)&&b(l,this[a(1363)],e.x,e.y,this,e.options)}},q}(),M=function(u){let q=this;typeof q.parent!==a(792)&&(q=q[a(1062)]);let l,e;return!q.ignoreEvents&& (l=Qa[a(1261)][a(1038)](q,arguments),typeof l!==a(792)&&(e=l),"function"===typeof q.config[a(1261)]&&(l=q[a(529)][a(1261)][a(1038)](q,arguments),typeof l!==a(792)&&(e=l)),typeof q[a(529)][u]===a(595)&&(l=q[a(529)][u].apply(q,Array[a(1449)][a(315)][a(544)](arguments,1)),typeof l!==a(792)&&(e=l))),e},X=function(){return function(u,q){const l=a0_0x11da;Qa.execute[l(544)](this[l(1062)],l(884),[this,u,q]);typeof this[l(1062)][l(529)].persistence===l(595)&&this[l(1062)][l(529)][l(884)](this,u,q)}}(),T= function(){let u=[];const q=function(f,g,n,m){const k=a0_0x11da;let h;const p=[],r=[];n=u[k(365)](t=>t[0]===f?(t[1]===g?h=t:p[k(689)](t),!1):t[1]===g?(r[k(689)](t),!1):!0);if(!h||!p[k(729)](t=>t[2]===h[2])||!r[k(729)](t=>t[3]===h[3]))return!1;if((0===p[k(768)]||0===r[k(768)])&&0===n[k(768)])return!0;for(m=0;m<p[k(768)];m++){const t=p[m];for(let v=0;v<r[k(768)];v++){const w=r[v],z=n[k(230)](y=>y[0]===w[0]&&y[2]===w[2]&&y[1]===t[1]&&y[3]===t[3]);if(-1===z)return!1;n.splice(z,1)}}return 0===n.length}; let l=function(f,g){const n=a0_0x11da;f=(f=N[n(318)][n(544)](this,f,g))&&f.options&&!1===f.options[n(489)]?!1:!0;return!1===this.options[n(941)]&&!0===f||!1===this[n(187)].selectUnLockedCells&&!1===f?!0:!1};const e=function(f){const g=a0_0x11da;f[g(377)]=e.reset;f[g(1029)]=e[g(598)];f[g(645)]=e[g(1199)];f.isSelected=e.isSelected;f[g(378)]=e.getHighlighted;f.getRange=e[g(382)];f[g(665)]=F[g(665)];f.getSel