"use strict";
/* Basic -------------------------------------------------------------- */
(function($) {
var abrMetabox = {};
( function() {
var $this;
abrMetabox = {
/*
* Initialize
*/
init: function( e ) {
$this = abrMetabox;
// Variables.
$this.wrap = $( '.abr-metabox-wrap' );
// Init.
$this.metaboxInit( e );
// Init events.
$this.events( e );
},
/*
* Events
*/
events: function( e ) {
// Custom Events
$this.wrap.on( 'click change keyup keydown', '.abr-metabox-repeater .attribute-name', $this.setSignature );
$this.wrap.on( 'click', '.abr-metabox-repeater .row-topbar', $this.toggleItems );
$this.wrap.on( 'click', '.abr-metabox-repeater .btn-remove-row', $this.removeRepeaterRow );
$this.wrap.on( 'click', '.abr-metabox-repeater .btn-add-row', $this.addRepeaterRow );
},
/*
* Init metabox elements
*/
metaboxInit: function( e ) {
// Add tabs for Meta Box (UI)
$this.wrap.find( '.abr-metabox-tabs' ).tabs();
// Repeater sortable
$this.wrap.find( '.abr-metabox-repeater tbody' ).sortable( {
items: 'tr',
placeholder: 'ui-state-highlight',
handle: '.row-topbar, .row-handle',
start: function( e, ui ) {
ui.placeholder.height( ui.item.height() );
},
} );
},
/*
* Toggle items
*/
toggleItems: function() {
if ( $( this ).hasClass( 'closed' ) ) {
$( this ).removeClass( 'closed' );
$( this ).siblings( '.row-fields' ).slideDown();
} else {
$( this ).addClass( 'closed' );
$( this ).siblings( '.row-fields' ).slideUp();
}
},
/*
* Set signature
*/
setSignature: function() {
var label = '' + $( this ).data( 'label' ) + ' ';
var value = $( this ).val() ? $( this ).val() : label;
$( this ).parents( '.row-content' ).find( '.signature' ).html( value );
},
/*
* Add repeater row
*/
addRepeaterRow: function() {
var repeater = $( this ).siblings( '.abr-metabox-repeater-table' )
// Get html row.
var html = repeater.find( 'tbody tr.hidden' ).html();
// Add new row.
repeater.find( 'tbody' ).append( '
' + html + ' ' );
// Visible all input and textarea.
repeater.find( 'tr' ).not( '.hidden' ).find( 'input, textarea' ).removeAttr( 'disabled' );
return false;
},
/*
* Remove repeater row
*/
removeRepeaterRow: function() {
$( this ).parents( '.row' ).remove();
return false;
}
};
} )();
// Initialize.
$( function() {
abrMetabox.init();
} );
})(jQuery);
/* Reviews -------------------------------------------------------------- */
(function($) {
var abrReviews = {};
( function() {
var $this;
abrReviews = {
/*
* Initialize
*/
init: function( e ) {
$this = abrReviews;
// Variables.
$this.wrap = $( '.review-wrap' );
// Init.
$this.reviewsInit( e );
// Init events.
$this.events( e );
},
/*
* Events
*/
events: function( e ) {
// Custom Events
$this.wrap.on( 'click', 'input[name="abr_review_settings"]', $this.toggleMetaBox );
$this.wrap.on( 'click', 'input[name="abr_review_auto_score"]', $this.actionAutoScore );
$this.wrap.on( 'change', 'select[name="abr_review_schema_author"]', $this.actionSchemaAuthor );
},
/*
* Init reviews elements
*/
reviewsInit: function( e ) {
$this.actionAutoScore( 'input[name="abr_review_auto_score"]' );
$this.actionSchemaAuthor( 'select[name="abr_review_schema_author"]' );
},
/*
* Toggle metabox view
*/
toggleMetaBox: function() {
if ( $( this ).prop( 'checked' ) ) {
$this.wrap.find( '.abr-metabox-tabs' ).attr( 'checked', 'checked' );
} else {
$this.wrap.find( '.abr-metabox-tabs' ).removeAttr( 'checked' );
}
},
/*
* Action auto score
*/
actionAutoScore: function( e ) {
let checked = $( typeof e === 'string' ? e : this ).prop('checked');
if ( checked ) {
$( '.review-field-total-score' ).addClass( 'hidden' );
} else {
$( '.review-field-total-score' ).removeClass( 'hidden' );
}
},
/*
* Action schema author
*/
actionSchemaAuthor: function( e ) {
let val = $( typeof e === 'string' ? e : this ).val();
if ( 'custom' !== val ) {
$( '.review-field-schema-author-custom' ).addClass( 'hidden' );
} else {
$( '.review-field-schema-author-custom' ).removeClass( 'hidden' );
}
},
};
} )();
// Initialize.
$( function() {
abrReviews.init();
});
})(jQuery);
How to Recognize If an Iraqi GirlLikes You – Digital Real Estate Marketing
betco altyapılı siteler kareasbet güncel giriş slot siteleri küçükçekmece escort siyah bayrak ayna kareasbet güncel giriş kareasbet betingo giriş yabancı dizi izle casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot hipercasino hipercasino hipercasino hipercasino hipercasino casinoslot casinoslot casinoslot casinoslot casinoper casinoper casinoper hipercasino hipercasino bahisnow bahisnow bahisnow bahisnow bahisnow bahisnow bahisnow sweet bonanza oyna Big bass bonanza oyna aviator oyna gates of olympus oyna bigger bass bonanza wild wild riches tropical tiki demo fruit party demo sweet bonanza oyna dog house demo sugar rush demo wild west gold demo oyna shining hot barn festival demo bigger bass blizzard demo release the kraken demo Starlight Princess Demo Bulky Fruits Oyna Kazı Kazan Oyna Bahisnow Tv betonred Vizebet Giriş FTN Fast Token güvenilir casino siteleri gobahis giriş asper casino giriş Güvenilir poker siteleri forumbahis galaktik tayfa full izle esenyurt escort beylikdüzü escort beylikduzu escort beylikduzu escort bahceşehir escort halkalı escort 30 TL Bonus Veren Bahis Siteleri betmatik mariobet onwin betist süpertotobet grandpashabet telegram Betist Giriş güvenilir bahis siteleri yeni deneme bonusu veren siteler aviator siteleri xslot giriş adresi tipobet365 https://aviatorkumar.com/ Bahis Siteleri Binance Kayıt Olma tipobet starzbet giriş starzbet twitter aviator oyna betturkey betturkey giriş betturkey xslot bycasino gates of olympus demo oyna güvenilir casino siteleri deneme bonusu veren siteler xslot xslot twitter film izle onwin onwin twitter starzbet starzbet twitter sahabet betturkey betturkey twitter zbahis zbahis twitter xslot xslot twitter xslot xslot twitter betturkey betturkey betkom betkom
Casino siteleri jojobet güncel giriş deneme bonusu veren siteler casibom casibom casibom casino siteleri casibom Matadorbet Fuckkk XXXXX Bets10 XXXXXXXXXXXXX XXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXXX casibom XXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXX casibom casibom XXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXXX casibom XCXXXXXXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXX casibom XXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXX casibom casibom casibom SEXXXXXXXXX SEXXXXXXXXXXX XXXXXXXXXXXXXXXX casibom PORNOOOO casibom casibom Pornnn casibom bahsegel giriÅŸ casibom casibom casibom casibom giriş casibom casibom casibom casibom ANASINI SATANLAR casibom casibom casibom casibom casibom casibom giriş casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot casilot hipercasino hipercasino hipercasino hipercasino hipercasino casinoslot casinoslot casinoslot casinoslot casinoper casinoper casinoper hipercasino hipercasino bahisnow bahisnow bahisnow bahisnow bahisnow bahisnow bahisnow sweet bonanza oyna Big bass bonanza oyna aviator oyna gates of olympus oyna bigger bass bonanza wild wild riches tropical tiki demo fruit party demo sweet bonanza oyna dog house demo sugar rush demo wild west gold demo oyna shining hot barn festival demo bigger bass blizzard demo release the kraken demo Starlight Princess Demo Bulky Fruits Oyna Kazı Kazan Oyna Bahisnow Tv betonred Vizebet GiriÅŸ https://aviatorkumar.com/ betco altyapılı siteler kareasbet güncel giriÅŸ slot siteleri siyah bayrak ayna kareasbet güncel giriÅŸ kareasbet betingo giriÅŸ yabancı dizi izle FTN Fast Token güvenilir casino siteleri gobahis giriÅŸ asper casino giriÅŸ Güvenilir poker siteleri forumbahis galaktik tayfa full izle xleet zbahis zbahis giriş zbahis twitter zbahis zbahis giriş zbahis twitter xslot xslot giriş xslot twitter xslot xslot giriş xslot twitter betturkey betturkey giriş betturkey twitter betturkey güncel giriş betturkey deneme bonusları betmatik betmatik giriş betmatik twitter betmatik betmatik giriş betmatik twitter betturkey betturkey giriş betturkey twitter jackbit jackbit giriş jackbit twitter jackbit jackbit giriş jackbit twitter betturkey betturkey giriş betturkey güncel giriş betturkey bonus betturkey giris betturkey aktif bonuslar betturkey deneme bonusu mariobet mariobet giriş mariobet twitter sahabet sahabet giriş sahabet twitter porno hesaplar porno izle türkiye gündem haber global hürriyet startv now foxtv showtv porno porno izle altyazılı porno google porno sex sex twitter türkiye gündem gay pornoları otobet otobet giriş otobet twitter otobet otobet giriş otobet twitter otobet güncel giriş otobet güncel giriş otobet otobet giriş otobet twitter otobet otobet giriş otobet twitter zbahis zbahis giriş zbahis twitter zbahis güncel giriş betturkey betturkey giriş betturkey güncel giriş xslot xslot giriş xslot twitter zbahis zbahis giriş zbahis güncel giriş zbahis twitter sultanbeyli çekici holiganbet royalbet esbet hullbet giriş aresbet betfair adres betfair giriş betfair Hack Forum Crack forum Betsin Betsin casibom betsin betsin giriş betsin giriş casibom giriş casibom giriş casibom casibom casibom casibom jojobet jojobet jojobet marsbahis marsbahis https://x.com/guncel_casibom/status/1838529688165093553 xslot giriş xslot giriş bethouse meritking giriş
Leave a Comment