1function ptsElementBase(jqueryHtml,block){this._iterNum=0;this._id='el_'+mtRand(1,999999);this._animationSpeed=g_ptsAnimationSpeed;this._$=jqueryHtml;this._block=block;if(typeof(this._menuOriginalId)==='undefined'){this._menuOriginalId='';} 2this._innerImgsCount=0;this._innerImgsLoaded=0;this._menu=null;this._menuClbs={};if(typeof(this._menuClass)==='undefined'){this._menuClass='ptsElementMenu';} 3this._menuOnBottom=false;this._code='base';this._initedComplete=false;this._editArea=null;if(typeof(this._isMovable)==='undefined'){this._isMovable=false;} 4this._moveHandler=null;this._sortInProgress=false;if(typeof(this._showMenuEvent)==='undefined'){this._showMenuEvent='click';} 5if(typeof(this._changeable)==='undefined'){this._changeable=false;} 6if(g_ptsEdit){this._init();this._initMenuClbs();this._initMenu();var images=this._$.find('img');if(images&&(this._innerImgsCount=images.length)){this._innerImgsLoaded=0;var self=this;images.load(function(){self._innerImgsLoaded++;if(self._$.find('img').length==self._innerImgsLoaded){self._afterFullContentLoad();}});}} 7this._onlyFirstHtmlInit();this._initedComplete=true;} 8ptsElementBase.prototype.getId=function(){return this._id;};ptsElementBase.prototype.getBlock=function(){return this._block;};ptsElementBase.prototype._onlyFirstHtmlInit=function(){if(this._$&&!this._$.data('first-inited')){this._$.data('first-inited',1);return true;} 9return false;};ptsElementBase.prototype.setIterNum=function(num){this._iterNum=num;this._$.data('iter-num',num);};ptsElementBase.prototype.getIterNum=function(){return this._iterNum;};ptsElementBase.prototype.$=function(){return this._$;};ptsElementBase.prototype.getCode=function(){return this._code;};ptsElementBase.prototype._setCode=function(code){this._code=code;};ptsElementBase.prototype._init=function(){this._beforeInit();};ptsElementBase.prototype._beforeInit=function(){};ptsElementBase.prototype.destroy=function(){};ptsElementBase.prototype.get=function(opt){return jQuery('<div/>').html(this._$.attr('data-'+opt)).text();};ptsElementBase.prototype.set=function(opt,val){this._$.attr('data-'+opt,jQuery('<div/>').text(val).html());};ptsElementBase.prototype._getEditArea=function(){if(!this._editArea||this._$.attr('data-reset')=='1'){this._editArea=this._$.children('.ptsElArea');if(!this._editArea.length){this._editArea=this._$.find('.ptsInputShell');this._$.removeAttr('data-reset');}} 10return this._editArea;};ptsElementBase.prototype._getOverlay=function(){return this._$.find('.ptsElOverlay');};function ptsElement_btn(jqueryHtml,block){if(typeof(this._menuOriginalId)==='undefined'){this._menuOriginalId='ptsElMenuBtnExl';} 11this._menuClass='ptsElementMenu_btn';this._haveAdditionBgEl=null;this._changeable=true;this.includePostLinks=true;ptsElement_btn.superclass.constructor.apply(this,arguments);} 12extendPts(ptsElement_btn,ptsElementBase);ptsElement_btn.prototype._onlyFirstHtmlInit=function(){if(ptsElement_btn.superclass._onlyFirstHtmlInit.apply(this,arguments)){if(this.get('customhover-clb')){var clbName=this.get('customhover-clb');if(typeof(this[clbName])==='function'){var self=this;this._getEditArea().hover(function(){self[clbName](true,this);},function(){self[clbName](false,this);});}}}};ptsElement_btn.prototype._hoverChangeFontColor=function(hover,element){if(hover){jQuery(element).data('original-color',this._getEditArea().css('color')).css('color',jQuery(element).parents('.ptsEl:first').attr('data-bgcolor'));}else{jQuery(element).css('color',jQuery(element).data('original-color'));}};ptsElement_btn.prototype._hoverChangeBgColor=function(hover,element){var parentElement=jQuery(element).parents('.ptsEl:first');if(hover){parentElement.data('original-color',parentElement.css('background-color')).css('background-color',parentElement.attr('data-bgcolor'));}else{parentElement.css('background-color',parentElement.data('original-color'));}};ptsElement_btn.prototype._hoverBorderColor=function(hover,element){if(hover){jQuery(element).data('original-color',jQuery(element).css('border-color')).css('border-color',jQuery(element).parents('.ptsEl:first').attr('data-bgcolor'));}else{jQuery(element).css('border-color',jQuery(element).data('original-color'));}};function ptsElement_table_col(jqueryHtml,block){if(typeof(this._menuOriginalId)==='undefined'){this._menuOriginalId='ptsElMenuTableColExl';} 13if(typeof(this._menuClass)==='undefined'){this._menuClass='ptsElementMenu_table_col';} 14if(typeof(this._isMovable)==='undefined'){this._isMovable=true;} 15this._showMenuEvent='hover';this._colNum=0;ptsElement_table_col.superclass.constructor.apply(this,arguments);} 16extendPts(ptsElement_table_col,ptsElementBase);ptsElement_table_col.prototype.setIterNum=function(){ptsElement_table_col.superclass.setIterNum.apply(this,arguments);if(!g_ptsEdit&&typeof(ptsScheduleCheck)!=='undefined'){ptsScheduleCheck(this);}};function ptsElement_table_col_desc(jqueryHtml,block){this._isMovable=false;ptsElement_table_col_desc.superclass.constructor.apply(this,arguments);} 17extendPts(ptsElement_table_col_desc,ptsElement_table_col);function ptsElement_table_cell_txt(jqueryHtml,block){if(block.getParam('responsive_text')){jqueryHtml.find('span, p').responsiveText({minFontSize:14});} 18this.includePostLinks=true;ptsElement_table_cell_txt.superclass.constructor.apply(this,arguments);} 19extendPts(ptsElement_table_cell_txt,ptsElementBase);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.