// source --> https://franziskakarl.de/wp-includes/js/utils.min.js?ver=7.0 
/*! This file is auto-generated */
window.wpCookies={each:function(e,t,n){var i,s;if(!e)return 0;if(n=n||e,void 0!==e.length){for(i=0,s=e.length;i<s;i++)if(!1===t.call(n,e[i],i,e))return 0}else for(i in e)if(e.hasOwnProperty(i)&&!1===t.call(n,e[i],i,e))return 0;return 1},getHash:function(e){var t,e=this.get(e);return e&&this.each(e.split("&"),function(e){e=e.split("="),(t=t||{})[e[0]]=e[1]}),t},setHash:function(e,t,n,i,s,r){var o="";this.each(t,function(e,t){o+=(o?"&":"")+t+"="+e}),this.set(e,o,n,i,s,r)},get:function(e){var t,n,i=document.cookie,e=e+"=";if(i){if(-1===(n=i.indexOf("; "+e))){if(0!==(n=i.indexOf(e)))return null}else n+=2;return-1===(t=i.indexOf(";",n))&&(t=i.length),decodeURIComponent(i.substring(n+e.length,t))}},set:function(e,t,n,i,s,r){var o=new Date;n="object"==typeof n&&n.toGMTString?n.toGMTString():parseInt(n,10)?(o.setTime(o.getTime()+1e3*parseInt(n,10)),o.toGMTString()):"",document.cookie=e+"="+encodeURIComponent(t)+(n?"; expires="+n:"")+(i?"; path="+i:"")+(s?"; domain="+s:"")+(r?"; secure":"")},remove:function(e,t,n,i){this.set(e,"",-1e3,t,n,i)}},window.getUserSetting=function(e,t){var n=getAllUserSettings();return n.hasOwnProperty(e)?n[e]:void 0!==t?t:""},window.setUserSetting=function(e,t,n){var i,s,r,o;return"object"==typeof userSettings&&(i=userSettings.uid,s=wpCookies.getHash("wp-settings-"+i),r=userSettings.url,o=!!userSettings.secure,e=e.toString().replace(/[^A-Za-z0-9_-]/g,""),t="number"==typeof t?parseInt(t,10):t.toString().replace(/[^A-Za-z0-9_-]/g,""),s=s||{},n?delete s[e]:s[e]=t,wpCookies.setHash("wp-settings-"+i,s,31536e3,r,"",o),wpCookies.set("wp-settings-time-"+i,userSettings.time,31536e3,r,"",o),e)},window.deleteUserSetting=function(e){return setUserSetting(e,"",1)},window.getAllUserSettings=function(){return"object"==typeof userSettings&&wpCookies.getHash("wp-settings-"+userSettings.uid)||{}};
// source --> https://franziskakarl.de/wp-content/plugins/thrive-ovation/tcb-bridge/frontend/js/display-testimonials-tcb.min.js?ver=10.9.1.4 
(()=>{var t={8990:t=>{function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e){return i=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},i(t,e)}function o(t,n){if(n&&("object"===e(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function r(t){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}t.exports=function(t,e){var s=function(s){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&i(t,e)}(h,s);var a,l,c,u,f=(c=h,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=r(c);if(u){var n=r(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return o(this,t)});function h(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h),f.call(this,t)}return a=h,l=[{key:"editorInit",value:function(){return e.PostList.prototype.editorInit.call(this),this}},{key:"frontendInit",value:function(){var e=this;return"undefined"==typeof tvo_display_testimonials_list?console.warn("Error initializing the display testimonials parameters"):(this.listArgs=tvo_display_testimonials_list.find((function(t){return e.$element.is(t.identifier)})),this.listArgs&&(this.content=t('.thrive-display-testimonials-template[data-identifier="'.concat(this.listArgs.template,'"]')).html()),this.frontendMarkupChanges()),this}},{key:"frontendMarkupChanges",value:function(){this.$element.find(".thrive-shortcode-content:empty").each((function(e,n){var i=t(n).closest("p,h2,div.tcb-plain-text");0===i.height()&&i.hide();var o=i.closest(".thrv_wrapper");0===o.height()&&o.hide()})),this.$element.find(".thrive-testimonial-website a:empty").each((function(e,n){var i=t(n).closest(".thrv_text_element");0===i.height()&&i.hide();var o=i.closest(".thrive-testimonial-website");0===o.height()&&o.hide()}))}},{key:"renderPagination",value:function(){return this.pagination=this.getPaginationInstance(),this.pagination&&(tve_frontend_options.is_editor_page||this.pagination.addLoadListeners(),this.pagination.render()),this}},{key:"getItems",value:function(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.listArgs;e.Utils.restAjax({route:tve_frontend_options.routes.testimonials+"/html",data:{content:this.content,args:i.query,has_pagination:this.pagination?1:0}}).done((function(i){"function"==typeof t&&t(i),n.initItems(),e.event_triggers(n.$element)})).fail((function(){console.warn("There was an error and the content could not be loaded.")}))}},{key:"insertItems",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.count&&e.testimonials){var i=this.$element.clone().empty();for(var o in e.testimonials)e.testimonials.hasOwnProperty(o)&&i.append(e.testimonials[o]);n?(this.$element.replaceWith(i),this.identifier.includes("tve-u-")?this.$element=t(".thrive-display-testimonials[data-css=".concat(this.identifier,"]")):this.$element=t(this.identifier),t(window).trigger("tcb_post_list_after_item_insert")):this.isCarousel()&&this.carousel?(this.$element.find(".slick-track").append(i.html()),this.carousel.initCarousel(!0)):(this.$element.append(i.html()),this.masonryRedo()),e.total_post_count&&(this.listArgs.attr.total_post_count=e.total_post_count)}}}],l&&n(a.prototype,l),Object.defineProperty(a,"prototype",{writable:!1}),h}(e.PostList);return{class:s,initDisplayTestimonials:function(){e.$document.ready((function(){setTimeout((function(){t(".thrive-display-testimonials").each((function(e,n){new s(t(n)).renderPagination()}))}))}))}}}}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,n),r.exports}!function(t){if(window.TCB_Front){var e=function(){void 0!==TCB_Front.PostList&&(TCB_Front.displayTestimonials=n(8990)(jQuery,TCB_Front),TCB_Front.displayTestimonials.initDisplayTestimonials())};0!==t("#divi-style-css").length?t(window).on("load",e):e()}}(ThriveGlobal.$j)})();