text: define(["exports","../../@polymer/polymer/polymer-legacy.js","../hax-body/lib/hax-store.js","../hax-body/hax-body.js","../hax-body/lib/hax-autoloader.js","../hax-body/lib/hax-manager.js","../hax-body/lib/hax-panel.js","../hax-body/lib/hax-app-picker.js","../hax-body/lib/hax-export-dialog.js"],function(_exports,_polymerLegacy){"use strict";Object.defineProperty(_exports,"__esModule",{value:!0});_exports.AppEditorHax=void 0;function _templateObject_bb654bf020dd11e9a05cb3d6c77b02a3(){var data=babelHelpers.taggedTemplateLiteral(["\n    <style>\n      :host {\n        display: block;\n        font-size: 16px;\n        box-sizing: content-box;\n      }\n    </style>\n    <hax-store\n      skip-exit-trap=\"\"\n      hidden=\"\"\n      app-store=\"[[appStoreConnection]]\"\n    ></hax-store>\n    <hax-autoloader hidden=\"\"></hax-autoloader>\n    <hax-panel\n      id=\"panel\"\n      hide-panel-ops=\"\"\n      hide-export-button=\"\"\n      hide-preferences-button$=\"[[hidePreferencesButton]]\"\n      align=\"right\"\n    ></hax-panel>\n    <hax-body id=\"body\"></hax-body>\n    <hax-manager></hax-manager>\n    <hax-export-dialog></hax-export-dialog>\n    <hax-app-picker></hax-app-picker>\n  "],["\n    <style>\n      :host {\n        display: block;\n        font-size: 16px;\n        box-sizing: content-box;\n      }\n    </style>\n    <hax-store\n      skip-exit-trap=\"\"\n      hidden=\"\"\n      app-store=\"[[appStoreConnection]]\"\n    ></hax-store>\n    <hax-autoloader hidden=\"\"></hax-autoloader>\n    <hax-panel\n      id=\"panel\"\n      hide-panel-ops=\"\"\n      hide-export-button=\"\"\n      hide-preferences-button\\$=\"[[hidePreferencesButton]]\"\n      align=\"right\"\n    ></hax-panel>\n    <hax-body id=\"body\"></hax-body>\n    <hax-manager></hax-manager>\n    <hax-export-dialog></hax-export-dialog>\n    <hax-app-picker></hax-app-picker>\n  "]);_templateObject_bb654bf020dd11e9a05cb3d6c77b02a3=function(){return data};return data}var AppEditorHax=(0,_polymerLegacy.Polymer)({_template:(0,_polymerLegacy.html)(_templateObject_bb654bf020dd11e9a05cb3d6c77b02a3()),is:"app-editor-hax",properties:{appStoreConnection:{type:Object},hidePreferencesButton:{value:!1,type:Boolean}},save:function save(){var content=window.HaxStore.instance.activeHaxBody.haxToContent();this.fire("app-editor-hax-save",content)},import:function _import(html){window.HaxStore.instance.activeHaxBody.importContent(html);this.fire("app-editor-hax-import",!0)}});_exports.AppEditorHax=AppEditorHax});