Plugin Directory

Changeset 2466177


Ignore:
Timestamp:
02/01/2021 06:51:35 AM (5 years ago)
Author:
traveledmap
Message:

New version 1.0.10, updated to latest WordPress versions

Location:
traveledmap-trip-itinerary-embedded-map/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • traveledmap-trip-itinerary-embedded-map/trunk/dist/blocks.build.js

    r2337263 r2466177  
    1 /******/ (function(modules) { // webpackBootstrap
    2 /******/    // The module cache
    3 /******/    var installedModules = {};
    4 /******/
    5 /******/    // The require function
    6 /******/    function __webpack_require__(moduleId) {
    7 /******/
    8 /******/        // Check if module is in cache
    9 /******/        if(installedModules[moduleId]) {
    10 /******/            return installedModules[moduleId].exports;
    11 /******/        }
    12 /******/        // Create a new module (and put it into the cache)
    13 /******/        var module = installedModules[moduleId] = {
    14 /******/            i: moduleId,
    15 /******/            l: false,
    16 /******/            exports: {}
    17 /******/        };
    18 /******/
    19 /******/        // Execute the module function
    20 /******/        modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
    21 /******/
    22 /******/        // Flag the module as loaded
    23 /******/        module.l = true;
    24 /******/
    25 /******/        // Return the exports of the module
    26 /******/        return module.exports;
    27 /******/    }
    28 /******/
    29 /******/
    30 /******/    // expose the modules object (__webpack_modules__)
    31 /******/    __webpack_require__.m = modules;
    32 /******/
    33 /******/    // expose the module cache
    34 /******/    __webpack_require__.c = installedModules;
    35 /******/
    36 /******/    // define getter function for harmony exports
    37 /******/    __webpack_require__.d = function(exports, name, getter) {
    38 /******/        if(!__webpack_require__.o(exports, name)) {
    39 /******/            Object.defineProperty(exports, name, {
    40 /******/                configurable: false,
    41 /******/                enumerable: true,
    42 /******/                get: getter
    43 /******/            });
    44 /******/        }
    45 /******/    };
    46 /******/
    47 /******/    // getDefaultExport function for compatibility with non-harmony modules
    48 /******/    __webpack_require__.n = function(module) {
    49 /******/        var getter = module && module.__esModule ?
    50 /******/            function getDefault() { return module['default']; } :
    51 /******/            function getModuleExports() { return module; };
    52 /******/        __webpack_require__.d(getter, 'a', getter);
    53 /******/        return getter;
    54 /******/    };
    55 /******/
    56 /******/    // Object.prototype.hasOwnProperty.call
    57 /******/    __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
    58 /******/
    59 /******/    // __webpack_public_path__
    60 /******/    __webpack_require__.p = "";
    61 /******/
    62 /******/    // Load entry module and return exports
    63 /******/    return __webpack_require__(__webpack_require__.s = 3);
    64 /******/ })
    65 /************************************************************************/
    66 /******/ ([
    67 /* 0 */
    68 /*!*******************************!*\
    69   !*** ./src/iframe/style.scss ***!
    70   \*******************************/
    71 /*! dynamic exports provided */
    72 /***/ (function(module, exports) {
    73 
    74 eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMC5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9pZnJhbWUvc3R5bGUuc2Nzcz9hNWRmIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIHJlbW92ZWQgYnkgZXh0cmFjdC10ZXh0LXdlYnBhY2stcGx1Z2luXG5cblxuLy8vLy8vLy8vLy8vLy8vLy8vXG4vLyBXRUJQQUNLIEZPT1RFUlxuLy8gLi9zcmMvaWZyYW1lL3N0eWxlLnNjc3Ncbi8vIG1vZHVsZSBpZCA9IDBcbi8vIG1vZHVsZSBjaHVua3MgPSAwIl0sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///0\n");
    75 
    76 /***/ }),
    77 /* 1 */
    78 /*!********************************!*\
    79   !*** ./src/iframe/editor.scss ***!
    80   \********************************/
    81 /*! dynamic exports provided */
    82 /***/ (function(module, exports) {
    83 
    84 eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9pZnJhbWUvZWRpdG9yLnNjc3M/YzE5MCJdLCJzb3VyY2VzQ29udGVudCI6WyIvLyByZW1vdmVkIGJ5IGV4dHJhY3QtdGV4dC13ZWJwYWNrLXBsdWdpblxuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2lmcmFtZS9lZGl0b3Iuc2Nzc1xuLy8gbW9kdWxlIGlkID0gMVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///1\n");
    85 
    86 /***/ }),
    87 /* 2 */
    88 /*!********************************!*\
    89   !*** external "wp.components" ***!
    90   \********************************/
    91 /*! dynamic exports provided */
    92 /*! exports used: Button, Panel, PanelBody, PanelRow, SelectControl, Spinner, TextControl, ToggleControl */
    93 /***/ (function(module, exports) {
    94 
    95 module.exports = wp.components;
    96 
    97 /***/ }),
    98 /* 3 */
    99 /*!***********************!*\
    100   !*** ./src/blocks.js ***!
    101   \***********************/
    102 /*! no exports provided */
    103 /*! all exports used */
    104 /***/ (function(module, __webpack_exports__, __webpack_require__) {
    105 
    106 "use strict";
    107 eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__iframe_trip_block_js__ = __webpack_require__(/*! ./iframe/trip-block.js */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__iframe_step_block_js__ = __webpack_require__(/*! ./iframe/step-block.js */ 6);\n/**\n * Gutenberg Blocks\n *\n * All blocks related JavaScript files should be imported here.\n * You can create a new block folder in this dir and include code\n * for that block here as well.\n *\n * All blocks should be included here since this is the file that\n * Webpack is compiling as the input file.\n */\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9ibG9ja3MuanM/N2I1YiJdLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEd1dGVuYmVyZyBCbG9ja3NcbiAqXG4gKiBBbGwgYmxvY2tzIHJlbGF0ZWQgSmF2YVNjcmlwdCBmaWxlcyBzaG91bGQgYmUgaW1wb3J0ZWQgaGVyZS5cbiAqIFlvdSBjYW4gY3JlYXRlIGEgbmV3IGJsb2NrIGZvbGRlciBpbiB0aGlzIGRpciBhbmQgaW5jbHVkZSBjb2RlXG4gKiBmb3IgdGhhdCBibG9jayBoZXJlIGFzIHdlbGwuXG4gKlxuICogQWxsIGJsb2NrcyBzaG91bGQgYmUgaW5jbHVkZWQgaGVyZSBzaW5jZSB0aGlzIGlzIHRoZSBmaWxlIHRoYXRcbiAqIFdlYnBhY2sgaXMgY29tcGlsaW5nIGFzIHRoZSBpbnB1dCBmaWxlLlxuICovXG5cbmltcG9ydCAnLi9pZnJhbWUvdHJpcC1ibG9jay5qcyc7XG5pbXBvcnQgJy4vaWZyYW1lL3N0ZXAtYmxvY2suanMnO1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2Jsb2Nrcy5qc1xuLy8gbW9kdWxlIGlkID0gM1xuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTsiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///3\n");
    108 
    109 /***/ }),
    110 /* 4 */
    111 /*!**********************************!*\
    112   !*** ./src/iframe/trip-block.js ***!
    113   \**********************************/
    114 /*! no exports provided */
    115 /***/ (function(module, __webpack_exports__, __webpack_require__) {
    116 
    117 "use strict";
    118 eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wordpress_components__ = __webpack_require__(/*! @wordpress/components */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wordpress_components___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__utils_utils__ = __webpack_require__(/*! ./utils/utils */ 5);\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\nvar __ = wp.i18n.__; // Import __() from wp.i18n\n\nvar registerBlockType = wp.blocks.registerBlockType; // Import registerBlockType() from wp.blocks\n\nvar Fragment = wp.element.Fragment;\n\n\n\n\nregisterBlockType('traveledmap/embedded-trip-block', {\n\ttitle: __('Embedded Trip'), // Block title.\n\ticon: 'location-alt', // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.\n\tcategory: 'traveledmap', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.\n\tkeywords: [__('Embedded Map'), __('TraveledMap'), __('Traveled Map'), __('Embedded'), __('Embed')],\n\tattributes: {\n\t\tuserId: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'meta',\n\t\t\tmeta: 'traveledmap_user_id'\n\t\t},\n\t\ttripId: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'meta',\n\t\t\tmeta: 'traveledmap_trip_id'\n\t\t},\n\t\tbaseUrl: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'meta',\n\t\t\tmeta: 'traveledmap_trip_base_url'\n\t\t},\n\t\tmapUrl: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tshowPopup: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true\n\t\t},\n\t\tshowPictures: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true\n\t\t},\n\t\tshowPicturesAtStart: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: false\n\t\t},\n\t\tisSticky: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true\n\t\t},\n\t\tshowOnPhones: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true\n\t\t},\n\t\tshowOnTablets: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true\n\t\t},\n\t\tshowOnLargeScreens: {\n\t\t\ttype: 'boolean',\n\t\t\tdefault: true\n\t\t},\n\t\tmapHeight: {\n\t\t\ttype: 'string',\n\t\t\tdefault: '50%'\n\t\t},\n\t\tstandardMapHeight: {\n\t\t\ttype: 'string',\n\t\t\tdefault: '30%'\n\t\t},\n\t\textendedMapHeight: {\n\t\t\ttype: 'string',\n\t\t\tdefault: '60%'\n\t\t},\n\t\tmarginTop: {\n\t\t\ttype: 'number',\n\t\t\tdefault: 0\n\t\t}\n\t},\n\n\t/**\n  * The edit function describes the structure of your block in the context of the editor.\n  * This represents what the editor will render when the block is used.\n  *\n  * The \"edit\" property must be a valid function.\n  *\n  * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n  */\n\tedit: function edit(props) {\n\t\tvar _props$attributes = props.attributes,\n\t\t    baseUrl = _props$attributes.baseUrl,\n\t\t    userId = _props$attributes.userId,\n\t\t    tripId = _props$attributes.tripId,\n\t\t    showPopup = _props$attributes.showPopup,\n\t\t    showPictures = _props$attributes.showPictures,\n\t\t    showPicturesAtStart = _props$attributes.showPicturesAtStart,\n\t\t    mapUrl = _props$attributes.mapUrl,\n\t\t    isSticky = _props$attributes.isSticky,\n\t\t    showOnPhones = _props$attributes.showOnPhones,\n\t\t    showOnTablets = _props$attributes.showOnTablets,\n\t\t    showOnLargeScreens = _props$attributes.showOnLargeScreens,\n\t\t    mapHeight = _props$attributes.mapHeight,\n\t\t    standardMapHeight = _props$attributes.standardMapHeight,\n\t\t    extendedMapHeight = _props$attributes.extendedMapHeight,\n\t\t    marginTop = _props$attributes.marginTop,\n\t\t    setAttributes = props.setAttributes;\n\n\n\t\tvar onDataChange = function onDataChange(dataName) {\n\t\t\treturn function (data) {\n\t\t\t\tsetAttributes(_defineProperty({}, dataName, data));\n\t\t\t};\n\t\t};\n\n\t\tvar setMapLink = function setMapLink() {\n\t\t\tsetAttributes({ mapUrl: Object(__WEBPACK_IMPORTED_MODULE_3__utils_utils__[\"a\" /* getMapLinkFromBaseUrl */])(baseUrl, showPopup, showPictures, showPicturesAtStart) });\n\t\t};\n\n\t\tvar isEmpty = function isEmpty(field) {\n\t\t\treturn !(field && (!Array.isArray(field) || Array.isArray(field) && field[0]));\n\t\t};\n\n\t\tvar getUser = function getUser() {\n\t\t\treturn !isEmpty(userId) ? userId : null;\n\t\t};\n\n\t\tvar getTripId = function getTripId() {\n\t\t\tif (!isEmpty(tripId)) {\n\t\t\t\treturn tripId;\n\t\t\t}\n\t\t\treturn null;\n\t\t};\n\n\t\tvar convertHeightForRendering = function convertHeightForRendering(height) {\n\t\t\treturn height.replace('%', 'VH');\n\t\t};\n\n\t\treturn wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'traveledmap-trip-edit-block' },\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"Panel\"],\n\t\t\t\t\t{ header: 'Map settings' },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelBody\"],\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: 'Map content',\n\t\t\t\t\t\t\ticon: 'admin-site-alt',\n\t\t\t\t\t\t\tinitialOpen: true\n\t\t\t\t\t\t},\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\t\t{ className: 'mb-0 note' },\n\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t'strong',\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t'User id:'\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t'\\xA0',\n\t\t\t\t\t\t\t\tgetUser() || 'You need to fill the user id you want to use in the editor\\'s sidebar, save the post and then reload'\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t'p',\n\t\t\t\t\t\t\t\t{ className: 'note' },\n\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t'strong',\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t'Trip id:'\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t'\\xA0',\n\t\t\t\t\t\t\t\tgetTripId() || 'You need to fill the trip id you want to use in the editor\\'s sidebar, save the post and then reload'\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"ToggleControl\"], {\n\t\t\t\t\t\t\t\tlabel: 'Show on phones',\n\t\t\t\t\t\t\t\thelp: showOnPhones ? 'The map will be shown on mobile (< 576px)' : 'The map will be hidden on mobile devices',\n\t\t\t\t\t\t\t\tchecked: showOnPhones,\n\t\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ showOnPhones: !showOnPhones });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"ToggleControl\"], {\n\t\t\t\t\t\t\t\tlabel: 'Show on tablets',\n\t\t\t\t\t\t\t\thelp: showOnTablets ? 'The map will be shown on tablets (> 576px and < 768px)' : 'The map will be hidden on tablets devices',\n\t\t\t\t\t\t\t\tchecked: showOnTablets,\n\t\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ showOnTablets: !showOnTablets });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"ToggleControl\"], {\n\t\t\t\t\t\t\t\tlabel: 'Show on larger screens',\n\t\t\t\t\t\t\t\thelp: showOnLargeScreens ? 'The map will be shown on larger screens (> 768px)' : 'The map will be hidden on larger devices',\n\t\t\t\t\t\t\t\tchecked: showOnLargeScreens,\n\t\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ showOnLargeScreens: !showOnLargeScreens });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"ToggleControl\"], {\n\t\t\t\t\t\t\t\tlabel: 'Show steps name',\n\t\t\t\t\t\t\t\thelp: showPopup ? 'Popup with step name will be shown' : 'Popup will be show only if mouse is over the step marker',\n\t\t\t\t\t\t\t\tchecked: showPopup,\n\t\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ showPopup: !showPopup });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"ToggleControl\"], {\n\t\t\t\t\t\t\t\tlabel: 'Show pictures',\n\t\t\t\t\t\t\t\thelp: showPictures ? 'Pictures panel will be open' : 'Pictures will be hidden',\n\t\t\t\t\t\t\t\tchecked: showPictures,\n\t\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ showPictures: !showPictures });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\tshowPictures && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"ToggleControl\"], {\n\t\t\t\t\t\t\t\tlabel: 'Show overview pictures',\n\t\t\t\t\t\t\t\thelp: showPicturesAtStart ? 'Your trip overview has pictures that will be shown' : \"The overview pictures will be hidden\",\n\t\t\t\t\t\t\t\tchecked: showPicturesAtStart,\n\t\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ showPicturesAtStart: !showPicturesAtStart });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"Button\"],\n\t\t\t\t\t\t\t\t{ isPrimary: true, onClick: setMapLink, className: 'ml-auto' },\n\t\t\t\t\t\t\t\t'Validate'\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelBody\"],\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttitle: 'Map settings',\n\t\t\t\t\t\t\ticon: 'admin-settings',\n\t\t\t\t\t\t\tinitialOpen: true\n\t\t\t\t\t\t},\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\tlabel: 'Map height (when it\\'s not sticky)',\n\t\t\t\t\t\t\t\tvalue: mapHeight,\n\t\t\t\t\t\t\t\tonChange: onDataChange('mapHeight'),\n\t\t\t\t\t\t\t\thelp: 'Height can be written in pixels (px) or percents of the screen\\'s height (%). i.e: 200px or 50%',\n\t\t\t\t\t\t\t\tclassName: 'input-100'\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"ToggleControl\"], {\n\t\t\t\t\t\t\t\tlabel: 'Map is sticky',\n\t\t\t\t\t\t\t\thelp: isSticky ? 'The map will be visible on top of the screen while scrolling' : 'The map will be fixed and won\\'t move',\n\t\t\t\t\t\t\t\tchecked: isSticky,\n\t\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ isSticky: !isSticky });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tclassName: 'mt-5'\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\tisSticky && wp.element.createElement(\n\t\t\t\t\t\t\tFragment,\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\t\tlabel: 'Map height when the map is sticky and not extended',\n\t\t\t\t\t\t\t\t\tvalue: standardMapHeight,\n\t\t\t\t\t\t\t\t\tonChange: onDataChange('standardMapHeight'),\n\t\t\t\t\t\t\t\t\thelp: 'Height can be written in pixels (px) or percents of the screen\\'s height (%). i.e: 200px or 50%',\n\t\t\t\t\t\t\t\t\tclassName: 'input-100'\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\t\tlabel: 'Map height when the map is sticky and extended',\n\t\t\t\t\t\t\t\t\tvalue: extendedMapHeight,\n\t\t\t\t\t\t\t\t\tonChange: onDataChange('extendedMapHeight'),\n\t\t\t\t\t\t\t\t\thelp: 'Height can be written in pixels (px) or percents of the screen\\'s height (%). i.e: 200px or 50%',\n\t\t\t\t\t\t\t\t\tclassName: 'input-100'\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\t\ttype: 'number',\n\t\t\t\t\t\t\t\t\tlabel: 'Top margin (Space between the top of the screen and the map when it\\'s sticky)',\n\t\t\t\t\t\t\t\t\tvalue: marginTop,\n\t\t\t\t\t\t\t\t\tonChange: onDataChange('marginTop'),\n\t\t\t\t\t\t\t\t\thelp: 'Height can be written only in pixels (px). You don\\'t need to write the unit. i.e: 20',\n\t\t\t\t\t\t\t\t\tclassName: 'input-100'\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\tmapUrl && wp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement('iframe', { className: 'map-iframe traveledmap-reference-iframe', src: mapUrl, frameBorder: '0', allow: 'fullscreen', style: { height: convertHeightForRendering(mapHeight) } })\n\t\t\t)\n\t\t);\n\t},\n\n\t/**\n  * The save function defines the way in which the different attributes should be combined\n  * into the final markup, which is then serialized by Gutenberg into post_content.\n  *\n  * The \"save\" property must be specified and must be a valid function.\n  *\n  * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n  */\n\tsave: function save() {\n\t\treturn null;\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNC5qcyIsInNvdXJj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QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///4\n");
    119 
    120 /***/ }),
    121 /* 5 */
    122 /*!***********************************!*\
    123   !*** ./src/iframe/utils/utils.js ***!
    124   \***********************************/
    125 /*! exports provided: getMapLinkFromBaseUrl */
    126 /*! exports used: getMapLinkFromBaseUrl */
    127 /***/ (function(module, __webpack_exports__, __webpack_require__) {
    128 
    129 "use strict";
    130 eval("/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return getMapLinkFromBaseUrl; });\nvar getMapLinkFromBaseUrl = function getMapLinkFromBaseUrl(baseUrl, showPopup, showPictures, showPicturesAtStart) {\n\tvar link = baseUrl;\n\tlink += '' + (showPopup ? '&showPopup=true' : '');\n\tlink += '' + (!showPictures ? '&hidePictures=true' : '') + (showPicturesAtStart ? '&showPicturesAtStart=true' : '');\n\tlink += '' + (showPicturesAtStart ? '&showPicturesAtStart=true' : '');\n\treturn link;\n};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNS5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9pZnJhbWUvdXRpbHMvdXRpbHMuanM/Y2MwOSJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdmFyIGdldE1hcExpbmtGcm9tQmFzZVVybCA9IGZ1bmN0aW9uIGdldE1hcExpbmtGcm9tQmFzZVVybChiYXNlVXJsLCBzaG93UG9wdXAsIHNob3dQaWN0dXJlcywgc2hvd1BpY3R1cmVzQXRTdGFydCkge1xuXHR2YXIgbGluayA9IGJhc2VVcmw7XG5cdGxpbmsgKz0gJycgKyAoc2hvd1BvcHVwID8gJyZzaG93UG9wdXA9dHJ1ZScgOiAnJyk7XG5cdGxpbmsgKz0gJycgKyAoIXNob3dQaWN0dXJlcyA/ICcmaGlkZVBpY3R1cmVzPXRydWUnIDogJycpICsgKHNob3dQaWN0dXJlc0F0U3RhcnQgPyAnJnNob3dQaWN0dXJlc0F0U3RhcnQ9dHJ1ZScgOiAnJyk7XG5cdGxpbmsgKz0gJycgKyAoc2hvd1BpY3R1cmVzQXRTdGFydCA/ICcmc2hvd1BpY3R1cmVzQXRTdGFydD10cnVlJyA6ICcnKTtcblx0cmV0dXJuIGxpbms7XG59O1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vc3JjL2lmcmFtZS91dGlscy91dGlscy5qc1xuLy8gbW9kdWxlIGlkID0gNVxuLy8gbW9kdWxlIGNodW5rcyA9IDAiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///5\n");
    131 
    132 /***/ }),
    133 /* 6 */
    134 /*!**********************************!*\
    135   !*** ./src/iframe/step-block.js ***!
    136   \**********************************/
    137 /*! no exports provided */
    138 /***/ (function(module, __webpack_exports__, __webpack_require__) {
    139 
    140 "use strict";
    141 eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wordpress_components__ = __webpack_require__(/*! @wordpress/components */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wordpress_components___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__);\n\n\n\nvar __ = wp.i18n.__; // Import __() from wp.i18n\n\nvar registerBlockType = wp.blocks.registerBlockType; // Import registerBlockType() from wp.blocks\n\nvar Fragment = wp.element.Fragment;\n\n\n\n\nregisterBlockType('traveledmap/embedded-trip-step-block', {\n\ttitle: __('Step scroll anchor'), // Block title.\n\ticon: 'location',\n\tcategory: 'traveledmap',\n\tkeywords: [__('Embedded Trip Step'), __('Embed'), __('Step'), __('Trip'), __('City'), __('Place'), __('Scroll'), __('Anchor')],\n\tattributes: {\n\t\ttripStepsJson: {\n\t\t\ttype: 'string',\n\t\t\tsource: 'meta',\n\t\t\tmeta: 'traveledmap_trip_steps'\n\t\t},\n\t\ttripSteps: {\n\t\t\ttype: 'string'\n\t\t},\n\t\tlocation: {\n\t\t\ttype: 'string'\n\t\t}\n\t},\n\tedit: function edit(props) {\n\t\tvar _props$attributes = props.attributes,\n\t\t    location = _props$attributes.location,\n\t\t    tripStepsJson = _props$attributes.tripStepsJson,\n\t\t    tripSteps = _props$attributes.tripSteps,\n\t\t    setAttributes = props.setAttributes;\n\n\n\t\tif (!tripSteps && tripStepsJson) {\n\t\t\tconsole.log({ tripStepsJson: tripStepsJson });\n\t\t\tvar _tripSteps = JSON.parse(JSON.parse(tripStepsJson));\n\t\t\tif (_tripSteps) {\n\t\t\t\tsetAttributes({\n\t\t\t\t\ttripSteps: _tripSteps,\n\t\t\t\t\tlocation: location && location.length > 0 ? location : Object.keys(_tripSteps)[0]\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tconsole.warn('Trip steps was not defined', _tripSteps, tripStepsJson);\n\t\t\t}\n\t\t}\n\n\t\treturn !tripSteps ? wp.element.createElement(\n\t\t\t'div',\n\t\t\t{ className: 'flex-center' },\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"Spinner\"], null)\n\t\t) : wp.element.createElement(\n\t\t\t'div',\n\t\t\tnull,\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_2__wordpress_components__[\"SelectControl\"], {\n\t\t\t\tlabel: 'Choose the step the map should move on when reaching this section of the post',\n\t\t\t\tvalue: location,\n\t\t\t\toptions: Object.keys(tripSteps).map(function (hash) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tlabel: tripSteps[hash],\n\t\t\t\t\t\tvalue: hash\n\t\t\t\t\t};\n\t\t\t\t}),\n\t\t\t\tonChange: function onChange(newLocation) {\n\t\t\t\t\treturn setAttributes({ location: newLocation });\n\t\t\t\t}\n\t\t\t})\n\t\t);\n\t},\n\n\t/**\n  * The save function defines the way in which the different attributes should be combined\n  * into the final markup, which is then serialized by Gutenberg into post_content.\n  *\n  * The \"save\" property must be specified and must be a valid function.\n  *\n  * @link https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/\n  */\n\tsave: function save(props) {\n\t\tvar location = props.attributes.location;\n\n\t\treturn wp.element.createElement('div', { className: 'traveledmap-trip-anchor', id: location });\n\t}\n});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNi5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL3NyYy9pZnJhbWUvc3RlcC1ibG9jay5qcz9mYjdkIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAnLi9zdHlsZS5zY3NzJztcbmltcG9ydCAnLi9lZGl0b3Iuc2Nzcyc7XG5cbnZhciBfXyA9IHdwLmkxOG4uX187IC8vIEltcG9ydCBfXygpIGZyb20gd3AuaTE4blxuXG52YXIgcmVnaXN0ZXJCbG9ja1R5cGUgPSB3cC5ibG9ja3MucmVnaXN0ZXJCbG9ja1R5cGU7IC8vIEltcG9ydCByZWdpc3RlckJsb2NrVHlwZSgpIGZyb20gd3AuYmxvY2tzXG5cbnZhciBGcmFnbWVudCA9IHdwLmVsZW1lbnQuRnJhZ21lbnQ7XG5cblxuaW1wb3J0IHsgU3Bpbm5lciwgU2VsZWN0Q29udHJvbCB9IGZyb20gJ0B3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TtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///6\n");
    142 
    143 /***/ })
    144 /******/ ]);
     1!function(e){function t(l){if(n[l])return n[l].exports;var r=n[l]={i:l,l:!1,exports:{}};return e[l].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,l){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:l})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t){},function(e,t){},function(e,t){e.exports=wp.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(4),n(6)},function(e,t,n){"use strict";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r=n(0),a=(n.n(r),n(1)),o=(n.n(a),n(2)),i=(n.n(o),n(5)),__=wp.i18n.__,p=wp.blocks.registerBlockType,s=wp.element.Fragment;p("traveledmap/embedded-trip-block",{title:__("Embedded Trip"),icon:"location-alt",category:"traveledmap",keywords:[__("Embedded Map"),__("TraveledMap"),__("Traveled Map"),__("Embedded"),__("Embed")],attributes:{userId:{type:"string",source:"meta",meta:"traveledmap_user_id"},tripId:{type:"string",source:"meta",meta:"traveledmap_trip_id"},baseUrl:{type:"string",source:"meta",meta:"traveledmap_trip_base_url"},mapUrl:{type:"string"},showPopup:{type:"boolean",default:!0},showPictures:{type:"boolean",default:!0},showPicturesAtStart:{type:"boolean",default:!1},isSticky:{type:"boolean",default:!0},showOnPhones:{type:"boolean",default:!0},showOnTablets:{type:"boolean",default:!0},showOnLargeScreens:{type:"boolean",default:!0},mapHeight:{type:"string",default:"50%"},standardMapHeight:{type:"string",default:"30%"},extendedMapHeight:{type:"string",default:"60%"},marginTop:{type:"number",default:0}},edit:function(e){var t=e.attributes,n=t.baseUrl,r=t.userId,a=t.tripId,p=t.showPopup,c=t.showPictures,u=t.showPicturesAtStart,m=t.mapUrl,h=t.isSticky,d=t.showOnPhones,w=t.showOnTablets,b=t.showOnLargeScreens,g=t.mapHeight,f=t.standardMapHeight,v=t.extendedMapHeight,y=t.marginTop,E=e.setAttributes,P=function(e){return function(t){E(l({},e,t))}},T=function(){E({mapUrl:Object(i.a)(n,p,c,u)})},x=function(e){return!(e&&(!Array.isArray(e)||Array.isArray(e)&&e[0]))};return wp.element.createElement("div",{className:"traveledmap-trip-edit-block"},wp.element.createElement("div",null,wp.element.createElement(o.Panel,{header:"Map settings"},wp.element.createElement(o.PanelBody,{title:"Map content",icon:"admin-site-alt",initialOpen:!0},wp.element.createElement(o.PanelRow,null,wp.element.createElement("p",{className:"mb-0 note"},wp.element.createElement("strong",null,"User id:"),"\xa0",function(){return x(r)?null:r}()||"You need to fill the user id you want to use in the editor's sidebar, save the post and then reload"),wp.element.createElement("p",{className:"note"},wp.element.createElement("strong",null,"Trip id:"),"\xa0",function(){return x(a)?null:a}()||"You need to fill the trip id you want to use in the editor's sidebar, save the post and then reload")),wp.element.createElement(o.PanelRow,null,wp.element.createElement(o.ToggleControl,{label:"Show on phones",help:d?"The map will be shown on mobile (< 576px)":"The map will be hidden on mobile devices",checked:d,onChange:function(){return E({showOnPhones:!d})}}),wp.element.createElement(o.ToggleControl,{label:"Show on tablets",help:w?"The map will be shown on tablets (> 576px and < 768px)":"The map will be hidden on tablets devices",checked:w,onChange:function(){return E({showOnTablets:!w})}}),wp.element.createElement(o.ToggleControl,{label:"Show on larger screens",help:b?"The map will be shown on larger screens (> 768px)":"The map will be hidden on larger devices",checked:b,onChange:function(){return E({showOnLargeScreens:!b})}})),wp.element.createElement(o.PanelRow,null,wp.element.createElement(o.ToggleControl,{label:"Show steps name",help:p?"Popup with step name will be shown":"Popup will be show only if mouse is over the step marker",checked:p,onChange:function(){return E({showPopup:!p})}})),wp.element.createElement(o.PanelRow,null,wp.element.createElement(o.ToggleControl,{label:"Show pictures",help:c?"Pictures panel will be open":"Pictures will be hidden",checked:c,onChange:function(){return E({showPictures:!c})}})),wp.element.createElement(o.PanelRow,null,c&&wp.element.createElement(o.ToggleControl,{label:"Show overview pictures",help:u?"Your trip overview has pictures that will be shown":"The overview pictures will be hidden",checked:u,onChange:function(){return E({showPicturesAtStart:!u})}})),wp.element.createElement(o.PanelRow,null,wp.element.createElement(o.Button,{isPrimary:!0,onClick:T,className:"ml-auto"},"Validate"))),wp.element.createElement(o.PanelBody,{title:"Map settings",icon:"admin-settings",initialOpen:!0},wp.element.createElement(o.PanelRow,null,wp.element.createElement(o.TextControl,{label:"Map height (when it's not sticky)",value:g,onChange:P("mapHeight"),help:"Height can be written in pixels (px) or percents of the screen's height (%). i.e: 200px or 50%",className:"input-100"})),wp.element.createElement(o.PanelRow,null,wp.element.createElement(o.ToggleControl,{label:"Map is sticky",help:h?"The map will be visible on top of the screen while scrolling":"The map will be fixed and won't move",checked:h,onChange:function(){return E({isSticky:!h})},className:"mt-5"})),h&&wp.element.createElement(s,null,wp.element.createElement(o.PanelRow,null,wp.element.createElement(o.TextControl,{label:"Map height when the map is sticky and not extended",value:f,onChange:P("standardMapHeight"),help:"Height can be written in pixels (px) or percents of the screen's height (%). i.e: 200px or 50%",className:"input-100"})),wp.element.createElement(o.PanelRow,null,wp.element.createElement(o.TextControl,{label:"Map height when the map is sticky and extended",value:v,onChange:P("extendedMapHeight"),help:"Height can be written in pixels (px) or percents of the screen's height (%). i.e: 200px or 50%",className:"input-100"})),wp.element.createElement(o.PanelRow,null,wp.element.createElement(o.TextControl,{type:"number",label:"Top margin (Space between the top of the screen and the map when it's sticky)",value:y,onChange:P("marginTop"),help:"Height can be written only in pixels (px). You don't need to write the unit. i.e: 20",className:"input-100"})))))),m&&wp.element.createElement("div",null,wp.element.createElement("iframe",{className:"map-iframe traveledmap-reference-iframe",src:m,frameBorder:"0",allow:"fullscreen",style:{height:function(e){return e.replace("%","VH")}(g)}})))},save:function(){return null}})},function(e,t,n){"use strict";n.d(t,"a",function(){return l});var l=function(e,t,n,l){var r=e;return r+=t?"&showPopup=true":"",r+=(n?"":"&hidePictures=true")+(l?"&showPicturesAtStart=true":""),r+=l?"&showPicturesAtStart=true":""}},function(e,t,n){"use strict";var l=n(0),r=(n.n(l),n(1)),a=(n.n(r),n(2)),__=(n.n(a),wp.i18n.__),o=wp.blocks.registerBlockType;wp.element.Fragment;o("traveledmap/embedded-trip-step-block",{title:__("Step scroll anchor"),icon:"location",category:"traveledmap",keywords:[__("Embedded Trip Step"),__("Embed"),__("Step"),__("Trip"),__("City"),__("Place"),__("Scroll"),__("Anchor")],attributes:{tripStepsJson:{type:"string",source:"meta",meta:"traveledmap_trip_steps"},tripSteps:{type:"string"},location:{type:"string"}},edit:function(e){var t=e.attributes,n=t.location,l=t.tripStepsJson,r=t.tripSteps,o=e.setAttributes;if(!r&&l){console.log({tripStepsJson:l});var i=JSON.parse(JSON.parse(l));i?o({tripSteps:i,location:n&&n.length>0?n:Object.keys(i)[0]}):console.warn("Trip steps was not defined",i,l)}return r?wp.element.createElement("div",null,wp.element.createElement(a.SelectControl,{label:"Choose the step the map should move on when reaching this section of the post",value:n,options:Object.keys(r).map(function(e){return{label:r[e],value:e}}),onChange:function(e){return o({location:e})}})):wp.element.createElement("div",{className:"flex-center"},wp.element.createElement(a.Spinner,null))},save:function(e){var t=e.attributes.location;return wp.element.createElement("div",{className:"traveledmap-trip-anchor",id:t})}})}]);
  • traveledmap-trip-itinerary-embedded-map/trunk/dist/blocks.editor.build.css

    r2172428 r2466177  
    1 /**
    2  * #.# Common SCSS
    3  *
    4  * Can include things like variables and mixins
    5  * that are used across the project.
    6 */
    7 /**
    8  * #.# Editor Styles
    9  *
    10  * CSS for just Backend enqueued after style.scss
    11  * which makes it higher in priority.
    12  */
    13 .traveledmap-trip-edit-block .components-panel h2 {
    14   font-size: 1.5rem; }
    15   .traveledmap-trip-edit-block .components-panel h2::before {
    16     content: none; }
    17 
    18 .traveledmap-trip-edit-block .components-panel .components-panel__body {
    19   padding-top: 0; }
    20   .traveledmap-trip-edit-block .components-panel .components-panel__body.is-opened > .components-panel__body-title {
    21     margin-top: 0;
    22     margin-bottom: 0; }
    23   .traveledmap-trip-edit-block .components-panel .components-panel__body .components-panel__body-toggle span {
    24     position: absolute;
    25     right: 0;
    26     top: 23px; }
    27 
    28 .traveledmap-trip-edit-block .components-panel .components-panel__row {
    29   -ms-flex-direction: column;
    30       flex-direction: column;
    31   -ms-flex-align: start;
    32       align-items: flex-start;
    33   margin-top: 10px; }
    34   .traveledmap-trip-edit-block .components-panel .components-panel__row p {
    35     font-size: 13px;
    36     margin-top: 0; }
    37   .traveledmap-trip-edit-block .components-panel .components-panel__row .components-toggle-control {
    38     margin-bottom: 5px; }
    39     .traveledmap-trip-edit-block .components-panel .components-panel__row .components-toggle-control .components-base-control__field {
    40       margin-bottom: 0; }
    41     .traveledmap-trip-edit-block .components-panel .components-panel__row .components-toggle-control .components-base-control__help {
    42       font-size: 12px; }
    43 
    44 .traveledmap-trip-edit-block .components-panel .input-100 input {
    45   max-width: 100px; }
    46 
    47 .traveledmap-trip-edit-block .map-iframe {
    48   width: 100%;
    49   height: 500px; }
    50 
    51 .traveledmap-trip-edit-block .ml-auto {
    52   margin-left: auto; }
    53 
    54 .traveledmap-trip-edit-block .mb-0 {
    55   margin-bottom: 0; }
    56 
    57 .traveledmap-trip-edit-block .mt-5 {
    58   margin-top: 5px; }
    59 
    60 .traveledmap-trip-edit-block .ml-10 {
    61   margin-left: 10px; }
    62 
    63 .traveledmap-trip-edit-block .mr-10 {
    64   margin-right: 10px; }
    65 
    66 .traveledmap-trip-edit-block .d-flex {
    67   display: -ms-flexbox;
    68   display: flex; }
    69 
    70 .traveledmap-trip-edit-block .flex-center {
    71   -ms-flex-pack: center;
    72       justify-content: center;
    73   -ms-flex-align: center;
    74       align-items: center;
    75   -ms-flex-item-align: center;
    76       align-self: center; }
    77 
    78 .traveledmap-trip-edit-block .justify-content-between {
    79   -ms-flex-pack: justify;
    80       justify-content: space-between; }
    81 
    82 .traveledmap-trip-edit-block .flex-1 {
    83   -ms-flex-positive: 1;
    84       flex-grow: 1; }
    85 
    86 .traveledmap-trip-edit-block .text-center {
    87   text-align: center; }
    88 
    89 .traveledmap-trip-edit-block .note {
    90   font-size: 80%; }
    91 
    92 #traveledmap_trip_metabox .mt-5 {
    93   margin-top: 5px; }
    94 
    95 #traveledmap_trip_metabox .components-panel__row {
    96   -ms-flex-direction: column;
    97       flex-direction: column;
    98   margin-bottom: 10px;
    99   margin-top: 0; }
    100   #traveledmap_trip_metabox .components-panel__row input:not([type='checkbox']) {
    101     width: 99%; }
    102   #traveledmap_trip_metabox .components-panel__row.flex-start {
    103     -ms-flex-align: start;
    104         align-items: flex-start; }
    105 
    106 #traveledmap_trip_metabox #traveledmap-check-trip-button:not(.is-loading) .not-loading {
    107   display: inline; }
    108 
    109 #traveledmap_trip_metabox #traveledmap-check-trip-button:not(.is-loading) .loading {
    110   display: none; }
    111 
    112 #traveledmap_trip_metabox #traveledmap-check-trip-button.is-loading .not-loading {
    113   display: none; }
    114 
    115 #traveledmap_trip_metabox #traveledmap-check-trip-button.is-loading .loading {
    116   display: inline; }
    117 
    118 #traveledmap_trip_metabox #traveledmap-metabox-state {
    119   display: none; }
    120   #traveledmap_trip_metabox #traveledmap-metabox-state .tm-error-message {
    121     color: #bd0000; }
    122   #traveledmap_trip_metabox #traveledmap-metabox-state .tm-warning-message {
    123     color: #ba880d; }
    124   #traveledmap_trip_metabox #traveledmap-metabox-state .tm-success-message {
    125     color: #3a881e; }
    126   #traveledmap_trip_metabox #traveledmap-metabox-state.error {
    127     display: block; }
    128     #traveledmap_trip_metabox #traveledmap-metabox-state.error .tm-error-message {
    129       display: block; }
    130     #traveledmap_trip_metabox #traveledmap-metabox-state.error .tm-warning-message {
    131       display: none; }
    132     #traveledmap_trip_metabox #traveledmap-metabox-state.error .tm-success-message {
    133       display: none; }
    134   #traveledmap_trip_metabox #traveledmap-metabox-state.warning {
    135     display: block; }
    136     #traveledmap_trip_metabox #traveledmap-metabox-state.warning .tm-error-message {
    137       display: none; }
    138     #traveledmap_trip_metabox #traveledmap-metabox-state.warning .tm-warning-message {
    139       display: block; }
    140     #traveledmap_trip_metabox #traveledmap-metabox-state.warning .tm-success-message {
    141       display: none; }
    142   #traveledmap_trip_metabox #traveledmap-metabox-state.success {
    143     display: block; }
    144     #traveledmap_trip_metabox #traveledmap-metabox-state.success .tm-error-message {
    145       display: none; }
    146     #traveledmap_trip_metabox #traveledmap-metabox-state.success .tm-warning-message {
    147       display: none; }
    148     #traveledmap_trip_metabox #traveledmap-metabox-state.success .tm-success-message {
    149       display: block; }
     1.traveledmap-trip-edit-block .components-panel h2{font-size:1.5rem}.traveledmap-trip-edit-block .components-panel h2::before{content:none}.traveledmap-trip-edit-block .components-panel .components-panel__body{padding-top:0}.traveledmap-trip-edit-block .components-panel .components-panel__body.is-opened>.components-panel__body-title{margin-top:0;margin-bottom:0}.traveledmap-trip-edit-block .components-panel .components-panel__body .components-panel__body-toggle span{position:absolute;right:0;top:23px}.traveledmap-trip-edit-block .components-panel .components-panel__row{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;margin-top:10px}.traveledmap-trip-edit-block .components-panel .components-panel__row p{font-size:13px;margin-top:0}.traveledmap-trip-edit-block .components-panel .components-panel__row .components-toggle-control{margin-bottom:5px}.traveledmap-trip-edit-block .components-panel .components-panel__row .components-toggle-control .components-base-control__field{margin-bottom:0}.traveledmap-trip-edit-block .components-panel .components-panel__row .components-toggle-control .components-base-control__help{font-size:12px}.traveledmap-trip-edit-block .components-panel .input-100 input{max-width:100px}.traveledmap-trip-edit-block .map-iframe{width:100%;height:500px}.traveledmap-trip-edit-block .ml-auto{margin-left:auto}.traveledmap-trip-edit-block .mb-0{margin-bottom:0}.traveledmap-trip-edit-block .mt-5{margin-top:5px}.traveledmap-trip-edit-block .ml-10{margin-left:10px}.traveledmap-trip-edit-block .mr-10{margin-right:10px}.traveledmap-trip-edit-block .d-flex{display:-ms-flexbox;display:flex}.traveledmap-trip-edit-block .flex-center{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}.traveledmap-trip-edit-block .justify-content-between{-ms-flex-pack:justify;justify-content:space-between}.traveledmap-trip-edit-block .flex-1{-ms-flex-positive:1;flex-grow:1}.traveledmap-trip-edit-block .text-center{text-align:center}.traveledmap-trip-edit-block .note{font-size:80%}#traveledmap_trip_metabox .mt-5{margin-top:5px}#traveledmap_trip_metabox .components-panel__row{-ms-flex-direction:column;flex-direction:column;margin-bottom:10px;margin-top:0}#traveledmap_trip_metabox .components-panel__row input:not([type='checkbox']){width:99%}#traveledmap_trip_metabox .components-panel__row.flex-start{-ms-flex-align:start;align-items:flex-start}#traveledmap_trip_metabox #traveledmap-check-trip-button:not(.is-loading) .not-loading{display:inline}#traveledmap_trip_metabox #traveledmap-check-trip-button:not(.is-loading) .loading{display:none}#traveledmap_trip_metabox #traveledmap-check-trip-button.is-loading .not-loading{display:none}#traveledmap_trip_metabox #traveledmap-check-trip-button.is-loading .loading{display:inline}#traveledmap_trip_metabox #traveledmap-metabox-state{display:none}#traveledmap_trip_metabox #traveledmap-metabox-state .tm-error-message{color:#bd0000}#traveledmap_trip_metabox #traveledmap-metabox-state .tm-warning-message{color:#ba880d}#traveledmap_trip_metabox #traveledmap-metabox-state .tm-success-message{color:#3a881e}#traveledmap_trip_metabox #traveledmap-metabox-state.error{display:block}#traveledmap_trip_metabox #traveledmap-metabox-state.error .tm-error-message{display:block}#traveledmap_trip_metabox #traveledmap-metabox-state.error .tm-warning-message{display:none}#traveledmap_trip_metabox #traveledmap-metabox-state.error .tm-success-message{display:none}#traveledmap_trip_metabox #traveledmap-metabox-state.warning{display:block}#traveledmap_trip_metabox #traveledmap-metabox-state.warning .tm-error-message{display:none}#traveledmap_trip_metabox #traveledmap-metabox-state.warning .tm-warning-message{display:block}#traveledmap_trip_metabox #traveledmap-metabox-state.warning .tm-success-message{display:none}#traveledmap_trip_metabox #traveledmap-metabox-state.success{display:block}#traveledmap_trip_metabox #traveledmap-metabox-state.success .tm-error-message{display:none}#traveledmap_trip_metabox #traveledmap-metabox-state.success .tm-warning-message{display:none}#traveledmap_trip_metabox #traveledmap-metabox-state.success .tm-success-message{display:block}
  • traveledmap-trip-itinerary-embedded-map/trunk/dist/blocks.style.build.css

    r2172428 r2466177  
    1 @charset "UTF-8";
    2 /**
    3  * #.# Common SCSS
    4  *
    5  * Can include things like variables and mixins
    6  * that are used across the project.
    7 */
    8 .wp-block-traveledmap-trip {
    9   z-index: 2000; }
    10   .wp-block-traveledmap-trip .traveledmap-post-map {
    11     width: 100%;
    12     height: 500px;
    13     -webkit-transition: height .3s ease;
    14     -o-transition: height .3s ease;
    15     transition: height .3s ease;
    16     margin-bottom: 0; }
    17   .wp-block-traveledmap-trip .actions-wrapper {
    18     background-color: rgba(255, 255, 255, 0.75);
    19     padding: 5px;
    20     margin-top: -7px; }
    21     .wp-block-traveledmap-trip .actions-wrapper button {
    22       background-color: transparent;
    23       border: 1px solid #404040;
    24       border-radius: 50px;
    25       color: #404040;
    26       width: 30px;
    27       height: 30px;
    28       display: -ms-flexbox;
    29       display: flex;
    30       -ms-flex-align: center;
    31           align-items: center;
    32       -ms-flex-pack: center;
    33           justify-content: center;
    34       padding: 0;
    35       margin: 0;
    36       -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    37       transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    38       -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    39       transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    40       transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out; }
    41       .wp-block-traveledmap-trip .actions-wrapper button:focus {
    42         outline: none; }
    43       .wp-block-traveledmap-trip .actions-wrapper button:hover {
    44         background-color: #404040;
    45         color: white; }
    46       .wp-block-traveledmap-trip .actions-wrapper button .expand-icon, .wp-block-traveledmap-trip .actions-wrapper button .reduce-icon, .wp-block-traveledmap-trip .actions-wrapper button .show-icon, .wp-block-traveledmap-trip .actions-wrapper button .hide-icon {
    47         display: -ms-flexbox;
    48         display: flex; }
    49         .wp-block-traveledmap-trip .actions-wrapper button .expand-icon svg, .wp-block-traveledmap-trip .actions-wrapper button .reduce-icon svg, .wp-block-traveledmap-trip .actions-wrapper button .show-icon svg, .wp-block-traveledmap-trip .actions-wrapper button .hide-icon svg {
    50           width: 14px;
    51           height: 14px; }
    52   .wp-block-traveledmap-trip.is-extended button .expand-icon {
    53     display: none; }
    54   .wp-block-traveledmap-trip.is-extended button .reduce-icon {
    55     display: block; }
    56   .wp-block-traveledmap-trip:not(.is-extended) button .expand-icon, .wp-block-traveledmap-trip:not(.is-extended) button .hide-icon {
    57     display: block; }
    58   .wp-block-traveledmap-trip:not(.is-extended) button .reduce-icon {
    59     display: none; }
    60   .wp-block-traveledmap-trip.is-hidden .toggle-expand-button {
    61     display: none; }
    62   .wp-block-traveledmap-trip.is-hidden button .expand-icon, .wp-block-traveledmap-trip.is-hidden button .hide-icon {
    63     display: none; }
    64   .wp-block-traveledmap-trip.is-hidden button .reduce-icon, .wp-block-traveledmap-trip.is-hidden button .show-icon {
    65     display: block; }
    66   .wp-block-traveledmap-trip:not(.is-hidden) button .hide-icon {
    67     display: block; }
    68   .wp-block-traveledmap-trip:not(.is-hidden) button .show-icon {
    69     display: none; }
    70   .wp-block-traveledmap-trip .flex-center {
    71     display: -ms-flexbox;
    72     display: flex;
    73     -ms-flex-align: center;
    74         align-items: center;
    75     -ms-flex-pack: center;
    76         justify-content: center; }
    77   .wp-block-traveledmap-trip .mr-5 {
    78     margin-right: 5px !important; }
    79 
    80 .traveledmap-trip-breakpoints {
    81   display: none; }
    82 
    83 .traveledmap-trip-widget-wrapper {
    84   position: relative; }
    85   .traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container {
    86     z-index: 2000; }
    87     .traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content.not-extandable .traveledmap-trip-widget-overlay {
    88       display: none; }
    89     .traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content {
    90       position: relative;
    91       height: 100%;
    92       overflow: hidden; }
    93       .traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content .traveledmap-trip-widget-map {
    94         height: 100%;
    95         width: 100%;
    96         margin-bottom: 0; }
    97       .traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content .traveledmap-trip-widget-overlay {
    98         position: absolute;
    99         right: 0;
    100         bottom: 0;
    101         left: 0;
    102         -webkit-transform: translateY(100%);
    103             -ms-transform: translateY(100%);
    104                 transform: translateY(100%);
    105         height: 50px;
    106         width: 100%;
    107         background-color: rgba(0, 0, 0, 0.6);
    108         -webkit-transition: -webkit-transform .3s ease;
    109         transition: -webkit-transform .3s ease;
    110         -o-transition: transform .3s ease;
    111         transition: transform .3s ease;
    112         transition: transform .3s ease, -webkit-transform .3s ease;
    113         display: -ms-flexbox;
    114         display: flex;
    115         -ms-flex-pack: center;
    116             justify-content: center;
    117         -ms-flex-align: center;
    118             align-items: center;
    119         color: white;
    120         cursor: pointer; }
    121         .traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content .traveledmap-trip-widget-overlay svg {
    122           width: 18px;
    123           height: 18px;
    124           -webkit-transition: -webkit-transform .2s ease;
    125           transition: -webkit-transform .2s ease;
    126           -o-transition: transform .2s ease;
    127           transition: transform .2s ease;
    128           transition: transform .2s ease, -webkit-transform .2s ease; }
    129         .traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content .traveledmap-trip-widget-overlay:hover svg {
    130           -webkit-transform: scale(1.3);
    131               -ms-transform: scale(1.3);
    132                   transform: scale(1.3); }
    133       @media (max-width: 768px) {
    134         .traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content .traveledmap-trip-widget-overlay  {
    135           display: none; } }
    136       .traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content:hover .traveledmap-trip-widget-overlay {
    137         -webkit-transform: translateY(0);
    138             -ms-transform: translateY(0);
    139                 transform: translateY(0); }
    140 
    141 .traveledmap-trip-widget-overlay {
    142   background-color: red; }
    143 
    144 .traveledmap-is-hidden {
    145   display: none; }
     1.wp-block-traveledmap-trip{z-index:2000}.wp-block-traveledmap-trip .traveledmap-post-map{width:100%;height:500px;-webkit-transition:height .3s ease;-o-transition:height .3s ease;transition:height .3s ease;margin-bottom:0}.wp-block-traveledmap-trip .actions-wrapper{background-color:rgba(255,255,255,0.75);padding:5px;margin-top:-7px}.wp-block-traveledmap-trip .actions-wrapper button{background-color:transparent;border:1px solid #404040;border-radius:50px;color:#404040;width:30px;height:30px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding:0;margin:0;-webkit-transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;-o-transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;transition:color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out}.wp-block-traveledmap-trip .actions-wrapper button:focus{outline:none}.wp-block-traveledmap-trip .actions-wrapper button:hover{background-color:#404040;color:white}.wp-block-traveledmap-trip .actions-wrapper button .expand-icon,.wp-block-traveledmap-trip .actions-wrapper button .reduce-icon,.wp-block-traveledmap-trip .actions-wrapper button .show-icon,.wp-block-traveledmap-trip .actions-wrapper button .hide-icon{display:-ms-flexbox;display:flex}.wp-block-traveledmap-trip .actions-wrapper button .expand-icon svg,.wp-block-traveledmap-trip .actions-wrapper button .reduce-icon svg,.wp-block-traveledmap-trip .actions-wrapper button .show-icon svg,.wp-block-traveledmap-trip .actions-wrapper button .hide-icon svg{width:14px;height:14px}.wp-block-traveledmap-trip.is-extended button .expand-icon{display:none}.wp-block-traveledmap-trip.is-extended button .reduce-icon{display:block}.wp-block-traveledmap-trip:not(.is-extended) button .expand-icon,.wp-block-traveledmap-trip:not(.is-extended) button .hide-icon{display:block}.wp-block-traveledmap-trip:not(.is-extended) button .reduce-icon{display:none}.wp-block-traveledmap-trip.is-hidden .toggle-expand-button{display:none}.wp-block-traveledmap-trip.is-hidden button .expand-icon,.wp-block-traveledmap-trip.is-hidden button .hide-icon{display:none}.wp-block-traveledmap-trip.is-hidden button .reduce-icon,.wp-block-traveledmap-trip.is-hidden button .show-icon{display:block}.wp-block-traveledmap-trip:not(.is-hidden) button .hide-icon{display:block}.wp-block-traveledmap-trip:not(.is-hidden) button .show-icon{display:none}.wp-block-traveledmap-trip .flex-center{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.wp-block-traveledmap-trip .mr-5{margin-right:5px !important}.traveledmap-trip-breakpoints{display:none}.traveledmap-trip-widget-wrapper{position:relative}.traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container{z-index:2000}.traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content.not-extandable .traveledmap-trip-widget-overlay{display:none}.traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content{position:relative;height:100%;overflow:hidden}.traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content .traveledmap-trip-widget-map{height:100%;width:100%;margin-bottom:0}.traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content .traveledmap-trip-widget-overlay{position:absolute;right:0;bottom:0;left:0;-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);height:50px;width:100%;background-color:rgba(0,0,0,0.6);-webkit-transition:-webkit-transform .3s ease;transition:-webkit-transform .3s ease;-o-transition:transform .3s ease;transition:transform .3s ease;transition:transform .3s ease, -webkit-transform .3s ease;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:white;cursor:pointer}.traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content .traveledmap-trip-widget-overlay svg{width:18px;height:18px;-webkit-transition:-webkit-transform .2s ease;transition:-webkit-transform .2s ease;-o-transition:transform .2s ease;transition:transform .2s ease;transition:transform .2s ease, -webkit-transform .2s ease}.traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content .traveledmap-trip-widget-overlay:hover svg{-webkit-transform:scale(1.3);-ms-transform:scale(1.3);transform:scale(1.3)}@media (max-width: 768px){.traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content .traveledmap-trip-widget-overlay {display:none}}.traveledmap-trip-widget-wrapper .traveledmap-trip-widget-map-container .traveledmap-trip-widget-map-content:hover .traveledmap-trip-widget-overlay{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}.traveledmap-trip-widget-overlay{background-color:red}.traveledmap-is-hidden{display:none}
  • traveledmap-trip-itinerary-embedded-map/trunk/plugin.php

    r2337263 r2466177  
    66 * Author: TraveledMap
    77 * Author URI: https://www.traveledmap.com
    8  * Version: 1.0.9
     8 * Version: 1.0.10
    99 * License: GPL2+
    1010 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt
  • traveledmap-trip-itinerary-embedded-map/trunk/readme.txt

    r2337263 r2466177  
    11=== TraveledMap Trip itinerary: Embedded map ===
    22Contributors: traveledmap
    3 Tags: map, trip, pictures, traveledmap, embed, travel, blog, post, itinerary
     3Tags: map, trip, travel, pictures, traveledmap, embed, travel, blog, post, itinerary
    44Donate link: https://donorbox.org/help-traveledmap-to-stay-free
    55Requires at least: 3.0.1
    6 Tested up to: 5.2.1
     6Tested up to: 5.6.0
    77Requires PHP: 5.6
    8 Stable tag: 1.0.9
     8Stable tag: 1.0.10
    99License: GPLv2
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1111
    12 Create <strong>interactive</strong> blog post thanks to a map moving along your trip's steps while user reads. The map can be customized
     12Create <strong>interactive</strong> blog posts thanks to a map moving along your trip's steps while user reads. The map can be customized
    1313to fit your theme.
    1414
     
    1616
    1717This plugin will help you to produce more interactive blog posts thanks to a map, <strong>moving along your trip's steps</strong> while user is reading the post.
    18 The map can show your trip pictures, the steps name and is fully customizable to your needs:
     18The map can show your trip <strong>pictures</strong>, the steps name and is fully customizable to your needs:
    1919You can either include a map thanks to a <strong>widget</strong>, that will be expandable on the screen depending on the options you specify, or
    2020thanks to a map that can be "sticky", i.e it will stay at the top of the screen while user reads the article.
     
    120120
    121121=== Pricing ===
    122 The WordPress plugin is free but to embed the map on your posts, I ask for from $0 to $49.99 by month depending on the number
    123 of visits on your site.
     122The WordPress plugin is free but to embed the map on your posts, it stays free under 1000 page views by month but
     123has a pricing from $9.99 to $49.99 by month depending on the number of visits on your site.
    124124You can learn more at [Embed page](https://www.traveledmap.com/pricing "TraveledMap pricing")
    125125
     
    184184* Added an option to show markers customization and fixed a bug concerning loading state
    185185
     186= 1.0.10 =
     187* Update to latest WordPress version
     188
    186189== Upgrade Notice ==
    187190No upgrade to do for the moment
Note: See TracChangeset for help on using the changeset viewer.