commit python-ipysheet for openSUSE:Factory
0||e.endRow>this.rowsRenderCalculator.endRow||e.endRow===this.rowsRenderCalculator.endRow&&e.endRow
0||e.endColumn>this.columnsRenderCalculator.endColumn||e.endColumn===this.columnsRenderCalculator.endColumn&&e.endColumn Math .ceil(r.top+r.height)||i.clientX Math.ceil(r.left+r.width))&&(n.eventManager.removeEventListener(document.body,"mousemove",e),t.style.display="block")}))}}},{key:"createBorders",value:function(e){this.main=document.createElement("div");var t=["top","left","bottom","right","corner"],n=this.main.style;n.position="absolute",n.top=0,n.left=0;for(var r=0;r<5;r++){var o=t[r],i=document.createElement("div");i.className="wtBorder ".concat(this.settings.className||""),this.settings[o]&&this.settings[o].hide&&(i.className+=" hidden"),(n=i.style).backgroundColor=this.settings[o]&&this.settings[o].color?this.settings[o].color:e.border.color,n.height=this.settings[o]&&this.settings[o].width?"".concat(this.settings[o].width,"px"):"".concat(e.border.width,"px"),n.width=this.settings[o]&&this.settings[o].width?"".concat(this.settings[o].width,"px"):"".concat(e.border.width,"px"),this.main.appendChild(i)}this.top=this.main.childNodes[0],this.left=this.main.childNodes[1] ,this.bottom=this.main.childNodes[2],this.right=this.main.childNodes[3],this.topStyle=this.top.style,this.leftStyle=this.left.style,this.bottomStyle=this.bottom.style,this.rightStyle=this.right.style,this.corner=this.main.childNodes[4],this.corner.className+=" corner",this.cornerStyle=this.corner.style,this.cornerStyle.width=this.cornerDefaultStyle.width,this.cornerStyle.height=this.cornerDefaultStyle.height,this.cornerStyle.border=[this.cornerDefaultStyle.borderWidth,this.cornerDefaultStyle.borderStyle,this.cornerDefaultStyle.borderColor].join(" "),(0,a.isMobileBrowser)()&&this.createMultipleSelectorHandles(),this.disappear();var s=this.wot.wtTable.bordersHolder;s||((s=document.createElement("div")).className="htBorders",this.wot.wtTable.bordersHolder=s,this.wot.wtTable.spreader.appendChild(s)),s.appendChild(this.main)}},{key:"createMultipleSelectorHandles",value:function(){var e=this;this.selectionHandles={topLeft:document.createElement("DIV"),topLeftHitArea:document.createElement ("DIV"),bottomRight:document.createElement("DIV"),bottomRightHitArea:document.createElement("DIV")},this.selectionHandles.topLeft.className="topLeftSelectionHandle",this.selectionHandles.topLeftHitArea.className="topLeftSelectionHandle-HitArea",this.selectionHandles.bottomRight.className="bottomRightSelectionHandle",this.selectionHandles.bottomRightHitArea.className="bottomRightSelectionHandle-HitArea",this.selectionHandles.styles={topLeft:this.selectionHandles.topLeft.style,topLeftHitArea:this.selectionHandles.topLeftHitArea.style,bottomRight:this.selectionHandles.bottomRight.style,bottomRightHitArea:this.selectionHandles.bottomRightHitArea.style};var t={position:"absolute",height:"".concat(40,"px"),width:"".concat(40,"px"),"border-radius":"".concat(parseInt(40/1.5,10),"px")};(0,i.objectEach)(t,(function(t,n){e.selectionHandles.styles.bottomRightHitArea[n]=t,e.selectionHandles.styles.topLeftHitArea[n]=t}));var n={position:"absolute",height:"".concat(10,"px"),width:"".concat(10,"px" ),"border-radius":"".concat(parseInt(10/1.5,10),"px"),background:"#F5F5FF",border:"1px solid #4285c8"};(0,i.objectEach)(n,(function(t,n){e.selectionHandles.styles.bottomRight[n]=t,e.selectionHandles.styles.topLeft[n]=t})),this.main.appendChild(this.selectionHandles.topLeft),this.main.appendChild(this.selectionHandles.bottomRight),this.main.appendChild(this.selectionHandles.topLeftHitArea),this.main.appendChild(this.selectionHandles.bottomRightHitArea)}},{key:"isPartRange",value:function(e,t){var n=this.wot.selections.createOrGetArea();return!(!n.cellRange||e===n.cellRange.to.row&&t===n.cellRange.to.col)}},{key:"updateMultipleSelectionHandlesPosition",value:function(e,t,n,r,o,i){var a=parseInt(this.selectionHandles.styles.topLeft.width,10),s=parseInt(this.selectionHandles.styles.topLeftHitArea.width,10);this.selectionHandles.styles.topLeft.top="".concat(parseInt(n-a,10),"px"),this.selectionHandles.styles.topLeft.left="".concat(parseInt(r-a,10),"px"),this.selectionHandles.styles.topLe ftHitArea.top="".concat(parseInt(n-s/4*3,10),"px"),this.selectionHandles.styles.topLeftHitArea.left="".concat(parseInt(r-s/4*3,10),"px"),this.selectionHandles.styles.bottomRight.top="".concat(parseInt(n+i,10),"px"),this.selectionHandles.styles.bottomRight.left="".concat(parseInt(r+o,10),"px"),this.selectionHandles.styles.bottomRightHitArea.top="".concat(parseInt(n+i-s/4,10),"px"),this.selectionHandles.styles.bottomRightHitArea.left="".concat(parseInt(r+o-s/4,10),"px"),this.settings.border.cornerVisible&&this.settings.border.cornerVisible()?(this.selectionHandles.styles.topLeft.display="block",this.selectionHandles.styles.topLeftHitArea.display="block",this.isPartRange(e,t)?(this.selectionHandles.styles.bottomRight.display="none",this.selectionHandles.styles.bottomRightHitArea.display="none"):(this.selectionHandles.styles.bottomRight.display="block",this.selectionHandles.styles.bottomRightHitArea.display="block")):(this.selectionHandles.styles.topLeft.display="none",this.selectionHan
0||e.endRow>this.rowsRenderCalculator.endRow||e.endRow===this.rowsRenderCalculator.endRow&&e.endRow
0||e.endColumn>this.columnsRenderCalculator.endColumn||e.endColumn===this.columnsRenderCalculator.endColumn&&e.endColumn Math .ceil(r.top+r.height)||i.clientX Math.ceil(r.left+r.width))&&(n.eventManager.removeEventListener(document.body,"mousemove",e),t.style.display="block")}))}}},{key:"createBorders",value:function(e){this.main=document.createElement("div");var t=["top","left","bottom","right","corner"],n=this.main.style;n.position="absolute",n.top=0,n.left=0;for(var r=0;r<5;r++){var o=t[r],i=document.createElement("div");i.className="wtBorder ".concat(this.settings.className||""),this.settings[o]&&this.settings[o].hide&&(i.className+=" hidden"),(n=i.style).backgroundColor=this.settings[o]&&this.settings[o].color?this.settings[o].color:e.border.color,n.height=this.settings[o]&&this.settings[o].width?"".concat(this.settings[o].width,"px"):"".concat(e.border.width,"px"),n.width=this.settings[o]&&this.settings[o].width?"".concat(this.settings[o].width,"px"):"".concat(e.border.width,"px"),this.main.appendChild(i)}this.top=this.main.childNodes[0],this.left=this.main.childNodes[1] ,this.bottom=this.main.childNodes[2],this.right=this.main.childNodes[3],this.topStyle=this.top.style,this.leftStyle=this.left.style,this.bottomStyle=this.bottom.style,this.rightStyle=this.right.style,this.corner=this.main.childNodes[4],this.corner.className+=" corner",this.cornerStyle=this.corner.style,this.cornerStyle.width=this.cornerDefaultStyle.width,this.cornerStyle.height=this.cornerDefaultStyle.height,this.cornerStyle.border=[this.cornerDefaultStyle.borderWidth,this.cornerDefaultStyle.borderStyle,this.cornerDefaultStyle.borderColor].join(" "),(0,a.isMobileBrowser)()&&this.createMultipleSelectorHandles(),this.disappear();var s=this.wot.wtTable.bordersHolder;s||((s=document.createElement("div")).className="htBorders",this.wot.wtTable.bordersHolder=s,this.wot.wtTable.spreader.appendChild(s)),s.appendChild(this.main)}},{key:"createMultipleSelectorHandles",value:function(){var e=this;this.selectionHandles={topLeft:document.createElement("DIV"),topLeftHitArea:document.createElement ("DIV"),bottomRight:document.createElement("DIV"),bottomRightHitArea:document.createElement("DIV")},this.selectionHandles.topLeft.className="topLeftSelectionHandle",this.selectionHandles.topLeftHitArea.className="topLeftSelectionHandle-HitArea",this.selectionHandles.bottomRight.className="bottomRightSelectionHandle",this.selectionHandles.bottomRightHitArea.className="bottomRightSelectionHandle-HitArea",this.selectionHandles.styles={topLeft:this.selectionHandles.topLeft.style,topLeftHitArea:this.selectionHandles.topLeftHitArea.style,bottomRight:this.selectionHandles.bottomRight.style,bottomRightHitArea:this.selectionHandles.bottomRightHitArea.style};var t={position:"absolute",height:"".concat(40,"px"),width:"".concat(40,"px"),"border-radius":"".concat(parseInt(40/1.5,10),"px")};(0,i.objectEach)(t,(function(t,n){e.selectionHandles.styles.bottomRightHitArea[n]=t,e.selectionHandles.styles.topLeftHitArea[n]=t}));var n={position:"absolute",height:"".concat(10,"px"),width:"".concat(10,"px" ),"border-radius":"".concat(parseInt(10/1.5,10),"px"),background:"#F5F5FF",border:"1px solid #4285c8"};(0,i.objectEach)(n,(function(t,n){e.selectionHandles.styles.bottomRight[n]=t,e.selectionHandles.styles.topLeft[n]=t})),this.main.appendChild(this.selectionHandles.topLeft),this.main.appendChild(this.selectionHandles.bottomRight),this.main.appendChild(this.selectionHandles.topLeftHitArea),this.main.appendChild(this.selectionHandles.bottomRightHitArea)}},{key:"isPartRange",value:function(e,t){var n=this.wot.selections.createOrGetArea();return!(!n.cellRange||e===n.cellRange.to.row&&t===n.cellRange.to.col)}},{key:"updateMultipleSelectionHandlesPosition",value:function(e,t,n,r,o,i){var a=parseInt(this.selectionHandles.styles.topLeft.width,10),s=parseInt(this.selectionHandles.styles.topLeftHitArea.width,10);this.selectionHandles.styles.topLeft.top="".concat(parseInt(n-a,10),"px"),this.selectionHandles.styles.topLeft.left="".concat(parseInt(r-a,10),"px"),this.selectionHandles.styles.topLe ftHitArea.top="".concat(parseInt(n-s/4*3,10),"px"),this.selectionHandles.styles.topLeftHitArea.left="".concat(parseInt(r-s/4*3,10),"px"),this.selectionHandles.styles.bottomRight.top="".concat(parseInt(n+i,10),"px"),this.selectionHandles.styles.bottomRight.left="".concat(parseInt(r+o,10),"px"),this.selectionHandles.styles.bottomRightHitArea.top="".concat(parseInt(n+i-s/4,10),"px"),this.selectionHandles.styles.bottomRightHitArea.left="".concat(parseInt(r+o-s/4,10),"px"),this.settings.border.cornerVisible&&this.settings.border.cornerVisible()?(this.selectionHandles.styles.topLeft.display="block",this.selectionHandles.styles.topLeftHitArea.display="block",this.isPartRange(e,t)?(this.selectionHandles.styles.bottomRight.display="none",this.selectionHandles.styles.bottomRightHitArea.display="none"):(this.selectionHandles.styles.bottomRight.display="block",this.selectionHandles.styles.bottomRightHitArea.display="block")):(this.selectionHandles.styles.topLeft.display="none",this.selectionHan
2&&void 0!==arguments[2])||arguments[2];!1===t&&(V=!0);var r=q.selectCells(e);return r&&n&&G.listen(),V=!1,r},this.selectCellByProp=function(e,t,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return(0,a.warn)((0,m.toSingleLine)(x())),this.selectCells([[e,t,n,r]],o,i)},this.selectColumns=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return q.selectColumns(e,t)},this.selectRows=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return q.selectRows(e,t)},this.deselectCell=function(){q.deselect()},this.selectAll=function(){V=!0,q.selectAll(),V=!1},this.scrollViewportTo=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=!n,i=!r,a=!1;return void 0!==e&&void 0!==t&&(a=G.view.scrollViewport(new k.CellCoords(e,t),o,r,n,i)),"number"==typeof e&&"number"!=typeof t&&(a=G.view. scrollViewportVertically(e,o,n)),"number"==typeof t&&"number"!=typeof e&&(a=G.view.scrollViewportHorizontally(t,r,i)),a},this.destroy=function(){G._clearTimeouts(),G._clearImmediates(),G.view&&G.view.destroy(),B&&B.destroy(),B=null,(0,O.stopObserving)(),(0,r.empty)(G.rootElement),K.destroy(),F&&F.destroy(),G.runHooks("afterDestroy"),A.default.getSingleton().destroy(G),(0,h.objectEach)(G,(function(e,t,n){(0,i.isFunction)(e)?n[t]=ae(t):"guid"!==t&&(n[t]=null)})),G.isDestroyed=!0,R&&R.destroy(),R=null,n=null,W=null,q=null,F=null,G=null,J=null},this.getActiveEditor=function(){return F.getActiveEditor()},this.getPlugin=function(e){return(0,_.getPlugin)(this,e)},this.getInstance=function(){return G},this.addHook=function(e,t){A.default.getSingleton().add(e,t,G)},this.hasHook=function(e){return A.default.getSingleton().has(e,G)},this.addHookOnce=function(e,t){A.default.getSingleton().once(e,t,G)},this.removeHook=function(e,t){A.default.getSingleton().remove(e,t,G)},this.runHooks=function(e ,t,n,r,o,i,a){return A.default.getSingleton().run(G,e,t,n,r,o,i,a)},this.getTranslatedPhrase=function(e,t){return(0,Y.getTranslatedPhrase)(n.settings.language,e,t)},this.timeouts=[],this._registerTimeout=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e;"function"==typeof n&&(n=setTimeout(n,t)),this.timeouts.push(n)},this._clearTimeouts=function(){(0,f.arrayEach)(this.timeouts,(function(e){clearTimeout(e)}))},this.immediates=[],this._registerImmediate=function(e){this.immediates.push(setImmediate(e))},this._clearImmediates=function(){(0,f.arrayEach)(this.immediates,(function(e){clearImmediate(e)}))},this._refreshBorders=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];F.destroyEditor(e),G.view.render(),t&&q.isSelected()&&F.prepareEditor()},A.default.getSingleton().run(G,"construct")};var r=n(1),o=n(121),i=n(59),a=n(76),s=n(14),l=n(42),u=R(n(397)),d=R(n(400)),c=R(n(10)),h =n(2),f=n(3),m=n(58),_=n(13),p=n(19),y=n(49),g=n(48),v=n(9),w=R(n(401)),M=R(n(402)),b=n(122),L=n(179),C=n(180),k=n(8),A=R(n(22)),T=R(n(181)),S=n(119),Y=n(182),D=n(90),E=n(183),O=n(123),H=n(184);function R(e){return e&&e.__esModule?e:{default:e}}function x(){var e,t,n=(e=["Deprecation warning: This method is going to be removed in the next release.\n If you want to select a cell using props, please use the `selectCell` method."],(t=["Deprecation warning: This method is going to be removed in the next release.\n If you want to select a cell using props, please use the \\`selectCell\\` method."])||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return x=function(){return n},n}function j(e){return j="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},j(e)}function P(e,t){return function(e) {if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function N(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t
0&&void 0!==arguments[0]?arguments[0]:100,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,o=[];for(e=0;e 0&&void 0!==arguments[0]?arguments[0]:100,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,o=[];for(e=0;e 0;)t=(n-1)%a,r=String.fromCharCode(65+t)+r,n=parseInt((n-t)/a,10);return r}},function(e,t,n){"use strict";t.__esModule=!0,t._getRefCount=function(){return l},t._resetState=u,t.isPressed=function(e){return Array.from(s.values()).some((function(t){return(0,i.isKey)(t,e)}))},t.isPressedCtrlKey=function(){return Array.from(s.values()).some((function(e){return(0,i.isCtrlMetaKey)(e)}))},t.startObserving=function(){0===l&&(a.addEventListener(document,"keydown",(function(e){s.has(e.keyCode)||s.add(e.keyCode)}) ),a.addEventListener(document,"keyup",(function(e){s.has(e.keyCode)&&s.delete(e.keyCode)})),a.addEventListener(document,"visibilitychange",(function(){document.hidden&&s.clear()})),a.addEventListener(window,"blur",(function(){s.clear()}))),l+=1},t.stopObserving=function(){l>0&&(l-=1),0===l&&u()};var r,o=(r=n(10))&&r.__esModule?r:{default:r},i=n(32),a=new o.default,s=new Set,l=0;function u(){a.clearEvents(),s.clear(),l=0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(1),o=n(3);function i(e,t){for(var n=0;n 0&&void 0!==arguments[0]?arguments[0]:null;this.injected||((e||this.hot.rootElement).appendChild(this.container.fragment),this.injected=!0)}},{key:"removeTable",value:function (){this.injected&&this.container.container.parentNode&&(this.container.container.parentNode.removeChild(this.container.container),this.container=null,this.injected=!1)}},{key:"createColElement",value:function(e){var t=document.createElement("col");return t.style.width="".concat(this.hot.view.wt.wtTable.getStretchedColumnWidth(e),"px"),t}},{key:"createTable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document,n=t.createDocumentFragment(),o=t.createElement("table"),i=t.createElement("thead"),a=t.createElement("tbody"),s=t.createElement("colgroup"),l=t.createElement("tr"),u=t.createElement("th");return this.isVertical()&&o.appendChild(s),this.isHorizontal()&&(l.appendChild(u),i.appendChild(l),o.style.tableLayout="auto",o.style.width="auto"),o.appendChild(i),this.isVertical()&&a.appendChild(l),o.appendChild(a),(0,r.addClass)(o,e),n.appendChild(o),{fragment:n,table:o,tHead:i,tBody:a,colGroup:s,tr:l,th:u}}},{key:"createContainer",value:function(){va r e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document,n=t.createDocumentFragment(),o=t.createElement("div"),i="htGhostTable htAutoSize ".concat(e.trim());return(0,r.addClass)(o,i),n.appendChild(o),{fragment:n,container:o}}},{key:"isVertical",value:function(){return!(!this.rows.length||this.columns.length)}},{key:"isHorizontal",value:function(){return!(!this.columns.length||this.rows.length)}}],n&&i(t.prototype,n),e}(),s=a;t.default=s},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(3),o=n(2),i=n(9);var a={_arrayMap:[],getValueByIndex:function(e){var t=null;return e 1&&void 0!==arguments[1]?arguments[1]:1,o=(0,r.arrayMax)(this._arrayMap)+1,a=[];return(0,i.rangeEach)(n-1,(function(n){a.push(t._arrayMap.splice(e+n,0,o+n))})),a},removeItems:function(e){var t=argume nts.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[];if(Array.isArray(e)){var r=[].concat(this._arrayMap);e.sort((function(e,t){return t-e}));for(var o=0,i=e.length;o1&&void 0!==arguments[1]?arguments[1]:1,n=this.removeItems(e,t);function o(e){return(0,r.arrayReduce)(n,(function(t,n){var r=t;return e>n&&(r+=1),r}),0)}this._arrayMap=(0,r.arrayMap)(this._arrayMap,(function(e){var t=e,n=o(t);return n&&(t-=n),t}))},shiftItems:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this._arrayMap=(0,r.arrayMap)(this._arrayMap,(function(t){var r=t;return r>=e&&(r+=n),r})),(0,i.rangeEach)(n-1,(function(n){t._arrayMap.splice(e+n,0,e+n)}))},swapIndexes:function(e,t){var n,r;(n=this._arrayMap).splice.apply(n,[t,0].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t =t||e.row+e.rowspan-1>=t||e.col>=n||e.col+e.colspan-1>=n}}],(n=[{key:"normalize",value:function(e){var t=e.countRows(),n=e.countCols();this.row<0?this.row=0:this.row>t-1&&(this.row=t-1),this.col<0?this.col=0:this.col>n-1&&(this.col=n-1),this.row+this.rowspan>t-1&&(this.rowspan=t-this.row),this.col+this.colspan>n-1&&(this.colspan=n-this.col)}},{key:"includes",value:function(e,t){return this.row<=e&&this.col<=t&&this.row+this.rowspan-1>=e&&this.col+this.colspan-1>=t}},{key:"includesHorizontally",value:function(e){return this.col<=e&&this.col+this.colspan-1>=e}},{key:"includesVertically",value:function(e){return this.row<=e&&this.row+this.rowspan-1>=e}},{key:"shift",value:function(e,t){var n=e[0]||e[1],r=t+Math. abs(e[0]||e[1])-1,o=e[0]?"colspan":"rowspan",i=e[0]?"col":"row",a=Math.min(t,r),s=Math.max(t,r),l=this[i],u=this[i]+this[o]-1;if(l>=t&&(this[i]+=n),n>0)t<=u&&t>l&&(this[o]+=n);else if(n<0){if(a<=l&&s>=u)return this.removed=!0,!1;if(l>=a&&l<=s){var d=s-l+1,c=Math.abs(n)-d;this[i]-=c+n,this[o]-=d}else if(l<=a&&u>=s)this[o]+=n;else if(l<=a&&u>=a&&u this.row+this.rowspan-1:"up"===t?e.rowthis.row:"right"===t?e.col+e.colspan-1this.col+this.colspan-1:"left"===t?e.colthis.col:null)}},{key:"getLastRow",value:function(){return this.row+this.rowspan-1}},{key:"getLastColumn",value:function(){return this.col+this.colspan-1}},{key:"getRange",value:function(){return new r.CellRange(new r.CellCoords(this.row,this.col),new r.CellCoords(this.row,this.col),new r.CellCoords(this.getLastRow(),this.getLastColumn()))}}])&&d(t.prototype,n),u&&d(t,u),e}();t.default=c},function(e,t,n){"use st rict";n(193),n(336),n(338),n(340),n(342),n(344),n(346),n(348),n(350),n(352),n(356)},function(e,t,n){e.exports=!n(20)&&!n(4)((function(){return 7!=Object.defineProperty(n(92)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(6),o=n(21),i=n(52),a=n(94),s=n(17).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(27),o=n(29),i=n(79)(!1),a=n(95)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(17),o=n(5),i=n(53);e.exports=n(20)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(29),o=n(56).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?f unction(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){"use strict";var r=n(53),o=n(80),i=n(70),a=n(24),s=n(69),l=Object.assign;e.exports=!l||n(4)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){for(var n=a(e),l=arguments.length,u=1,d=o.f,c=i.f;l>u;)for(var h,f=s(arguments[u++]),m=d?r(f).concat(d(f)):r(f),_=m.length,p=0;_>p;)c.call(f,h=m[p++])&&(n[h]=f[h]);return n}:l},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(38),o=n(7),i=n(138),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(6).parseFloat,o=n(81).trim;e.exports=1/r(n(100)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(39);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(7),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function (e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(55),o=n(50),i=n(60),a={};n(28)(a,n(12)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(5);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(38),o=n(24),i=n(69),a=n(16);e.exports=function(e,t,n,s,l){r(t);var u=o(e),d=i(u),c=a(u.length),h=l?c-1:0,f=l?-1:1;if(n<2)for(;;){if(h in d){s=d[h],h+=f;break}if(h+=f,l?h<0:c<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:c>h;h+=f)h in d&&(s=t(s,d[h],h,u));return s}},function(e,t,n){"use strict";var r=n(24),o=n(54),i=n(16);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),l=o(t,a),u=arguments.length>2?arguments[2]:void 0,d=Math.min((void 0===u?a:o(u,a))-l,a-s),c=1;for(l 0;)l in n?n[s]=n[l]:delete n[s],s+=c,l+=c;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(115);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(20)&&"g"!=/./g.flags&&n(17).f(RegExp.prototype,"flags",{configurable:!0,get:n(83)})},function(e,t,n){"use strict";var r,o,i,a,s=n(52),l=n(6),u=n(37),d=n(71),c=n(0),h=n(7),f=n(38),m=n(64),_=n(86),p=n(72),y=n(117).set,g=n(305)(),v=n(152),w=n(306),M=n(87),b=n(153),L="Promise",C=l.TypeError,k=l.process,A=k&&k.versions,T=A&&A.v8||"",S=l.Promise,Y="process"==d(k),D=function(){},E=o=v.f,O=!!function(){try{var e=S.resolve(1),t=(e.constructor={})[n(12)("species")]=function(e){e(D,D)};return(Y||"function"==typeof PromiseRejectionEvent)&&e.then(D)instanceof t&&0!==T.indexOf("6.6")&&-1===M.indexOf("Chrome/66")}catch(e){}}(),H=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},R=function(e,t){if(!e._n){e._n=!0;var n= e._c;g((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,l=t.resolve,u=t.reject,d=t.domain;try{s?(o||(2==e._h&&P(e),e._h=1),!0===s?n=r:(d&&d.enter(),n=s(r),d&&(d.exit(),a=!0)),n===t.promise?u(C("Promise-chain cycle")):(i=H(n))?i.call(n,l,u):l(n)):u(r)}catch(e){d&&!a&&d.exit(),u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&x(e)}))}},x=function(e){y.call(l,(function(){var t,n,r,o=e._v,i=j(e);if(i&&(t=w((function(){Y?k.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=Y||j(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},P=function(e){y.call(l,(function(){var t;Y?k.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),R(t,!0))},I=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w| |n;try{if(n===e)throw C("Promise can't be resolved itself");(t=H(e))?g((function(){var r={_w:n,_d:!1};try{t.call(e,u(I,r,1),u(N,r,1))}catch(e){N.call(r,e)}})):(n._v=e,n._s=1,R(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};O||(S=function(e){m(this,S,L,"_h"),f(e),r.call(this);try{e(u(I,this,1),u(N,this,1))}catch(e){N.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(65)(S.prototype,{then:function(e,t){var n=E(p(this,S));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Y?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(I,e,1),this.reject=u(N,e,1)},v.f=E=function(e){return e===S||e===a?new i(e):o(e)}),c(c.G+c.W+c.F*!O,{Promise:S}),n(60)(S,L),n(63)(L),a=n(21).Promise,c(c.S+c.F*!O,L,{reject:function(e){var t=E(this);return(0,t.reject)(e),t.promise}}), c(c.S+c.F*(s||!O),L,{resolve:function(e){return b(s&&this===a?S:this,e)}}),c(c.S+c.F*!(O&&n(82)((function(e){S.all(e).catch(D)}))),L,{all:function(e){var t=this,n=E(t),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;_(e,!1,(function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=E(t),r=n.reject,o=w((function(){_(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(38);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(5),o=n(7),i=n(152);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(17).f,o=n(5 5),i=n(65),a=n(37),s=n(64),l=n(86),u=n(106),d=n(148),c=n(63),h=n(20),f=n(45).fastKey,m=n(66),_=h?"_s":"size",p=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var d=e((function(e,r){s(e,d,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[_]=0,null!=r&&l(r,n,e[u],e)}));return i(d.prototype,{clear:function(){for(var e=m(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[_]=0},delete:function(e){var n=m(this,t),r=p(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[_]--}return!!r},forEach:function(e){m(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!p(m(this,t),e)}}),h&&r(d.prototype,"size",{get:function(){return m(this,t)[_]}}),d},def:function(e,t,n){var r,o,i=p(e,t);return i?i.v=n:(e._l=i={i:o=f(t,!0 ),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[_]++,"F"!==o&&(e._i[o]=i)),e},getEntry:p,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=m(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?d(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,d(1))}),n?"entries":"values",!n,!0),c(t)}}},function(e,t,n){"use strict";var r=n(65),o=n(45).getWeak,i=n(5),a=n(7),s=n(64),l=n(86),u=n(36),d=n(27),c=n(66),h=u(5),f=u(6),m=0,_=function(e){return e._l||(e._l=new p)},p=function(){this.a=[]},y=function(e,t){return h(e.a,(function(e){return e[0]===t}))};p.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i= m++,e._l=void 0,null!=r&&l(r,n,e[i],e)}));return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?_(c(this,t)).delete(e):n&&d(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?_(c(this,t)).has(e):n&&d(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?_(e).set(t,n):r[e._i]=n,e},ufstore:_}},function(e,t,n){var r=n(33),o=n(16);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(56),o=n(80),i=n(5),a=n(6).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(16),o=n(102),i=n(40);e.exports=function(e,t,n,a){var s=String(i(e)),l=s.length,u=void 0===n?" ":String(n),d=r(t);if(d<=l||""==u)return s;var c=d-l,h=o.call(u,Math.ceil(c/u.length));return h.length>c&&(h=h.slice(0,c)),a?h+s:s+h}},function(e,t,n){var r=n(53),o=n(29),i=n(70).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),l=s.length,u=0,d=[];l>u;)i.call(a,n=s[u++])&&d.push(e?[n,a[n]]:a[n]);return d}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n7&&void 0!==arguments[7]?arguments[7]:function(e){return e};r(this,e),a.set(this,{viewportWidth:t,scrollOffset:n,totalColumns:o,columnWidthFn:i,overrideFn:s,onlyFullyVisible:l,stretchingColumnWidthFn:d}),this.count=0,this.startColumn=null,this.endColumn=null,this.startPosition=null,this.stretchAllRatio=0,this.stretchLastWidth=0,this.stretch=u,this.totalTargetWidth=0,this.needVerifyLastColumnWidth=!0,this.stretchAllCo lumnsWidth=[],this.calculate()}return i(e,null,[{key:"DEFAULT_WIDTH",get:function(){return 50}}]),i(e,[{key:"calculate",value:function(){for(var e,t=0,n=!0,r=[],o=a.get(this),i=o.onlyFullyVisible,s=o.overrideFn,l=o.scrollOffset,u=o.totalColumns,d=o.viewportWidth,c=0;c=l&&t+e<=l+(l>0?d+1:d)&&(null!==this.startColumn&&void 0!==this.startColumn||(this.startColumn=c),this.endColumn=c),r.push(t),t+=e,i||(this.endColumn=c),t>=l+d){n=!1;break}if(this.endColumn===u-1&&n)for(this.startColumn=this.endColumn;this.startColumn>0;){var h=r[this.endColumn]+e-r[this.startColumn-1];if((h<=d||!i)&&(this.startColumn-=1),h>d)break}null!==this.startColumn&&s&&s(this),this.startPosition=r[this.startColumn],void 0===this.startPosition&&(this.startPosition=null),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}},{key:"refreshStretching",value:function(e){if("none"!==this.stretch){var t=e;this.totalTargetWidth=t;for( var n=a.get(this),r=n.totalColumns,o=0,i=0;i 0)this.stretchAllRatio=t/o,this.stretchAllColumnsWidth=[],this.needVerifyLastColumnWidth=!0;else if("last"===this.stretch&&t!==1/0){var d=this._getColumnWidth(r-1),c=u+d;this.stretchLastWidth=c>=0?c:d}}}},{key:"getStretchedColumnWidth",value:function(e,t){var n=null;return"all"===this.stretch&&0!==this.stretchAllRatio?n=this._getStretchedAllColumnWidth(e,t):"last"===this.stretch&&0!==this.stretchLastWidth&&(n=this._getStretchedLastColumnWidth(e)),n}},{key:"_getStretchedAllColumnWidth",value:function(e,t){var n=0,r=a.get(this),o=r.totalColumns;if(!this.stretchAllColumnsWidth[e]){var i=Math.round(t*this.stretchAllRatio),s=r.stretchingColumnWidthFn(i,e);this.stretchAllColumnsWidth[e]=void 0===s?i:isNaN(s)?this._getColumnWidth(e):s}if(this.stretchAllColumnsWidth.length===o&&this.needVerifyLastColumnWidth ){this.needVerifyLastColumnWidth=!1;for(var l=0;l =d&&n+t<=d+h-f&&(null===this.startRow&&(this.startRow=m),this.endRow=m),o.push(n),n+=t,s||(this.endRow=m),n>=d+h-f){r=!1;break}if(this.endRow===c-1&&r)for(this.startRow=this.endRow;this.startRow>0;){var _=o[this.endRow]+t-o[this.startRow-1];if((_<=h-f||!s)&&(this.startRow-=1),_>=h-f)break}null!==this.startRow&&l&&l(this),this.startPosition=o[this.startRow],void 0===this.startPosition&&(this.startPosition=null),null!= =this.startRow&&(this.count=this.endRow-this.startRow+1)}}]),e}();t.default=a},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(74))&&r.__esModule?r:{default:r};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n 1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;i(this,e),this.highlight=t,this.from=n,this.to=r}var t,n;return t=e,(n=[{key:"setHighlight",value:function(e){return this.highlight=e,this}},{key:"setFrom",value:function(e){return this.from=e,this}},{key:"setTo",value:function(e){return this.to=e,this}},{key:"isValid",value:function(e){return this.from.isValid(e)&&this.to.isValid(e)}},{key:"isSingle",value:function(){return this.from.row===thi s.to.row&&this.from.col===this.to.col}},{key:"getHeight",value:function(){return Math.max(this.from.row,this.to.row)-Math.min(this.from.row,this.to.row)+1}},{key:"getWidth",value:function(){return Math.max(this.from.col,this.to.col)-Math.min(this.from.col,this.to.col)+1}},{key:"includes",value:function(e){var t=e.row,n=e.col,r=this.getTopLeftCorner(),o=this.getBottomRightCorner();return r.row<=t&&o.row>=t&&r.col<=n&&o.col>=n}},{key:"includesRange",value:function(e){return this.includes(e.getTopLeftCorner())&&this.includes(e.getBottomRightCorner())}},{key:"isEqual",value:function(e){return Math.min(this.from.row,this.to.row)===Math.min(e.from.row,e.to.row)&&Math.max(this.from.row,this.to.row)===Math.max(e.from.row,e.to.row)&&Math.min(this.from.col,this.to.col)===Math.min(e.from.col,e.to.col)&&Math.max(this.from.col,this.to.col)===Math.max(e.from.col,e.to.col)}},{key:"overlaps",value:function(e){return e.isSouthEastOf(this.getTopLeftCorner())&&e.isNorthWestOf(this.getBottomRightCorner ())}},{key:"isSouthEastOf",value:function(e){return this.getTopLeftCorner().isSouthEastOf(e)||this.getBottomRightCorner().isSouthEastOf(e)}},{key:"isNorthWestOf",value:function(e){return this.getTopLeftCorner().isNorthWestOf(e)||this.getBottomRightCorner().isNorthWestOf(e)}},{key:"isOverlappingHorizontally",value:function(e){return this.getTopRightCorner().col>=e.getTopLeftCorner().col&&this.getTopRightCorner().col<=e.getTopRightCorner().col||this.getTopLeftCorner().col<=e.getTopRightCorner().col&&this.getTopLeftCorner().col>=e.getTopLeftCorner().col}},{key:"isOverlappingVertically",value:function(e){return this.getBottomRightCorner().row>=e.getTopRightCorner().row&&this.getBottomRightCorner().row<=e.getBottomRightCorner().row||this.getTopRightCorner().row<=e.getBottomRightCorner().row&&this.getTopRightCorner().row>=e.getTopRightCorner().row}},{key:"expand",value:function(e){var t=this.getTopLeftCorner(),n=this.getBottomRightCorner();return(e.row n.row||e.c
2&&void 0!==arguments[2])||arguments[2];!1===t&&(V=!0);var r=q.selectCells(e);return r&&n&&G.listen(),V=!1,r},this.selectCellByProp=function(e,t,n,r){var o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];return(0,a.warn)((0,m.toSingleLine)(x())),this.selectCells([[e,t,n,r]],o,i)},this.selectColumns=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return q.selectColumns(e,t)},this.selectRows=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return q.selectRows(e,t)},this.deselectCell=function(){q.deselect()},this.selectAll=function(){V=!0,q.selectAll(),V=!1},this.scrollViewportTo=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=!n,i=!r,a=!1;return void 0!==e&&void 0!==t&&(a=G.view.scrollViewport(new k.CellCoords(e,t),o,r,n,i)),"number"==typeof e&&"number"!=typeof t&&(a=G.view. scrollViewportVertically(e,o,n)),"number"==typeof t&&"number"!=typeof e&&(a=G.view.scrollViewportHorizontally(t,r,i)),a},this.destroy=function(){G._clearTimeouts(),G._clearImmediates(),G.view&&G.view.destroy(),B&&B.destroy(),B=null,(0,O.stopObserving)(),(0,r.empty)(G.rootElement),K.destroy(),F&&F.destroy(),G.runHooks("afterDestroy"),A.default.getSingleton().destroy(G),(0,h.objectEach)(G,(function(e,t,n){(0,i.isFunction)(e)?n[t]=ae(t):"guid"!==t&&(n[t]=null)})),G.isDestroyed=!0,R&&R.destroy(),R=null,n=null,W=null,q=null,F=null,G=null,J=null},this.getActiveEditor=function(){return F.getActiveEditor()},this.getPlugin=function(e){return(0,_.getPlugin)(this,e)},this.getInstance=function(){return G},this.addHook=function(e,t){A.default.getSingleton().add(e,t,G)},this.hasHook=function(e){return A.default.getSingleton().has(e,G)},this.addHookOnce=function(e,t){A.default.getSingleton().once(e,t,G)},this.removeHook=function(e,t){A.default.getSingleton().remove(e,t,G)},this.runHooks=function(e ,t,n,r,o,i,a){return A.default.getSingleton().run(G,e,t,n,r,o,i,a)},this.getTranslatedPhrase=function(e,t){return(0,Y.getTranslatedPhrase)(n.settings.language,e,t)},this.timeouts=[],this._registerTimeout=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e;"function"==typeof n&&(n=setTimeout(n,t)),this.timeouts.push(n)},this._clearTimeouts=function(){(0,f.arrayEach)(this.timeouts,(function(e){clearTimeout(e)}))},this.immediates=[],this._registerImmediate=function(e){this.immediates.push(setImmediate(e))},this._clearImmediates=function(){(0,f.arrayEach)(this.immediates,(function(e){clearImmediate(e)}))},this._refreshBorders=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];F.destroyEditor(e),G.view.render(),t&&q.isSelected()&&F.prepareEditor()},A.default.getSingleton().run(G,"construct")};var r=n(1),o=n(121),i=n(59),a=n(76),s=n(14),l=n(42),u=R(n(397)),d=R(n(400)),c=R(n(10)),h =n(2),f=n(3),m=n(58),_=n(13),p=n(19),y=n(49),g=n(48),v=n(9),w=R(n(401)),M=R(n(402)),b=n(122),L=n(179),C=n(180),k=n(8),A=R(n(22)),T=R(n(181)),S=n(119),Y=n(182),D=n(90),E=n(183),O=n(123),H=n(184);function R(e){return e&&e.__esModule?e:{default:e}}function x(){var e,t,n=(e=["Deprecation warning: This method is going to be removed in the next release.\n If you want to select a cell using props, please use the `selectCell` method."],(t=["Deprecation warning: This method is going to be removed in the next release.\n If you want to select a cell using props, please use the \\`selectCell\\` method."])||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return x=function(){return n},n}function j(e){return j="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},j(e)}function P(e,t){return function(e) {if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function N(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t
0&&void 0!==arguments[0]?arguments[0]:100,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,o=[];for(e=0;e 0&&void 0!==arguments[0]?arguments[0]:100,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4,o=[];for(e=0;e 0;)t=(n-1)%a,r=String.fromCharCode(65+t)+r,n=parseInt((n-t)/a,10);return r}},function(e,t,n){"use strict";t.__esModule=!0,t._getRefCount=function(){return l},t._resetState=u,t.isPressed=function(e){return Array.from(s.values()).some((function(t){return(0,i.isKey)(t,e)}))},t.isPressedCtrlKey=function(){return Array.from(s.values()).some((function(e){return(0,i.isCtrlMetaKey)(e)}))},t.startObserving=function(){0===l&&(a.addEventListener(document,"keydown",(function(e){s.has(e.keyCode)||s.add(e.keyCode)}) ),a.addEventListener(document,"keyup",(function(e){s.has(e.keyCode)&&s.delete(e.keyCode)})),a.addEventListener(document,"visibilitychange",(function(){document.hidden&&s.clear()})),a.addEventListener(window,"blur",(function(){s.clear()}))),l+=1},t.stopObserving=function(){l>0&&(l-=1),0===l&&u()};var r,o=(r=n(10))&&r.__esModule?r:{default:r},i=n(32),a=new o.default,s=new Set,l=0;function u(){a.clearEvents(),s.clear(),l=0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(1),o=n(3);function i(e,t){for(var n=0;n 0&&void 0!==arguments[0]?arguments[0]:null;this.injected||((e||this.hot.rootElement).appendChild(this.container.fragment),this.injected=!0)}},{key:"removeTable",value:function (){this.injected&&this.container.container.parentNode&&(this.container.container.parentNode.removeChild(this.container.container),this.container=null,this.injected=!1)}},{key:"createColElement",value:function(e){var t=document.createElement("col");return t.style.width="".concat(this.hot.view.wt.wtTable.getStretchedColumnWidth(e),"px"),t}},{key:"createTable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document,n=t.createDocumentFragment(),o=t.createElement("table"),i=t.createElement("thead"),a=t.createElement("tbody"),s=t.createElement("colgroup"),l=t.createElement("tr"),u=t.createElement("th");return this.isVertical()&&o.appendChild(s),this.isHorizontal()&&(l.appendChild(u),i.appendChild(l),o.style.tableLayout="auto",o.style.width="auto"),o.appendChild(i),this.isVertical()&&a.appendChild(l),o.appendChild(a),(0,r.addClass)(o,e),n.appendChild(o),{fragment:n,table:o,tHead:i,tBody:a,colGroup:s,tr:l,th:u}}},{key:"createContainer",value:function(){va r e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document,n=t.createDocumentFragment(),o=t.createElement("div"),i="htGhostTable htAutoSize ".concat(e.trim());return(0,r.addClass)(o,i),n.appendChild(o),{fragment:n,container:o}}},{key:"isVertical",value:function(){return!(!this.rows.length||this.columns.length)}},{key:"isHorizontal",value:function(){return!(!this.columns.length||this.rows.length)}}],n&&i(t.prototype,n),e}(),s=a;t.default=s},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(3),o=n(2),i=n(9);var a={_arrayMap:[],getValueByIndex:function(e){var t=null;return e 1&&void 0!==arguments[1]?arguments[1]:1,o=(0,r.arrayMax)(this._arrayMap)+1,a=[];return(0,i.rangeEach)(n-1,(function(n){a.push(t._arrayMap.splice(e+n,0,o+n))})),a},removeItems:function(e){var t=argume nts.length>1&&void 0!==arguments[1]?arguments[1]:1,n=[];if(Array.isArray(e)){var r=[].concat(this._arrayMap);e.sort((function(e,t){return t-e}));for(var o=0,i=e.length;o1&&void 0!==arguments[1]?arguments[1]:1,n=this.removeItems(e,t);function o(e){return(0,r.arrayReduce)(n,(function(t,n){var r=t;return e>n&&(r+=1),r}),0)}this._arrayMap=(0,r.arrayMap)(this._arrayMap,(function(e){var t=e,n=o(t);return n&&(t-=n),t}))},shiftItems:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;this._arrayMap=(0,r.arrayMap)(this._arrayMap,(function(t){var r=t;return r>=e&&(r+=n),r})),(0,i.rangeEach)(n-1,(function(n){t._arrayMap.splice(e+n,0,e+n)}))},swapIndexes:function(e,t){var n,r;(n=this._arrayMap).splice.apply(n,[t,0].concat(function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t =t||e.row+e.rowspan-1>=t||e.col>=n||e.col+e.colspan-1>=n}}],(n=[{key:"normalize",value:function(e){var t=e.countRows(),n=e.countCols();this.row<0?this.row=0:this.row>t-1&&(this.row=t-1),this.col<0?this.col=0:this.col>n-1&&(this.col=n-1),this.row+this.rowspan>t-1&&(this.rowspan=t-this.row),this.col+this.colspan>n-1&&(this.colspan=n-this.col)}},{key:"includes",value:function(e,t){return this.row<=e&&this.col<=t&&this.row+this.rowspan-1>=e&&this.col+this.colspan-1>=t}},{key:"includesHorizontally",value:function(e){return this.col<=e&&this.col+this.colspan-1>=e}},{key:"includesVertically",value:function(e){return this.row<=e&&this.row+this.rowspan-1>=e}},{key:"shift",value:function(e,t){var n=e[0]||e[1],r=t+Math. abs(e[0]||e[1])-1,o=e[0]?"colspan":"rowspan",i=e[0]?"col":"row",a=Math.min(t,r),s=Math.max(t,r),l=this[i],u=this[i]+this[o]-1;if(l>=t&&(this[i]+=n),n>0)t<=u&&t>l&&(this[o]+=n);else if(n<0){if(a<=l&&s>=u)return this.removed=!0,!1;if(l>=a&&l<=s){var d=s-l+1,c=Math.abs(n)-d;this[i]-=c+n,this[o]-=d}else if(l<=a&&u>=s)this[o]+=n;else if(l<=a&&u>=a&&u this.row+this.rowspan-1:"up"===t?e.rowthis.row:"right"===t?e.col+e.colspan-1this.col+this.colspan-1:"left"===t?e.colthis.col:null)}},{key:"getLastRow",value:function(){return this.row+this.rowspan-1}},{key:"getLastColumn",value:function(){return this.col+this.colspan-1}},{key:"getRange",value:function(){return new r.CellRange(new r.CellCoords(this.row,this.col),new r.CellCoords(this.row,this.col),new r.CellCoords(this.getLastRow(),this.getLastColumn()))}}])&&d(t.prototype,n),u&&d(t,u),e}();t.default=c},function(e,t,n){"use st rict";n(193),n(336),n(338),n(340),n(342),n(344),n(346),n(348),n(350),n(352),n(356)},function(e,t,n){e.exports=!n(20)&&!n(4)((function(){return 7!=Object.defineProperty(n(92)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(6),o=n(21),i=n(52),a=n(94),s=n(17).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(27),o=n(29),i=n(79)(!1),a=n(95)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(17),o=n(5),i=n(53);e.exports=n(20)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(29),o=n(56).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?f unction(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){"use strict";var r=n(53),o=n(80),i=n(70),a=n(24),s=n(69),l=Object.assign;e.exports=!l||n(4)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r}))?function(e,t){for(var n=a(e),l=arguments.length,u=1,d=o.f,c=i.f;l>u;)for(var h,f=s(arguments[u++]),m=d?r(f).concat(d(f)):r(f),_=m.length,p=0;_>p;)c.call(f,h=m[p++])&&(n[h]=f[h]);return n}:l},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var r=n(38),o=n(7),i=n(138),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(6).parseFloat,o=n(81).trim;e.exports=1/r(n(100)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(39);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(7),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function (e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(55),o=n(50),i=n(60),a={};n(28)(a,n(12)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(5);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(38),o=n(24),i=n(69),a=n(16);e.exports=function(e,t,n,s,l){r(t);var u=o(e),d=i(u),c=a(u.length),h=l?c-1:0,f=l?-1:1;if(n<2)for(;;){if(h in d){s=d[h],h+=f;break}if(h+=f,l?h<0:c<=h)throw TypeError("Reduce of empty array with no initial value")}for(;l?h>=0:c>h;h+=f)h in d&&(s=t(s,d[h],h,u));return s}},function(e,t,n){"use strict";var r=n(24),o=n(54),i=n(16);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),l=o(t,a),u=arguments.length>2?arguments[2]:void 0,d=Math.min((void 0===u?a:o(u,a))-l,a-s),c=1;for(l 0;)l in n?n[s]=n[l]:delete n[s],s+=c,l+=c;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(115);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(20)&&"g"!=/./g.flags&&n(17).f(RegExp.prototype,"flags",{configurable:!0,get:n(83)})},function(e,t,n){"use strict";var r,o,i,a,s=n(52),l=n(6),u=n(37),d=n(71),c=n(0),h=n(7),f=n(38),m=n(64),_=n(86),p=n(72),y=n(117).set,g=n(305)(),v=n(152),w=n(306),M=n(87),b=n(153),L="Promise",C=l.TypeError,k=l.process,A=k&&k.versions,T=A&&A.v8||"",S=l.Promise,Y="process"==d(k),D=function(){},E=o=v.f,O=!!function(){try{var e=S.resolve(1),t=(e.constructor={})[n(12)("species")]=function(e){e(D,D)};return(Y||"function"==typeof PromiseRejectionEvent)&&e.then(D)instanceof t&&0!==T.indexOf("6.6")&&-1===M.indexOf("Chrome/66")}catch(e){}}(),H=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},R=function(e,t){if(!e._n){e._n=!0;var n= e._c;g((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,l=t.resolve,u=t.reject,d=t.domain;try{s?(o||(2==e._h&&P(e),e._h=1),!0===s?n=r:(d&&d.enter(),n=s(r),d&&(d.exit(),a=!0)),n===t.promise?u(C("Promise-chain cycle")):(i=H(n))?i.call(n,l,u):l(n)):u(r)}catch(e){d&&!a&&d.exit(),u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&x(e)}))}},x=function(e){y.call(l,(function(){var t,n,r,o=e._v,i=j(e);if(i&&(t=w((function(){Y?k.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=Y||j(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},P=function(e){y.call(l,(function(){var t;Y?k.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),R(t,!0))},I=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w| |n;try{if(n===e)throw C("Promise can't be resolved itself");(t=H(e))?g((function(){var r={_w:n,_d:!1};try{t.call(e,u(I,r,1),u(N,r,1))}catch(e){N.call(r,e)}})):(n._v=e,n._s=1,R(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};O||(S=function(e){m(this,S,L,"_h"),f(e),r.call(this);try{e(u(I,this,1),u(N,this,1))}catch(e){N.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(65)(S.prototype,{then:function(e,t){var n=E(p(this,S));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=Y?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&R(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(I,e,1),this.reject=u(N,e,1)},v.f=E=function(e){return e===S||e===a?new i(e):o(e)}),c(c.G+c.W+c.F*!O,{Promise:S}),n(60)(S,L),n(63)(L),a=n(21).Promise,c(c.S+c.F*!O,L,{reject:function(e){var t=E(this);return(0,t.reject)(e),t.promise}}), c(c.S+c.F*(s||!O),L,{resolve:function(e){return b(s&&this===a?S:this,e)}}),c(c.S+c.F*!(O&&n(82)((function(e){S.all(e).catch(D)}))),L,{all:function(e){var t=this,n=E(t),r=n.resolve,o=n.reject,i=w((function(){var n=[],i=0,a=1;_(e,!1,(function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=E(t),r=n.reject,o=w((function(){_(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(38);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(5),o=n(7),i=n(152);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(17).f,o=n(5 5),i=n(65),a=n(37),s=n(64),l=n(86),u=n(106),d=n(148),c=n(63),h=n(20),f=n(45).fastKey,m=n(66),_=h?"_s":"size",p=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var d=e((function(e,r){s(e,d,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[_]=0,null!=r&&l(r,n,e[u],e)}));return i(d.prototype,{clear:function(){for(var e=m(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[_]=0},delete:function(e){var n=m(this,t),r=p(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[_]--}return!!r},forEach:function(e){m(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!p(m(this,t),e)}}),h&&r(d.prototype,"size",{get:function(){return m(this,t)[_]}}),d},def:function(e,t,n){var r,o,i=p(e,t);return i?i.v=n:(e._l=i={i:o=f(t,!0 ),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[_]++,"F"!==o&&(e._i[o]=i)),e},getEntry:p,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=m(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?d(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,d(1))}),n?"entries":"values",!n,!0),c(t)}}},function(e,t,n){"use strict";var r=n(65),o=n(45).getWeak,i=n(5),a=n(7),s=n(64),l=n(86),u=n(36),d=n(27),c=n(66),h=u(5),f=u(6),m=0,_=function(e){return e._l||(e._l=new p)},p=function(){this.a=[]},y=function(e,t){return h(e.a,(function(e){return e[0]===t}))};p.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i= m++,e._l=void 0,null!=r&&l(r,n,e[i],e)}));return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?_(c(this,t)).delete(e):n&&d(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?_(c(this,t)).has(e):n&&d(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?_(e).set(t,n):r[e._i]=n,e},ufstore:_}},function(e,t,n){var r=n(33),o=n(16);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(56),o=n(80),i=n(5),a=n(6).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(16),o=n(102),i=n(40);e.exports=function(e,t,n,a){var s=String(i(e)),l=s.length,u=void 0===n?" ":String(n),d=r(t);if(d<=l||""==u)return s;var c=d-l,h=o.call(u,Math.ceil(c/u.length));return h.length>c&&(h=h.slice(0,c)),a?h+s:s+h}},function(e,t,n){var r=n(53),o=n(29),i=n(70).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),l=s.length,u=0,d=[];l>u;)i.call(a,n=s[u++])&&d.push(e?[n,a[n]]:a[n]);return d}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n7&&void 0!==arguments[7]?arguments[7]:function(e){return e};r(this,e),a.set(this,{viewportWidth:t,scrollOffset:n,totalColumns:o,columnWidthFn:i,overrideFn:s,onlyFullyVisible:l,stretchingColumnWidthFn:d}),this.count=0,this.startColumn=null,this.endColumn=null,this.startPosition=null,this.stretchAllRatio=0,this.stretchLastWidth=0,this.stretch=u,this.totalTargetWidth=0,this.needVerifyLastColumnWidth=!0,this.stretchAllCo lumnsWidth=[],this.calculate()}return i(e,null,[{key:"DEFAULT_WIDTH",get:function(){return 50}}]),i(e,[{key:"calculate",value:function(){for(var e,t=0,n=!0,r=[],o=a.get(this),i=o.onlyFullyVisible,s=o.overrideFn,l=o.scrollOffset,u=o.totalColumns,d=o.viewportWidth,c=0;c=l&&t+e<=l+(l>0?d+1:d)&&(null!==this.startColumn&&void 0!==this.startColumn||(this.startColumn=c),this.endColumn=c),r.push(t),t+=e,i||(this.endColumn=c),t>=l+d){n=!1;break}if(this.endColumn===u-1&&n)for(this.startColumn=this.endColumn;this.startColumn>0;){var h=r[this.endColumn]+e-r[this.startColumn-1];if((h<=d||!i)&&(this.startColumn-=1),h>d)break}null!==this.startColumn&&s&&s(this),this.startPosition=r[this.startColumn],void 0===this.startPosition&&(this.startPosition=null),null!==this.startColumn&&(this.count=this.endColumn-this.startColumn+1)}},{key:"refreshStretching",value:function(e){if("none"!==this.stretch){var t=e;this.totalTargetWidth=t;for( var n=a.get(this),r=n.totalColumns,o=0,i=0;i 0)this.stretchAllRatio=t/o,this.stretchAllColumnsWidth=[],this.needVerifyLastColumnWidth=!0;else if("last"===this.stretch&&t!==1/0){var d=this._getColumnWidth(r-1),c=u+d;this.stretchLastWidth=c>=0?c:d}}}},{key:"getStretchedColumnWidth",value:function(e,t){var n=null;return"all"===this.stretch&&0!==this.stretchAllRatio?n=this._getStretchedAllColumnWidth(e,t):"last"===this.stretch&&0!==this.stretchLastWidth&&(n=this._getStretchedLastColumnWidth(e)),n}},{key:"_getStretchedAllColumnWidth",value:function(e,t){var n=0,r=a.get(this),o=r.totalColumns;if(!this.stretchAllColumnsWidth[e]){var i=Math.round(t*this.stretchAllRatio),s=r.stretchingColumnWidthFn(i,e);this.stretchAllColumnsWidth[e]=void 0===s?i:isNaN(s)?this._getColumnWidth(e):s}if(this.stretchAllColumnsWidth.length===o&&this.needVerifyLastColumnWidth ){this.needVerifyLastColumnWidth=!1;for(var l=0;l =d&&n+t<=d+h-f&&(null===this.startRow&&(this.startRow=m),this.endRow=m),o.push(n),n+=t,s||(this.endRow=m),n>=d+h-f){r=!1;break}if(this.endRow===c-1&&r)for(this.startRow=this.endRow;this.startRow>0;){var _=o[this.endRow]+t-o[this.startRow-1];if((_<=h-f||!s)&&(this.startRow-=1),_>=h-f)break}null!==this.startRow&&l&&l(this),this.startPosition=o[this.startRow],void 0===this.startPosition&&(this.startPosition=null),null!= =this.startRow&&(this.count=this.endRow-this.startRow+1)}}]),e}();t.default=a},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r,o=(r=n(74))&&r.__esModule?r:{default:r};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n 1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;i(this,e),this.highlight=t,this.from=n,this.to=r}var t,n;return t=e,(n=[{key:"setHighlight",value:function(e){return this.highlight=e,this}},{key:"setFrom",value:function(e){return this.from=e,this}},{key:"setTo",value:function(e){return this.to=e,this}},{key:"isValid",value:function(e){return this.from.isValid(e)&&this.to.isValid(e)}},{key:"isSingle",value:function(){return this.from.row===thi s.to.row&&this.from.col===this.to.col}},{key:"getHeight",value:function(){return Math.max(this.from.row,this.to.row)-Math.min(this.from.row,this.to.row)+1}},{key:"getWidth",value:function(){return Math.max(this.from.col,this.to.col)-Math.min(this.from.col,this.to.col)+1}},{key:"includes",value:function(e){var t=e.row,n=e.col,r=this.getTopLeftCorner(),o=this.getBottomRightCorner();return r.row<=t&&o.row>=t&&r.col<=n&&o.col>=n}},{key:"includesRange",value:function(e){return this.includes(e.getTopLeftCorner())&&this.includes(e.getBottomRightCorner())}},{key:"isEqual",value:function(e){return Math.min(this.from.row,this.to.row)===Math.min(e.from.row,e.to.row)&&Math.max(this.from.row,this.to.row)===Math.max(e.from.row,e.to.row)&&Math.min(this.from.col,this.to.col)===Math.min(e.from.col,e.to.col)&&Math.max(this.from.col,this.to.col)===Math.max(e.from.col,e.to.col)}},{key:"overlaps",value:function(e){return e.isSouthEastOf(this.getTopLeftCorner())&&e.isNorthWestOf(this.getBottomRightCorner ())}},{key:"isSouthEastOf",value:function(e){return this.getTopLeftCorner().isSouthEastOf(e)||this.getBottomRightCorner().isSouthEastOf(e)}},{key:"isNorthWestOf",value:function(e){return this.getTopLeftCorner().isNorthWestOf(e)||this.getBottomRightCorner().isNorthWestOf(e)}},{key:"isOverlappingHorizontally",value:function(e){return this.getTopRightCorner().col>=e.getTopLeftCorner().col&&this.getTopRightCorner().col<=e.getTopRightCorner().col||this.getTopLeftCorner().col<=e.getTopRightCorner().col&&this.getTopLeftCorner().col>=e.getTopLeftCorner().col}},{key:"isOverlappingVertically",value:function(e){return this.getBottomRightCorner().row>=e.getTopRightCorner().row&&this.getBottomRightCorner().row<=e.getBottomRightCorner().row||this.getTopRightCorner().row<=e.getBottomRightCorner().row&&this.getTopRightCorner().row>=e.getTopRightCorner().row}},{key:"expand",value:function(e){var t=this.getTopLeftCorner(),n=this.getBottomRightCorner();return(e.row n.row||e.c
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-ipysheet for openSUSE:Factory checked in at 2022-12-26 23:27:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ipysheet (Old)
and /work/SRC/openSUSE:Factory/.python-ipysheet.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ipysheet"
Mon Dec 26 23:27:56 2022 rev:8 rq:1045317 version:0.7.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ipysheet/python-ipysheet.changes 2022-10-14 15:42:50.755949121 +0200
+++ /work/SRC/openSUSE:Factory/.python-ipysheet.new.1563/python-ipysheet.changes 2022-12-26 23:28:09.604967287 +0100
@@ -1,0 +2,7 @@
+Sun Dec 25 18:33:04 UTC 2022 - Ben Greiner 1&&void 0!==arguments[1]?arguments[1]:null,r=t[e%t.length];return null!==n?r[n%r.length]:r},O=t.length,H=r?r.row-e.row+1:0;for(d=r?H:Math.max(O,H),u=0;u
+
+- Update to 0.7
+ * no release note (removes jupyter-server dependency)
+- Move to PEP517 build
+
+-------------------------------------------------------------------
Old:
----
ipysheet-0.6.0.tar.gz
New:
----
ipysheet-0.7.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ipysheet.spec ++++++
--- /var/tmp/diff_new_pack.KzNSOV/_old 2022-12-26 23:28:10.096970161 +0100
+++ /var/tmp/diff_new_pack.KzNSOV/_new 2022-12-26 23:28:10.100970185 +0100
@@ -16,28 +16,28 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-ipysheet
-Version: 0.6.0
+Version: 0.7.0
Release: 0
Summary: Spreadsheet widget for the Jupyter notebook
License: MIT
URL: https://github.com/QuantStack/ipysheet
Source: https://files.pythonhosted.org/packages/source/i/ipysheet/ipysheet-%{version}.tar.gz
-BuildRequires: %{python_module jupyter_packaging >= 0.7.9}
-BuildRequires: %{python_module jupyterlab >= 3.0.0}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module base >= 3.6}
+BuildRequires: %{python_module jupyter_packaging >= 0.7.9 with %python-jupyter_packaging < 1}
+BuildRequires: %{python_module jupyterlab >= 3.0.0 with %python-jupyterlab < 4}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module setuptools >= 40.8}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-ipywidgets >= 7.5.0
-Requires: python-jupyter-server >= 1.6
+Requires: jupyter-ipysheet = %{version}
+Requires: (python-ipywidgets >= 7.5.0 with python-ipywidgets < 9)
Recommends: python-pscript
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module ipywidgets >= 7.5.0}
-BuildRequires: %{python_module ipykernel}
-BuildRequires: %{python_module jupyter-server >= 1.6}
+BuildRequires: %{python_module ipywidgets >= 7.5.0 with %python-ipywidgets < 9}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pandas}
BuildRequires: %{python_module pscript}
@@ -56,14 +56,26 @@
This package provides the python interface.
+%package -n jupyter-ipysheet
+Summary: Spreadsheet widget for the Jupyter notebook - Jupyterfiles
+Requires: python3-ipysheet = %{version}
+Requires: (jupyter-ipywidgets >= 7.5.0 with jupyter-ipywidgets < 9)
+Requires: (jupyter-jupyterlab or jupyter-notebook)
+Provides: jupyter-ipysheet = %{version}-%{release}
+
+%description -n jupyter-ipysheet
+A Jupyter widget providing spreadsheets for the Jupyter notebook.
+
+This package provides the extensions for jupyter notebook and jupyterlab.
+
%prep
%autosetup -p1 -n ipysheet-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -73,7 +85,12 @@
%doc README.md
%license LICENSE
%{python_sitelib}/ipysheet/
-%{python_sitelib}/ipysheet-%{version}-py*.egg-info
+%{python_sitelib}/ipysheet-%{version}.dist-info
+
+%files -n jupyter-ipysheet
%license LICENSE
+%{_jupyter_config} %{_jupyter_nb_notebook_confdir}/ipysheet.json
+%{_jupyter_nbextension_dir}/ipysheet
+%{_jupyter_labextensions_dir3}/ipysheet
%changelog
++++++ ipysheet-0.6.0.tar.gz -> ipysheet-0.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipysheet-0.6.0/PKG-INFO new/ipysheet-0.7.0/PKG-INFO
--- old/ipysheet-0.6.0/PKG-INFO 2022-10-10 10:26:33.095359000 +0200
+++ new/ipysheet-0.7.0/PKG-INFO 2022-11-28 10:22:28.273982300 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: ipysheet
-Version: 0.6.0
+Version: 0.7.0
Summary: Spreadsheet in the Jupyter notebook.
Home-page: https://github.com/QuantStack/ipysheet
Author: Maarten A. Breddels
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipysheet-0.6.0/ipysheet/labextension/package.json new/ipysheet-0.7.0/ipysheet/labextension/package.json
--- old/ipysheet-0.6.0/ipysheet/labextension/package.json 2022-10-10 10:26:32.000000000 +0200
+++ new/ipysheet-0.7.0/ipysheet/labextension/package.json 2022-11-28 10:22:27.000000000 +0100
@@ -1,6 +1,6 @@
{
"name": "ipysheet",
- "version": "0.6.0",
+ "version": "0.7.0",
"description": "Spreadsheet in the Jupyter notebook.",
"keywords": [
"jupyter",
@@ -89,7 +89,7 @@
}
},
"_build": {
- "load": "static/remoteEntry.16605c3b5f64dc343feb.js",
+ "load": "static/remoteEntry.c686cffc67f506ae58df.js",
"extension": "./extension",
"style": "./style"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipysheet-0.6.0/ipysheet/labextension/static/253.9e60f772ae514dd79d10.js new/ipysheet-0.7.0/ipysheet/labextension/static/253.9e60f772ae514dd79d10.js
--- old/ipysheet-0.6.0/ipysheet/labextension/static/253.9e60f772ae514dd79d10.js 2022-10-10 10:26:32.000000000 +0200
+++ new/ipysheet-0.7.0/ipysheet/labextension/static/253.9e60f772ae514dd79d10.js 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-(self.webpackChunkipysheet=self.webpackChunkipysheet||[]).push([[253],{4125:(s,j,e)=>{var n={"./af":2525,"./af.js":2525,"./ar":9102,"./ar-dz":3778,"./ar-dz.js":3778,"./ar-kw":960,"./ar-kw.js":960,"./ar-ly":1490,"./ar-ly.js":1490,"./ar-ma":5507,"./ar-ma.js":5507,"./ar-sa":4042,"./ar-sa.js":4042,"./ar-tn":1523,"./ar-tn.js":1523,"./ar.js":9102,"./az":8365,"./az.js":8365,"./be":4860,"./be.js":4860,"./bg":9904,"./bg.js":9904,"./bm":952,"./bm.js":952,"./bn":9807,"./bn.js":9807,"./bo":8437,"./bo.js":8437,"./br":4557,"./br.js":4557,"./bs":9332,"./bs.js":9332,"./ca":3667,"./ca.js":3667,"./cs":6860,"./cs.js":6860,"./cv":5427,"./cv.js":5427,"./cy":8863,"./cy.js":8863,"./da":3520,"./da.js":3520,"./de":2111,"./de-at":464,"./de-at.js":464,"./de-ch":701,"./de-ch.js":701,"./de.js":2111,"./dv":4438,"./dv.js":4438,"./el":3121,"./el.js":3121,"./en-au":9197,"./en-au.js":9197,"./en-ca":3885,"./en-ca.js":3885,"./en-gb":1914,"./en-gb.js":1914,"./en-ie":938,"./en-ie.js":938,"./en-nz":9722,"./en-nz.js":9722
,"./eo":2783,"./eo.js":2783,"./es":6820,"./es-do":9651,"./es-do.js":9651,"./es-us":6018,"./es-us.js":6018,"./es.js":6820,"./et":8686,"./et.js":8686,"./eu":1323,"./eu.js":1323,"./fa":1885,"./fa.js":1885,"./fi":3741,"./fi.js":3741,"./fo":9961,"./fo.js":9961,"./fr":2800,"./fr-ca":8121,"./fr-ca.js":8121,"./fr-ch":7979,"./fr-ch.js":7979,"./fr.js":2800,"./fy":8930,"./fy.js":8930,"./gd":5513,"./gd.js":5513,"./gl":4485,"./gl.js":4485,"./gom-latn":3878,"./gom-latn.js":3878,"./gu":5435,"./gu.js":5435,"./he":2825,"./he.js":2825,"./hi":7282,"./hi.js":7282,"./hr":2438,"./hr.js":2438,"./hu":1310,"./hu.js":1310,"./hy-am":4794,"./hy-am.js":4794,"./id":8761,"./id.js":8761,"./is":6593,"./is.js":6593,"./it":2196,"./it.js":2196,"./ja":2645,"./ja.js":2645,"./jv":1869,"./jv.js":1869,"./ka":4093,"./ka.js":4093,"./kk":9794,"./kk.js":9794,"./km":2637,"./km.js":2637,"./kn":8684,"./kn.js":8684,"./ko":4565,"./ko.js":4565,"./ky":5606,"./ky.js":5606,"./lb":2027,"./lb.js":2027,"./lo":366,"./lo.js":366,"./lt":7311
,"./lt.js":7311,"./lv":1851,"./lv.js":1851,"./me":2700,"./me.js":2700,"./mi":3575,"./mi.js":3575,"./mk":5509,"./mk.js":5509,"./ml":9866,"./ml.js":9866,"./mr":3798,"./mr.js":3798,"./ms":6848,"./ms-my":1212,"./ms-my.js":1212,"./ms.js":6848,"./mt":3181,"./mt.js":3181,"./my":3977,"./my.js":3977,"./nb":7248,"./nb.js":7248,"./ne":1859,"./ne.js":1859,"./nl":7058,"./nl-be":6901,"./nl-be.js":6901,"./nl.js":7058,"./nn":1748,"./nn.js":1748,"./pa-in":4266,"./pa-in.js":4266,"./pl":9581,"./pl.js":9581,"./pt":7410,"./pt-br":6114,"./pt-br.js":6114,"./pt.js":7410,"./ro":8295,"./ro.js":8295,"./ru":9862,"./ru.js":9862,"./sd":9548,"./sd.js":9548,"./se":3236,"./se.js":3236,"./si":289,"./si.js":289,"./sk":8339,"./sk.js":8339,"./sl":4170,"./sl.js":4170,"./sq":5316,"./sq.js":5316,"./sr":8791,"./sr-cyrl":7630,"./sr-cyrl.js":7630,"./sr.js":8791,"./ss":5773,"./ss.js":5773,"./sv":1159,"./sv.js":1159,"./sw":2329,"./sw.js":2329,"./ta":7054,"./ta.js":7054,"./te":1280,"./te.js":1280,"./tet":4120,"./tet.js":4120,".
/th":4679,"./th.js":4679,"./tl-ph":3270,"./tl-ph.js":3270,"./tlh":5386,"./tlh.js":5386,"./tr":4669,"./tr.js":4669,"./tzl":1434,"./tzl.js":1434,"./tzm":7217,"./tzm-latn":7665,"./tzm-latn.js":7665,"./tzm.js":7217,"./uk":9596,"./uk.js":9596,"./ur":5133,"./ur.js":5133,"./uz":9456,"./uz-latn":8737,"./uz-latn.js":8737,"./uz.js":9456,"./vi":5577,"./vi.js":5577,"./x-pseudo":4564,"./x-pseudo.js":4564,"./yo":8854,"./yo.js":8854,"./zh-cn":5817,"./zh-cn.js":5817,"./zh-hk":6634,"./zh-hk.js":6634,"./zh-tw":9292,"./zh-tw.js":9292};function t(s){var j=a(s);return e(j)}function a(s){if(!e.o(n,s)){var j=new Error("Cannot find module '"+s+"'");throw j.code="MODULE_NOT_FOUND",j}return n[s]}t.keys=function(){return Object.keys(n)},t.resolve=a,s.exports=t,t.id=4125},6700:(s,j,e)=>{var n={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,".
/ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":1146,"./es-us.js":1146,"./es.js":5655,"./et":5603,"./et.js":5603,".
/eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":4212,"./kk.js":4212,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./l
t.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":1793,"./ru.js":1793,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":
3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9913,"./zh-mo.js":9913,"./zh-tw":4152,"./zh-tw.js":4152};function t(s){var j=a(s);return e(j)}function a(s){if(!e.o(n,s)){var j=new Error("Cannot find module '"+s+"'");throw j.code="MODULE_NOT_FOUND",j}return n[s]}t.keys=function(){return Object.keys(n)},t.resolve=a,s.exports=t,t.id=6700}}]);
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipysheet-0.6.0/ipysheet/labextension/static/253.ca45efd495cd6a09cb13.js new/ipysheet-0.7.0/ipysheet/labextension/static/253.ca45efd495cd6a09cb13.js
--- old/ipysheet-0.6.0/ipysheet/labextension/static/253.ca45efd495cd6a09cb13.js 1970-01-01 01:00:00.000000000 +0100
+++ new/ipysheet-0.7.0/ipysheet/labextension/static/253.ca45efd495cd6a09cb13.js 2022-11-28 10:22:27.000000000 +0100
@@ -0,0 +1 @@
+(self.webpackChunkipysheet=self.webpackChunkipysheet||[]).push([[253],{4125:(s,j,e)=>{var n={"./af":2525,"./af.js":2525,"./ar":9102,"./ar-dz":3778,"./ar-dz.js":3778,"./ar-kw":960,"./ar-kw.js":960,"./ar-ly":1490,"./ar-ly.js":1490,"./ar-ma":5507,"./ar-ma.js":5507,"./ar-sa":4042,"./ar-sa.js":4042,"./ar-tn":1523,"./ar-tn.js":1523,"./ar.js":9102,"./az":8365,"./az.js":8365,"./be":4860,"./be.js":4860,"./bg":9904,"./bg.js":9904,"./bm":952,"./bm.js":952,"./bn":9807,"./bn.js":9807,"./bo":8437,"./bo.js":8437,"./br":4557,"./br.js":4557,"./bs":9332,"./bs.js":9332,"./ca":3667,"./ca.js":3667,"./cs":6860,"./cs.js":6860,"./cv":5427,"./cv.js":5427,"./cy":8863,"./cy.js":8863,"./da":3520,"./da.js":3520,"./de":2111,"./de-at":464,"./de-at.js":464,"./de-ch":701,"./de-ch.js":701,"./de.js":2111,"./dv":4438,"./dv.js":4438,"./el":3121,"./el.js":3121,"./en-au":9197,"./en-au.js":9197,"./en-ca":3885,"./en-ca.js":3885,"./en-gb":1914,"./en-gb.js":1914,"./en-ie":938,"./en-ie.js":938,"./en-nz":9722,"./en-nz.js":9722
,"./eo":2783,"./eo.js":2783,"./es":6820,"./es-do":9651,"./es-do.js":9651,"./es-us":6018,"./es-us.js":6018,"./es.js":6820,"./et":8686,"./et.js":8686,"./eu":1323,"./eu.js":1323,"./fa":1885,"./fa.js":1885,"./fi":3741,"./fi.js":3741,"./fo":9961,"./fo.js":9961,"./fr":2800,"./fr-ca":8121,"./fr-ca.js":8121,"./fr-ch":7979,"./fr-ch.js":7979,"./fr.js":2800,"./fy":8930,"./fy.js":8930,"./gd":5513,"./gd.js":5513,"./gl":4485,"./gl.js":4485,"./gom-latn":3878,"./gom-latn.js":3878,"./gu":5435,"./gu.js":5435,"./he":2825,"./he.js":2825,"./hi":7282,"./hi.js":7282,"./hr":2438,"./hr.js":2438,"./hu":1310,"./hu.js":1310,"./hy-am":4794,"./hy-am.js":4794,"./id":8761,"./id.js":8761,"./is":6593,"./is.js":6593,"./it":2196,"./it.js":2196,"./ja":2645,"./ja.js":2645,"./jv":1869,"./jv.js":1869,"./ka":4093,"./ka.js":4093,"./kk":9794,"./kk.js":9794,"./km":2637,"./km.js":2637,"./kn":8684,"./kn.js":8684,"./ko":4565,"./ko.js":4565,"./ky":5606,"./ky.js":5606,"./lb":2027,"./lb.js":2027,"./lo":366,"./lo.js":366,"./lt":7311
,"./lt.js":7311,"./lv":1851,"./lv.js":1851,"./me":2700,"./me.js":2700,"./mi":3575,"./mi.js":3575,"./mk":5509,"./mk.js":5509,"./ml":9866,"./ml.js":9866,"./mr":3798,"./mr.js":3798,"./ms":6848,"./ms-my":1212,"./ms-my.js":1212,"./ms.js":6848,"./mt":3181,"./mt.js":3181,"./my":3977,"./my.js":3977,"./nb":7248,"./nb.js":7248,"./ne":1859,"./ne.js":1859,"./nl":7058,"./nl-be":6901,"./nl-be.js":6901,"./nl.js":7058,"./nn":1748,"./nn.js":1748,"./pa-in":4266,"./pa-in.js":4266,"./pl":9581,"./pl.js":9581,"./pt":7410,"./pt-br":6114,"./pt-br.js":6114,"./pt.js":7410,"./ro":8295,"./ro.js":8295,"./ru":9862,"./ru.js":9862,"./sd":9548,"./sd.js":9548,"./se":3236,"./se.js":3236,"./si":289,"./si.js":289,"./sk":8339,"./sk.js":8339,"./sl":4170,"./sl.js":4170,"./sq":5316,"./sq.js":5316,"./sr":8791,"./sr-cyrl":7630,"./sr-cyrl.js":7630,"./sr.js":8791,"./ss":5773,"./ss.js":5773,"./sv":1159,"./sv.js":1159,"./sw":2329,"./sw.js":2329,"./ta":7054,"./ta.js":7054,"./te":1280,"./te.js":1280,"./tet":4120,"./tet.js":4120,".
/th":4679,"./th.js":4679,"./tl-ph":3270,"./tl-ph.js":3270,"./tlh":5386,"./tlh.js":5386,"./tr":4669,"./tr.js":4669,"./tzl":1434,"./tzl.js":1434,"./tzm":7217,"./tzm-latn":7665,"./tzm-latn.js":7665,"./tzm.js":7217,"./uk":9596,"./uk.js":9596,"./ur":5133,"./ur.js":5133,"./uz":9456,"./uz-latn":8737,"./uz-latn.js":8737,"./uz.js":9456,"./vi":5577,"./vi.js":5577,"./x-pseudo":4564,"./x-pseudo.js":4564,"./yo":8854,"./yo.js":8854,"./zh-cn":5817,"./zh-cn.js":5817,"./zh-hk":6634,"./zh-hk.js":6634,"./zh-tw":9292,"./zh-tw.js":9292};function t(s){var j=a(s);return e(j)}function a(s){if(!e.o(n,s)){var j=new Error("Cannot find module '"+s+"'");throw j.code="MODULE_NOT_FOUND",j}return n[s]}t.keys=function(){return Object.keys(n)},t.resolve=a,s.exports=t,t.id=4125},6700:(s,j,e)=>{var n={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,".
/ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":1146,"./es-us.js":1146,"./es.js":5655,"./et":5603,"./et.js":5603,".
/eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./l
t.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":1793,"./ru.js":1793,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":
3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9913,"./zh-mo.js":9913,"./zh-tw":4152,"./zh-tw.js":4152};function t(s){var j=a(s);return e(j)}function a(s){if(!e.o(n,s)){var j=new Error("Cannot find module '"+s+"'");throw j.code="MODULE_NOT_FOUND",j}return n[s]}t.keys=function(){return Object.keys(n)},t.resolve=a,s.exports=t,t.id=6700}}]);
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ipysheet-0.6.0/ipysheet/labextension/static/273.42602276cf4014c8e829.js new/ipysheet-0.7.0/ipysheet/labextension/static/273.42602276cf4014c8e829.js
--- old/ipysheet-0.6.0/ipysheet/labextension/static/273.42602276cf4014c8e829.js 2022-10-10 10:26:32.000000000 +0200
+++ new/ipysheet-0.7.0/ipysheet/labextension/static/273.42602276cf4014c8e829.js 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkipysheet=self.webpackChunkipysheet||[]).push([[273],{5871:(e,t,o)=>{o.d(t,{q:()=>d});var n=o(2759),r=o(2876),a=o(6486),i=o(8657);class s{constructor(e){this.id=(0,n.uuid)(),this.code=e,this.execute_promise=new Promise(((e,t)=>{this.resolve=e,this.reject=t}))}}class l{constructor(){this.requests={},this.initialize()}execute(e){const t=new s(e);return this.requests[t.id]=t,this.worker.postMessage({id:t.id,code:t.code}),t.execute_promise}initialize(){const e=URL.createObjectURL(new Blob(["(",function(){const e=postMessage,t=addEventListener;(e=>{let t=this;const o=["Object","Function","Infinity","NaN","undefined","caches","TEMPORARY","PERSISTENT","Array","Boolean","Number","String","Symbol","Map","Math","Set"];do{Object.getOwnPropertyNames(t).forEach((e=>{-1===o.indexOf(e)&&delete t[e]})),t=Object.getPrototypeOf(t)}while(t!==Object.prototype)})(),t("message",(({data:t})=>{const o=new Function("",`return (${t.code}\n);`);e({id:t.id,result:o()},void 0)}))}.
toString(),")()"],{type:"application/javascript"}));this.worker=new Worker(e),this.worker.onmessage=({data:e})=>{this.requests[e.id].resolve(e.result),delete this.requests[e.id]},this.worker.onerror=({message:e})=>{(0,a.forEach)(this.requests,(t=>{t.reject(e)})),this.requests={},this.worker.terminate(),this.initialize()},URL.revokeObjectURL(e)}}class d extends n.WidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"RendererModel",_model_module:"ipysheet",_model_module_version:i.F,name:"",code:""})}initialize(e,t){super.initialize(e,t),this.kernel=new l;const o=this;this.rendering_function=function(e,t,n,a,i,s,l){r.renderers.TextRenderer.apply(this,arguments),o.kernel.execute(`(${o.get("code")})(${s})`).then((e=>{Object.assign(t.style,e)}))},r.renderers.registerRenderer(this.get("name"),this.rendering_function)}}},8647:(e,t,o)=>{o.r(t),o.d(t,{CellRangeModel:()=>d,RendererModel:()=>l.q,SheetModel:()=>h,SheetView:()=>g});var n=o(2759),r=o(6486),a=
o(8657),i=o(2876),s=o.n(i);var l=o(5871);o(1035),o(1105),o(9259),i.cellTypes.registerCellType("widget",{renderer:async function(e,t,o,n,r,a,i){if(!t.hasAttribute("ghost-table")&&i.widget_view){let e=i.widget_view.el;1==t.children.length&&t.children[0]==e||(t.innerHTML="",e&&(t.appendChild(e),i.widget_view.trigger("displayed")))}}});class d extends n.WidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"CellRangeModel",_model_module:"ipysheet",_model_module_version:a.F,value:null,row_start:1,column_start:1,row_end:1,column_end:1,type:null,name:null,style:{},renderer:null,read_only:!1,choice:null,squeeze_row:!0,squeeze_column:!0,transpose:!1,numeric_format:"0.000",date_format:"YYYY/MM/DD",time_format:"h:mm:ss a"})}}d.serializers=Object.assign(Object.assign({},n.WidgetModel.serializers),{value:{deserialize:n.unpack_models}});class h extends n.DOMWidgetModel{defaults(){return Object.assign(Object.assign({},super.defaults()),{_model_name:"SheetModel
",_view_name:"SheetView",_model_module:"ipysheet",_view_module:"ipysheet",_model_module_version:a.F,_view_module_version:a.F,rows:3,columns:4,cells:[],named_cells:{},row_headers:!0,column_headers:!0,stretch_headers:"all",column_width:null,column_resizing:!0,row_resizing:!0,search_token:""})}initialize(e,t){super.initialize(e,t),this.data=[[]],this.update_data_grid(!1),this._updating_grid=!1,this.on("change:rows change:columns",this.update_data_grid,this),this.on("change:cells",this.on_change_cells,this),this.on("data_change",this.grid_to_cell,this),(0,r.each)(this.get("cells"),(e=>this.cell_bind(e))),this.cells_to_grid()}on_change_cells(){this._updating_grid=!0;try{let e=this.previous("cells"),t=this.get("cells");for(let o=0;o
t?e:t}),Array.isArray(e)?e[0]:void 0)},t.arrayMin=function(e){return r(e,(function(e,t){return e0&&void 0!==arguments[0]?arguments[0]:{},t=e.userAgent,n=void 0===t?navigator.userAgent:t,o=e.vendor,a=void 0===o?navigator.vendor:o;(0,r.objectEach)(i,(function(e){(0,e.test)(n,a)}))}a()},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(1),o=n(2),i=n(3),a=l(n(10)),s=l(n(165));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){for(var n=0;n>1,d=23===t?D(2,-24)-D(2,-77):0,c=0,h=e<0||0===e&&1/e<0?1:0;for((e=Y(e))!=e||e===k?(o=e!=e?1:0,r=l):(r=C(E(e)/O),e*(i=D(2,-r))<1&&(r--,i*=2),(e+=r+u>=1?d/i:d*D(2,1-u))*i>=2&&(r++,i/=2),r+u>=l?(o=0,r=l):r+u>=1?(o=(e*i-1)*D(2,t),r+=u):(o=e*D(2,u-1)*D(2,t),r=0));t>=8;a[c++]=255&o,o/=256,t-=8);for(r=r<this.row:"right"===t?e.col+e.colspan-10;)l in n?n[s]=n[l]:delete n[s],s+=c,l+=c;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(115);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(20)&&"g"!=/./g.flags&&n(17).f(RegExp.prototype,"flags",{configurable:!0,get:n(83)})},function(e,t,n){"use strict";var r,o,i,a,s=n(52),l=n(6),u=n(37),d=n(71),c=n(0),h=n(7),f=n(38),m=n(64),_=n(86),p=n(72),y=n(117).set,g=n(305)(),v=n(152),M=n(306),w=n(87),L=n(153),b="Promise",T=l.TypeError,k=l.process,S=k&&k.versions,Y=S&&S.v8||"",D=l.Promise,C="process"==d(k),E=function(){},O=o=v.f,H=!!function(){try{var e=D.resolve(1),t=(e.constructor={})[n(12)("species")]=function(e){e(E,E)};return(C||"function"==typeof PromiseRejectionEvent)&&e.then(E)instanceof t&&0!==Y.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),R=function(e){var t;return!(!h(e)||"function"!=ty
peof(t=e.then))&&t},A=function(e,t){if(!e._n){e._n=!0;var n=e._c;g((function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,s=o?t.ok:t.fail,l=t.resolve,u=t.reject,d=t.domain;try{s?(o||(2==e._h&&j(e),e._h=1),!0===s?n=r:(d&&d.enter(),n=s(r),d&&(d.exit(),a=!0)),n===t.promise?u(T("Promise-chain cycle")):(i=R(n))?i.call(n,l,u):l(n)):u(r)}catch(e){d&&!a&&d.exit(),u(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&P(e)}))}},P=function(e){y.call(l,(function(){var t,n,r,o=e._v,i=x(e);if(i&&(t=M((function(){C?k.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)})),e._h=C||x(e)?2:1),e._a=void 0,i&&t.e)throw t.v}))},x=function(e){return 1!==e._h&&0===(e._a||e._c).length},j=function(e){y.call(l,(function(){var t;C?k.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})}))},N=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),A(
t,!0))},I=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw T("Promise can't be resolved itself");(t=R(e))?g((function(){var r={_w:n,_d:!1};try{t.call(e,u(I,r,1),u(N,r,1))}catch(e){N.call(r,e)}})):(n._v=e,n._s=1,A(n,!1))}catch(e){N.call({_w:n,_d:!1},e)}}};H||(D=function(e){m(this,D,b,"_h"),f(e),r.call(this);try{e(u(I,this,1),u(N,this,1))}catch(e){N.call(this,e)}},(r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(65)(D.prototype,{then:function(e,t){var n=O(p(this,D));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=C?k.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&A(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(I,e,1),this.reject=u(N,e,1)},v.f=O=function(e){return e===D||e===a?new i(e):o(e)}),c(c.G+c.W+c.F*!H,{Promise:D}),n(60)(D,b),n(63)(b),a=n(21).Promise,c(c.S+c.F*!H,b,{reject:f
unction(e){var t=O(this);return(0,t.reject)(e),t.promise}}),c(c.S+c.F*(s||!H),b,{resolve:function(e){return L(s&&this===a?D:this,e)}}),c(c.S+c.F*!(H&&n(82)((function(e){D.all(e).catch(E)}))),b,{all:function(e){var t=this,n=O(t),r=n.resolve,o=n.reject,i=M((function(){var n=[],i=0,a=1;_(e,!1,(function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then((function(e){l||(l=!0,n[s]=e,--a||r(n))}),o)})),--a||r(n)}));return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=O(t),r=n.reject,o=M((function(){_(e,!1,(function(e){t.resolve(e).then(n.resolve,r)}))}));return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(38);function o(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)}e.exports.f=function(e){return new o(e)}},function(e,t,n){var r=n(5),o=n(7),i=n(152);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),
n.promise}},function(e,t,n){"use strict";var r=n(17).f,o=n(55),i=n(65),a=n(37),s=n(64),l=n(86),u=n(106),d=n(148),c=n(63),h=n(20),f=n(45).fastKey,m=n(66),_=h?"_s":"size",p=function(e,t){var n,r=f(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var d=e((function(e,r){s(e,d,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[_]=0,null!=r&&l(r,n,e[u],e)}));return i(d.prototype,{clear:function(){for(var e=m(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[_]=0},delete:function(e){var n=m(this,t),r=p(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[_]--}return!!r},forEach:function(e){m(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!p(m(this,t),e)}}),h&&r(d.prototype,"size",{get:function(){return m(this,t)[_]}}),d},def:functio
n(e,t,n){var r,o,i=p(e,t);return i?i.v=n:(e._l=i={i:o=f(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[_]++,"F"!==o&&(e._i[o]=i)),e},getEntry:p,setStrong:function(e,t,n){u(e,t,(function(e,n){this._t=m(e,t),this._k=n,this._l=void 0}),(function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?d(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(e._t=void 0,d(1))}),n?"entries":"values",!n,!0),c(t)}}},function(e,t,n){"use strict";var r=n(65),o=n(45).getWeak,i=n(5),a=n(7),s=n(64),l=n(86),u=n(36),d=n(27),c=n(66),h=u(5),f=u(6),m=0,_=function(e){return e._l||(e._l=new p)},p=function(){this.a=[]},y=function(e,t){return h(e.a,(function(e){return e[0]===t}))};p.prototype={get:function(e){var t=y(this,e);if(t)return t[1]},has:function(e){return!!y(this,e)},set:function(e,t){var n=y(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=f(this.a,(function(t){return t[0]===e}));return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:functio
n(e,t,n,i){var u=e((function(e,r){s(e,u,t,"_i"),e._t=t,e._i=m++,e._l=void 0,null!=r&&l(r,n,e[i],e)}));return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?_(c(this,t)).delete(e):n&&d(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?_(c(this,t)).has(e):n&&d(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?_(e).set(t,n):r[e._i]=n,e},ufstore:_}},function(e,t,n){var r=n(33),o=n(16);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(56),o=n(80),i=n(5),a=n(6).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(16),o=n(102),i=n(40);e.exports=function(e,t,n,a){var s=String(i(e)),l=s.length,u=void 0===n?" ":String(n),d=r(t);if(d<=l||""==u)return s;var c=d-l,h=o.call(u,Math.ceil(c/u.length));return h.length>c&&(h=h.slice(0,c)),a?h+s:s+h}},function(e,t,n
){var r=n(53),o=n(29),i=n(70).f;e.exports=function(e){return function(t){for(var n,a=o(t),s=r(a),l=s.length,u=0,d=[];l>u;)i.call(a,n=s[u++])&&d.push(e?[n,a[n]]:a[n]);return d}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;ni.countRows()-1?i.deselectCell():i.selectCell(t,0),i.getData().length&&(e.preventDefault(),(0,s.st
opImmediatePropagation)(e),r.instance.listen(),r.TEXTAREA.focus()))}};u.prototype.open=function(){this.instance.addHook("beforeKeyDown",d);for(var e=arguments.length,t=new Array(e),n=0;n0?(r=n/l)*r:n;return l===1/0?1/0:l*Math.sqrt(i)}})},function(e,t,n){var r=n(0),o=Math.imul;r(r.S+r.F*n(4)((function(){return-5!=o(4294967295,5)||2!=o.length})),"Math",{imul:function(e,t){var n=65535,r=+e,o=+t,i=n&r,a=n&o;return 0|i*a+((n&r>>>16)*a+i*(n&o>>>16)<<16>>>0)}})},function(e,t,n){var r=n(0);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(0);r(r.S,"Math",{log1p:n(143)})},function(e,t,n){var r=n(0);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(0);r(r.S,"Math",{sign:n(103)})},function(e,t,n){var r=n(0),o=n(104),i=Math.exp;r(r.S+r.F*n(4)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e
)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(0),o=n(104),i=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){var r=n(0);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(0),o=n(54),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(0),o=n(29),i=n(16);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s0&&void 0!==arguments[0]?arguments[0]:null;f(m(t.prototype),"open",this).call(this),this.showDatepicker(e)}},{key:"close",value:function(){var e=this;this._opened=!1,this.instance._registerTimeout((function(){e.instance._refreshBorders()})),f(m(t.prototype),"close",this).call(this)}},{key:"finishEditing",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e){var r=this.originalValue;void 0!==r&&this.setValue(r)}this.hideDatepicker(),f(m(t.prototype),"finishEditing",this).call(this,e,n)}},{key:"showDatepicker",value:function(e){this.$datePicker.config(this.getDatePickerConfig());var t,n=this.TD.getBoundingClientRect(),o=this.cellProperties.dateFormat||this.defaultDateFormat,a=this.$datePicker.config(),s=this.instance.view.isMouseDown(),u=!!e&&(0,l.isMetaKey)(e.keyCode);this.datePickerStyle.top="".concat(window.pageY
Offset+n.top+(0,i.outerHeight)(this.TD),"px"),this.datePickerStyle.left="".concat(window.pageXOffset+n.left,"px"),this.$datePicker._onInputFocus=function(){},a.format=o,this.originalValue?(t=this.originalValue,(0,r.default)(t,o,!0).isValid()&&this.$datePicker.setMoment((0,r.default)(t,o),!0),this.getValue()!==this.originalValue&&this.setValue(this.originalValue),u||s||this.setValue("")):this.cellProperties.defaultDate?(t=this.cellProperties.defaultDate,a.defaultDate=t,(0,r.default)(t,o,!0).isValid()&&this.$datePicker.setMoment((0,r.default)(t,o),!0),u||s||this.setValue("")):this.$datePicker.gotoToday(),this.datePickerStyle.display="block",this.$datePicker.show()}},{key:"hideDatepicker",value:function(){this.datePickerStyle.display="none",this.$datePicker.hide()}},{key:"getDatePickerConfig",value:function(){var e=this,t=this.TEXTAREA,n={};this.cellProperties&&this.cellProperties.datePickerConfig&&(0,a.deepExtend)(n,this.cellProperties.datePickerConfig);var o=n.onSelect,i=n.onClose;re
turn n.field=t,n.trigger=t,n.container=this.datePicker,n.bound=!1,n.format=n.format||this.defaultDateFormat,n.reposition=n.reposition||!1,n.onSelect=function(t){var n=t;isNaN(n.getTime())||(n=(0,r.default)(n).format(e.cellProperties.dateFormat||e.defaultDateFormat)),e.setValue(n),e.hideDatepicker(),o&&o()},n.onClose=function(){e.parentDestroyed||e.finishEditing(!1),i&&i()},n}}],d&&h(n.prototype,d),t}(d(n(77)).default),y=p;t.default=y},function(e,t){e.exports=n},function(e,t){},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=i(n(174)),o=i(n(22));function i(e){return e&&e.__esModule?e:{default:e}}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},a(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{from:0,to:this.hot.countCols()-1},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{from:0,to:this.hot.countRows()-1},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i="number"==typeof t?{from:t,to:t}:t,a="number"==typeof n?{from:n,to:n}:n;(0,u.rangeEach)(i.from,i.to,(function(t){if(r||void 0===e.widths[t]&&!e.hot._getColWidthFromSettings(t)){var n=e.samplesGenerator.generateColumnSamples(t,a);(0,o.arrayEach)(n,(function(t){var n=p(t,2),r=n[0],o=n[1];return e.ghostTable.addColumn(r,o)}))}})),this.ghostTable.columns.length&&(this.ghostTable.getWidths((function(t,n){e.widths[t]=n})),th
is.ghostTable.clean())}},{key:"calculateAllColumnsWidth",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{from:0,to:this.hot.countRows()-1},r=0,o=this.hot.countCols()-1,a=null;this.inProgress=!0;var s=function s(){if(!e.hot)return(0,i.cancelAnimationFrame)(a),void(e.inProgress=!1);e.calculateColumnsWidth({from:r,to:Math.min(r+t.CALCULATION_STEP,o)},n),(r=r+t.CALCULATION_STEP+1)s?"asc"===e?o.FIRST_AFTER_SECOND:o.FIRST_BEFORE_SECOND:o.DO_NOT_SWAP}},t.COLUMN_DATA_TYPE=void 0;var r=n(14),o=n(78);t.COLUMN_DATA_TYPE="numeric"},function(e,t,n){"use strict";t.__esModule=!0,t.compareFunctionFactory=function(e,t,n){return function(r,s){var l=n.sortEmptyCells;if(r===s)return a.DO_NOT_SWAP;if((0,i.isEmpty)(r))return(0,i.isEmpty)(s)?a.DO_NOT_SWAP:l&&"asc"===e?a.FIRST_BEFORE_SECOND:a.FIRST_AFTER_SECOND;if((0,i.isEmpty)(s))return l&&"asc"===e?a.FIRST_AFTER_SECOND:a.FIRST_BEFORE_SECOND;var u=t.dateFormat,d=(0,o.default)(r,u),c=(0,o.default)(s,u);return d.isValid()?c.isValid()?c.isAfter(d)?"asc"===e?a.FIRST_BEFORE_SECOND:a.FIRST_AFTER_SECOND:c.isBefore(d)?"asc"===e?a.FIRST_AFTER_SECOND:a.FIRST_BEFORE_SECOND:a.DO_NOT_SWAP:a.FIRST_BEFORE_SECOND:a.FIRST_AFTER_SECOND}},t.COLUMN_DATA_TYPE=void 0;var r,o=(r=n(75))&&r.__esModule?r:{default:r},
i=n(14),a=n(78);t.COLUMN_DATA_TYPE="date"},function(e,t,n){"use strict";t.__esModule=!0,t.sort=function(e,t){for(var n=(0,i.getRootComparator)(t),r=arguments.length,a=new Array(r>2?r-2:0),s=2;s