Plugin Directory

Changeset 3019341


Ignore:
Timestamp:
01/09/2024 02:34:50 PM (2 years ago)
Author:
endzevich
Message:

Version: 1.1.0

Location:
mphb-divi/trunk
Files:
27 added
7 edited

Legend:

Unmodified
Added
Removed
  • mphb-divi/trunk/includes/loader.js

    r2801922 r3019341  
    44// Internal Dependencies
    55import modules from './modules';
     6import fields from './fields';
    67
    78$(window).on('et_builder_api_ready', (event, API) => {
     
    910  // Register custom modules
    1011  API.registerModules(modules);
     12  API.registerModalFields(fields);
    1113
    1214});
  • mphb-divi/trunk/includes/loader.php

    r2801922 r3019341  
    11<?php
    22
    3 $module_files = glob( __DIR__ . '/modules/*/*.php' );
     3$module_files = array_merge(
     4    glob( __DIR__ . '/modules/*/*.php' ),
     5    glob( __DIR__ . '/modules/*/*/*.php' )
     6);
    47
    58// Load custom Divi Builder modules
  • mphb-divi/trunk/includes/modules/index.js

    r2990979 r3019341  
    1111import SearchResults from './mphb-search-results/mphb-search-results';
    1212
     13import AccommodationTitle from './accommodation/title/title';
     14import AccommodationPrice from './accommodation/price/price';
     15import AccommodationGallery from './accommodation/gallery/gallery';
     16import AccommodationFeaturedImage from './accommodation/featured-image/featured-image';
     17import AccommodationContent from './accommodation/content/content';
     18import AccommodationAttributes from './accommodation/attributes/attributes';
     19import AccommodationAttribute from './accommodation/attribute/attribute';
     20
    1321export default [
    1422    SearchAvailability,
     
    2129    BookingConfirmation,
    2230    Checkout,
    23     SearchResults
     31    SearchResults,
     32    AccommodationTitle,
     33    AccommodationPrice,
     34    AccommodationGallery,
     35    AccommodationFeaturedImage,
     36    AccommodationContent,
     37    AccommodationAttributes,
     38    AccommodationAttribute,
    2439];
  • mphb-divi/trunk/mphb-divi.php

    r2990979 r3019341  
    44 * Plugin URI: https://motopress.com/products/hotel-booking-divi-theme-integration/
    55 * Description: Integrates Divi theme with the MotoPress Hotel Booking plugin to modify content and styles visually via Divi builder.
    6  * Version: 1.0.8
     6 * Version: 1.1.0
    77 * Author: MotoPress
    88 * Author URI: https://motopress.com/
  • mphb-divi/trunk/readme.txt

    r2990979 r3019341  
    44Tags: divi, divi builder, hotel booking, booking, reservation, hotel, property rental
    55Requires at least: 4.6
    6 Tested up to: 6.3
    7 Stable tag: 1.0.8
     6Tested up to: 6.4
     7Stable tag: 1.1.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3232* Accommodation Services module;
    3333* Single Accommodation module;
     34* Accommodation Type Title module;
     35* Accommodation Type Featured module;
     36* Accommodation Type Gallery module;
     37* Accommodation Type Price module;
     38* Accommodation Type Content module;
     39* Accommodation Type Attributes module;
     40* Accommodation Type Attribute module;
    3441
    3542### Customization, Styles, Colors etc.
     
    6370== Changelog ==
    6471
     72= 1.1.0, Jan 8 2024 =
     73* Added Accommodation Type Title module.
     74* Added Accommodation Type Featured Image module.
     75* Added Accommodation Type Gallery module.
     76* Added Accommodation Type Price module.
     77* Added Accommodation Type Content module.
     78* Added Accommodation Type Attributes module.
     79* Added Accommodation Type Attribute module.
     80
    6581= 1.0.8, Nov 3 2023 =
    6682* Improved compatibility with Divi Builder.
  • mphb-divi/trunk/scripts/builder-bundle.min.js

    r2990979 r3019341  
    1 !function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=3)}([function(e,t){e.exports=React},function(e,t){e.exports=jQuery},function(e,t,n){"use strict";var o=n(0),r=n.n(o);t.a=function(e){var t=e.name,n=e.description,o=void 0===n?"":n;return r.a.createElement("div",null,r.a.createElement("div",{style:{background:"#f6f7f7",borderRadius:"10px",padding:"3em 1em"}},r.a.createElement("p",{style:{textAlign:"center",fontWeight:"700",fontSize:"1.5em"}},t),o&&r.a.createElement("p",{style:{textAlign:"center"}},o)))}},function(e,t,n){n(4),e.exports=n(5)},function(e,t,n){"use strict"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),r=n.n(o),i=n(6);r()(window).on("et_builder_api_ready",function(e,t){t.registerModules(i.a)})},function(e,t,n){"use strict";var o=n(7),r=n(8),i=n(9),u=n(10),a=n(11),c=n(12),l=n(13),f=n(14),p=n(15),s=n(16);t.a=[o.a,r.a,i.a,u.a,a.a,c.a,l.a,f.a,p.a,s.a]},function(e,t,n){"use strict";var o=n(0),r=n.n(o);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__form}})}}])&&u(n.prototype,i),c&&u(n,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-availability-search"}),t.a=c},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1),u=n.n(i);function a(e){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){return e.initSlider()},200)}},{key:"componentDidUpdate",value:function(e){var t=this;e.__rooms!==this.props.__rooms&&setTimeout(function(){return t.initSlider()},200)}},{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__rooms}})}},{key:"initSlider",value:function(){u()(".mphb-flexslider-gallery-wrapper").each(function(e,t){new window.MPHB.FlexsliderGallery(t).initSliders(),u()(t).closest(".type-mphb_room_type").on("click","a, .button",function(e){e.preventDefault(),e.stopImmediatePropagation()})})}}])&&c(n.prototype,i),a&&c(n,a),t}();Object.defineProperty(f,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-accommodations"}),t.a=f},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1),u=n.n(i);function a(e){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){return e.initSlider()},200)}},{key:"componentDidUpdate",value:function(e){var t=this;e.__room!==this.props.__room&&setTimeout(function(){return t.initSlider()},200)}},{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__room}})}},{key:"initSlider",value:function(){u()(".mphb-flexslider-gallery-wrapper").each(function(e,t){new window.MPHB.FlexsliderGallery(t).initSliders(),u()(t).closest(".type-mphb_room_type").on("click","a, .button",function(e){e.preventDefault(),e.stopImmediatePropagation()})})}}])&&c(n.prototype,i),a&&c(n,a),t}();Object.defineProperty(f,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-single-accommodation"}),t.a=f},function(e,t,n){"use strict";var o=n(0),r=n.n(o);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__services}})}}])&&u(n.prototype,i),c&&u(n,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-services"}),t.a=c},function(e,t,n){"use strict";var o=n(0),r=n.n(o);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__rates}})}}])&&u(n.prototype,i),c&&u(n,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-rates"}),t.a=c},function(e,t,n){"use strict";var o=n(0),r=n.n(o);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__form}})}}])&&u(n.prototype,i),c&&u(n,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-booking-form"}),t.a=c},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1),u=n.n(i);function a(e){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var f=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).calendar=r.a.createRef(),n}var n,i,a;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"componentDidMount",value:function(){this.initCalendar()}},{key:"componentDidUpdate",value:function(){this.initCalendar()}},{key:"initCalendar",value:function(){var e=u()(this.calendar.current).find(".mphb-calendar.mphb-datepick");window.MPHB&&new window.MPHB.RoomTypeCalendar(u()(e))}},{key:"render",value:function(){return r.a.createElement("div",{ref:this.calendar,dangerouslySetInnerHTML:{__html:this.props.__calendar}})}}])&&c(n.prototype,i),a&&c(n,a),t}();Object.defineProperty(f,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-availability-calendar"}),t.a=f},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(2);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-booking-confirmation"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(2);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-checkout"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(2);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-search-results"}),t.a=l}]);
     1!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=3)}([function(e,t){e.exports=React},function(e,t,n){"use strict";var o=n(0),r=n.n(o);t.a=function(e){var t=e.name,n=e.description,o=void 0===n?"":n;return r.a.createElement("div",null,r.a.createElement("div",{style:{background:"#f6f7f7",borderRadius:"10px",padding:"3em 1em"}},r.a.createElement("p",{style:{textAlign:"center",fontWeight:"700",fontSize:"1.5em"}},t),o&&r.a.createElement("p",{style:{textAlign:"center"}},o)))}},function(e,t){e.exports=jQuery},function(e,t,n){n(4),e.exports=n(5)},function(e,t,n){"use strict"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),r=n.n(o),i=n(6),u=n(24);r()(window).on("et_builder_api_ready",function(e,t){t.registerModules(i.a),t.registerModalFields(u.a)})},function(e,t,n){"use strict";var o=n(7),r=n(8),i=n(9),u=n(10),a=n(11),c=n(12),l=n(13),f=n(14),p=n(15),s=n(16),y=n(17),b=n(18),m=n(19),h=n(20),v=n(21),_=n(22),d=n(23);t.a=[o.a,r.a,i.a,u.a,a.a,c.a,l.a,f.a,p.a,s.a,y.a,b.a,m.a,h.a,v.a,_.a,d.a]},function(e,t,n){"use strict";var o=n(0),r=n.n(o);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__form}})}}])&&u(n.prototype,i),c&&u(n,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-availability-search"}),t.a=c},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(2),u=n.n(i);function a(e){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){return e.initSlider()},200)}},{key:"componentDidUpdate",value:function(e){var t=this;e.__rooms!==this.props.__rooms&&setTimeout(function(){return t.initSlider()},200)}},{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__rooms}})}},{key:"initSlider",value:function(){u()(".mphb-flexslider-gallery-wrapper").each(function(e,t){new window.MPHB.FlexsliderGallery(t).initSliders(),u()(t).closest(".type-mphb_room_type").on("click","a, .button",function(e){e.preventDefault(),e.stopImmediatePropagation()})})}}])&&c(n.prototype,i),a&&c(n,a),t}();Object.defineProperty(f,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-accommodations"}),t.a=f},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(2),u=n.n(i);function a(e){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,a;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"componentDidMount",value:function(){var e=this;setTimeout(function(){return e.initSlider()},200)}},{key:"componentDidUpdate",value:function(e){var t=this;e.__room!==this.props.__room&&setTimeout(function(){return t.initSlider()},200)}},{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__room}})}},{key:"initSlider",value:function(){u()(".mphb-flexslider-gallery-wrapper").each(function(e,t){new window.MPHB.FlexsliderGallery(t).initSliders(),u()(t).closest(".type-mphb_room_type").on("click","a, .button",function(e){e.preventDefault(),e.stopImmediatePropagation()})})}}])&&c(n.prototype,i),a&&c(n,a),t}();Object.defineProperty(f,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-single-accommodation"}),t.a=f},function(e,t,n){"use strict";var o=n(0),r=n.n(o);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__services}})}}])&&u(n.prototype,i),c&&u(n,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-services"}),t.a=c},function(e,t,n){"use strict";var o=n(0),r=n.n(o);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__rates}})}}])&&u(n.prototype,i),c&&u(n,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-rates"}),t.a=c},function(e,t,n){"use strict";var o=n(0),r=n.n(o);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function a(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"render",value:function(){return r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__form}})}}])&&u(n.prototype,i),c&&u(n,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-booking-form"}),t.a=c},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(2),u=n.n(i);function a(e){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function l(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var f=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))).calendar=r.a.createRef(),n}var n,i,a;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"componentDidMount",value:function(){this.initCalendar()}},{key:"componentDidUpdate",value:function(){this.initCalendar()}},{key:"initCalendar",value:function(){var e=u()(this.calendar.current).find(".mphb-calendar.mphb-datepick");window.MPHB&&new window.MPHB.RoomTypeCalendar(u()(e))}},{key:"render",value:function(){return r.a.createElement("div",{ref:this.calendar,dangerouslySetInnerHTML:{__html:this.props.__calendar}})}}])&&c(n.prototype,i),a&&c(n,a),t}();Object.defineProperty(f,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-availability-calendar"}),t.a=f},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-booking-confirmation"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-checkout"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-search-results"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return this.props.__html?r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__html}}):r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-accommodation-type-title"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return this.props.__html?r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__html}}):r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-accommodation-type-price"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return this.props.__html?r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__html}}):r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-accommodation-type-gallery"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return this.props.__html?r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__html}}):r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-accommodation-type-featured-image"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return this.props.__html?r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__html}}):r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-accommodation-type-content"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return this.props.__html?r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__html}}):r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-accommodation-type-attributes"}),t.a=l},function(e,t,n){"use strict";var o=n(0),r=n.n(o),i=n(1);function u(e){return(u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,u,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(u=[{key:"render",value:function(){return this.props.__html?r.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.__html}}):r.a.createElement(i.a,{name:this.props.name})}}])&&a(n.prototype,u),l&&a(n,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb-divi-accommodation-type-attribute"}),t.a=l},function(e,t,n){"use strict";var o=n(25);t.a=[o.a]},function(e,t,n){"use strict";var o=n(0),r=n.n(o);function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?l(e):t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var f=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return c(o,(n=o=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),Object.defineProperty(l(o),"_onCheckboxChange",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t,n=e.target,r=n.value,i=n.checked,a=o.props.value.split(",");t=i?u(a).concat([r]):a.filter(function(e){return e!==r}),o.props._onChange(o.props.name,t.join(","))}}),n))}var n,i,f;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o["Component"]),n=t,(i=[{key:"render",value:function(){var e=this,t=this.props.fieldDefinition.options,n=Object.keys(t).map(function(n,o){return r.a.createElement("p",{className:"et-fb-multiple-checkbox",key:o},r.a.createElement("label",{htmlFor:"".concat(e.constructor.slug,"-").concat(e.props.name,"-checkbox-").concat(n)},r.a.createElement("input",{type:"checkbox",id:"".concat(e.constructor.slug,"-").concat(e.props.name,"-checkbox-").concat(n),name:"".concat(e.constructor.slug,"-").concat(e.props.name,"-checkbox"),value:n,"data-text":t[n],onChange:e._onCheckboxChange,checked:e.props.value.includes(n.toString())}),t[n]))});return r.a.createElement("div",{className:"".concat(this.constructor.slug,"-wrap et-fb-multiple-checkboxes-wrap")},n,r.a.createElement("input",{id:"".concat(this.constructor.slug,"-").concat(this.props.name),name:this.props.name,value:this.props.value,type:"hidden"}))}}])&&a(n.prototype,i),f&&a(n,f),t}();Object.defineProperty(f,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"mphb_multiple_checkboxes"}),t.a=f}]);
  • mphb-divi/trunk/scripts/frontend-bundle.min.js

    r2990979 r3019341  
    1 !function(n){var t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:e})},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="/",r(r.s=17)}({17:function(n,t,r){r(18),n.exports=r(19)},18:function(n,t){},19:function(n,t){jQuery(function(n){})}});
     1!function(n){var t={};function r(e){if(t[e])return t[e].exports;var o=t[e]={i:e,l:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=n,r.c=t,r.d=function(n,t,e){r.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:e})},r.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(t,"a",t),t},r.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r.p="/",r(r.s=26)}({26:function(n,t,r){r(27),n.exports=r(28)},27:function(n,t){},28:function(n,t){jQuery(function(n){})}});
Note: See TracChangeset for help on using the changeset viewer.