/*! Copyright 2010-2020 SpryMedia Ltd. This source file is free software, available under the following license: MIT license - http://datatables.net/license/mit This source file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. For details please refer to: http://www.datatables.net AutoFill 2.3.5 ©2008-2020 SpryMedia Ltd - datatables.net/license */ var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(b){var f=0;return function(){return f'),select:{top:b('
'),right:b('
'),bottom:b('
'),left:b('
')},background:b('
'),list:b('
'+this.s.dt.i18n("autoFill.info", "")+"
    "),dtScroll:null,offsetParent:null};this._constructor()};b.extend(l.prototype,{enabled:function(){return this.s.enabled},enable:function(a){var d=this;if(!1===a)return this.disable();this.s.enabled=!0;this._focusListener();this.dom.handle.on("mousedown",function(a){d._mousedown(a);return!1});return this},disable:function(){this.s.enabled=!1;this._focusListenerRemove();return this},_constructor:function(){var a=this,d=this.s.dt,c=b("div.dataTables_scrollBody",this.s.dt.table().container()); d.settings()[0].autoFill=this;c.length&&(this.dom.dtScroll=c,"static"===c.css("position")&&c.css("position","relative"));!1!==this.c.enable&&this.enable();d.on("destroy.autoFill",function(){a._focusListenerRemove()})},_attach:function(a){var d=this.s.dt,c=d.cell(a).index(),g=this.dom.handle,h=this.s.handle;c&&-1!==d.columns(this.c.columns).indexes().indexOf(c.column)?(this.dom.offsetParent||(this.dom.offsetParent=b(d.table().node()).offsetParent()),h.height&&h.width||(g.appendTo("body"),h.height= g.outerHeight(),h.width=g.outerWidth()),d=this._getPosition(a,this.dom.offsetParent),this.dom.attachedTo=a,g.css({top:d.top+a.offsetHeight-h.height,left:d.left+a.offsetWidth-h.width}).appendTo(this.dom.offsetParent)):this._detach()},_actionSelector:function(a){var d=this,c=this.s.dt,g=l.actions,h=[];b.each(g,function(d,b){b.available(c,a)&&h.push(d)});if(1===h.length&&!1===this.c.alwaysAsk){var e=g[h[0]].execute(c,a);this._update(e,a)}else if(1").append('
    '+g[e].option(c,a)+"
    ").append(b('
    ').append(b('").on("click",function(){var h=g[e].execute(c,a,b(this).closest("li"));d._update(h,a);d.dom.background.remove();d.dom.list.remove()}))))});this.dom.background.appendTo("body");this.dom.list.appendTo("body");this.dom.list.css("margin-top", this.dom.list.outerHeight()/2*-1)}},_detach:function(){this.dom.attachedTo=null;this.dom.handle.detach()},_drawSelection:function(a,d){var c=this.s.dt;d=this.s.start;var g=b(this.dom.start),h={row:this.c.vertical?c.rows({page:"current"}).nodes().indexOf(a.parentNode):d.row,column:this.c.horizontal?b(a).index():d.column};a=c.column.index("toData",h.column);var e=c.row(":eq("+h.row+")",{page:"current"});e=b(c.cell(e.index(),a).node());if(c.cell(e).any()&&-1!==c.columns(this.c.columns).indexes().indexOf(a)){this.s.end= h;c=d.row=b;a--)c.push(a);return c},_shiftScroll:function(a){var b=this,c=this.s.scroll,g=!1,h=a.pageY-e.body.scrollTop,f=a.pageX-e.body.scrollLeft,k,l,m,p;65>h?k=-5:h>c.windowHeight-65&&(k=5);65>f?l=-5:f>c.windowWidth-65&&(l=5);null!==c.dtTop&&a.pageYc.dtTop+c.dtHeight-65&&(m=5);null!==c.dtLeft&&a.pageX< c.dtLeft+65?p=-5:null!==c.dtLeft&&a.pageX>c.dtLeft+c.dtWidth-65&&(p=5);k||l||m||p?(c.windowVert=k,c.windowHoriz=l,c.dtVert=m,c.dtHoriz=p,g=!0):this.s.scrollInterval&&(clearInterval(this.s.scrollInterval),this.s.scrollInterval=null);!this.s.scrollInterval&&g&&(this.s.scrollInterval=setInterval(function(){c.windowVert&&(e.body.scrollTop+=c.windowVert);c.windowHoriz&&(e.body.scrollLeft+=c.windowHoriz);if(c.dtVert||c.dtHoriz){var a=b.dom.dtScroll[0];c.dtVert&&(a.scrollTop+=c.dtVert);c.dtHoriz&&(a.scrollLeft+= c.dtHoriz)}},20))},_update:function(a,b){if(!1!==a){a=this.s.dt;var c=a.columns(this.c.columns).indexes();this._emitEvent("preAutoFill",[a,b]);this._editor(b);if(null!==this.c.update?this.c.update:!this.c.editor){for(var d=0,h=b.length;d')},execute:function(a,d,c){a=1*d[0][0].data;c=1*b("input",c).val();for(var g=0,e=d.length;g"+b[0][0].label+"")},execute:function(a,b,c){a=b[0][0].data;c=0;for(var d=b.length;c