From 41a6013a344bc5f85b4c0cb413b71a1897491872 Mon Sep 17 00:00:00 2001 From: Herb Miller Date: Sat, 15 May 2021 22:35:19 +0100 Subject: [PATCH] Update build. Issue #15 --- blocks/build/js/editor.blocks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blocks/build/js/editor.blocks.js b/blocks/build/js/editor.blocks.js index 2157cc3..0b5cb6c 100644 --- a/blocks/build/js/editor.blocks.js +++ b/blocks/build/js/editor.blocks.js @@ -459,7 +459,7 @@ eval("Object.defineProperty(__webpack_exports__, \"__esModule\", { value: true } /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(66);\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__(67);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/**\r\n * Implements CSS block\r\n *\r\n * Uses the logic for the [bw_css] shortcode\r\n *\r\n * @copyright (C) Copyright Bobbing Wide 2018-2020\r\n * @author Herb Miller @bobbingwide\r\n */\n\n\n\n// Get just the __() localization function from wp.i18n\nvar __ = wp.i18n.__;\n// Get registerBlockType and Editable from wp.blocks\n\nvar _wp$blocks = wp.blocks,\n registerBlockType = _wp$blocks.registerBlockType,\n createBlock = _wp$blocks.createBlock;\nvar _wp$editor = wp.editor,\n Editable = _wp$editor.Editable,\n ServerSideRender = _wp$editor.ServerSideRender;\nvar _wp$blockEditor = wp.blockEditor,\n InspectorControls = _wp$blockEditor.InspectorControls,\n PlainText = _wp$blockEditor.PlainText;\nvar _wp$components = wp.components,\n Toolbar = _wp$components.Toolbar,\n Button = _wp$components.Button,\n Tooltip = _wp$components.Tooltip,\n PanelBody = _wp$components.PanelBody,\n PanelRow = _wp$components.PanelRow,\n FormToggle = _wp$components.FormToggle,\n TextControl = _wp$components.TextControl,\n TextareaControl = _wp$components.TextareaControl;\n\nvar Fragment = wp.element.Fragment;\n\nvar withInstanceId = wp.compose.withInstanceId;\n\n\nvar RawHTML = wp.element.RawHTML;\n// Set the header for the block since it is reused\n//const blockHeader =

{ __( 'Person' ) }

;\n\n//var TextControl = wp.blocks.InspectorControls.TextControl;\n\n/**\r\n * Register the oik-css/css block\r\n * \r\n * registerBlockType is a function which takes the name of the block to register\r\n * and an object that contains the properties of the block.\r\n * Some of these properties are objects and others are functions\r\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType(\n// Namespaced, hyphens, lowercase, unique name\n'oik-css/css', {\n\t// Localize title using wp.i18n.__()\n\ttitle: __('CSS'),\n\n\tdescription: 'Inline CSS',\n\n\t// Category Options: common, formatting, layout, widgets, embed\n\tcategory: 'layout',\n\n\t// Dashicons Options - https://goo.gl/aTM1DQ\n\ticon: 'admin-appearance',\n\n\tkeywords: [__('CSS'), __('oik')],\n\n\t// Set for each piece of dynamic data used in your block\n\tattributes: {\n\n\t\tcss: {\n\t\t\ttype: 'string'\n\n\t\t},\n\t\ttext: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t}\n\n\t},\n\texample: {\n\t\tattributes: {\n\t\t\tcss: 'div.bw_css { color: red;}',\n\t\t\ttext: __('This sentence will be red.')\n\t\t}\n\t},\n\ttransforms: {\n\t\tfrom: [{\n\t\t\ttype: 'block',\n\t\t\tblocks: ['oik-block/css'],\n\t\t\ttransform: function transform(attributes) {\n\t\t\t\treturn createBlock('oik-css/css', {\n\t\t\t\t\tcss: attributes.css,\n\t\t\t\t\ttext: attributes.text\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\ttype: 'block',\n\t\t\tblocks: ['core/paragraph', 'core/code', 'core/preformatted'],\n\t\t\ttransform: function transform(attributes) {\n\t\t\t\treturn createBlock('oik-css/css', {\n\t\t\t\t\tcss: attributes.content\n\t\t\t\t});\n\t\t\t}\n\t\t}]\n\n\t},\n\n\tsupports: {\n\t\tcustomClassName: false,\n\t\tclassName: false,\n\t\thtml: false\n\t},\n\n\tedit: withInstanceId(function (_ref) {\n\t\tvar attributes = _ref.attributes,\n\t\t setAttributes = _ref.setAttributes,\n\t\t instanceId = _ref.instanceId,\n\t\t focus = _ref.focus,\n\t\t isSelected = _ref.isSelected;\n\n\t\tvar inputId = 'blocks-css-input-' + instanceId;\n\n\t\tvar onChangeText = function onChangeText(value) {\n\t\t\tsetAttributes({ text: value });\n\t\t};\n\n\t\tvar onChangeCSS = function onChangeCSS(value) {\n\t\t\tsetAttributes({ css: value });\n\t\t};\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\t{ key: 'css' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(TextareaControl, { label: 'Text', value: attributes.text, onChange: onChangeText })\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\tFragment,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-oik-css-css ', key: 'css-input' },\n\t\t\t\t\twp.element.createElement(PlainText, {\n\t\t\t\t\t\tid: inputId,\n\t\t\t\t\t\tvalue: attributes.css,\n\t\t\t\t\t\tplaceholder: __('Write CSS'),\n\t\t\t\t\t\tonChange: onChangeCSS\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\t!isSelected && wp.element.createElement(ServerSideRender, {\n\t\t\t\t\tblock: 'oik-css/css', attributes: attributes\n\t\t\t\t})\n\t\t\t)\n\t\t);\n\t}),\n\t/**\r\n * We intend to render this dynamically but we need the content created by the user\r\n */\n\tsave: function save(_ref2) {\n\t\tvar attributes = _ref2.attributes;\n\n\t\t//console.log( attributes.css );\n\t\t//return ;\n\t\treturn null;\n\t}\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3Mvb2lrLWNzcy9pbmRleC5qcz8yODQ4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxyXG4gKiBJbXBsZW1lbnRzIENTUyBibG9ja1xyXG4gKlxyXG4gKiBVc2VzIHRoZSBsb2dpYyBmb3IgdGhlIFtid19jc3NdIHNob3J0Y29kZVxyXG4gKlxyXG4gKiBAY29weXJpZ2h0IChDKSBDb3B5cmlnaHQgQm9iYmluZyBXaWRlIDIwMTgtMjAyMFxyXG4gKiBAYXV0aG9yIEhlcmIgTWlsbGVyIEBib2JiaW5nd2lkZVxyXG4gKi9cbmltcG9ydCAnLi9zdHlsZS5zY3NzJztcbmltcG9ydCAnLi9lZGl0b3Iuc2Nzcyc7XG5cbi8vIEdldCBqdXN0IHRoZSBfXygpIGxvY2FsaXphdGlvbiBmdW5jdGlvbiBmcm9tIHdwLmkxOG5cbnZhciBfXyA9IHdwLmkxOG4uX187XG4vLyBHZXQgcmVnaXN0ZXJCbG9ja1R5cGUgYW5kIEVkaXRhYmxlIGZyb20gd3AuYmxvY2tzXG5cbnZhciBfd3AkYmxvY2tzID0gd3AuYmxvY2tzLFxuICAgIHJlZ2lzdGVyQmxvY2tUeXBlID0gX3dwJGJsb2Nrcy5yZWdpc3RlckJsb2NrVHlwZSxcbiAgICBjcmVhdGVCbG9jayA9IF93cCRibG9ja3MuY3JlYXRlQmxvY2s7XG52YXIgX3dwJGVkaXRvciA9IHdwLmVkaXRvcixcbiAgICBFZGl0YWJsZSA9IF93cCRlZGl0b3IuRWRpdGFibGUsXG4gICAgU2VydmVyU2lkZVJlbmRlciA9IF93cCRlZGl0b3IuU2VydmVyU2lkZVJl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UFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///65\n"); +eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(66);\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__(67);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/**\r\n * Implements CSS block\r\n *\r\n * Uses the logic for the [bw_css] shortcode\r\n *\r\n * @copyright (C) Copyright Bobbing Wide 2018-2021\r\n * @author Herb Miller @bobbingwide\r\n */\n\n\n\n// Get just the __() localization function from wp.i18n\nvar __ = wp.i18n.__;\n// Get registerBlockType and Editable from wp.blocks\n\nvar _wp$blocks = wp.blocks,\n registerBlockType = _wp$blocks.registerBlockType,\n createBlock = _wp$blocks.createBlock;\nvar _wp$editor = wp.editor,\n Editable = _wp$editor.Editable,\n ServerSideRender = _wp$editor.ServerSideRender;\nvar _wp$blockEditor = wp.blockEditor,\n InspectorControls = _wp$blockEditor.InspectorControls,\n PlainText = _wp$blockEditor.PlainText;\nvar _wp$components = wp.components,\n Toolbar = _wp$components.Toolbar,\n Button = _wp$components.Button,\n Tooltip = _wp$components.Tooltip,\n PanelBody = _wp$components.PanelBody,\n PanelRow = _wp$components.PanelRow,\n FormToggle = _wp$components.FormToggle,\n TextControl = _wp$components.TextControl,\n TextareaControl = _wp$components.TextareaControl;\n\nvar Fragment = wp.element.Fragment;\n\nvar withInstanceId = wp.compose.withInstanceId;\n\n\nvar RawHTML = wp.element.RawHTML;\n// Set the header for the block since it is reused\n//const blockHeader =

{ __( 'Person' ) }

;\n\n//var TextControl = wp.blocks.InspectorControls.TextControl;\n\n/**\r\n * Register the oik-css/css block\r\n * \r\n * registerBlockType is a function which takes the name of the block to register\r\n * and an object that contains the properties of the block.\r\n * Some of these properties are objects and others are functions\r\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType(\n// Namespaced, hyphens, lowercase, unique name\n'oik-css/css', {\n\t// Localize title using wp.i18n.__()\n\ttitle: __('CSS'),\n\n\tdescription: 'Inline CSS',\n\n\t// Category Options: common, formatting, layout, widgets, embed\n\tcategory: 'layout',\n\n\t// Dashicons Options - https://goo.gl/aTM1DQ\n\ticon: 'admin-appearance',\n\n\tkeywords: [__('CSS'), __('oik')],\n\n\t// Set for each piece of dynamic data used in your block\n\tattributes: {\n\n\t\tcss: {\n\t\t\ttype: 'string'\n\t\t},\n\t\ttext: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t},\n\t\tsrc: {\n\t\t\ttype: 'string',\n\t\t\tdefault: ''\n\t\t}\n\t},\n\texample: {\n\t\tattributes: {\n\t\t\tcss: 'div.bw_css { color: red;}',\n\t\t\ttext: __('This sentence will be red.')\n\t\t}\n\t},\n\ttransforms: {\n\t\tfrom: [{\n\t\t\ttype: 'block',\n\t\t\tblocks: ['oik-block/css'],\n\t\t\ttransform: function transform(attributes) {\n\t\t\t\treturn createBlock('oik-css/css', {\n\t\t\t\t\tcss: attributes.css,\n\t\t\t\t\ttext: attributes.text\n\t\t\t\t});\n\t\t\t}\n\t\t}, {\n\t\t\ttype: 'block',\n\t\t\tblocks: ['core/paragraph', 'core/code', 'core/preformatted'],\n\t\t\ttransform: function transform(attributes) {\n\t\t\t\treturn createBlock('oik-css/css', {\n\t\t\t\t\tcss: attributes.content\n\t\t\t\t});\n\t\t\t}\n\t\t}]\n\n\t},\n\n\tsupports: {\n\t\tcustomClassName: false,\n\t\tclassName: false,\n\t\thtml: false\n\t},\n\n\tedit: withInstanceId(function (_ref) {\n\t\tvar attributes = _ref.attributes,\n\t\t setAttributes = _ref.setAttributes,\n\t\t instanceId = _ref.instanceId,\n\t\t focus = _ref.focus,\n\t\t isSelected = _ref.isSelected;\n\n\t\tvar inputId = 'blocks-css-input-' + instanceId;\n\n\t\tvar onChangeText = function onChangeText(value) {\n\t\t\tsetAttributes({ text: value });\n\t\t};\n\n\t\tvar onChangeCSS = function onChangeCSS(value) {\n\t\t\tsetAttributes({ css: value });\n\t\t};\n\n\t\tvar onChangeSrc = function onChangeSrc(value) {\n\t\t\tsetAttributes({ src: value });\n\t\t};\n\n\t\treturn wp.element.createElement(\n\t\t\tFragment,\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\tInspectorControls,\n\t\t\t\t{ key: 'css' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(TextareaControl, { label: 'Text', value: attributes.text, onChange: onChangeText })\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\tPanelBody,\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\tPanelRow,\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\twp.element.createElement(TextControl, {\n\t\t\t\t\t\t\tlabel: __('Source file: ID, URL or path'),\n\t\t\t\t\t\t\tvalue: attributes.src,\n\t\t\t\t\t\t\tonChange: onChangeSrc\n\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\twp.element.createElement(\n\t\t\t\tFragment,\n\t\t\t\tnull,\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'wp-block-oik-css-css ', key: 'css-input' },\n\t\t\t\t\twp.element.createElement(PlainText, {\n\t\t\t\t\t\tid: inputId,\n\t\t\t\t\t\tvalue: attributes.css,\n\t\t\t\t\t\tplaceholder: __('Write CSS or specify a source file.'),\n\t\t\t\t\t\tonChange: onChangeCSS\n\t\t\t\t\t})\n\t\t\t\t),\n\t\t\t\t!isSelected && wp.element.createElement(ServerSideRender, {\n\t\t\t\t\tblock: 'oik-css/css', attributes: attributes\n\t\t\t\t})\n\t\t\t)\n\t\t);\n\t}),\n\t/**\r\n * We intend to render this dynamically but we need the content created by the user\r\n */\n\tsave: function save(_ref2) {\n\t\tvar attributes = _ref2.attributes;\n\n\t\t//console.log( attributes.css );\n\t\t//return ;\n\t\treturn null;\n\t}\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjUuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3Mvb2lrLWNzcy9pbmRleC5qcz8yODQ4Il0sInNvdXJjZXNDb250ZW50IjpbIi8qKlxyXG4gKiBJbXBsZW1lbnRzIENTUyBibG9ja1xyXG4gKlxyXG4gKiBVc2VzIHRoZSBsb2dpYyBmb3IgdGhlIFtid19jc3NdIH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UNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///65\n"); /***/ }), /* 66 */ @@ -478,7 +478,7 @@ eval("// removed by extract-text-webpack-plugin//# sourceURL=[module]\n//# sourc /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__ = __webpack_require__(69);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_partial__ = __webpack_require__(83);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_partial___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_partial__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(121);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss__ = __webpack_require__(199);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);\n\n\n\n/**\r\n * @package oik-css\r\n *\r\n * Implements [bw_geshi] shortcode as a server rendered block\r\n *\r\n * Uses [bw_geshi] shortcode from oik-css plugin\r\n *\r\n * @copyright (C) Copyright Bobbing Wide 2018-2020\r\n * @author Herb Miller @bobbingwide\r\n */\n\n//import './editor.scss';\n\n// Get just the __() localization function from wp.i18n\nvar __ = wp.i18n.__;\n// Get registerBlockType from wp.blocks\n\nvar _wp$blocks = wp.blocks,\n registerBlockType = _wp$blocks.registerBlockType,\n createBlock = _wp$blocks.createBlock;\nvar ServerSideRender = wp.editor.ServerSideRender;\nvar _wp$blockEditor = wp.blockEditor,\n InspectorControls = _wp$blockEditor.InspectorControls,\n PlainText = _wp$blockEditor.PlainText;\nvar _wp$components = wp.components,\n Toolbar = _wp$components.Toolbar,\n PanelBody = _wp$components.PanelBody,\n PanelRow = _wp$components.PanelRow,\n FormToggle = _wp$components.FormToggle,\n TextControl = _wp$components.TextControl,\n TextareaControl = _wp$components.TextareaControl,\n SelectControl = _wp$components.SelectControl;\n\nvar Fragment = wp.element.Fragment;\n\n/**\r\n* These are the different options for the GeSHi lang= attribute.\r\n * It's tricky getting it to accept lang=none!\r\n*/\nvar langOptions = { none: \"None\",\n html: \"HTML\",\n css: \"CSS\",\n javascript: \"JavaScript\",\n jquery: \"jQuery\",\n php: \"PHP\",\n mysql: \"MySQL\"\n};\n\n/**\r\n * Register the WordPress block\r\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType(\n// Namespaced, hyphens, lowercase, unique name\n'oik-css/geshi', {\n // Localize title using wp.i18n.__()\n title: __('GeSHi'),\n\n description: 'Generic Syntax Highlighting - for code examples',\n\n // Category Options: common, formatting, layout, widgets, embed\n category: 'layout',\n\n // Dashicons Options - https://goo.gl/aTM1DQ\n icon: 'editor-code',\n\n // Limit to 3 Keywords / Phrases\n keywords: [__('GeSHi'), __('syntax'), __('highlight'), __('PHP'), __('HTML'), __('JavaScript'), __('CSS'), __('MySQL')],\n\n // Set for each piece of dynamic data used in your block\n attributes: {\n lang: {\n type: 'string',\n default: ''\n },\n text: {\n type: 'string'\n },\n content: {\n type: 'string'\n }\n\n },\n example: {\n attributes: {\n lang: 'php',\n text: 'WordPress motto',\n content: __('echo \"Code is Poetry.\"')\n }\n },\n transforms: {\n from: [{\n type: 'block',\n blocks: ['oik-block/geshi'],\n transform: function transform(attributes) {\n return createBlock('oik-css/geshi', {\n lang: attributes.lang,\n text: attributes.text,\n content: attributes.content\n });\n }\n }, {\n type: 'block',\n blocks: ['core/paragraph', 'core/code', 'core/preformatted'],\n transform: function transform(attributes) {\n return createBlock('oik-css/geshi', {\n content: attributes.content\n });\n }\n }]\n },\n\n supports: {\n customClassName: false,\n className: false,\n html: false\n },\n\n edit: function edit(props) {\n\n var onChangeLang = function onChangeLang(event) {\n props.setAttributes({ lang: event });\n };\n var onChangeText = function onChangeText(event) {\n props.setAttributes({ text: event });\n };\n var onChangeContent = function onChangeContent(value) {\n props.setAttributes({ content: value });\n };\n\n /**\r\n * Attempt a generic function to apply a change\r\n * using the partial technique\r\n *\r\n * key needs to be in [] otherwise it becomes a literal\r\n *\r\n */\n //onChange={ partial( handleChange, 'someKey' ) }\n\n function onChangeAttr(key, value) {\n //var nextAttributes = {};\n //nextAttributes[ key ] = value;\n //setAttributes( nextAttributes );\n props.setAttributes(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default()({}, key, value));\n };\n\n var isSelected = props.isSelected;\n\n return wp.element.createElement(\n Fragment,\n null,\n wp.element.createElement(\n InspectorControls,\n null,\n wp.element.createElement(\n PanelBody,\n null,\n wp.element.createElement(\n PanelRow,\n null,\n wp.element.createElement(SelectControl, { label: 'Lang', value: props.attributes.lang,\n options: __WEBPACK_IMPORTED_MODULE_2_lodash_map___default()(langOptions, function (key, label) {\n return { value: label, label: key };\n }),\n onChange: __WEBPACK_IMPORTED_MODULE_1_lodash_partial___default()(onChangeAttr, 'lang')\n })\n ),\n wp.element.createElement(\n PanelRow,\n null,\n wp.element.createElement(TextareaControl, { label: 'Text',\n value: props.attributes.text,\n onChange: onChangeText\n })\n )\n )\n ),\n !isSelected && wp.element.createElement(ServerSideRender, {\n block: 'oik-css/geshi', attributes: props.attributes\n }),\n isSelected && wp.element.createElement(\n 'div',\n { className: 'wp-block-oik-css-geshi wp-block-shortcode', key: 'content-input' },\n wp.element.createElement(PlainText, {\n value: props.attributes.content,\n placeholder: __('Write code'),\n onChange: onChangeContent\n })\n )\n );\n },\n\n save: function save() {\n return null;\n }\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3Mvb2lrLWdlc2hpL2luZGV4LmpzP2YwNWEiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IF9kZWZpbmVQcm9wZXJ0eSBmcm9tICdiYWJlbC1ydW50aW1lL2hlbHBlcnMvZGVmaW5lUHJvcGVydHknO1xuaW1wb3J0IF9wYXJ0aWFsIGZyb20gJ2xvZGFzaC9wYXJ0aWFsJztcbmltcG9ydCBfbWFwIGZyb20gJ2xvZGFzaC9tYXAnO1xuLyoqXHJcbiAqIEBwYWNrYWdlIG9pay1jc3NcclxuICpcclxuICogSW1wbGVtZW50cyBbYndfZ2VzaGldIHNob3J0Y29kZSBhcyBhIHNlcnZlciByZW5kZXJlZCBibG9ja1xyXG4gKlxyXG4gKiBVc2VzIFtid19nZXNoaV0gc2hvcnRjb2RlIGZyb20gb2lrLWNzcyBwbHVnaW5cclxuICpcclxuICogQGNvcHlyaWdodCAoQykgQ29weXJpZ2h0IEJvYmJpbmcgV2lkZSAyMDE4LTIwMjBcclxuICogQGF1dGhvciBIZXJiIE1pbGxlciBAYm9iYmluZ3dpZGVcclxuICovXG5pbXBvcnQgJy4vc3R5bGUuc2Nzcyc7XG4vL2ltcG9ydCAnLi9lZGl0b3Iuc2Nzcyc7XG5cbi8vIEdldCBqdXN0IHRoZSBfXygpIGxvY2FsaXphdGlvbiBmdW5jdGlvbiBmcm9tIHdwLmkxOG5cbnZhciBfXyA9IHdwLmkxOG4uX187XG4vLyBHZXQgcmVnaXN0ZXJCbG9ja1R5cGUgZnJvbSB3cC5ibG9ja3NcblxudmFyIF93cCRibG9ja3MgPSB3cC5ibG9ja3Ms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NTJyksIF9fKCdNeVNRTCcpXSxcblxuICAgIC8vIFNldCBmb3IgZWFjaCBwaWVjZSBvZiBkeW5hbWljIGRhdGEgdXNlZCBpbiB5b3VyIGJsb2NrXG4gICAgYXR0cmlidXRlczoge1xuICAgICAgICBsYW5nOiB7XG4gICAgICAgICAgICB0eXBlOiAnc3RyaW5nJyxcbiAgICAgICAgICAgIGRlZmF1bHQ6ICcnXG4gICAgICAgIH0sXG4gICAgICAgIHRleHQ6IHtcbiAgICAgICAgICAgIHR5cGU6ICdzdHJpbmcnXG4gICAgICAgIH0sXG4gICAgICAgIGNvbnRlbnQ6IHtcbiAgICAgICAgICAgIHR5cGU6ICdzdHJpbmcnXG4gICAgICAgIH1cblxuICAgIH0sXG4gICAgZXhhbXBsZToge1xuICAgICAgICBhdHRyaWJ1dGVzOiB7XG4gICAgICAgICAgICBsYW5nOiAncGhwJyxcbiAgICAgICAgICAgIHRleHQ6ICdXb3JkUHJlc3MgbW90dG8nLFxuICAgICAgICAgICAgY29udGVudDogX18oJ2VjaG8gXCJDb2RlIGlzIFBvZXRyeS5cIicpXG4gICAgICAgIH1cbiAgICB9LFxuICAgIHRyYW5zZm9ybXM6IHtcbiAgICAgICAgZnJvbTogW3tcbiAgICAgICAgICAgIHR5cGU6ICdibG9jaycsXG4gICAgICAgICAgICBibG9ja3M6IFsnb2lrLWJsb2NrL2dlc2hpJ10sXG4gICAgICAgICAgICB0cmFuc2Zvcm06IGZ1bmN0aW9uIHRyYW5zZm9ybShhdHRyaWJ1dGVzKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGNyZWF0ZUJsb2NrKCdvaWstY3NzL2dlc2hpJywge1xuICAgICAgICAgICAgICAgICAgICBsYW5nOiBhdHRyaWJ1dGVzLmxhbmcsXG4gICAgICAgICAgICAgICAgICAgIHRleHQ6IGF0dHJpYnV0ZXMudGV4dCxcbiAgICAgICAgICAgICAgICAgICAgY29udGVudDogYXR0cmlidXRlcy5jb250ZW50XG4gICAgICAgICA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AgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICBQYW5lbEJvZHksXG4gICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgICAgIFBhbmVsUm93LFxuICAgICAgICAgICAgICAgICAgICAgICAgbnVsbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChTZWxlY3RDb250cm9sLCB7IGxhYmVsOiAnTGFuZycsIHZhbHVlOiBwcm9wcy5hdHRyaWJ1dGVzLmxhbmcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgb3B0aW9uczogX21hcChsYW5nT3B0aW9ucywgZnVuY3Rpb24gKGtleSwgbGFiZWwpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHsgdmFsdWU6IGxhYmVsLCBsYWJlbDoga2V5IH07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DaGFuZ2U6IF9wYXJ0aWFsKG9uQ2hhbmdlQXR0ciwgJ2xhbmcnKVxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAgICAgUGFuZWxSb3csXG4gICAgICAgICAgICAgICAgICAgICAgICBudWxsLFxuICAgICAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFRleHRhcmVhQ29udHJvbCwgeyBsYWJlbDogJ1RleHQnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiBwcm9wcy5hdHRyaWJ1dGVzLnRleHQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DaGFuZ2U6IG9uQ2hhbmdlVGV4dFxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICksXG4gICAgICAgICAgICAhaXNTZWxlY3RlZCAmJiB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoU2VydmVyU2lkZVJlbmRlciwge1xuICAgICAgICAgICAgICAgIGJsb2NrOiAnb2lrLWNzcy9nZXNoaScsIGF0dHJpYnV0ZXM6IHByb3BzLmF0dHJpYnV0ZXNcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgaXNTZWxlY3RlZCAmJiB3cC5lbGVtZW50LmNyZWF0ZUVsZW1lbnQoXG4gICAgICAgICAgICAgICAgJ2RpdicsXG4gICAgICAgICAgICAgICAgeyBjbGFzc05hbWU6ICd3cC1ibG9jay1vaWstY3NzLWdlc2hpIHdwLWJsb2NrLXNob3J0Y29kZScsIGtleTogJ2NvbnRlbnQtaW5wdXQnIH0sXG4gICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFBsYWluVGV4dCwge1xuICAgICAgICAgICAgICAgICAgICB2YWx1ZTogcHJvcHMuYXR0cmlidXRlcy5jb250ZW50LFxuICAgICAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcjogX18oJ1dyaXRlIGNvZGUnKSxcbiAgICAgICAgICAgICAgICAgICAgb25DaGFuZ2U6IG9uQ2hhbmdlQ29udGVudFxuICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICApXG4gICAgICAgICk7XG4gICAgfSxcblxuICAgIHNhdmU6IGZ1bmN0aW9uIHNhdmUoKSB7XG4gICAgICAgIHJldHVybiBudWxsO1xuICAgIH1cbn0pO1xuXG5cbi8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gV0VCUEFDSyBGT09URVJcbi8vIC4vYmxvY2tzL29pay1nZXNoaS9pbmRleC5q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QUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///68\n"); +eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__ = __webpack_require__(69);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_partial__ = __webpack_require__(83);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_partial___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_partial__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(121);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss__ = __webpack_require__(199);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__style_scss__);\n\n\n\n/**\r\n * @package oik-css\r\n *\r\n * Implements [bw_geshi] shortcode as a server rendered block\r\n *\r\n * Uses [bw_geshi] shortcode from oik-css plugin\r\n *\r\n * @copyright (C) Copyright Bobbing Wide 2018-2021\r\n * @author Herb Miller @bobbingwide\r\n */\n\n//import './editor.scss';\n\n// Get just the __() localization function from wp.i18n\nvar __ = wp.i18n.__;\n// Get registerBlockType from wp.blocks\n\nvar _wp$blocks = wp.blocks,\n registerBlockType = _wp$blocks.registerBlockType,\n createBlock = _wp$blocks.createBlock;\nvar ServerSideRender = wp.editor.ServerSideRender;\nvar _wp$blockEditor = wp.blockEditor,\n InspectorControls = _wp$blockEditor.InspectorControls,\n PlainText = _wp$blockEditor.PlainText;\nvar _wp$components = wp.components,\n Toolbar = _wp$components.Toolbar,\n PanelBody = _wp$components.PanelBody,\n PanelRow = _wp$components.PanelRow,\n FormToggle = _wp$components.FormToggle,\n TextControl = _wp$components.TextControl,\n TextareaControl = _wp$components.TextareaControl,\n SelectControl = _wp$components.SelectControl;\n\nvar Fragment = wp.element.Fragment;\n\n/**\r\n* These are the different options for the GeSHi lang= attribute.\r\n * It's tricky getting it to accept lang=none!\r\n*/\nvar langOptions = { none: \"None\",\n html: \"HTML\",\n css: \"CSS\",\n javascript: \"JavaScript\",\n jquery: \"jQuery\",\n php: \"PHP\",\n mysql: \"MySQL\"\n};\n\n/**\r\n * Register the WordPress block\r\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType(\n// Namespaced, hyphens, lowercase, unique name\n'oik-css/geshi', {\n // Localize title using wp.i18n.__()\n title: __('GeSHi'),\n\n description: 'Generic Syntax Highlighting - for code examples',\n\n // Category Options: common, formatting, layout, widgets, embed\n category: 'layout',\n\n // Dashicons Options - https://goo.gl/aTM1DQ\n icon: 'editor-code',\n\n // Limit to 3 Keywords / Phrases\n keywords: [__('GeSHi'), __('syntax'), __('highlight'), __('PHP'), __('HTML'), __('JavaScript'), __('CSS'), __('MySQL')],\n\n // Set for each piece of dynamic data used in your block\n attributes: {\n lang: {\n type: 'string',\n default: ''\n },\n text: {\n type: 'string'\n },\n content: {\n type: 'string'\n },\n src: {\n type: 'string',\n default: ''\n }\n\n },\n example: {\n attributes: {\n lang: 'php',\n text: 'WordPress motto',\n content: __('echo \"Code is Poetry.\"')\n }\n },\n transforms: {\n from: [{\n type: 'block',\n blocks: ['oik-block/geshi'],\n transform: function transform(attributes) {\n return createBlock('oik-css/geshi', {\n lang: attributes.lang,\n text: attributes.text,\n content: attributes.content\n });\n }\n }, {\n type: 'block',\n blocks: ['core/paragraph', 'core/code', 'core/preformatted'],\n transform: function transform(attributes) {\n return createBlock('oik-css/geshi', {\n content: attributes.content\n });\n }\n }]\n },\n\n supports: {\n customClassName: false,\n className: false,\n html: false\n },\n\n edit: function edit(props) {\n\n var onChangeLang = function onChangeLang(event) {\n props.setAttributes({ lang: event });\n };\n var onChangeText = function onChangeText(event) {\n props.setAttributes({ text: event });\n };\n var onChangeContent = function onChangeContent(value) {\n props.setAttributes({ content: value });\n };\n var onChangeSrc = function onChangeSrc(value) {\n props.setAttributes({ src: value });\n };\n\n /**\r\n * Attempt a generic function to apply a change\r\n * using the partial technique\r\n *\r\n * key needs to be in [] otherwise it becomes a literal\r\n *\r\n */\n //onChange={ partial( handleChange, 'someKey' ) }\n\n function onChangeAttr(key, value) {\n //var nextAttributes = {};\n //nextAttributes[ key ] = value;\n //setAttributes( nextAttributes );\n props.setAttributes(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_defineProperty___default()({}, key, value));\n };\n\n var isSelected = props.isSelected;\n\n return wp.element.createElement(\n Fragment,\n null,\n wp.element.createElement(\n InspectorControls,\n null,\n wp.element.createElement(\n PanelBody,\n null,\n wp.element.createElement(\n PanelRow,\n null,\n wp.element.createElement(SelectControl, { label: 'Lang', value: props.attributes.lang,\n options: __WEBPACK_IMPORTED_MODULE_2_lodash_map___default()(langOptions, function (key, label) {\n return { value: label, label: key };\n }),\n onChange: __WEBPACK_IMPORTED_MODULE_1_lodash_partial___default()(onChangeAttr, 'lang')\n })\n ),\n wp.element.createElement(\n PanelRow,\n null,\n wp.element.createElement(TextareaControl, { label: 'Text',\n value: props.attributes.text,\n onChange: onChangeText\n })\n ),\n wp.element.createElement(\n PanelBody,\n null,\n wp.element.createElement(\n PanelRow,\n null,\n wp.element.createElement(TextControl, {\n label: __('Source file: ID, URL or path'),\n value: props.attributes.src,\n onChange: onChangeSrc\n\n })\n )\n )\n )\n ),\n !isSelected && wp.element.createElement(ServerSideRender, {\n block: 'oik-css/geshi', attributes: props.attributes\n }),\n isSelected && wp.element.createElement(\n 'div',\n { className: 'wp-block-oik-css-geshi wp-block-shortcode', key: 'content-input' },\n wp.element.createElement(PlainText, {\n value: props.attributes.content,\n placeholder: __('Write code or specify a source file.'),\n onChange: onChangeContent\n })\n )\n );\n },\n\n save: function save() {\n return null;\n }\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNjguanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9ibG9ja3Mvb2lrLWdlc2hpL2luZGV4LmpzP2YwNWEiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IF9kZWZpbmVQcm9wZXJ0eSBmcm9tICdiYWJlbC1ydW50aW1lL2hlbHBlcnMvZGVmaW5lUHJvcGVydHknO1xuaW1wb3J0IF9wYXJ0aWFsIGZyb20gJ2xvZGFzaC9wYXJ0aWFsJztcbmltcG9ydCBfbWFwIGZyb20gJ2xvZGFzaC9tYXAnO1xuLyoqXHJcbiAqIEBwYWNrYWdlIG9pay1jc3NcclxuICpcclxuICogSW1wbGVtZW50cyBbYndfZ2VzaGldIHNob3J0Y29kZSBhcyBhIHNlcnZlciByZW5kZXJlZCBibG9ja1xyXG4gKlxyXG4gKiBV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29yZFByZXNzIG1vdHRvJyxcbiAgICAgICAgICAgIGNvbnRlbnQ6IF9fKCdlY2hvIFwiQ29kZSBpcyBQb2V0cnkuXCInKVxuICAgICAgICB9XG4gICAgfSxcbiAgICB0cmFuc2Zvcm1zOiB7XG4gICAgICAgIGZyb206IFt7XG4gICAgICAgICAgICB0eXBlOiAnYmxvY2snLFxuICAgICAgICAgICAgYmxvY2tzOiBbJ29pay1ibG9jay9nZXNoaSddLFxuICAgICAgICAgICAgdHJhbnNmb3JtOiBmdW5jdGlvbiB0cmFuc2Zvcm0oYXR0cmlidXRlcykge1xuICAgICAgICAgICAgICAgIHJldHVybiBjcmVhdGVCbG9jaygnb2lrLWNzcy9nZXNoaScsIHtcbiAgICAgICAgICAgICAgICAgICAgbGFuZzogYXR0cmlidXRlcy5sYW5nLFxuICAgICAgICAgICAgICAgICAgICB0ZXh0OiBhdHRyaWJ1dGVzLnRleHQsXG4gICAgICAgICAgICAgICAgICAgIGNvbnRlbnQ6IGF0dHJpYnV0ZXMuY29udGVudFxuICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9LCB7XG4gICAgICAgICAgICB0eXBlOiAnYmxvY2snLFxuICAgICAgICAgICAgYmxvY2tzOiBbJ2NvcmUvcGFyYWdyYXBoJywgJ2NvcmUvY29kZScsICdjb3JlL3ByZWZvcm1hdHRlZCddLFxuICAgICAgICAgICAgdHJhbnNmb3JtOiBmdW5jdGlvbiB0cmFuc2Zvcm0oYXR0cmlidXRlcykge1xuICAgICAgICAgICAgICAgIHJldHVybiBjcmVhdGVCbG9jaygnb2lrLWNzcy9nZXNoaScsIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGVudDogYXR0cmlidXRlcy5jb250ZW50XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1dXG4gICAgfSxcblxuICAgIHN1cHBvcnRzOiB7XG4gICAgICAgIGN1c3RvbUNsYXNzTmFtZTogZmFsc2U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ovXG4gICAgICAgIC8vb25DaGFuZ2U9eyBwYXJ0aWFsKCBoYW5kbGVDaGFuZ2UsICdzb21lS2V5JyApIH1cblxuICAgICAgICBmdW5jdGlvbiBvbkNoYW5nZUF0dHIoa2V5LCB2YWx1ZSkge1xuICAgICAgICAgICAgLy92YXIgbmV4dEF0dHJpYnV0ZXMgPSB7fTtcbiAgICAgICAgICAgIC8vbmV4dEF0dHJpYnV0ZXNbIGtleSBdID0gdmFsdWU7XG4gICAgICAgICAgICAvL3NldEF0dHJpYnV0ZXMoIG5leHRBdHRyaWJ1dGVzICk7XG4gICAgICAgICAgICBwcm9wcy5zZXRBdHRyaWJ1dGVzKF9kZWZpbmVQcm9wZXJ0eSh7fSwga2V5LCB2YWx1ZSkpO1xuICAgICAgICB9O1xuXG4gICAgICAgIHZhciBpc1NlbGVjdGVkID0gcHJvcHMuaXNTZWxlY3RlZDtcblxuICAgICAgICByZXR1cm4gd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgRnJhZ21lbnQsXG4gICAgICAgICAgICBudWxsLFxuICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgIEluc3BlY3RvckNvbnRyb2xzLFxuICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICBQYW5lbEJvZHksXG4gICAgICAgICAgICAgICAgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgICAgIFBhbmVsUm93LFxuICAgICAgICAgICAgICAgICAgICAgICAgbnVsbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChTZWxlY3RDb250cm9sLCB7IGxhYmVsOiAnTGFuZycsIHZhbHVlOiBwcm9wcy5hdHRyaWJ1dGVzLmxhbmcsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgb3B0aW9uczogX21hcChsYW5nT3B0aW9ucywgZnVuY3Rpb24gKGtleSwgbGFiZWwpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHsgdmFsdWU6IGxhYmVsLCBsYWJlbDoga2V5IH07XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSksXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DaGFuZ2U6IF9wYXJ0aWFsKG9uQ2hhbmdlQXR0ciwgJ2xhbmcnKVxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAgICAgUGFuZWxSb3csXG4gICAgICAgICAgICAgICAgICAgICAgICBudWxsLFxuICAgICAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFRleHRhcmVhQ29udHJvbCwgeyBsYWJlbDogJ1RleHQnLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiBwcm9wcy5hdHRyaWJ1dGVzLnRleHQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DaGFuZ2U6IG9uQ2hhbmdlVGV4dFxuICAgICAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgKSxcbiAgICAgICAgICAgICAgICAgICAgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICAgICAgICAgUGFuZWxCb2R5LFxuICAgICAgICAgICAgICAgICAgICAgICAgbnVsbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBQYW5lbFJvdyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBudWxsLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChUZXh0Q29udHJvbCwge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsYWJlbDogX18oJ1NvdXJjZSBmaWxlOiBJRCwgVVJMIG9yIHBhdGgnKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IHByb3BzLmF0dHJpYnV0ZXMuc3JjLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNoYW5nZTogb25DaGFuZ2VTcmNcblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICApXG4gICAgICAgICAgICApLFxuICAgICAgICAgICAgIWlzU2VsZWN0ZWQgJiYgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFNlcnZlclNpZGVSZW5kZXIsIHtcbiAgICAgICAgICAgICAgICBibG9jazogJ29pay1jc3MvZ2VzaGknLCBhdHRyaWJ1dGVzOiBwcm9wcy5hdHRyaWJ1dGVzXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICAgIGlzU2VsZWN0ZWQgJiYgd3AuZWxlbWVudC5jcmVhdGVFbGVtZW50KFxuICAgICAgICAgICAgICAgICdkaXYnLFxuICAgICAgICAgICAgICAgIHsgY2xhc3NOYW1lOiAnd3AtYmxvY2stb2lrLWNzcy1nZXNoaSB3cC1ibG9jay1zaG9ydGNvZGUnLCBrZXk6ICdjb250ZW50LWlucHV0JyB9LFxuICAgICAgICAgICAgICAgIHdwLmVsZW1lbnQuY3JlYXRlRWxlbWVudChQbGFpblRleHQsIHtcbiAgICAgICAgICAgICAgICAgICAgdmFsdWU6IHByb3BzLmF0dHJpYnV0ZXMuY29udGVudCxcbiAgICAgICAgICAgICAgICAgICAgcGxhY2Vob2xk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